Bug 623834

Summary: [abrt] crash in hplip-3.10.5-1.fc13: setupdialog.py:902:FaxNameLineEdit_textEdited:TypeError: textChanged(QString): argument 1 has unexpected type 'tuple'
Product: [Fedora] Fedora Reporter: Joshua M. Hughes <hughesjm80>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: bgilbert, christian.vrl, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:97350796
Fixed In Version: hplip-3.10.9-9.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-14 21:36:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Joshua M. Hughes 2010-08-12 22:09:29 UTC
abrt 1.1.1 detected a crash.

architecture: i686
cmdline: python /usr/bin/hp-setup -u
component: hplip
executable: /usr/bin/hp-setup
kernel: 2.6.33.6-147.2.4.fc13.i686.PAE
package: hplip-3.10.5-1.fc13
reason: setupdialog.py:902:FaxNameLineEdit_textEdited:TypeError: textChanged(QString): argument 1 has unexpected type 'tuple'
release: Fedora release 13 (Goddard)

backtrace
-----
setupdialog.py:902:FaxNameLineEdit_textEdited:TypeError: textChanged(QString): argument 1 has unexpected type 'tuple'

Traceback (most recent call last):
  File "/usr/share/hplip/ui4/setupdialog.py", line 902, in FaxNameLineEdit_textEdited
    (self.PrinterNameLineEdit.text(),))
TypeError: textChanged(QString): argument 1 has unexpected type 'tuple'

Local variables in innermost frame:
self: <ui4.setupdialog.SetupDialog object at 0x9600a6c>
t: PyQt4.QtCore.QString(u'HPColorLaserJetCM1312F')

How to reproduce
-----
1.Added new network printer
2.Selected discovered network printer
3.Filled in requetsed information and clicked the finish button.

Comment 1 Joshua M. Hughes 2010-08-12 22:09:32 UTC
Created attachment 438546 [details]
File: backtrace

Comment 2 Benjamin Gilbert 2010-09-14 03:00:42 UTC
Package: hplip-3.10.5-1.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. Start hp-setup.
2. At wizard step 1, select the Network connection type.
3. At step 2, select a printer with fax support (in my case, an M2727nf).
4. At step 3, enter a value in the "Printer name" field.
5. Enter the *same* value in the "Fax name" field, then type an additional
character so that the printer and fax names are no longer identical.

Comment
-----
When the printer and fax names are equal, the "Add Printer" button is disabled.
When they are again made unique, the "Add Printer" button is not properly
re-enabled.

Comment 3 Christian V R Lopes 2010-11-10 17:27:57 UTC
Package: hplip-3.10.6-3.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. install F14 from DVD - new install (choose Development station)
2. install hplip-gui
3. clear any firewall and try to "setup device" printer, a network HP CM1312nfi

Comment 4 Fedora Update System 2010-11-11 15:01:50 UTC
hplip-3.10.9-5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/hplip-3.10.9-5.fc14

Comment 5 Fedora Update System 2010-11-11 15:04:55 UTC
hplip-3.10.9-5.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/hplip-3.10.9-5.fc13

Comment 6 Fedora Update System 2010-11-11 22:24:28 UTC
hplip-3.10.9-5.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-5.fc13

Comment 7 Fedora Update System 2010-11-14 21:35:50 UTC
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.

Comment 8 Benjamin Gilbert 2010-11-15 17:14:13 UTC
This update fixes the exception, but does not entirely correct the wizard's behavior.  Step 5 of comment 2 should disable and then re-enable the "Add Printer" button.  The button is still not properly re-enabled, forcing the user to cancel and restart the wizard.  This may or may not be a separate bug.

Comment 9 Tim Waugh 2010-11-15 18:03:03 UTC
Benjamin: I think that's a separate bug.  This one was a simple typo in the source file.

Comment 10 Benjamin Gilbert 2010-11-15 20:23:36 UTC
(In reply to comment #9)

OK, filed as bug 653626.

Comment 11 Fedora Update System 2011-01-12 05:24:03 UTC
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.