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

Unable to run Pyfa on MacOS Sonoma 14.0 #2534

Closed
LoneSkirm opened this issue Oct 9, 2023 · 25 comments
Closed

Unable to run Pyfa on MacOS Sonoma 14.0 #2534

LoneSkirm opened this issue Oct 9, 2023 · 25 comments

Comments

@LoneSkirm
Copy link

Hi,

Unable to run Pyfa, it immediately crashed upon running the application and generated the below error report.

pyfa v2.54.0
EVE Data Version: 2363654 (2023-09-20 03:48:39)

OS version: Darwin-23.0.0-x86_64-i386-64bit
Python version: 3.7.15 (default, Dec 8 2022, 16:29:15)
[Clang 12.0.0 (clang-1200.0.32.28)]
wxPython version: 4.0.6 (wxWidgets 3.0.5)
SQLAlchemy version: 1.3.23
Logbook version: 1.6.0
Requests version: 2.28.1
Dateutil version: 2.8.2

####################

wx._core.wxAssertionError: C++ assertion "Assert failure" failed at /Users/robind/projects/buildbots/macosx-vm6/dist-osx-py37/Phoenix/ext/wxWidgets/src/common/datetime.cpp(298) in CallStrftime(): strftime() failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "pyfa.py", line 148, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/mainFrame.py", line 40, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "graphs/init.py", line 22, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "graphs/gui/frame.py", line 25, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/display.py", line 23, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/viewColumn.py", line 71, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinViewColumns/baseName.py", line 35, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinContextMenus/init.py", line 20, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinContextMenus/itemStats.py", line 7, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/itemStats.py", line 33, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinItemStatsViews/itemDescription.py", line 4, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "wx/html.py", line 18, in
SystemError: returned a result with an error set

Operating system and version (eg: Windows 10, OS X 10.9, OS X 10.11, Ubuntu 16.10):

OS X 14.0

@m-sasha
Copy link
Contributor

m-sasha commented Oct 10, 2023

Happens to me too, probably happens to everyone on Sonoma.

Funny that the binary includes local paths of the computer that built it: /Users/robind/....

@m-sasha
Copy link
Contributor

m-sasha commented Oct 10, 2023

wxWidgets latest is 3.2.2.1, so maybe upgrading will help. Or is that past the version that broke things for Pyfa?

@LoneSkirm
Copy link
Author

LoneSkirm commented Oct 11, 2023 via email

@ForlornWongraven
Copy link

Same error with the current 2.54.1 still occurs.

@esperiance
Copy link

this problem after update mac os sonoma

@lesleysin
Copy link

same error

@joonashak
Copy link

Getting this too:

Log output
pyfa v2.54.1
EVE Data Version: 2380773 (2023-10-09 21:22:51)

OS version: Darwin-23.0.0-x86_64-i386-64bit
Python version: 3.7.15 (default, Dec  8 2022, 16:29:15) 
[Clang 12.0.0 (clang-1200.0.32.28)]
wxPython version: 4.0.6 (wxWidgets 3.0.5)
SQLAlchemy version: 1.3.23
Logbook version: 1.6.0
Requests version: 2.28.1
Dateutil version: 2.8.2

####################

wx._core.wxAssertionError: C++ assertion "Assert failure" failed at /Users/robind/projects/buildbots/macosx-vm6/dist-osx-py37/Phoenix/ext/wxWidgets/src/common/datetime.cpp(298) in CallStrftime(): strftime() failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "pyfa.py", line 148, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/mainFrame.py", line 40, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "graphs/__init__.py", line 22, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "graphs/gui/frame.py", line 25, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/display.py", line 23, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/viewColumn.py", line 71, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/builtinViewColumns/baseName.py", line 35, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/builtinContextMenus/__init__.py", line 20, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/builtinContextMenus/itemStats.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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/itemStats.py", line 33, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/builtinItemStatsViews/itemDescription.py", line 4, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "wx/html.py", line 18, in <module>
SystemError: <built-in function __import__> returned a result with an error set

@BeerMetalPC
Copy link

BeerMetalPC commented Oct 22, 2023

Same issue persists in v2.55.0dev1. (Appears none of the dependencies have been updated from v2.54.1, but posting anyway to confirm this is still an issue)

v2.55.0dev1 crash log output pyfa v2.55.0dev1 EVE Data Version: 2395039 (2023-10-18 10:39:40)

