abrt version: 1.1.13 architecture: i686 cmdline: /usr/bin/python /usr/bin/hp-setup -u component: hplip executable: /usr/bin/hp-setup kernel: 2.6.35.6-39.fc14.i686.PAE package: hplip-3.10.9-1.fc14 reason: utils.py:89:list_to_string:AttributeError: 'str' object has no attribute 'pop' release: Fedora release 14 (Laughlin) time: 1286998458 uid: 500 backtrace ----- utils.py:89:list_to_string:AttributeError: 'str' object has no attribute 'pop' Traceback (most recent call last): File "/usr/share/hplip/ui4/setupdialog.py", line 1241, in NextButton_clicked self.addPrinter() File "/usr/share/hplip/ui4/setupdialog.py", line 945, in addPrinter self.setupPrinter() File "/usr/share/hplip/ui4/setupdialog.py", line 983, in setupPrinter FailureUI(self, self.__tr("<b>Printer queue setup failed.</b><p>Please add user to %s group(s)" %utils.list_to_string(utils.addgroup()))) File "/usr/share/hplip/base/utils.py", line 89, in list_to_string return "\""+"\", \"".join(lis)+"\" and \""+str(lis.pop())+"\"" AttributeError: 'str' object has no attribute 'pop' Local variables in innermost frame: lis: 'lp' How to reproduce ----- 1. I want install first printer - network printer Officejet k5400 2. hplip-gui found printer, but in final step - printer adding, apps crashed
Created attachment 453301 [details] File: backtrace
http://pkgs.fedoraproject.org/gitweb/?p=hplip.git;a=commitdiff;h=74ded0ec4a2a768df57dac701b59f6c3f9a4da8f
You can try this build if you want http://koji.fedoraproject.org/koji/taskinfo?taskID=2534421
Package: hplip-3.10.9-1.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- Trying to add a Networked HP Multifunction printer Comment ----- When I click the "Add printer" button an exception happens and the window stays where it was - printer isn't added to the list :/
hplip-3.10.9-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/hplip-3.10.9-2.fc14
I just test this packages. Device is rightly found, but when clicking to "Add Printer" button, "HP Device Manager - Setup" error window appears: 'Printer queue setup failed. Please add user to "lp" group(s)' and printer isn't added.
Seems like some access problem. I guess when you run hp-setup as root the queue is added, isn't it ?
Yes, when running as root, then printer is added. But e.g. hp-toolbox isn't possible (as seems to me) run as root, it wrote: Oct 15 13:48:15 ws22 hp-toolbox: hp-toolbox[16032]: warning: hp-toolbox should not be run as root/superuser. Oct 15 13:48:15 ws22 hp-toolbox: hp-toolbox(UI)[16032]: error: dBus initialization error. Exiting. This messages appears in all cases I was trying: - run from gnome-terminal (after "su [-]") - after startx as root from runlevel 3 (because gdm in default configuration refuse root login)
hplip-3.10.9-2.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update hplip'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/hplip-3.10.9-2.fc14
(In reply to comment #6) > I just test this packages. Device is rightly found, but when clicking to "Add > Printer" button, "HP Device Manager - Setup" error window appears: > > 'Printer queue setup failed. Please add user to "lp" group(s)' > > and printer isn't added. This is bug #540721.
hplip-3.10.9-2.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/hplip-3.10.9-2.fc13
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. 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 '12'. 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 12'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 12 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
Package: hplip-3.10.6-3.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.Adding Printer using HP Driver Manager after installing driver using hplip-3.10.9.run 2. 3.
(In reply to comment #13) > 1.Adding Printer using HP Driver Manager after installing driver using > hplip-3.10.9.run If you install 3rd party software, you need to report bugs in it to the 3rd party you obtained it from. In this case, hplipopensource.com. Fedora provides packaged versions of HPLIP which include bug fixes and adaptations for Fedora. Bugzilla is for reporting bugs in these packages.
@Tim Waugh: I think there is some misconception here. hplip-3.10.9.run just a simple program which use to install, 1. hplip-3.10.6-3.fc14.i686. 2. hplip-libs-3.10.6-3.fc14.i686. 3. hplip-common-3.10.6-3.fc14.i686. and other packages required to install the above three. Also, the package that crashed is /usr/bin/hp-setup which is part of hplip-3.10.6-3.fc14.i686. # rpm -ql hplip-3.10.6-3.fc14.i686 ...... ...skipped... /usr/bin/hp-setup <- hp-setup file /usr/bin/hp-testpage /usr/bin/hp-timedate /usr/bin/hp-unload /usr/bin/hp-wificonfig /usr/lib/cups/backend/hp /usr/lib/cups/backend/hpfax /usr/lib/cups/filter/pstotiff /usr/share/cups/mime/pstotiff.convs /usr/share/doc/hplip-3.10.6 /usr/share/doc/hplip-3.10.6/COPYING ...skipped... ......
The hplip-3.10.9.run program is the automatic installer from hplipopensource.com, for installing the latest upstream version of HPLIP direct from upstream, without any of our addition fixes. It is not a Fedora program. It may have overwritten files from your Fedora hplip packages (you can check using 'rpm -V hplip hplip-libs hplip-common' as root). In any case, see comment #9...
hplip-3.10.9-5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
I'm still seeing this with the latest releases... $ python /usr/bin/hp-setup HP Linux Imaging and Printing System (ver. 3.10.9) Printer/Fax Setup Utility ver. 9.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. Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns) \Traceback (most recent call last): File "/usr/share/hplip/ui4/setupdialog.py", line 1240, in NextButton_clicked self.addPrinter() File "/usr/share/hplip/ui4/setupdialog.py", line 944, in addPrinter self.setupPrinter() File "/usr/share/hplip/ui4/setupdialog.py", line 982, in setupPrinter FailureUI(self, self.__tr("<b>Printer queue setup failed.</b><p>Please add user to %s group(s)" %utils.list_to_string(utils.addgroup()))) File "/usr/share/hplip/base/utils.py", line 89, in list_to_string return "\""+"\", \"".join(lis)+"\" and \""+str(lis.pop())+"\"" AttributeError: 'str' object has no attribute 'pop' Done. $ rpm -q hplip hplip-3.10.9-5.fc14.x86_64
Strange. In my case it seems fixed with hplip-3.10.9-5.fc14.x86_64. Can you verify the package with 'rpm -V hplip' ?
hplip-3.10.9-8.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update hplip'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/hplip-3.10.9-8.fc13
Package: hplip-3.10.9-5.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. 2. 3. setting up..
hplip-3.10.9-9.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.