Issue315

Project smart
Title Crash with "UnicodeDecodeError" when loading cache
Priority critical Status done-review
Superseder Nosy List psychonaut, rasker
Assigned To rasker Topics

Created on 2007-07-04.20:29:08 by psychonaut, last changed 2008-06-29.13:56:29 by rasker.

Messages
msg1348 (view) Author: rasker Date: 2008-06-29.13:56:29
Retired
Reason for Retirement: Follow up required
Please reopen this issue in the new bugtracker if it is still an issue.
New Bugtracker : http://bugs.launchpad.net/smart
msg1165 (view) Author: psychonaut Date: 2007-07-04.20:29:08
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.
History
Date User Action Args
2008-06-29 13:56:29raskersetstatus: unread -> done-review
assignedto: rasker
messages: + msg1348
nosy: + rasker
2007-07-04 20:29:09psychonautcreate