LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   hplip-3.11.1 in 13.37rc3: plugin download error (http://www.linuxquestions.org/questions/slackware-14/hplip-3-11-1-in-13-37rc3-plugin-download-error-871178/)

kingbeowulf 03-26-2011 04:07 PM

hplip-3.11.1 in 13.37rc3: plugin download error
 
I have a HP Laserjet Professional M1212nf printer supported via hplip just fine and dandy. I was trying 13.37rc3 since hplip-3.11.x now supports color scanning over the network (3.10.x did only grey scale). Going through hp-setup and hp-plugin as root, the plugin for this printer fails to download:
Code:

# hp-plugin

HP Linux Imaging and Printing System (ver. 3.11.1)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

QGtkStyle was unable to detect the current GTK+ theme.
/Checking for network connection...
Downloading configuration file from: http://hplip.sf.net/plugin.conf
Traceback (most recent call last):
  File "/usr/share/hplip/ui4/plugindialog.py", line 249, in NextButton_clicked
    self.plugin_download_callback)
  File "/usr/share/hplip/installer/core_install.py", line 1851, in get_plugin_info
    filename, headers = urllib.urlretrieve(plugin_conf_url, local_conf, callback)
  File "/usr/lib/python2.6/urllib.py", line 93, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.6/urllib.py", line 264, in retrieve
    size = int(headers["Content-Length"])
ValueError: invalid literal for int() with base 10: '7332, 7332'

Opening http://hplip.sf.net/plugin.conf via Firefox, locating the correct .run, and downloading, then choosing the .run file from the GUI works ok.

So not not a deal breaker, just a bit annoying as I have no clue about Python. Can this be addressed before 13.37 goes stable, or is it an upstream issue with either Python or hplip?

(Please no "we don't need no stinking GUI" responses - you know who you are. Slackware makes a fine server, but I don't need no stinking server, just a simple, efficient desktop computer system. I will strangle anyone who recommends Ubuntu. Seriously.)

kingbeowulf 03-26-2011 06:01 PM

Update: I just updated to hplip-3.11.3a in Slackware64-13.1 and the automated plugin installation works.

kingbeowulf 03-27-2011 10:51 PM

Boy, 13.37RC3.1415... (Pi) is already updated hplip-3.11.3a. I am a happy camper. Also goes to show that I am really unable to keep up with this warp speed RC schedule!:D

Lexus45 09-28-2011 05:00 AM

Not to start a new one...

Neither linuxprinting.org nor openprinting.org are available.
And the installation of some HP-printers and MFPs fails, because the installer tries to fetch some files from these sites (which in fact lead to the same IP address).

What's the best decision? Where else it is possible to get that plugin?

-------------
Found the solution:
http://hplipopensource.com/hplip-web..._download.html
Just install the latest hplip version from http://hplipopensource.com/ and then the downloaded plugin.

Lexus45 10-06-2011 01:16 AM

Wonderful!
Now http://hplipopensource.com/hplip-web..._download.html is also unavailable.


All times are GMT -5. The time now is 09:32 AM.