Your message dated Wed, 1 Sep 2010 22:04:24 +0200
with message-id <[email protected]>
and subject line Fixed in 1.2.3-1
has caused the Debian Bug report #574637,
regarding python-cupsutils: Problem parsing PPD attributes : 
UnicodeDecodeError: 'utf8' codec can't decode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
574637: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574637
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-cupsutils
Version: 1.0.0-6
Severity: normal

Hi.

I've tried and configure a Canon imagerunner 3225 printer using 
system-config-printer, and get the following traces :

raceback (most recent call last):
  File "/usr/bin/system-config-printer", line 4317, in 
on_tvNPModels_cursor_changed
    self.fillDriverList(self.NPMake, pmodel)
  File "/usr/bin/system-config-printer", line 4280, in fillDriverList
    self.NPDrivers = self.ppds.orderPPDNamesByPreference(ppds.keys()) 
  File "/usr/lib/pymodules/python2.5/cupsutils/ppds.py", line 378, in 
orderPPDNamesByPreference
    ppdnamelist.sort (sort_ppdnames)
  File "/usr/lib/pymodules/python2.5/cupsutils/ppds.py", line 356, in 
sort_ppdnames
    ca = is_C_locale (a)
  File "/usr/lib/pymodules/python2.5/cupsutils/ppds.py", line 342, in 
is_C_locale
    elif x[i - 1] not in string.letters:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xaa in position 52: 
unexpected code byte


Here's the contents of the (I hope) corresonding description in 
/usr/share/ppd/openprinting.org-gs/Canon/Canon-imageRunner_3225-pxlmono.ppd.gz :

*FormatVersion: "4.3"
*FileVersion:   "1.1"
*LanguageVersion: English 
*LanguageEncoding: ISOLatin1
*PCFileName:    "PXLMONO.PPD"
*Manufacturer:  "Canon"
*Product:       "(imageRunner 3225)"
*cupsVersion:   1.0
*cupsManualCopies: True
*cupsModelNumber:  2
*cupsFilter:    "application/vnd.cups-postscript 100 foomatic-rip"
*cupsFilter:    "application/vnd.cups-pdf 0 foomatic-rip"
*cupsFilter:    "application/vnd.apple-pdf 25 foomatic-rip"
*%pprRIP:        foomatic-rip other
*ModelName:     "Canon imageRunner 3225"
*ShortNickName: "Canon imageRunner 3225 pxlmono"
*NickName:      "Canon imageRunner 3225 Foomatic/pxlmono (recommended)"


I believe the error shouldn't be silently displayed on the stdout, whereas 
nothing appears wrong in the GUI (but an empty driver list... maybe smae 
problem as in #530263 btw ?).

Then of course, there's also a bug somewhere.

Hope this helps.

Best regards,

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-cupsutils depends on:
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-cups                   1.9.48-1   Python bindings for CUPS
ii  python-elementtree            1.2.6-14   Light-weight toolkit for XML proce
ii  python-support                1.0.6.1    automated rebuilding support for P

python-cupsutils recommends no packages.

python-cupsutils suggests no packages.

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Version: system-config-printer/1.2.3-1

Hi,
this is fixed upstream in 1.2.3.
Cheers,
 -- Guido


--- End Message ---

Reply via email to