Mandrake Linux Archives: smart@mandrivalinux.org

Mandrake Linux: smart@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

  • From: Smart Package Manager
  • Subject: [smart] [Smart Package Manager] #122: Smart doesn't deal with i18n gracefully
  • Date: 13 Jul 2005 16:00:08 -0000

#122: Smart doesn't deal with i18n gracefully
----------------------+-----------------------------------------------------
       Id:  122       |      Status:  new                     
Component:  core      |    Modified:  Wed Jul 13 10:59:23 2005
 Severity:  normal    |   Milestone:                          
 Priority:  normal    |     Version:                          
    Owner:  niemeyer  |    Reporter:  andreas@conectiva.com.br
----------------------+-----------------------------------------------------
 $ smart search|wc -l
 Traceback (most recent call last):
   File "/usr/bin/smart", line 193, in ?
     main(sys.argv[1:])
   File "/usr/bin/smart", line 166, in main
     exitcode = iface.run(opts.command, opts.argv)
   File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in
 run
     result = _command.main(self._ctrl, opts)
   File "/usr/lib/python2.4/site-packages/smart/commands/query.py", line
 312, in main
     output.showPackage(pkg)
   File "/usr/lib/python2.4/site-packages/smart/commands/query.py", line
 504, in showPackage
     print "-", info.getSummary(),
   File "/usr/lib/python2.4/codecs.py", line 178, in write
     data, consumed = self.encode(object, self.errors)
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xea in position 7:
 ordinal not in range(128)
 133

 It really shouldn't abort in this ugly way for such a small problem/issue.

 $ locale
 LANG=C
 LC_CTYPE="C"
 LC_NUMERIC="C"
 LC_TIME="C"
 LC_COLLATE="C"
 LC_MONETARY="C"
 LC_MESSAGES="C"
 LC_PAPER="C"
 LC_NAME="C"
 LC_ADDRESS="C"
 LC_TELEPHONE="C"
 LC_MEASUREMENT="C"
 LC_IDENTIFICATION="C"
 LC_ALL=C

-- 
Ticket URL: <http://smartpm.python-hosting.com/ticket/122>
Smart Package Manager <http://smartpm.python-hosting.com/>
The Smart Package Manager Project


Date Index | Thread Index

Search the archive:



To (un)subscribe from/to the lists:

Sympa mailing lists server.





Fund the Mandriva Linux project

Looking for a job?