joncage / ed-scout

An Elite Dangerous companion app to simplify finding unexplored worlds
MIT License
133 stars 18 forks source link

EDScout 1.8.2 crashes at startup .Windows 10 Pro #177

Open cyvan opened 3 years ago

cyvan commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Sorry I missed this. I just started it right after install. Ididn't specify any startup params.

Also the text in my ticket is from the diagnostic build

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Mar 24, 2021 at 4:42 PM joncage @.***> wrote:

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

Does running the diangostic build shed any more light?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joncage/ed-scout/issues/177#issuecomment-806204834, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABADHTND7ZLWBYUQUWQWZQDTFJMFXANCNFSM4ZQ3N3BQ .

joncage commented 3 years ago

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

https://github.com/rthalley/dnspython/issues/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: https://github.com/eventlet/eventlet/issues/698#event-4518369379

cyvan commented 3 years ago

hey Jon,

did you ever get this sorted out? I downloaded the latest version and its still happening. Was just about to go on an extended exploration trip too :(

On Sun, Mar 28, 2021 at 1:34 AM joncage @.***> wrote:

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

rthalley/dnspython#257 https://github.com/rthalley/dnspython/issues/257

I'll see if I can get that upgraded.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joncage/ed-scout/issues/177#issuecomment-808855188, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABADHTMWMFJJO7OP5ULIQ2DTF3LWRANCNFSM4ZQ3N3BQ .