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

hp-sendfax error timeout



Hello all,

I am on a Debian Jessie, and I have installed hplip 3.16.3+repack0-1
from backports in order to use an HP Deskjet 2645 Printer/Fax.

Although I can print without any problem, I can not use the fax.

$ hp-sendfax -l debug -n -f2106256546 MyDocs/150131-kinisi-840.pdf 

HP Linux Imaging and Printing System (ver. 3.16.3)
PC Sendfax Utility ver. 9.0

Copyright (c) 2001-15 HP 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.

hp-sendfax[2952]: debug: getPrinterName(None, None, ['hpfax'],
{'fax-type': (<built-in function gt>, 0)})
hp-sendfax[2952]: debug: Mode=2
hp-sendfax[2952]: debug: Cache miss: deskjet_2640_series
hp-sendfax[2952]: debug: Reading
file: /usr/share/hplip/data/models/models.dat
hp-sendfax[2952]: debug: Searching for section [deskjet_2640_series] in
file /usr/share/hplip/data/models/models.dat
hp-sendfax[2952]: debug: Found section [deskjet_2640_series] in
file /usr/share/hplip/data/models/models.dat
hp-sendfax[2952]: debug: ['Deskjet_2640_fax']
hp-sendfax[2952]: debug: Faxnum list = ['2106256546']
hp-sendfax[2952]: debug: Unique list=['2106256546']
hp-sendfax[2952]: debug: Group list = []
hp-sendfax[2952]: debug: Unique list=[]
hp-sendfax[2952]: debug: Recipient list = []
hp-sendfax[2952]: debug: Unique list=[]
hp-sendfax[2952]: debug: Number=2106256546
hp-sendfax[2952]: debug: Phone num list = [{'fax': '2106256546', 'name':
'Unknown'}]
hp-sendfax[2952]: debug: /home/akefalas/MyDocs/150131-kinisi-840.pdf
hp-sendfax[2952]: debug: application/pdf
Using fax Deskjet_2640_fax
(hpfax:/usb/Deskjet_2640_series?serial=CN5384G1M60601)
hp-sendfax[2952]: debug:
Locking: /home/akefalas/.hplip/hp-sendfax-Deskjet_2640_fax.lock
hp-sendfax[2952]: debug: /home/akefalas/MyDocs/150131-kinisi-840.pdf
hp-sendfax[2952]: debug: Printer state = 3
hp-sendfax[2952]: debug: Printer name = Deskjet_2640_fax file
= /home/akefalas/MyDocs/150131-kinisi-840.pdf

Rendering file '/home/akefalas/MyDocs/150131-kinisi-840.pdf' (job
655)...
hp-sendfax[2952]: debug: Job ID=655
hp-sendfax[2952]: debug: Waiting for fax...
hp-sendfax[2952]: debug:
[dbus.String('hpfax:/usb/Deskjet_2640_series?serial=CN5384G1M60601'),
dbus.String(''), dbus.Int32(0), dbus.String('akefalas'),
dbus.Int32(655), dbus.String(''), dbus.Double(0.0), dbus.String('')]

hp-sendfax[2952]: debug: Waiting for fax...
hp-sendfax[2952]: debug:
[dbus.String('hpfax:/usb/Deskjet_2640_series?serial=CN5384G1M60601'),
dbus.String(''), dbus.Int32(0), dbus.String('akefalas'),
dbus.Int32(655), dbus.String(''), dbus.Double(0.0), dbus.String('')]

hp-sendfax[2952]: debug: Waiting for fax...
hp-sendfax[2952]: debug:
[dbus.String('hpfax:/usb/Deskjet_2640_series?serial=CN5384G1M60601'),
dbus.String(''), dbus.Int32(0), dbus.String('akefalas'),
dbus.Int32(655), dbus.String(''), dbus.Double(0.0), dbus.String('')]

hp-sendfax[2952]: debug: Waiting for fax...
hp-sendfax[2952]: debug:
[dbus.String('hpfax:/usb/Deskjet_2640_series?serial=CN5384G1M60601'),
dbus.String(''), dbus.Int32(0), dbus.String('akefalas'),
dbus.Int32(655), dbus.String(''), dbus.Double(0.0), dbus.String('')]

error: Timeout waiting for rendering. Canceling job #655...
hp-sendfax[2952]: debug:
Unlocking: /home/akefalas/.hplip/hp-sendfax-Deskjet_2640_fax.lock

Digging a little more I have found this:

[Job 663] Traceback (most recent call last):
D [16/Apr/2016:00:59:10 +0300] [Job 663] File
"/usr/lib/cups/backend/hpfax", line 263, in <module>
D [16/Apr/2016:00:59:10 +0300] [Job 663] os.mkfifo(pipe_name)
D [16/Apr/2016:00:59:10 +0300] [Job 663] PermissionError: [Errno 13]
Permission denied
D [16/Apr/2016:00:59:10 +0300] [Job 663] During handling of the above
exception, another exception occurred:
D [16/Apr/2016:00:59:10 +0300] [Job 663] Traceback (most recent call
last):
D [16/Apr/2016:00:59:10 +0300] [Job 663] File
"/usr/lib/cups/backend/hpfax", line 265, in <module>
D [16/Apr/2016:00:59:10 +0300] [Job 663] os.unlink(pipe_name)


So it is a permission error, but I do not know where to look. hp-doctor
and hp-check are quite happy!!!

Any help would be greatly appreciated.

Thanks!!!


Reply to: