Created attachment 354209 [details] output of "strace hp-setup" Description of problem: In Fedora 11 hp-setup starts, but after copyrights it hangs forever. Version-Release number of selected component (if applicable): hplip I have installed is hplip-gui-3.9.2-4.fc11.i586 hplip-3.9.2-4.fc11.i586 hplip-libs-3.9.2-4.fc11.i586 How reproducible: always Steps to Reproduce: 1.become root 2.hp-setup Actual results: after copyrights, it hangs Expected results: gui pops up and configuration continues Additional info: I've run "strace hp-setup" and attached the output. Nothing is logged to /var/log/messages. When run with extra logging, it only prints hp-setup[3037]: debug: param=
Try 'hp-setup --disable-dbus' -- does that work around it?
Oh, wait, that's an hp-toolbox option...
An update of the situation is 1) it works when I run "hp-setup -i" 2) I've run strace and this is the last part of it 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 ...> ... nothing more is added after that 3) I've used the python debugger and found that it hangs on a call to QApplication(sys.argv) > /usr/share/hplip/setup.py(193)<module>() -> log.debug("param=%s" % param) (Pdb) > /usr/share/hplip/setup.py(196)<module>() -> if mode == GUI_MODE: (Pdb) > /usr/share/hplip/setup.py(197)<module>() -> if ui_toolkit == 'qt3': (Pdb) > /usr/share/hplip/setup.py(202)<module>() -> if not utils.canEnterGUIMode4(): (Pdb) > /usr/share/hplip/setup.py(206)<module>() -> if mode == GUI_MODE: (Pdb) > /usr/share/hplip/setup.py(207)<module>() -> if ui_toolkit == 'qt3': (Pdb) > /usr/share/hplip/setup.py(280)<module>() -> try: (Pdb) > /usr/share/hplip/setup.py(281)<module>() -> from PyQt4.QtGui import QApplication, QMessageBox (Pdb) > /usr/share/hplip/setup.py(282)<module>() -> from ui4.setupdialog import SetupDialog (Pdb) /usr/share/hplip/setup.py(287)<module>() -> app = QApplication(sys.argv) (Pdb) ... hangs 4) but, if I run it via the hp-toolbox (Device, Setup device), it always works. 5) on my PS3 it always works I don't really know who to blame here...
Me either. :-(
This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.