hp-setup hangs at startup

Asked by Andrea

Hi,

I am on Fedora 11-i386 with the following version of hplip

hplip-gui-3.9.2-4.fc11.i586
hplip-3.9.2-4.fc11.i586
hplip-libs-3.9.2-4.fc11.i586

When I run hp-setup (as root), it hangs after the copyrights (always)

[root@thinkpad andrea]# hp-setup -g

HP Linux Imaging and Printing System (ver. 3.9.2)
Printer/Fax Setup Utility ver. 8.0

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.

hp-setup[3037]: debug: param=

I've run "strace hp-setup" and this is the end of the log

....
stat64("/root/.kde/share/config/kdeglobals", {st_mode=S_IFREG|0600, st_size=117, ...}) = 0
stat64("/root/.kde/share/config/kdeglobals", {st_mode=S_IFREG|0600, st_size=117, ...}) = 0
stat64("/root/.kde/share/config/kdeglobals", {st_mode=S_IFREG|0600, st_size=117, ...}) = 0
fstat64(8, {st_mode=S_IFREG|0600, st_size=117, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c26000
read(8, "[$Version]\nupdate_info=kwin.upd:k"..., 4096) = 117
read(8, ""..., 4096) = 0
close(8) = 0
munmap(0xb7c26000, 4096) = 0
stat64("/root/.kde/share/config/oxygenrc", 0xbf9345b4) = -1 ENOENT (No such file or directory)
stat64("/etc/kde/oxygenrc", 0xbf9345b4) = -1 ENOENT (No such file or directory)
stat64("/usr/share/kde-settings/kde-profile/default/share/config/oxygenrc", 0xbf9345b4) = -1 ENOENT (No such file or directory)
stat64("/usr/share/config/oxygenrc", 0xbf9345b4) = -1 ENOENT (No such file or directory)
socket(PF_FILE, SOCK_STREAM, 0) = 8
connect(8, {sa_family=AF_FILE, path=@"/tmp/dbus-YMPFCiHxV1"...}, 23) = 0
fcntl64(8, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl64(8, F_GETFD) = 0
fcntl64(8, F_SETFD, FD_CLOEXEC) = 0
geteuid32() = 0
rt_sigaction(SIGPIPE, {0x1, [PIPE], SA_RESTART}, {0x1, [], 0}, 8) = 0
poll([{fd=8, events=POLLOUT}], 1, 0) = 1 ([{fd=8, revents=POLLOUT}])
write(8, "\0"..., 1) = 1
write(8, "AUTH EXTERNAL 30\r\n"..., 18) = 18
poll([{fd=8, events=POLLIN}], 1, -1) = 1 ([{fd=8, revents=POLLIN}])
read(8, "OK a16eba9acfc3638eec7139ec4a60df"..., 2048) = 37
poll([{fd=8, events=POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])
write(8, "BEGIN\r\n"..., 7) = 7
poll([{fd=8, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLIN|POLLOUT|POLLHUP}])
read(8, ""..., 2048) = 0
close(8) = 0
futex(0x98c4114, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>

Does anybody have an idea?
If I run the interactive mode, it works.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Is it possible to uninstall and install the latest HPLIP from our website? We do not test the Fedora packages, however we have tested HPLIP 3.9.6b on Fedora and it is working correctly.

Thanks.

Aaron

Revision history for this message
Andrea (mariofutire86) said :
#2

I will try to see if I find some rpm (maybe source) I can use.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

We have tested HPLIP on Fedora 11 and haven't seen this issue.

Aaron

Revision history for this message
Andrea (mariofutire86) said :
#4

I see.

I've tried to remove it, reboot and reinstall it with no difference.

I see it is written in python. Is there a way to step trough the python code or to print a stack trace when it hangs?

Revision history for this message
Andrea (mariofutire86) said :
#5

This is the output of python -v setup.py

It is not much though

http://pastebin.com/m15ab07c0

Revision history for this message
Andrea (mariofutire86) said :
#6

This is some more information from python -m pdb setup.py

http://pastebin.com/m47009588

(after the last line it hangs forever)

It looks it hangs on the call to QApplication(sys.argv)

Do you have any idea about that?

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#7

We can run hp-setup on Fedora 11 without any problems. From looking over the logs it looks like there is a problem with the qt install on your system. Or some other problem....but it definitely looks to be a local system issue.

Sorry I couldn't help more.

Thanks for your support of HPLIP--we appreciate it.

Aaron

Can you help with this problem?

Provide an answer of your own, or ask Andrea for more information if necessary.

To post a message you must log in.