[Bug 186656] Re: smart crashed with UnicodeEncodeError in main()

Andreas Hasenack andreas at canonical.com
Mon Apr 6 14:19:11 UTC 2009


Interesting, I didn't know kpackage used smart.

Anyway, I get the backtrace in jaunty when running smart search in the
pt_BR locale, and also the "C" locale.

Apparently I don't get it when *not* redirecting output elsewhere, or it's just too fast in my screen and I don't see it. It looks like it has something to do with the clustalx package:
# smart search
(...)
clustalw-mpi - MPI-distributed global sequence alignment with ClustalW
clustalx - Traceback (most recent call last):
  File "/usr/bin/smart", line 195, in <module>
    main(sys.argv[1:])
  File "/usr/bin/smart", line 168, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.6/dist-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.6/dist-packages/smart/commands/query.py", line 312, in main
    output.showPackage(pkg)
  File "/usr/lib/python2.6/dist-packages/smart/commands/query.py", line 504, in showPackage
    print "-", info.getSummary(),
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 15: ordinal not in range(128)

#

-- 
smart crashed with UnicodeEncodeError in main()
https://bugs.launchpad.net/bugs/186656
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list