[issue274] Smart crash with "UnicodeDecodeError"

Arjen Heidinga at Labix Tracker tracker at labix.org
Sat Jan 13 09:53:26 PST 2007


New submission from Arjen Heidinga <dexter at beetjevreemd.nl>:

602:Installing gucharmap       ######################################## [ 21%]

Traceback (most recent call last):
  File "/usr/bin/smart", line 194, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 167, 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/upgrade.py", line 198,
in main
    ctrl.commitTransaction(trans, confirm=confirm)
  File "/usr/lib/python2.4/site-packages/smart/control.py", line 505, in
commitTransaction
    return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
  File "/usr/lib/python2.4/site-packages/smart/control.py", line 563, in
commitChangeSet
    pmclass().commit(pmcs, pkgpaths)
  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/pm.py", line 218, in
commit
    probs = ts.run(cb, None)
  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/pm.py", line 286, in
__call__
    self._process_rpmout()
  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/pm.py", line 271, in
_process_rpmout
    output = self.rpmout.read()
  File "/usr/lib/python2.4/codecs.py", line 293, in read
    newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 46157-46159:
invalid data

----------
messages: 1064
nosy: dexter
priority: bug
project: smart
status: unread
title: Smart crash with "UnicodeDecodeError"

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



More information about the Smart mailing list