The proposed fix works only with Hardy, in Gutsy the fax file seems to get created with the fix, too but when the creation of the file has completed, hp-sendfax crashes, probably this is a second, independent upstream bug.
The output on the console is
--------------------------------------------------
till@laptoptill:~/ubuntu/hplip/hplip-2.7.7.dfsg.1$
HP Linux Imaging and Printing System (ver. 2.7.7)
PC Sendfax Utility ver. 7.0
Copyright (c) 2001-7 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.
HP Linux Imaging and Printing System (ver. 2.7.7)
Services and Status Daemon ver. 9.2
Copyright (c) 2001-7 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.
warning: Inrecognized URI: cups-pdf:/
Using device: hpfax:/net/HP_LaserJet_3390?ip=192.168.1.66
fatal error: :hp-sendfax
Traceback (most recent call last):
File "/usr/share/hplip/ui/scrollfax.py", line 216, in PeriodicCheck
{"username": self.username}, None)
File "/usr/share/hplip/base/msg.py", line 150, in xmitMessage
raise Error(ERROR_INTERNAL)
base.g.Error: ('Unknown internal error', 99)
--------------------------------------------------
HP Linux Imaging and Printing System (ver. 2.7.7)
PC Sendfax Utility ver. 7.0
Copyright (c) 2001-7 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.
hp-sendfax[18735]: debug: Startup: Trying to connect to hpssd on localhost:2207
hp-sendfax[18735]: debug: Cannot connect to hpssd. Launching...
HP Linux Imaging and Printing System (ver. 2.7.7)
Services and Status Daemon ver. 9.2
Copyright (c) 2001-7 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.
hp-sendfax[18735]: debug: Connected to hpssd on localhost:2207
hp-sendfax[18735]: debug: Using system locale: en_US.UTF-8
hp-sendfax[18735]: debug: Trying to load .qm file for en_US.UTF-8 locale.
hp-sendfax[18735]: debug: Name of .qm file: hplip_en_US.UTF-8.qm
hp-sendfax[18735]: debug: Using default 'C' locale
hp-sendfax[18735]: debug: [<cupsext.Printer object at 0x871eb88>, <cupsext.Printer object at 0x871e9d0>]
hp-sendfax[18735]: debug: hpfax:/net/HP_LaserJet_3390?ip=192.168.1.66
: Fax
hp-sendfax[18735]: debug: Cache miss: hp_laserjet_3390
hp-sendfax[18735]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-sendfax[18735]: debug: Searching for section [hp_laserjet_3390] in file /usr/share/hplip/data/models/models.dat
hp-sendfax[18735]: debug: Found section [hp_laserjet_3390] in file /usr/share/hplip/data/models/models.dat
hp-sendfax[18735]: debug: cups-pdf:/: PDF
hp-sendfax[18735]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: cups-pdf:/
hp-sendfax[18735]: debug: ['hpfax:/net/HP_LaserJet_3390?ip=192.168.1.66\n']
Using device: hpfax:/net/HP_LaserJet_3390?ip=192.168.1.66
hp-sendfax[18735]: debug: pid=18735
hp-sendfax[18735]: debug: Starting GUI loop...
hp-sendfax[18735]: debug: ScrollView.onDeviceChange(hpfax:/net/HP_LaserJet_3390?ip=192.168.1.66
)
hp-sendfax[18735]: debug: fillControls(unnamed)
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\nusername=till\n'
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckresult\nresult-code=22\n'
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\nusername=till\n'
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckresult\nresult-code=22\n'
hp-sendfax[18735]: debug: workingDirectory: /home/till
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\nusername=till\n'
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckresult\nresult-code=22\n'
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\nusername=till\n'
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckresult\nresult-code=22\n'
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\nusername=till\n'
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckresult\nresult-code=22\n'
hp-sendfax[18735]: debug: results: /home/till/AR-1148430700314.pdf
hp-sendfax[18735]: debug: workingDirectory: /home/till
hp-sendfax[18735]: debug: application/pdf
hp-sendfax[18735]: debug: application/pdf
hp-sendfax[18735]: debug: 'application/pdf'
hp-sendfax[18735]: debug: Adding file: title='AR-1148430700314.pdf' file=/home/till/AR-1148430700314.pdf mime_type=application/pdf mime_desc=PDF Document)
hp-sendfax[18735]: debug: Printer state = 3
hp-sendfax[18735]: debug: Job ID=7
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\nusername=till\n'
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckresult\nresult-code=22\n'
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\nusername=till\n'
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\nusername=till\n'
fatal error: :hp-sendfax
hp-sendfax[18735]: debug: Exception: 99 (Unknown internal error)
Traceback (most recent call last):
File "/usr/share/hplip/ui/scrollfax.py", line 216, in PeriodicCheck
{"username": self.username})
File "/usr/share/hplip/base/msg.py", line 150, in xmitMessage
raise Error(ERROR_INTERNAL)
base.g.Error: ('Unknown internal error', 99)
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\nusername=till\n'
--------------------------------------------------
Reopening Gutsy task and adding upstream task.
Dave, Don, Raghu, can you check on a machine running an updated Ubuntu Gutsy (NOT Hardy) and provide a fix. If you cannot reproduce the bug try on a slow machine or under high system load.
The proposed fix works only with Hardy, in Gutsy the fax file seems to get created with the fix, too but when the creation of the file has completed, hp-sendfax crashes, probably this is a second, independent upstream bug.
The output on the console is
------- ------- ------- ------- ------- ------- ------- - :~/ubuntu/ hplip/hplip- 2.7.7.dfsg. 1$
till@laptoptill
HP Linux Imaging and Printing System (ver. 2.7.7)
PC Sendfax Utility ver. 7.0
Copyright (c) 2001-7 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.
HP Linux Imaging and Printing System (ver. 2.7.7)
Services and Status Daemon ver. 9.2
Copyright (c) 2001-7 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.
warning: Inrecognized URI: cups-pdf:/ net/HP_ LaserJet_ 3390?ip= 192.168. 1.66
Using device: hpfax:/
fatal error: :hp-sendfax hplip/ui/ scrollfax. py", line 216, in PeriodicCheck hplip/base/ msg.py" , line 150, in xmitMessage INTERNAL) ------- ------- ------- ------- ------- ------- -
Traceback (most recent call last):
File "/usr/share/
{"username": self.username}, None)
File "/usr/share/
raise Error(ERROR_
base.g.Error: ('Unknown internal error', 99)
-------
Here another run in debug mode:
------- ------- ------- ------- ------- ------- ------- - :~/ubuntu/ hplip/hplip- 2.7.7.dfsg. 1$ hp-sendfax -ldebug
till@laptoptill
HP Linux Imaging and Printing System (ver. 2.7.7)
PC Sendfax Utility ver. 7.0
Copyright (c) 2001-7 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.
hp-sendfax[18735]: debug: Startup: Trying to connect to hpssd on localhost:2207
hp-sendfax[18735]: debug: Cannot connect to hpssd. Launching...
HP Linux Imaging and Printing System (ver. 2.7.7)
Services and Status Daemon ver. 9.2
Copyright (c) 2001-7 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.
hp-sendfax[18735]: debug: Connected to hpssd on localhost:2207 US.UTF- 8.qm net/HP_ LaserJet_ 3390?ip= 192.168. 1.66 hplip/data/ models/ models. dat hplip/data/ models/ models. dat hplip/data/ models/ models. dat /net/HP_ LaserJet_ 3390?ip= 192.168. 1.66\n' ] net/HP_ LaserJet_ 3390?ip= 192.168. 1.66
hp-sendfax[18735]: debug: Using system locale: en_US.UTF-8
hp-sendfax[18735]: debug: Trying to load .qm file for en_US.UTF-8 locale.
hp-sendfax[18735]: debug: Name of .qm file: hplip_en_
hp-sendfax[18735]: debug: Using default 'C' locale
hp-sendfax[18735]: debug: [<cupsext.Printer object at 0x871eb88>, <cupsext.Printer object at 0x871e9d0>]
hp-sendfax[18735]: debug: hpfax:/
: Fax
hp-sendfax[18735]: debug: Cache miss: hp_laserjet_3390
hp-sendfax[18735]: debug: Reading file: /usr/share/
hp-sendfax[18735]: debug: Searching for section [hp_laserjet_3390] in file /usr/share/
hp-sendfax[18735]: debug: Found section [hp_laserjet_3390] in file /usr/share/
hp-sendfax[18735]: debug: cups-pdf:/: PDF
hp-sendfax[18735]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: cups-pdf:/
hp-sendfax[18735]: debug: ['hpfax:
Using device: hpfax:/
hp-sendfax[18735]: debug: ['application/pdf', 'application/ postscript' , 'application/ vnd.hp- HPGL', 'application/ x-cshell' , 'application/ x-csource' , 'application/ x-perl' , 'application/ x-shell' , 'text/plain', 'text/html', 'image/gif', 'image/png', 'image/jpeg', 'image/tiff', 'image/x-bitmap', 'image/x-photocd', 'image/ x-portable- anymap' , 'image/ x-portable- bitmap' , 'image/ x-portable- graymap' , 'image/ x-portable- pixmap' , 'image/x-sgi-rgb', 'image/x-xbitmap', 'image/x-xpixmap', 'image/ x-sun-raster' , 'image/gif', 'image/png', 'image/jpeg', 'image/tiff', 'image/x-bitmap', 'image/x-photocd', 'image/ x-portable- anymap' , 'image/ x-portable- bitmap' , 'image/ x-portable- graymap' , 'image/ x-portable- pixmap' , 'image/x-sgi-rgb', 'image/x-xbitmap', 'image/x-xpixmap', 'image/ x-sun-raster' , 'image/x-bmp', 'text/cpp', 'application/ x-python' ] net/HP_ LaserJet_ 3390?ip= 192.168. 1.66
hp-sendfax[18735]: debug: Loading user settings...
hp-sendfax[18735]: debug: Print command: hp-print -p%PRINTER%
hp-sendfax[18735]: debug: Use Internal print command: True
hp-sendfax[18735]: debug: PCard command: hp-unload -d %DEVICE_URI%
hp-sendfax[18735]: debug: Use internal PCard command: True
hp-sendfax[18735]: debug: Fax command: hp-sendfax -d %FAX_URI%
hp-sendfax[18735]: debug: Use internal fax command: True
hp-sendfax[18735]: debug: FAB command: hp-fab
hp-sendfax[18735]: debug: Use internal FAB command: False
hp-sendfax[18735]: debug: Copy command: hp-makecopies -d %DEVICE_URI%
hp-sendfax[18735]: debug: Use internal copy command: True
hp-sendfax[18735]: debug: Scan command: xsane -V %SANE_URI%
hp-sendfax[18735]: debug: Use internal scan command: False
hp-sendfax[18735]: debug: Email alerts: False
hp-sendfax[18735]: debug: Email to address(es):
hp-sendfax[18735]: debug: Email from address:
hp-sendfax[18735]: debug: Auto refresh: False
hp-sendfax[18735]: debug: Auto refresh rate: 30
hp-sendfax[18735]: debug: Auto refresh type: 0
hp-sendfax[18735]: debug: FAB command: hp-fab
hp-sendfax[18735]: debug: Device URI: hpfax:/
hp-sendfax[18735]: debug: Printer: None LaserJet_ 3390, serial=, dev=, host=192.168.1.66 nusername= till\nemail- from-address= \nemail- to-addresses= \nemail- alerts= \n' esult\nresult- code=0\ n' net/HP_ LaserJet_ 3390?ip= 192.168. 1.66
hp-sendfax[18735]: debug: URI: backend=hpfax, is_hp=True, bus=net, model=HP_
, port=1
hp-sendfax[18735]: debug: Model/UI model: HP_LaserJet_3390/HP LaserJet 3390
hp-sendfax[18735]: debug: hpssd socket: 3
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=setalerts\
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=setalertsr
hp-sendfax[18735]: debug: hpfax:/
hp-sendfax[18735]: debug: pid=18735 onDeviceChange( hpfax:/ net/HP_ LaserJet_ 3390?ip= 192.168. 1.66 unnamed) nusername= till\n' sult\nresult- code=22\ n' nusername= till\n' sult\nresult- code=22\ n' nusername= till\n' sult\nresult- code=22\ n' nusername= till\n' sult\nresult- code=22\ n' nusername= till\n' sult\nresult- code=22\ n' AR-114843070031 4.pdf AR-114843070031 4.pdf' file=/home/ till/AR- 1148430700314. pdf mime_type= application/ pdf mime_desc=PDF Document) nusername= till\n' sult\nresult- code=22\ n' nusername= till\n' nusername= till\n' hplip/ui/ scrollfax. py", line 216, in PeriodicCheck hplip/base/ msg.py" , line 150, in xmitMessage INTERNAL) nusername= till\n' ------- ------- ------- ------- ------- ------- -
hp-sendfax[18735]: debug: Starting GUI loop...
hp-sendfax[18735]: debug: ScrollView.
)
hp-sendfax[18735]: debug: fillControls(
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckre
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckre
hp-sendfax[18735]: debug: workingDirectory: /home/till
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckre
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckre
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckre
hp-sendfax[18735]: debug: results: /home/till/
hp-sendfax[18735]: debug: workingDirectory: /home/till
hp-sendfax[18735]: debug: application/pdf
hp-sendfax[18735]: debug: application/pdf
hp-sendfax[18735]: debug: 'application/pdf'
hp-sendfax[18735]: debug: Adding file: title='
hp-sendfax[18735]: debug: Printer state = 3
hp-sendfax[18735]: debug: Job ID=7
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\
hp-sendfax[18735]: debug: (xmit) Reading data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheckre
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\
fatal error: :hp-sendfax
hp-sendfax[18735]: debug: Exception: 99 (Unknown internal error)
Traceback (most recent call last):
File "/usr/share/
{"username": self.username})
File "/usr/share/
raise Error(ERROR_
base.g.Error: ('Unknown internal error', 99)
hp-sendfax[18735]: debug: Checking for incoming faxes...
hp-sendfax[18735]: debug: (xmit) Sending data on channel (3)
hp-sendfax[18735]: debug: 'msg=faxcheck\
-------
Reopening Gutsy task and adding upstream task.
Dave, Don, Raghu, can you check on a machine running an updated Ubuntu Gutsy (NOT Hardy) and provide a fix. If you cannot reproduce the bug try on a slow machine or under high system load.