root@next:/home/sora# ehforwarderbot -p WeChat /usr/local/lib/python3.9/dist-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning) 2022-09-13 12:26:47,962 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:129)
Initializing slave honus.CuteCatiHttp...
Traceback (most recent call last): File "/usr/local/bin/ehforwarderbot", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/ehforwarderbot/__main__.py", line 335, in main
init(conf)
File "/usr/local/lib/python3.9/dist-packages/ehforwarderbot/__main__.py", line 135, in init
File "/usr/local/lib/python3.8/dist-packages/efb_telegram_master/chat_object_cache.py", line 40, in init
self.logger.exception("Error occurred while getting chats from %. "
Message: 'Error occurred while getting chats from %. ETM will report no chat from this channel until further noticed.' Arguments: ('honus.CuteCatiHttp',) 2022-05-19 22:35:05,334 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:149)
Master channel Telegram Master (blueset.telegram) # Default profile is initialized.
Serving Flask app 'CuteCat' (lazy loading)Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.Debug mode: off
Address already in use Port 18888 is in use by another program. Either identify and stop that program, or start the server with a different port.
返回: ModuleNotFoundError: No module named 'efb_wechat_slave' 当使用: pip3 install efb-wechat-slave 安装后,依然显示 ModuleNotFoundError: No module named 'efb_wechat_slave'
15 条评论
网络环境有点复杂,不过最近这一个不维护了,后继出一个新版本的
root@next:/home/sora# ehforwarderbot -p WeChat
Initializing slave honus.CuteCatiHttp.../usr/local/lib/python3.9/dist-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
2022-09-13 12:26:47,962 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:129)
Traceback (most recent call last):
sys.exit(main())File "/usr/local/bin/ehforwarderbot", line 8, in
File "/usr/local/lib/python3.9/dist-packages/ehforwarderbot/__main__.py", line 335, in main
init(conf)File "/usr/local/lib/python3.9/dist-packages/ehforwarderbot/__main__.py", line 135, in init
coordinator.add_channel(cls(instance_id=instance_id))File "/usr/local/lib/python3.9/dist-packages/efb_wechat_cutecat_slave/__init__.py", line 75, in init
raise EFBException("api_url not found in config")ehforwarderbot.exceptions.EFBException: api_url not found in config
root@next:/home/sora#
大佬帮忙看看
/.ehforwarderbot/profiles/WeChat/honus.CuteCatiHttp/config.yaml
这个文件里面没有配置api_url?
哦哦大佬OK了,我把可爱猫主端和从端配置写反了
你好,能帮忙看看吗,谢谢
Initializing slave honus.CuteCatiHttp...root@DESKTOP-4G3286R:~# ehforwarderbot -p WeChat
2022-05-19 22:35:03,264 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:129)
2022-05-19 22:35:03,269 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:137)
Slave channel Wechat Pc Slave (honus.CuteCatiHttp) # Default profile is initialized.2022-05-19 22:35:03,269 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:142)
Initializing master blueset.telegram...2022-05-19 22:35:03,306 __init__.py : DEBUG Fetching friend list...
chats = module.get_chats()--- Logging error ---
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/efb_telegram_master/chat_object_cache.py", line 38, in init
File "/usr/local/lib/python3.8/dist-packages/efb_wechat_slave/__init__.py", line 349, in get_chats
return self.update_friend_info()File "/usr/local/lib/python3.8/dist-packages/efb_wechat_slave/__init__.py", line 443, in update_friend_info
return self.process_friend_info() + self.process_group_info()File "/usr/local/lib/python3.8/dist-packages/efb_wechat_slave/__init__.py", line 484, in process_friend_info
remark = friend['remark']KeyError: 'remark'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
msg = self.format(record)File "/usr/lib/python3.8/logging/__init__.py", line 1085, in emit
File "/usr/lib/python3.8/logging/__init__.py", line 929, in format
return fmt.format(record)File "/usr/lib/python3.8/logging/__init__.py", line 668, in format
record.message = record.getMessage()File "/usr/lib/python3.8/logging/__init__.py", line 373, in getMessage
msg = msg % self.argsValueError: unsupported format character ' ' (0x20) at index 42
sys.exit(main())Call stack:
File "/usr/local/bin/ehforwarderbot", line 8, in
File "/usr/local/lib/python3.8/dist-packages/ehforwarderbot/__main__.py", line 335, in main
init(conf)File "/usr/local/lib/python3.8/dist-packages/ehforwarderbot/__main__.py", line 147, in init
coordinator.add_channel(module(instance_id=instance_id))File "/usr/local/lib/python3.8/dist-packages/efb_telegram_master/__init__.py", line 125, in init
self.chat_manager: ChatObjectCacheManager = ChatObjectCacheManager(self)File "/usr/local/lib/python3.8/dist-packages/efb_telegram_master/chat_object_cache.py", line 40, in init
self.logger.exception("Error occurred while getting chats from %. "Message: 'Error occurred while getting chats from %. ETM will report no chat from this channel until further noticed.'
Master channel Telegram Master (blueset.telegram) # Default profile is initialized.Arguments: ('honus.CuteCatiHttp',)
2022-05-19 22:35:05,334 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:149)
2022-05-19 22:35:05,334 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:155)
All channels initialized.2022-05-19 22:35:05,335 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:169)
All middlewares are initialized.2022-05-19 22:35:05,338 __init__.py : DEBUG Start checking status...
Serving Flask app 'CuteCat' (lazy loading)Environment: productionWARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.Debug mode: off
Address already in use
Port 18888 is in use by another program. Either identify and stop that program, or start the server with a different port.
机器上有别的项目运行在18888端口?
返回:
ModuleNotFoundError: No module named 'efb_wechat_slave'
当使用:
pip3 install efb-wechat-slave
安装后,依然显示 ModuleNotFoundError: No module named 'efb_wechat_slave'
俺来网盘偷偷资源
在哪儿下载 可爱猫呀,上面那个地址打不开
那是一个tg链接,需要安装telegram+代理才能打开
可爱猫用wine跑在linux上吗,或者能做成docker吗?
应该是不行的
可以尝试一下,但不确认