FS#24372 - [hplip] hp-setup utility from hplip package still thinks that python is python2

Attached to Project: Arch Linux
Opened by Jer F (jerf) - Saturday, 21 May 2011, 13:34 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 11 June 2011, 08:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
hp-setup utility from hplip package fails (at least if downloading firmware is needed) due to hp-setup thinking that /usr/bin/python is still python 2. If you make soft link to python 2 at /usr/bin/python, everything is fine.

Additional info:
* package version(s)
3.11.3-1

Steps to reproduce:
Invoke hp-setup -i as root on a system with a printer that requires firmware. Agree to download it. Then after download is complete, hp-setup fails due to incompatibility between python2 and python3.
P.s. I don't have an HP printer that doesn't require firmware, maybe in this case hp-setup fails too.
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Saturday, 11 June 2011, 08:41 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Duplicate of  FS#22788 
Comment by Jelle van der Waa (jelly) - Saturday, 21 May 2011, 13:53 GMT
Can you show the error output please.
Comment by Guillermo Vaya (driadan) - Thursday, 26 May 2011, 08:43 GMT
Part of the error output:

Verifying archive integrity... All good.
Uncompressing HPLIP 3.11.3 Plugin Self Extracting Archive.........................................
File "./plugin_install.py", line 78
except ImportError, e:
^
SyntaxError: invalid syntax
error: Python gobject/dbus may be not installed

Done.

Loading...