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

EDScout 1.8.2 crashes at startup .Windows 10 Pro #177

Open
cyvan opened this issue Mar 20, 2021 · 4 comments
Open

EDScout 1.8.2 crashes at startup .Windows 10 Pro #177

cyvan opened this issue Mar 20, 2021 · 4 comments

Comments

@cyvan
Copy link

cyvan commented Mar 20, 2021

Error log:

D:\Archives\Games\EDScout>EDScout.exe
Traceback (most recent call last):
  File "dns\name.py", line 149, in encode
  File "c:\python37\lib\encodings\idna.py", line 76, in ToASCII
  File "c:\python37\lib\encodings\idna.py", line 38, in nameprep
UnicodeError: Invalid character '\uedc1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "EDScoutWebUI\EDScout.py", line 18, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "c:\users\jon\.virtualenvs\edscout-yes4e1p6\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "flask_socketio\__init__.py", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "c:\users\jon\.virtualenvs\edscout-yes4e1p6\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "socketio\__init__.py", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "c:\users\jon\.virtualenvs\edscout-yes4e1p6\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "socketio\zmq_manager.py", line 5, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "c:\users\jon\.virtualenvs\edscout-yes4e1p6\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "eventlet\__init__.py", line 10, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "c:\users\jon\.virtualenvs\edscout-yes4e1p6\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "eventlet\convenience.py", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "c:\users\jon\.virtualenvs\edscout-yes4e1p6\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "eventlet\green\socket.py", line 21, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "c:\users\jon\.virtualenvs\edscout-yes4e1p6\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "eventlet\support\greendns.py", line 399, in <module>
  File "eventlet\support\greendns.py", line 313, in __init__
  File "eventlet\support\greendns.py", line 316, in clear
  File "dns\resolver.py", line 543, in __init__
  File "dns\resolver.py", line 702, in read_registry
  File "dns\resolver.py", line 682, in _config_win32_fromkey
  File "dns\resolver.py", line 648, in _config_win32_search
  File "dns\name.py", line 889, in from_text
  File "dns\name.py", line 853, in from_unicode
  File "dns\name.py", line 151, in encode
dns.name.LabelTooLong: A DNS label is > 63 octets long.
[20132] Failed to execute script EDScout
@joncage
Copy link
Owner

joncage commented Mar 24, 2021

What options did you launch it with? That's an odd error.

Does running the diangostic build shed any more light?

Do you have Python 3.7 installed with the dns package by any chance?

The line mentioned in the crash report above looks pretty innocuous (outside of the code I wrote):

from flask_socketio import SocketIO

@cyvan
Copy link
Author

cyvan commented Mar 28, 2021 via email

@joncage
Copy link
Owner

joncage commented Mar 28, 2021

Sounds like this might be a solved issue with a newer version of the python DNS library.

rthalley/dnspython#257

I'll see if I can get that upgraded.

Sadly it looks like one of the modules EDScout depents on (eventlet) is incompatible with the newer DNS module: eventlet/eventlet#698 (comment)

@cyvan
Copy link
Author

cyvan commented Jun 26, 2021 via email

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