[Bug 822915] Re: software-center-gtk3 crashed with UnicodeEncodeError in set_description(): 'ascii' codec can't encode character u'\xe8' in position 9: ordinal not in range(128)
Fabio Marconi
fabiomarconi at ubuntu.com
Tue Aug 9 20:06:02 UTC 2011
njin at njin-K8NF4G-SATA2:~$ G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log software-center-gtk3
EM's: 17 15 21
12903
2011-08-09 21:35:18,079 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/db/database.py', 169, 'open')'
2011-08-09 21:35:18,050 - root - WARNING - failed to add sca db Couldn't stat '/home/njin/.cache/software-center/software-center-agent.db' (File o directory non esistente)
2011-08-09 21:35:46,265 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2011-08-09 21:36:09,596 - softwarecenter.ui.gtk3.app - INFO - software-center-agent finished with status 1
2011-08-09 21:41:19,610 - softwarecenter.backend.spawn_helper - WARNING - exit code 1 from helper
2011-08-09 21:41:19,640 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: 'ERROR:__main__:exhibits
Traceback (most recent call last):
File "/usr/share/software-center/piston_get_scagent_available_apps.py", line 173, in <module>
piston_reply = scaclient.exhibits(lang=args.lang)
File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 41, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 106, in wrapper
body = func(self, *args, **kwargs)
File "/usr/share/software-center/softwarecenter/backend/piston/scaclient_pristine.py", line 55, in exhibits
'exhibits/%s/' % (lang))
File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 243, in _get
headers=headers)
File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 401, in _request
body = handler.handle(response, body)
File "/usr/lib/python2.7/dist-packages/piston_mini_client/failhandlers.py", line 59, in handle
raise APIError('%s: %s' % (response['status'], response), body)
APIError: 404: {'status': '404', 'content-length': '11312', 'via': '1.1 software-center.ubuntu.com', '-content-encoding': 'gzip', 'vary': 'Cookie,Accept-Encoding', 'server': 'Apache/2.2.14 (Ubuntu)', 'etag': '"2500bc29f759ce6ea41453bc0e17014a"', 'date': 'Tue, 09 Aug 2011 19:39:24 GMT', 'content-type': 'text/html; charset=utf-8'}
'
2011-08-09 21:47:21,415 - softwarecenter.backend - WARNING - _on_trans_error: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 474, in _inline_callbacks
result = gen.send(result)
File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 1055, in _set_property
self._set_locale(value)
File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 726, in _set_locale
(lang, encoding) = locale._parse_localename(locale_str)
File "/usr/lib/python2.7/locale.py", line 421, in _parse_localename
code = normalize(localename)
File "/usr/lib/python2.7/locale.py", line 358, in normalize
fullname = localename.translate(_ascii_lower_map)
TypeError: character mapping must return integer, None or unicode
Ucciso
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/822915
Title:
software-center-gtk3 crashed with UnicodeEncodeError in
set_description(): 'ascii' codec can't encode character u'\xe8' in
position 9: ordinal not in range(128)
Status in “software-center” package in Ubuntu:
New
Bug description:
Hello
Trying to install a program, it crash.
Thanks
Fabio
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.12
ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Mon Aug 8 22:16:44 2011
ExecutablePath: /usr/share/software-center/software-center-gtk3
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center-gtk3
ProcEnviron:
SHELL=/bin/bash
LANG=it_IT.UTF-8
PythonArgs: ['/usr/bin/software-center-gtk3']
SourcePackage: software-center
Title: software-center-gtk3 crashed with UnicodeEncodeError in set_description(): 'ascii' codec can't encode character u'\xe8' in position 9: ordinal not in range(128)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/822915/+subscriptions
More information about the foundations-bugs
mailing list