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

Re: hp-sendfax error timeout



Hi,

first: this seems to be problem in unstable and testing too, so I would
open a bug report against hplib.

However, looking at the code
http://sources.debian.net/src/hplip/3.16.3%2Brepack0-1/fax/backend/hpfax.py/?hl=266#L266

if os.path.exists("/home/%s/.hplip"%username):
tmp_dir = "/home/%s/.hplip"%username
else:
tmp_dir = "/tmp"

pipe_name = os.path.join(tmp_dir, "hp_fax-pipe-%d" % job_id)

os.umask(0o111)
try:
os.mkfifo(pipe_name)
except OSError:
os.unlink(pipe_name)
os.mkfifo(pipe_name)

you might just want to add some prints to see what is the value of tmp_dir, and maybe why the pipe_name can't be created

cheers,

Gianfranco


Reply to: