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

Crashing On Startup #798

Closed
Jukebox-Zulu opened this issue Dec 9, 2020 · 7 comments
Closed

Crashing On Startup #798

Jukebox-Zulu opened this issue Dec 9, 2020 · 7 comments
Labels

Comments

@Jukebox-Zulu
Copy link

  • Version - 4.1.4, latest version
  • OS: Windows 10
  • OS Locale: English

EDMC simply seems to not visibly start at all. From what I can tell there is no zombie process running. Problem still occurs after a PC restart and full uninstall and re-install of the latest version of EDMC. Have removed all plugins from the folder to no effect. It seems like this has been an issue for at least around a month as my last posted flight log to EDSM was in October.

EDMarketConnector.log
EDMarketConnector-debug.log

@Jukebox-Zulu Jukebox-Zulu added bug unconfirmed An unconfirmed bug labels Dec 9, 2020
@A-UNDERSCORE-D
Copy link
Contributor

This is weird. You have a stack trace which points at python stdlib code.

Traceback (most recent call last):
  File "EDMarketConnector.py", line 1112, in <module>
  File "EDMarketConnector.py", line 1066, in log_locale
  File "logging\__init__.pyc", line 1366, in debug
  File "logging\__init__.pyc", line 1514, in _log
  File "logging\__init__.pyc", line 1523, in handle
  File "logging\__init__.pyc", line 751, in filter
  File "EDMCLogging.pyc", line 255, in filter
  File "EDMCLogging.pyc", line 287, in caller_attributes
  File "inspect.pyc", line 1464, in getframeinfo
  File "inspect.pyc", line 828, in findsource
IndexError: list index out of range

Either they broke something or something we did breaks that. But that seems VERY strange. If you're comfortable doing it, try running from source and see if the issue persists.

@Athanasius
Copy link
Contributor

@Jukebox-Zulu Do you have any Anti-Virus and/or Software Firewall installed ?

EDMC uses its own copy of Python, and this works on plenty of other systems, there has to be something different about your system causing this internal Python code (we're trying to use standard Python calls to walk the call stack in order to get extra information for identifying where some logging was done) to fail.

@Athanasius
Copy link
Contributor

@Jukebox-Zulu could you try the new release that we made today, 4.1.5 ? This might work around the problem, or might just reveal that things are even more broken and still not run, either way the EDMarketConnector.log will offer more information. Thanks!

It would also be useful to know:

  1. The exact version of Windows you're using (this will be in the log file if 4.1.5 appears to work for you, else check System > About in the Windows 10 settings).
  2. What CPU you're running on (as exact as you can manage, again, System > About can help with this).
  3. Any Anti-Virus, Firewall or VPN software you're using.

@Jukebox-Zulu
Copy link
Author

Jukebox-Zulu commented Dec 20, 2020 via email

@Athanasius
Copy link
Contributor

@Jukebox-Zulu

It's excellent to hear that EDMC is now working for you, but ...

... could you please attach your latest EDMarketConnector.log to a reply so we can see if this is our workaround in action, or if 4.1.5 is simply working normally for you. Thanks.

@Athanasius Athanasius added awaiting feedback and removed unconfirmed An unconfirmed bug labels Dec 21, 2020
@Jukebox-Zulu
Copy link
Author

Jukebox-Zulu commented Dec 21, 2020 via email

@Athanasius
Copy link
Contributor

Thanks. So, it seems to literally only have an issue with looking up things for EDMarketConnector.py, not for any of our other source files.

The difference there is that EDMarketConnector.py is baked into the .exe, all other files are in library.zip as a .pyc file. I wonder if a 'full' workaround would be to ship a copy of EDMarketConnector.py in the zip ? But then why does this work perfectly fine on so many other systems ?

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

No branches or pull requests

3 participants