system-config-printer.py crashed with AttributeError in on_btnPrintTestPage_clicked()

Bug #145098 reported by John Lawton
42
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

Just crashed after boot

ProblemType: Crash
Architecture: i386
Date: Tue Sep 18 20:26:29 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InterpreterPath: /usr/bin/python2.5
Package: system-config-printer 0.7.75+svn1566-0ubuntu1
PackageArchitecture: all
ProcCmdline: python /usr/share/system-config-printer/system-config-printer.py
ProcCwd: /home/john
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
SourcePackage: system-config-printer
Title: system-config-printer.py crashed with AttributeError in on_btnPrintTestPage_clicked()
Traceback:
 Traceback (most recent call last):
   File "/usr/share/system-config-printer/system-config-printer.py", line 1459, in on_btnPrintTestPage_clicked
     opt = self.ppd.findOption ("PageSize")
 AttributeError: 'bool' object has no attribute 'findOption'
Uname: Linux acer-laptop 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

Tags: apport-crash
Revision history for this message
John Lawton (john-lawton) wrote :
Revision history for this message
Tim Waugh (twaugh) wrote :

What does 'lpstat -s' say?

Revision history for this message
Tim Waugh (twaugh) wrote :

Actually, never mind. I think what happened was that you had a raw queue selected and tried to print a test page. I've committed a fix that disallows that, since it makes no sense for raw queues. Trunk fix is revision 1580; branch fix was revision 1578.

Revision history for this message
John Lawton (john-lawton) wrote : Re: [Bug 145098] Re: system-config-printer.py crashed with AttributeError in on_btnPrintTestPage_clicked()

At 12:46 26/9/07, you wrote:
>Actually, never mind. I think what happened was that you had a raw
>queue selected and tried to print a test page. I've committed a fix
>that disallows that, since it makes no sense for raw queues. Trunk fix
>is revision 1580; branch fix was revision 1578.
>
>--
>system-config-printer.py crashed with AttributeError in
>on_btnPrintTestPage_clicked()
>https://bugs.launchpad.net/bugs/145098
>You received this bug notification because you are a direct subscriber
>of the bug.

Thanks Tim, you are correct in what happened.

John

Changed in system-config-printer:
status: New → Fix Committed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

system-config-printer (0.7.75+svn1628-0ubuntu1) gutsy; urgency=low

  * New upstream release
     o Subversion snapshot r1628
     o Convert floating point values to strings in a locale-safe manner
       (Fixes LP: #145693)
     o Let entry for the raw queue appear under the "Generic" printers.
     o Just selecting printer type headings should not expand or collapse the
       list, but activating them (double-clicking) should (LP: #144106).
     o Do not allow test pages for raw queues (LP: #145098).
     o ppds.py (PPDs._findBestMatchPPDs): Rather than just looking for
       the longest initial match in model order, sort our model name into
       the available models and look at the immediate neighbours. Pick
       the longest initial match from them (LP: #137580).
     o Fixed foomatic recommended driver discovery
     o Additional small fixes.
  * debian/patches/01_no_rhpl.patch: Updated.
  * debian/patches/03_makefile.patch: Removed, not needed any more.
  * debian/control: Added missing dependency on python-gobject (Fixes
    LP: #144592)

 -- Till Kamppeter <email address hidden> Mon, 01 Oct 2007 10:19:28 +0100

Changed in system-config-printer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.