I recently upgraded hplip and reinstalling my printer's binary plugin after the upgrade failed: # hp-plugin ... Uncompressing HPLIP 3.14.10 Plugin Self Extracting Archive............................... File "./plugin_install.py", line 48 except ImportError,e: ^ SyntaxError: invalid syntax error: Python gobject/dbus may be not installed error: Plug-in install failed. Done. I fixed this by using eselect to choose python-2 instead of python-3 and then switching back to python-3 after installation was complete. Could we have an ELOG message about this? https://bugs.launchpad.net/hplip/+bug/891080/comments/10 Reproducible: Always
(In reply to A. Person from comment #0) > I fixed this by using eselect to choose python-2 instead of python-3 and > then switching back to python-3 after installation was complete. Could we > have an ELOG message about this? No, the script should simply be fixed to use the correct shebang instead.
I have the same bug after updating hplip. Switching to python-2 fixed the problem.
This is not a bug in hplip but in the plugin downloaded by hp-plugin. The python scripts responsible for installing the plugin from the archive have the wrong shebang. There is nothing I can do about. Also I am not adding an elog message as printers using plugins are not supported by me as I have no ability to test them.