Kpackagekit refresh fails with an error "coercing to unicode: need string or buffer"

Bug #574917 reported by lykwydchykyn
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
packagekit (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: kpackagekit

When hitting "refresh" in kpackagekit updates screen, the refresh fails with an error. The details are as follows:

Error Type:
Error Value: coercing to Unicode: need string or buffer, exceptions.SystemError found
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2216, in
main()
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2213, in main
run(args, options.single)
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2175, in run
backend.dispatcher(args)
File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 699, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 606, in dispatch_command
self.refresh_cache(force)
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 202, in _locked_cache
func(*args, **kwargs)
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1498, in refresh_cache
format_string(error.message))
File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 723, in format_string
txt = unicode(text, encoding, errors='replace')

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: kpackagekit 0.5.4-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Mon May 3 23:45:41 2010
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kpackagekit

Revision history for this message
lykwydchykyn (me-alandmoore) wrote :
affects: kpackagekit (Ubuntu) → packagekit (Ubuntu)
Revision history for this message
J Bruni (jbruni) wrote :

Exactly same problem here.

KPackageKit stopped at 63% while "Baixando informações do repositório" ("Loading informations from repository") with the error "Ocorreu um problema que não esperávamos" ("An unexpected problem happened").

Won't copy/paste the "details" because they are exactly the same as pasted in the Bug Description.

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.