Comments (8)
I use Arch and KDE too, but don't experience this error. Definitely seems like a broken dependency with the Qt library on your system, more specifically Qt 5 WebEngine, which powers the effect editor.
Try manually reinstalling the dependencies, and double check the system's up-to-date (just in case a mirror is out of sync). An undefined symbol
suggests to me that something in the Qt library is missing, corrupt or mismatching version.
sudo pacman -S --asdeps python-pyqt5 python-pyqt5-webengine qt5-svg qt5-base qt5-webengine
Presumably, there ain't any custom builds of Qt in /usr/local
built outside of the pacman package manager?
from polychromatic.
Reinstalling all the listed deps as well as checking /usr/local/*
revealing nothing, and the program still crashes with the same error.
from polychromatic.
Let's check the libraries being loaded. What's the output of these?
locate libQt5Widgets.so.5
locate libQt5WebEngine.so
Output for me:
/usr/lib/libQt5Widgets.so.5
/usr/lib/libQt5Widgets.so.5.15
/usr/lib/libQt5Widgets.so.5.15.10
/usr/lib/libQt5WebEngine.so
/usr/lib/libQt5WebEngine.so.5
/usr/lib/libQt5WebEngine.so.5.15
/usr/lib/libQt5WebEngine.so.5.15.14
Just to check, is this environment variable LD_LIBRARY_PATH
empty?
echo $LD_LIBRARY_PATH
If the above looks sane, maybe some other Qt 5 package is interfering - this will list other installed packages and I'll take a look:
pacman -Q | grep qt5
from polychromatic.
$ locate libQt5Widgets.so.5
/home/nicco1690/.local/lib/python3.11/site-packages/PyQt5/Qt5/lib/libQt5Widgets.so.5
/home/nicco1690/.local/pipx/venvs/corrscope/lib/python3.11/site-packages/PyQt5/Qt5/lib/libQt5Widgets.so.5
/usr/lib/libQt5Widgets.so.5
/usr/lib/libQt5Widgets.so.5.15
/usr/lib/libQt5Widgets.so.5.15.10
$ locate libQt5WebEngine.so
/usr/lib/libQt5WebEngine.so
/usr/lib/libQt5WebEngine.so.5
/usr/lib/libQt5WebEngine.so.5.15
/usr/lib/libQt5WebEngine.so.5.15.14
$ echo $LD_LIBRARY_PATH
<no output>
$ pacman -Q | grep qt5
libdbusmenu-qt5 0.9.3+16.04.20160218-6
phonon-qt5 4.11.1-3
phonon-qt5-gstreamer 4.10.0-4
polkit-qt5 0.114.0-1
poppler-qt5 23.08.0-1
python-pyqt5 5.15.9-2
python-pyqt5-sip 12.12.2-1
python-pyqt5-webengine 5.15.6-2
qca-qt5 2.3.7-1
qgpgme-qt5 1.22.0-1
qt5-base 5.15.10+kde+r155-1
qt5-declarative 5.15.10+kde+r31-1
qt5-graphicaleffects 5.15.10-1
qt5-location 5.15.10+kde+r4-2
qt5-multimedia 5.15.10+kde+r3-1
qt5-networkauth 5.15.10-1
qt5-quickcontrols 5.15.10-1
qt5-quickcontrols2 5.15.10+kde+r6-1
qt5-sensors 5.15.10-1
qt5-speech 5.15.10+kde+r1-1
qt5-svg 5.15.10+kde+r8-1
qt5-tools 5.15.10+kde+r3-2
qt5-translations 5.15.10-1
qt5-wayland 5.15.10+kde+r57-1
qt5-webchannel 5.15.10+kde+r3-1
qt5-webengine 5.15.14-5
qt5-webview 5.15.10-1
qt5-x11extras 5.15.10-1
qtkeychain-qt5 0.14.1-1
from polychromatic.
Thanks, this makes sense - there's a local Python installation in your home directory which overrides the system's Qt 5 library. It affects Polychromatic as it's also a Python program.
It might run by overriding the library path before running the program.
export LD_LIBRARY_PATH=/usr/lib
polychromatic-controller
My recommendation would be to delete that installation in ~/.local/lib
, and use virtual environments for the software installed outside of the pacman package manager. Looks like there is one set up using pipx
(I haven't used, so not sure if that is interfering too)
from polychromatic.
Crashes with a different error using the env variable override method.
$ export LD_LIBRARY_PATH=/usr/lib
$ polychromatic-controller
Traceback (most recent call last):
File "/usr/bin/polychromatic-controller", line 31, in <module>
from PyQt5 import uic, QtCore
ImportError: /home/nicco1690/.local/lib/python3.11/site-packages/PyQt5/QtCore.abi3.so: undefined symbol: _ZdaPvm, version Qt_5
from polychromatic.
My recommendation would be to delete that installation in ~/.local/lib, and use virtual environments for the software installed outside of the pacman package manager. Looks like there is one set up using pipx (I haven't used, so not sure if that is interfering too)
Yeah, the corrscope
environment was for a different program. I'll play around with it, see if it works.
from polychromatic.
Did you get this solved in the end?
Will close the issue as "completed" since we know an interfering Python installation was causing the crash.
from polychromatic.
Related Issues (20)
- Support for Windows using OpenRGB openrazer-win32 HOT 1
- Fedora GPG keys invalid / not present in repo HOT 3
- Does not recognize individual LED assignability in Razer Book 13 (2020) HOT 1
- Basilisk V3 Pro settings change at random occurences HOT 2
- Razer Chroma Profiles HOT 1
- Meson Build Issue HOT 3
- Porting Polychromatic to QT6 HOT 4
- Feature Request: Razer Basilisk Ultimate Wireless - Cannot configure Sensitivity Clutch HOT 1
- Qt 6: Mnemonics "leak" in editor's dock titles
- Since new update yesterday polychromatic does not open anymore. HOT 2
- Polychromatic not starting after package upgrade (Arch, EndeavourOS) HOT 2
- Unable to change static color (2023 Razer Blade 16) HOT 2
- Question: v0.9.1 - users still on distros shipping Qt 5? HOT 7
- Polling rate displayed in Hz DeathAdder 3.5G HOT 1
- Feature Request: Add ability to change extra mouse buttons HOT 2
- E: The repository 'http://download.opensuse.org/repositories/hardware:/razer/xUbuntu_22.2 Release' does not have a Release file. HOT 2
- Add support for Razer Chroma Addressable RGB Controller
- Unable to Update System because of "Noarch/Polychromatic" - Fedora Linux 40 HOT 13
- Graphical bug with header graphic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polychromatic.