applet.py crashed with TypeError in get_description()

Bug #214732 reported by Carlos Sérgio
12
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Undecided
Unassigned
language-pack-gnome-pt (Ubuntu)
Fix Released
High
Ubuntu Portuguese Translators
system-config-printer (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Binary package hint: system-config-printer

applet.py crashed with TypeError in get_description()

ProblemType: Crash
Architecture: i386
Date: Wed Apr 9 19:25:14 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/share/system-config-printer/applet.py
InterpreterPath: /usr/bin/python2.5
Package: system-config-printer-gnome 0.7.81+svn1976-0ubuntu6
PackageArchitecture: all
ProcCmdline: python /usr/share/system-config-printer/applet.py
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=pt_PT.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/system-config-printer/applet.py']
SourcePackage: system-config-printer
Title: applet.py crashed with TypeError in get_description()
Uname: Linux 2.6.24-15-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner vboxusers video

Revision history for this message
Carlos Sérgio (csfneto) wrote :
Revision history for this message
Tim Waugh (twaugh) wrote :

This is a problem with pt.po:

#: ../statereason.py:86
#, python-format
msgid "Printer '%s' is low on ink."
msgstr "A impressora está com níveis insuficientes de tinteiros."

There is a missing '%s' somewhere in the translated text.

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Needs to be fixed here https://translations.launchpad.net/ubuntu/hardy/+source/system-config-printer/+pots/system-config-printer/pt/378/+translate (language-pack-gnome-pt) and upstream.
Assigning to Ubuntu Portuguese Translators.

Changed in language-pack-gnome-pt:
assignee: nobody → ubuntu-l10n-pt
importance: Undecided → High
milestone: none → ubuntu-8.04
status: New → Triaged
Revision history for this message
JoiHap (astronomy) wrote :

Fixed in Ubuntu and reported upstream (Redhat bugzilla, right?): https://bugzilla.redhat.com/show_bug.cgi?id=442416

Changed in language-pack-gnome-pt:
status: Triaged → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

marking as 'wontfix' for system-config-printer - it's a bug in the source package, yes, but we don't care because it's already fixed in the language pack :)

Changed in system-config-printer:
importance: Undecided → Wishlist
status: New → Won't Fix
Revision history for this message
Steve Langasek (vorlon) wrote :

the fixed string has made it into the archive.

Changed in language-pack-gnome-pt:
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

The present bug has been resolved, but I think there is a bug here that needs to be fixed in Launchpad Translations as well. msgfmt has a --check-format option that allows checking that there aren't format string mismatches between a string and its translation; this should be enforced for all .po translations, to avoid propagating this kind of bug into the archive.

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

As far as we can tell, this bug is gone with our server upgrade. The message is checked and rejected if it lacks the formatting item. We suspect it was an old gettext version that caused the problem.

Changed in rosetta:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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