-
Notifications
You must be signed in to change notification settings - Fork 61
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
Install error on Fedora 36 #174
Comments
OK, I got through this by changing |
Got it installed and now I get this: XDG: [Errno 2] No translation file found for domain: 'xdg-user-dirs'
Acquired lock file: <DisplayCAL.main.AppLock object at 0x7f838f187310>
displaycal 3.9.8 2022-09-07T00:17:07Z
fedora 36 x86_64
Python 3.10.6 (main, Aug 2 2022, 00:00:00) [GCC 12.1.1 20220507 (Red Hat 12.1.1-1)]
Faulthandler
Traceback (most recent call last):
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/main.py", line 549, in main
_main(module, name, app_lock_file_name)
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/main.py", line 141, in _main
from DisplayCAL.wxaddons import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxaddons.py", line 9, in <module>
from DisplayCAL.wxfixes import wx, GenButton, PlateButton, get_dialogs
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxfixes.py", line 27, in <module>
import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/__init__.py", line 17, in <module>
from wx.core import *
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/core.py", line 12, in <module>
from ._core import *
ImportError: libwx_gtk3u_core-3.2.so.0: cannot open shared object file: No such file or directory
┌──────────────────────────────────────────────────────────────────────────────┐
│ Traceback (most recent call last): │
│ File │
│ "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/main.py", │
│ line 549, in main │
│ _main(module, name, app_lock_file_name) │
│ File │
│ "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/main.py", │
│ line 141, in _main │
│ from DisplayCAL.wxaddons import wx │
│ File │
│ "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxaddons.py", │
│ line 9, in <module> │
│ from DisplayCAL.wxfixes import wx, GenButton, PlateButton, get_dialogs │
│ File │
│ "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxfixes.py", │
│ line 27, in <module> │
│ import wx │
│ File │
│ "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/__init__.py", │
│ line 17, in <module> │
│ from wx.core import * │
│ File │
│ "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/core.py", │
│ line 12, in <module> │
│ from ._core import * │
│ ImportError: libwx_gtk3u_core-3.2.so.0: cannot open shared object file: No │
│ such file or directory │
└──────────────────────────────────────────────────────────────────────────────┘
Traceback (most recent call last):
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/main.py", line 549, in main
_main(module, name, app_lock_file_name)
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/main.py", line 141, in _main
from DisplayCAL.wxaddons import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxaddons.py", line 9, in <module>
from DisplayCAL.wxfixes import wx, GenButton, PlateButton, get_dialogs
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxfixes.py", line 27, in <module>
import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/__init__.py", line 17, in <module>
from wx.core import *
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/core.py", line 12, in <module>
from ._core import *
ImportError: libwx_gtk3u_core-3.2.so.0: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/debughelpers.py", line 77, in handle_error
from DisplayCAL.wxaddons import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxaddons.py", line 9, in <module>
from DisplayCAL.wxfixes import wx, GenButton, PlateButton, get_dialogs
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxfixes.py", line 27, in <module>
import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/__init__.py", line 12, in <module>
__version__ = wx.__version__.VERSION_STRING
AttributeError: partially initialized module 'wx' has no attribute '__version__' (most likely due to a circular import)
Warning: handle_error(): partially initialized module 'wx' has no attribute '__version__' (most likely due to a circular import)
Exiting displaycal |
The current version of wxGTK3 in Fedora 36 is 3.0.5. |
Hey @Barugon you should not need to change anything here. This is a third party module which should work fine with wxpython-4.2.0. Traceback (most recent call last):
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/main.py", line 549, in main
_main(module, name, app_lock_file_name)
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/main.py", line 141, in _main
from DisplayCAL.wxaddons import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxaddons.py", line 9, in <module>
from DisplayCAL.wxfixes import wx, GenButton, PlateButton, get_dialogs
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxfixes.py", line 27, in <module>
import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/__init__.py", line 17, in <module>
from wx.core import *
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/core.py", line 12, in <module>
from ._core import *
ImportError: libwx_gtk3u_core-3.2.so.0: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/debughelpers.py", line 77, in handle_error
from DisplayCAL.wxaddons import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxaddons.py", line 9, in <module>
from DisplayCAL.wxfixes import wx, GenButton, PlateButton, get_dialogs
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/DisplayCAL/wxfixes.py", line 27, in <module>
import wx
File "/home/barugon/displaycal_venv/lib64/python3.10/site-packages/wx/__init__.py", line 12, in <module>
__version__ = wx.__version__.VERSION_STRING
AttributeError: partially initialized module 'wx' has no attribute '__version__' (most likely due to a circular import)
Warning: handle_error(): partially initialized module 'wx' has no attribute '__version__' (most likely due to a circular import)
Exiting displaycal I guess this comes from a not working wxPython install. You can try several things:
Tell us if you cant get it resolved, cheers. edit: |
Clsoing this as this is fixed somewhere along the line... |
Trying to install this on Fedora 36 and ran into a few snags in the
pip install -r requirements.txt
portion. I was able to resolve them (missing dependencies) up until this one:The text was updated successfully, but these errors were encountered: