[issue134] smart search crashes with UnicodeEncodeError

David Farning dfarning at gmail.com
Mon Nov 20 20:41:29 PST 2006


On Tue, 2006-11-21 at 04:23 +0100, Andreas Hanke wrote:

> % smart info
> [lots of output]
>  Bochs is a highly portable open source IA-32 (x86) PC emulator written in
>  C++, that runs on most popular platforms. It includes emulation of the
> Intel
>  x86 CPU, common I/O devices, and a custom BIOS. Currently, bochs can be
>  compiled to emulate a 386, 486 or Pentium CPU. Bochs is capable of running
>  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
> 132, in main
>     print "", line
>   File "/usr/lib/python2.5/codecs.py", line 303, in write
>     data, consumed = self.encode(object, self.errors)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 68:
> ordinal not in range(128)
> 
> Andreas

What linux distro and version are you using?   What version of bochs is
causing the issue. I'll look into it.

dfarning at dfarning-laptop:~$ smart info bochs
Loading cache...
Updating cache...               ########################################
[100%]

Name: bochs
Version: 2.2.6-2
Priority: 0
Group: universe/misc
Installed Size: 2.1MB
Reference URLs: 
Flags: new
Channels: edgy - main restricted universe multiverse
Summary: IA-32 PC emulator
Description:
 Bochs is a highly portable free IA-32 (x86) PC emulator written in C++,
that
 runs on most popular platforms. It includes emulation of the Intel x86
CPU,
 common I/O devices, and a custom BIOS.
 .
 Bochs is capable of running most operating systems inside the emulation
 including GNU, GNU/Linux, *BSD, FreeDOS, MSDOS and Windows 95/NT.

The description in ubuntu 2.2.6-2 is different then the description in
your version of bochs.

Dave





More information about the Smart mailing list