OS version: Darwin-23.0.0-x86_64-i386-64bit
Python version: 3.7.15 (default, Dec 8 2022, 16:29:15)
[Clang 12.0.0 (clang-1200.0.32.28)]
wxPython version: 4.0.6 (wxWidgets 3.0.5)
SQLAlchemy version: 1.3.23
Logbook version: 1.6.0
Requests version: 2.28.1
Dateutil version: 2.8.2

####################

wx._core.wxAssertionError: C++ assertion "Assert failure" failed at /Users/robind/projects/buildbots/macosx-vm6/dist-osx-py37/Phoenix/ext/wxWidgets/src/common/datetime.cpp(298) in CallStrftime(): strftime() failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "pyfa.py", line 148, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/mainFrame.py", line 40, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "graphs/init.py", line 22, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "graphs/gui/frame.py", line 25, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/display.py", line 23, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/viewColumn.py", line 71, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinViewColumns/baseName.py", line 35, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinContextMenus/init.py", line 20, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinContextMenus/itemStats.py", line 7, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/itemStats.py", line 33, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinItemStatsViews/itemDescription.py", line 4, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "wx/html.py", line 18, in
SystemError: returned a result with an error set

EDIT Nov. 22: Confirming same issues persists in v2.55.0.

v2.55.0 crash log output pyfa v2.55.0 EVE Data Version: 2420589 (2023-11-14 07:22:08)

OS version: Darwin-23.1.0-x86_64-i386-64bit
Python version: 3.7.15 (default, Dec 8 2022, 16:29:15)
[Clang 12.0.0 (clang-1200.0.32.28)]
wxPython version: 4.0.6 (wxWidgets 3.0.5)
SQLAlchemy version: 1.3.23
Logbook version: 1.6.0
Requests version: 2.28.1
Dateutil version: 2.8.2

####################

wx._core.wxAssertionError: C++ assertion "Assert failure" failed at /Users/robind/projects/buildbots/macosx-vm6/dist-osx-py37/Phoenix/ext/wxWidgets/src/common/datetime.cpp(298) in CallStrftime(): strftime() failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "pyfa.py", line 148, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/mainFrame.py", line 40, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "graphs/init.py", line 22, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "graphs/gui/frame.py", line 25, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/display.py", line 23, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/viewColumn.py", line 71, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinViewColumns/baseName.py", line 35, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinContextMenus/init.py", line 20, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinContextMenus/itemStats.py", line 7, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/itemStats.py", line 33, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinItemStatsViews/itemDescription.py", line 4, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "wx/html.py", line 18, in
SystemError: returned a result with an error set

@LoneSkirm
Copy link
Author

Still same issue with v2.54.1

@WargamingR
Copy link

Sadly, V2.54.1 same issue since upgrading to Sonoma.

@cubissimo13
Copy link

same

@markpinecone
Copy link

Any updates related to this problem?

@LoneSkirm
Copy link
Author

LoneSkirm commented Nov 6, 2023 via email

@moregh
Copy link

moregh commented Nov 7, 2023

I'm also having the same issue as described

@dyecast568
Copy link

Same issue here!

@JaredC01
Copy link

Same issue here as well. M1 Max MBP, 14.1 Sonoma.

@ForlornWongraven
Copy link

Issue remains with 2.55

pyfa v2.55.0
EVE Data Version: 2420589 (2023-11-14 13:22:08)

OS version: Darwin-23.1.0-x86_64-i386-64bit
Python version: 3.7.15 (default, Dec 8 2022, 16:29:15)
[Clang 12.0.0 (clang-1200.0.32.28)]
wxPython version: 4.0.6 (wxWidgets 3.0.5)
SQLAlchemy version: 1.3.23
Logbook version: 1.6.0
Requests version: 2.28.1
Dateutil version: 2.8.2

####################

wx._core.wxAssertionError: C++ assertion "Assert failure" failed at /Users/robind/projects/buildbots/macosx-vm6/dist-osx-py37/Phoenix/ext/wxWidgets/src/common/datetime.cpp(298) in CallStrftime(): strftime() failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "pyfa.py", line 148, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/mainFrame.py", line 40, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "graphs/init.py", line 22, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "graphs/gui/frame.py", line 25, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/display.py", line 23, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/viewColumn.py", line 71, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinViewColumns/baseName.py", line 35, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinContextMenus/init.py", line 20, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinContextMenus/itemStats.py", line 7, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/itemStats.py", line 33, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "gui/builtinItemStatsViews/itemDescription.py", line 4, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "wx/html.py", line 18, in
SystemError: returned a result with an error set

