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

NameError: global name 'PermissionError' is not defined #33

Open
shaminmv opened this issue Sep 25, 2019 · 1 comment
Open

NameError: global name 'PermissionError' is not defined #33

shaminmv opened this issue Sep 25, 2019 · 1 comment

Comments

@shaminmv
Copy link

shaminmv commented Sep 25, 2019

I am getting the following error when tried to run :

File "/usr/local/bin/youtube-dl-webui", line 11, in <module> load_entry_point('youtube-dl-webui===rolling', 'console_scripts', 'youtube-dl-webui')() File "/usr/local/lib/python2.7/dist-packages/youtube_dl_webui-rolling-py2.7.egg/youtube_dl_webui/__init__.py", line 27, in main core.start() File "/usr/local/lib/python2.7/dist-packages/youtube_dl_webui-rolling-py2.7.egg/youtube_dl_webui/core.py", line 293, in start except PermissionError: NameError: global name 'PermissionError' is not defined

Here is my config
{ "general": { "download_dir": "/home/pi/Desktop/youtube_dl", "db_path": "/tmp/youtube_dl_webui.db", "log_size": 10 }, "server": { "host": "0.0.0.0", "port": 5000 }, "youtube_dl": { "format": "bestaudio/best", "proxy": "socks5://127.0.0.1:1080" } }

Any help?

@maciejzgadzaj
Copy link

I got it too, when I installed youtube-dl-webui with python2 instead of 3. After installing again with python3 setup.py install the error disappeared.

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

2 participants