HPLIP plug-in package too works well in both Py2 and Py3 environments.

This problem is seen due to mixed Python environments. HPLIP maintains
/usr/bin/python  as the shebang lines; allowing the scripts to run with
whatever is the default python. But in Ubuntu HPLIP packages, shebang is
changed to /usr/bin/python3 which makes scripts to run with Py3. The
python script inside the plugin package holds /usr/bin/python as the
shebang, due to which it runs in Py2 (which is default). The problem
happens as the python script inside plugin package is invoked by a
script which contains /usr/bin/python3 as the shebang (updated in Ubuntu
packages).

Since plug-in package is proprietary, we will provide a solution to this
problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430561

Title:
  hp-plugin crashes with error: Python gobject/dbus may be not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1430561/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to