Oscar1011 / XarrNotifyScripts

用于sonarr,radarr的企业微信通知脚本
GNU General Public License v3.0
17 stars 5 forks source link

请问:能帮看看吗? #6

Closed wlhwlh0482 closed 2 years ago

wlhwlh0482 commented 2 years ago

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.,

wlhwlh0482 commented 2 years ago

谢谢!麻烦你了,dokcer版已搞好。

Oscar1011 commented 2 years ago

确认下 配置文件是否存在 Setting.yml

Oscar1011 commented 2 years ago

问题提错地方拉。这里不是docker版

wlhwlh0482 commented 2 years ago

不好意思,配置文件放错目录了.已经解决,非常感谢.支付宝留言是我.不用回了.再次感谢!

---原始邮件--- 发件人: @.> 发送时间: 2022年5月27日(周五) 下午4:52 收件人: @.>; 抄送: @.**@.>; 主题: Re: [Oscar1011/XarrNotifyScripts] 请问:能帮看看吗? (Issue #6)

确认下 配置文件是否存在 Setting.yml

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>