Hp-toolbox not starting

Backstory (short version) : I’m troubleshooting a printer issue and need the python3-pyqt4 dependency installed for it to work.

Backstory (long version) : All of my printer/scanner programs (Document Scanner, Skanlite, Xsane, gscan2pdf, and cups) are not detecting my old and discontinued HP Photosmart D110 wifi printer.
From my research I found that I need to install the hplip which allows older printers to work on linux and they even has an hplip for Manjaro OS specifically. I attempted to install hplip from the official website: https ://developers.hp.com/hp-linux-imaging-and-printing/gethplip

I then followed these instructions: https ://developers.hp.com/hp-linux-imaging-and-printing/install/install/index

Nearing the end of the installation I get this error:

warning: Missing REQUIRED dependency: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x) )
warning: This installer cannot install ‘python3-pyqt4’ for your distro/OS and /or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

I checked the software center which I have Snap, Flatpak, AUR, core, extra, and multilib all enabled. The python3-pyqt4 does not seem to exist.

I checked some forums and found that a workaround is to install the pyqt4-common. I updated my pc, installed the pyqt4-common, rebooted my pc and then ran the installer again and the terminal returned with the same error.

Is python3-pyqt4 even available for Manjaro? If so were can I get it? Or is there another way?

Notes:
I tried installing hplip from the software center (add/remove software) however the program fails to run. I’ve tried 3 times now. It failed to run/launch every time.

Lastly: I understand my HP Photosmart D100 series is discontinued and not maintained anymore. If I were to purchase a modern up to date HP printer/scanner and plug it into my machine would Manjaro detect it bypassing this whole troubleshooting process?

Thank you in advanced to anyone who takes time to help me out on this.

Welcome to the forum! :vulcan_salute:

I’m afraid that package is neither available from the repositories nor from the AUR. Support for anything qt4-related has already long been dropped.

I will tentatively answer “yes” to that. I don’t have any experience with HP peripherals, but if it’s fairly modern, then there’s a good chance it’ll be supported.

2 Likes

Installing from the official Manjaro repositories will usually ensure that any dependencies are also installed.

sudo pacman -S hplip
5 Likes

I’ve never needed to run any part of hplip for the HP printer I have access to, though IIRC it does need to be installed.

Have you tried adding the printer in “Print Settings” since you installed hplip? In case “Print Settings” isn’t available, it’s provided by the system-config-printer package (if you want to run it from the terminal then the command is the same as the package name).

What exactly are you trying to run? HP Device Manager? If so, it opens here.

You could try running it from a terminal to see if it gives you any error messages.

hp-toolbox
1 Like

I renamed the topic since we now know what the problem is. Because this started as a typical https://xyproblem.info/

2 Likes

Thank you. This will be my work around if a quick solution to this issue isn’t found soon.

1 Like

This worked. Thank you so much.

I installed hplip from the software center (Official Repo (extra) and it failed to launch every time. It seems like the command you provided installs that exact same package from the software center but via the terminal. Interesting how how the terminal works better than GUI on linux.

Thanks again.

Alrighty then. Thnx

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.