@sonic366
Copy link

sonic366 commented Nov 22, 2023

Reporting the same issue Sonoma 14.1.1 | M3Pro MBP

pyfa v2.55.0

EVE Data Version: 2420589 (2023-11-14 06:22:08)

OS version: Darwin-23.1.0-x86_64-i386-64bit
Python version: 3.7.15 (default, Dec  8 2022, 16:29:15) 
[Clang 12.0.0 (clang-1200.0.32.28)]
wxPython version: 4.0.6 (wxWidgets 3.0.5)
SQLAlchemy version: 1.3.23
Logbook version: 1.6.0
Requests version: 2.28.1
Dateutil version: 2.8.2

####################

wx._core.wxAssertionError: C++ assertion "Assert failure" failed at /Users/robind/projects/buildbots/macosx-vm6/dist-osx-py37/Phoenix/ext/wxWidgets/src/common/datetime.cpp(298) in CallStrftime(): strftime() failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "pyfa.py", line 148, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/mainFrame.py", line 40, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "graphs/__init__.py", line 22, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "graphs/gui/frame.py", line 25, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/display.py", line 23, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/viewColumn.py", line 71, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/builtinViewColumns/baseName.py", line 35, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/builtinContextMenus/__init__.py", line 20, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/builtinContextMenus/itemStats.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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/itemStats.py", line 33, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "gui/builtinItemStatsViews/itemDescription.py", line 4, 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 "/Users/appveyor/venv3.7.15/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "wx/html.py", line 18, in <module>
SystemError: <built-in function __import__> returned a result with an error set

@nbsantos
Copy link

Is there a workaround for this? Yesterday I couldn't theory craft so I had to interact with my wife and kid for hours. I can't take too much more of that.

@BarkerCreations
Copy link

BarkerCreations commented Nov 23, 2023

I was able to build this successfully on Sonoma with Python 3.9 by updating the requirements.txt to

wxPython == 4.2.1
logbook >= 1.0.0
numpy == 1.26.0
matplotlib == 3.2.2
python-dateutil
requests == 2.28.1
sqlalchemy == 1.3.23
cryptography >= 2.3
markdown2 >= 2.3.5
packaging >= 16.8
roman >= 2.0.0
beautifulsoup4 >= 4.6.0
pyyaml >= 5.1
python-jose==3.0.1
requests-cache==0.9.1

so specifically updating wxPython, numpy and requests-cache. I know absolutely nothing about Python nor Mac development so I don't know the wider implications of those dependency bumps but that's a short term option

@nbsantos
Copy link

@BarkerCreations solution worked for me. Had to also install libpng and set the MPLLOCALFREETYPE environment variable to 1 for matplotlib to compile with Python 3.9.

@Skriatok
Copy link

Is there a workaround for this? Yesterday I couldn't theory craft so I had to interact with my wife and kid for hours. I can't take too much more of that.

Porting kit and install .exe windows version. Solution, as I do understand the burdens.

@DarkFenX
Copy link
Member

DarkFenX commented Dec 1, 2023

wxWidgets latest is 3.2.2.1, so maybe upgrading will help. Or is that past the version that broke things for Pyfa?

I toyed with upgrading dependencies a year or more ago, and new wx broke lots of things (especially on windows, since it seemed to announce DPI awareness while app isn't DPI-aware). I gave up. Recently I revisited it, and seems like it doesn't anymore. dep_facelift branch has some changes which can make it work on mac. Unfortunately, I can test only linux version, and version on older macs (not M series, and not extensively since it's wife's laptop). Currently windows and mac version build, but their status is unknown (Fabio mentioned that it doesn't work well with some bitmaps on mac, so it needs extra work). I am working on making linux build work. After we scratch at least obvious bugs off, I can make a preview release and see how it works in the wild.

@Grange-Nagy
Copy link
Contributor

#2545 on dep_facelift should fix all the issues on sonoma

@DarkFenX
Copy link
Member

DarkFenX commented Dec 5, 2023

Try https://github.com/pyfa-org/Pyfa/releases/tag/v2.57.0dev2 or newer releases, report to the linked macOS issue for any hiccups. Closing this one.

@DarkFenX DarkFenX closed this as completed Dec 5, 2023
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