You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed this using python3 and now I have encountered an error:
192.168.x.x - - [24/Mar/2020 08:45:25] "GET /task/tid/d1432c81c64f99564c5b2923a14a63fe983e07a6/status HTTP/1.1" 200 -
Traceback (most recent call last):
File "./youtube-dl-webui", line 11, in <module>
load_entry_point('youtube-dl-webui===rolling', 'console_scripts', 'youtube-dl-webui')()
File "/home/user/.local/lib/python3.7/site-packages/youtube_dl_webui-rolling-py3.7.egg/youtube_dl_webui/__init__.py", line 27, in main
core.start()
File "/home/user/.local/lib/python3.7/site-packages/youtube_dl_webui-rolling-py3.7.egg/youtube_dl_webui/core.py", line 299, in start
self.msg_mgr.run()
File "/home/user/.local/lib/python3.7/site-packages/youtube_dl_webui-rolling-py3.7.egg/youtube_dl_webui/msg.py", line 84, in run
cb(svr, evnt, data, arg)
File "/home/user/.local/lib/python3.7/site-packages/youtube_dl_webui-rolling-py3.7.egg/youtube_dl_webui/core.py", line 90, in event_manipulation
cls._task_mgr.start_task(tid)
File "/home/user/.local/lib/python3.7/site-packages/youtube_dl_webui-rolling-py3.7.egg/youtube_dl_webui/task.py", line 154, in start_task
status=status, log_size=self._conf['general']['log_size'])
File "/home/user/.local/lib/python3.7/site-packages/youtube_dl_webui-rolling-py3.7.egg/youtube_dl_webui/task.py", line 30, in __init__
self.log = deque(maxlen=log_size)
TypeError: an integer is required
This can be fixed by editing the file: task.py
Line: 30
Change it to this code: self.log = deque(maxlen=int(log_size))
The text was updated successfully, but these errors were encountered:
zaharcelac
added a commit
to zaharcelac/youtube-dl-webui
that referenced
this issue
Feb 26, 2021
I installed this using python3 and now I have encountered an error:
This can be fixed by editing the file:
task.py
Line: 30
Change it to this code:
self.log = deque(maxlen=int(log_size))
The text was updated successfully, but these errors were encountered: