Comment 17 for bug 1430561

Revision history for this message
Suma Byrappa (suma-byrappa) wrote :

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.