FS#54383 - [hplip] 3.17.6 plugin installation fails

Attached to Project: Arch Linux
Opened by Heinrich Siebmanns (Harvey) - Friday, 09 June 2017, 09:21 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 31 October 2017, 13:05 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When downloading the required plugin for my printer CP1215) for the new version 3.17.6 the installation fails with the error message:
/home/user/.hplip/hplip-3.17.6-plugin.run file does not match its checksum. File may have been corrupted or altered

Downgrading to hplip 3.17.4 fixes the issue

Additional info:
* package version(s)
3.17.6
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 31 October 2017, 13:05 GMT
Reason for closing:  None
Comment by Andreas Radke (AndyRTR) - Monday, 12 June 2017, 13:58 GMT
This one is the only report so far. And we use plain upstream source with checksum checking. No idea what's your problem.

Can you please get in contact with upstream devs? I'd like to move it to extra though soon.
Comment by Anke Boersma (abveritas) - Monday, 12 June 2017, 15:03 GMT
This issue is confirmed with other distros for 3.17.6.
Reports:
https://answers.launchpad.net/hplip/+question/642163
Workaround I had to use for an HP MFP M127fw was to manually download the plugin.
Comment by Andreas Radke (AndyRTR) - Monday, 07 August 2017, 19:17 GMT
Is it fixed in the new version?
Comment by Heinrich Siebmanns (Harvey) - Tuesday, 08 August 2017, 13:55 GMT
I am currently on vacation and don't have access to the system in question. Maybe someone else can jump in?
Comment by Andreas Radke (AndyRTR) - Monday, 04 September 2017, 15:07 GMT
Any news?
Comment by Heinrich Siebmanns (Harvey) - Wednesday, 13 September 2017, 10:08 GMT
Still no access to the system in question, hence no news. Sorry about the delay...
Comment by Andreas Radke (AndyRTR) - Wednesday, 13 September 2017, 16:48 GMT
Just to make sure... wget as optional dep is installed?
Comment by Heinrich Siebmanns (Harvey) - Thursday, 14 September 2017, 10:11 GMT
Yes, it is. (wget 1.19.1)
Comment by Heinrich Siebmanns (Harvey) - Monday, 30 October 2017, 12:05 GMT
Finally got my hands on the machine in question again. Plugin installation still failed, but the console message led me to install python2-gobject (python-gobject was already installed but seems not to be enough). After this the installation completed successful.
Comment by Andreas Radke (AndyRTR) - Monday, 30 October 2017, 16:12 GMT
Installing python-gobject should be sufficient. All hplip source should be working with python v3 for some time now. Do you use some additional AUR pkg or some local python symlink in your homedir or some other directory within $PATH where python v2 and v3 may be overwriting something?

grep -iR gobject *.py
hpssd.py: from gi._gobject import MainLoop, timeout_add, threads_init, io_add_watch, IO_IN #python3-gi version: 3.4.0
hpssd.py: from gobject import MainLoop, timeout_add, threads_init, io_add_watch, IO_IN
toolbox.py: from gobject import MainLoop

If you think that's indeed a bug in hplip please report it back to the launchpad issue.
Comment by Heinrich Siebmanns (Harvey) - Tuesday, 31 October 2017, 12:00 GMT
Ok, the update today to v 3.17.10-2 gave me a chance to check this again. So I removed python2-gobject before and updated the package. The plugin installation was started and completes without error. Dunno why but it works now. From my point of view this can be closed.

Loading...