[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#333850: (fwd) hplip 0.9.5 bug with network connected printer



Package: hplip
Version: 0.9.5-2
Severity: important

----- Forwarded message from tm <tatu.mannisto@iki.fi> -----
From: tm <tatu.mannisto@iki.fi>
Subject: hplip 0.9.5 bug with network connected printer
Date: Wed, 12 Oct 2005 23:33:08 +0300

Hello,

Current hplip package (0.9.5-2ubuntu2) has a bug with hp-printing utils when 
the printer is connected over the ethernet.

hpssd daemon tries to ping a network connected printer first but as it runs 
non-root it will fail in creating a raw icmp socket. This goes mostly 
undetected by the system, nothing really happens and no error messages are 
reported back to the user.

My simple "fix" was to redefine doOne in /usr/lib/hplip/base/utils.py as

def doOne( destAddr, timeout=10 ):
    return 1

to indicate that the pinging is always successful (and if there are no printer 
in the net the outcome from the utils is not much different as it is now).

After that at least otherwise non functional utils like hp-info, hp-align, 
hp-toolbox etc are working again.

cheers,

tatu
----- End forwarded message -----

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh




Reply to: