Closed LoneSkirm closed 10 months ago
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/...
.
wxWidgets latest is 3.2.2.1, so maybe upgrading will help. Or is that past the version that broke things for Pyfa?
hmmm, let me update to wxWidgets and see whether i get the same error.
On Tue, Oct 10, 2023 at 5:27 PM Alexander Maryanovsky < @.***> wrote:
wxWidgets latest is 3.2.2.1, so maybe upgrading will help. Or is that past the version that broke things for Pyfa?
— Reply to this email directly, view it on GitHub https://github.com/pyfa-org/Pyfa/issues/2534#issuecomment-1754808283, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDESMWUY5KTKFM4FPBTWZ4DX6UIITAVCNFSM6AAAAAA5YVSX5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJUHAYDQMRYGM . You are receiving this because you authored the thread.Message ID: @.***>
Same error with the current 2.54.1 still occurs.
this problem after update mac os sonoma
same error
Getting this too:
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)
EDIT Nov. 22: Confirming same issues persists in v2.55.0.
Still same issue with v2.54.1
Sadly, V2.54.1 same issue since upgrading to Sonoma.
same
Any updates related to this problem?
still not working on my macbook after uninstalling and reinstalling.
On Mon, Nov 6, 2023 at 4:40 PM Marts Priežčiekurs @.***> wrote:
Any updates related to this problem?
— Reply to this email directly, view it on GitHub https://github.com/pyfa-org/Pyfa/issues/2534#issuecomment-1794320314, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDESMWU53AWUCB2CW7VJLTLYDCO6PAVCNFSM6AAAAAA5YVSX5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJUGMZDAMZRGQ . You are receiving this because you authored the thread.Message ID: @.***>
I'm also having the same issue as described
Same issue here!
Same issue here as well. M1 Max MBP, 14.1 Sonoma.
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
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
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.
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
@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.
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.
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.
dep_facelift
should fix all the issues on sonomaTry 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.
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