oscar1011 / xarrnotifyscripts Goto Github PK
View Code? Open in Web Editor NEW用于sonarr,radarr的企业微信通知脚本
License: GNU General Public License v3.0
用于sonarr,radarr的企业微信通知脚本
License: GNU General Public License v3.0
在群晖上安装的Radarr和Sonarr套件版,微信推送无法显示海报图片
root@sonarr:/# sh "/XarrNotifyScripts/xarr_notify.sh"
Traceback (most recent call last):
File "/XarrNotifyScripts/xarr_notify.py", line 6, in
import yaml
ModuleNotFoundError: No module named 'yaml'
Brought to you by linuxserver.io,
-------------------------------------,
,
To support LSIO projects visit:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid: 0,
User gid: 0,
-------------------------------------,
,
[cont-init.d] 10-adduser: exited 0.,
[cont-init.d] 90-custom-folders: executing... ,
[cont-init.d] 90-custom-folders: exited 0.,
[cont-init.d] 99-custom-files: executing... ,
[custom-init] no custom files found exiting...,
[cont-init.d] 99-custom-files: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
[services.d] done.,
2022-05-27 12:27:14.768 | ERROR | Logger:error:17 - [主程序初始化异常]异常信息为:(<class 'IsADirectoryError'>, IsADirectoryError(21, 'Is a directory'), <traceback object at 0x7f14c9126580>),
Traceback (most recent call last):,
File "/app/Config.py", line 7, in ,
with open("config/Setting.yml", "r", encoding="utf-8") as f:,
IsADirectoryError: [Errno 21] Is a directory: 'config/Setting.yml',
,
During handling of the above exception, another exception occurred:,
,
Traceback (most recent call last):,
File "Main.py", line 6, in ,
import TMDB,
File "/app/TMDB.py", line 6, in ,
from Config import WXHOST_APIKEY, WXHOST, TMDB_KEY, TV_PREFER_LANGUAGE, TV_PREFER_GENRE_ID, MOVIES_PREFER_LANGUAGE, ,
File "/app/Config.py", line 37, in ,
from Pusher import push_to_enterprise_wechat,
File "/app/Pusher.py", line 8, in ,
from Config import CorpID, CorpSecret, TokenApi, PushTitle, AgentID, PushApi, Manager,
ImportError: cannot import name 'CorpID' from partially initialized module 'Config' (most likely due to a circular import) (/app/Config.py),
[cmd] python3 exited 1,
[cont-finish.d] executing container finish scripts...,
[cont-finish.d] done.,
[s6-finish] waiting for services.,
[s6-finish] sending all processes the TERM signal.,
[s6-finish] sending all processes the KILL signal and exiting.,
微信图片显示空白是怎么回事吖
sonarr添加connect的时候报错。Script exited with code: 255,加载的xarr_notify.sh这个脚本。
我在命令行手动运行报错
root@linuxserver-sonarr1:/# sh downloads/Moon\ Knight/xarr_notify.sh
downloads/Moon Knight/xarr_notify.sh: 8: Syntax error: newline unexpected
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.