Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一启动就出错。用的是UTF8编码,请问是什么原因 #25

Open
guda0700 opened this issue Jan 7, 2024 · 3 comments
Open

Comments

@guda0700
Copy link

guda0700 commented Jan 7, 2024

2024/01/07 10:31:33 | stdout | TypeError: 'NoneType' object is not iterable
2024/01/07 10:31:33 | stdout | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024/01/07 10:31:33 | stdout | bvid__in=[media["bvid"] for media in favorite_video_list["medias"]],
2024/01/07 10:31:33 | stdout | File "/app/processor.py", line 125, in process_favorite
2024/01/07 10:31:33 | stdout | await process_favorite(favorite_id)
2024/01/07 10:31:33 | stdout | File "/app/processor.py", line 95, in process
2024/01/07 10:31:33 | stdout | await process()
2024/01/07 10:31:33 | stdout | File "/app/entry.py", line 43, in entry
2024/01/07 10:31:33 | stdout | File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
2024/01/07 10:31:33 | stdout | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024/01/07 10:31:33 | stdout | return self._loop.run_until_complete(task)
2024/01/07 10:31:33 | stdout | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
2024/01/07 10:31:33 | stdout | runner.run(entry())
2024/01/07 10:31:33 | stdout | File "/app/entry.py", line 50, in 
2024/01/07 10:31:33 | stdout | Traceback (most recent call last):
2024/01/07 10:31:33 | stdout | �[32m2024-01-07 10:31:33.963�[0m | �[1mINFO    �[0m | �[36mprocessor�[0m:�[36mprocess_favorite�[0m:�[36m104�[0m - �[1mStart to process favorite 48582019: 默认收藏夹�[0m
2024/01/07 10:31:33 | stdout | �[32m2024-01-07 10:31:33.131�[0m | �[1mINFO    �[0m | �[36m__main__�[0m:�[36mentry�[0m:�[36m41�[0m - �[1mRunning daemon...�[0m
2024/01/07 10:31:32 | stdout | �[33mNo upgrade items found�[0m

@Puretoe
Copy link

Puretoe commented Jan 16, 2024

+1

@jianzhichu
Copy link

我连日志都没出现。

@DK6002
Copy link

DK6002 commented Jun 19, 2024

https://blog.csdn.net/azitl/article/details/139214173 这个帖子里,有提到“打开之后先检查下右下角的编码格式是否为unix,这个在1.0教程很多小伙伴都是因为编码格式问题导致部署失败,所以务必要确认清楚。”
不知道是否能帮到你?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants