[issue315] Crash with "UnicodeDecodeError" when loading cache

Tristan Miller at Labix Tracker tracker at labix.org
Wed Jul 4 13:29:08 PDT 2007


New submission from Tristan Miller <psychonaut at nothingisreal.com>:

Whenever I invoke smart from the command line (i.e., without the --gui switch) I
get the following output:

Loading cache...
Traceback (most recent call last):
  File "/usr/bin/smart", line 194, in <module>
    main(sys.argv[1:])
  File "/usr/bin/smart", line 167, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.5/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.5/site-packages/smart/commands/info.py", line 56, in main
    ctrl.reloadChannels()
  File "/usr/lib/python2.5/site-packages/smart/control.py", line 347, in
reloadChannels
    (channel.getName() or channel.getAlias()))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal
not in range(128)

The program then returns me to the shell prompt.

I can still run the GUI, but the interface locks up after trying to update all
packages.

This may be related to Issue 52 or Issue 134.

----------
messages: 1165
nosy: psychonaut
priority: critical
project: smart
status: unread
title: Crash with "UnicodeDecodeError" when loading cache

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue315>
_______________________________________



More information about the Smart mailing list