Hewlett PackardToolbox now throws load error -- undefined symbol: _ZdlPvm, version Qt_5

HP-toolbox was working fine until today. Now throws load error as below:

error: /home/tom/.local/lib/python3.6/site-packages/PyQt5/QtWidgets.so: undefined symbol: _ZdlPvm, version Qt_5

No changes were made to the user PyQt5 manually or through updates. No system (root) recent updates that were installed were related to PyQt5.

I reinstalled all the HP supplied packages that are in the opensuse distros with no effect.

Printer works fine. Only toolbox app stopped working.

Saw many internet queries recently that had same error with many different apps.

Any solutions anyone.

tom kosvic

Hi
I’m guessing that at some point you have used pip to install something at a user level… it’s conflicting with system python files and hp-toolbox.

I have python files in system and as user. My point is that this workedfine until a day or so ago and I made no changes that should have modified anything. Thanks for comment.

tom kosvic

Hi
Check your hp-toolbox and the whole shebang is it #!/usr/bin/python3? Which python3 is in use for your user?

I have python files in system and as user. My point is that this workedfine until a day or so ago and I made no changes that should have modified anything. Thanks for comment.

tom kosvic

Hi
Understood, perhaps check history to see if a file changed pointing at the user python? I suspect if you create a test user and login and run hp-toolbox it will work? That would determine if it’s a system change or a user environment change.

Based on above comments, I did pip3 uninstall of pyqt5 (user). HP-toolbox did run again using the system pyqt5 modules that had been installed a while ago. I am not sure what happened to make it hp-toolbox stop running.

Per query from above, a user python 3 runs with terminal command python3.6. System python3 runs with python3 commandline in terminal. System python3 imports modules from user python3 fine.

I need to find some guidelines regarding whether to use pip3 install into user files in .local directory or python3 installs into root directories from opensuse repos. I am in a python discussion group in Dallas of professional python programmers and they say to always use pip and install into user directories. Also never use pip as root. Never use system python modules. I ask them why people load hundreds of python modules into repos for download to system when they shouldn’t be used. They say chances of mixup are great, regarding versions etc. They say to never use those from the repos. Always use pip.

I am not clear of the benefits of each and what are the pitfalls of each. I think i have about 50/50 system/user python file set and likely some duplicates. If I can find a believable source for info on this topic, I will start a thread here.

tom kosvic

Hi
Depends on your use case, for me it’s easy to build rpms, if I do I sometimes push to the development repository if it’s needed by something else I build or wish to maintain. It also gives an additional layer of tests and security by passing through OBS.

I suspect from a programmers point of view they may only want the latest and greatest which in the real world doesn’t work as well as some folks like stability (as in Leap model) not necessarily new features, likewise there are a few packages that I’ve built that will only work in Tumbleweed due to module requirements.

At the end of the days it’s the programmer/development target user…