** Branch linked: lp:~gary-lasker/software-center/fix-lp920741-for-5.0
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/920741
Title:
UnicodeDecodeError in add_repo_add_key_and_install_app when a appname
has special chars in it
Status in “software-center” package in Ubuntu:
In Progress
Status in “software-center” source package in Oneiric:
In Progress
Bug description:
The esteemed davmor2 discovered a new UnicodeDecodeError while testing
a new app for the For Purchase section. This application appears to be
the first one we've deployed For Purchase that uses a unicode
character in its title, which explains why we have not seen this
particular one before.
The title of the associated application is "Linux Shell 01 - Manual
Práctico del Shell".
Further details from davmor2:
Bug Description:
A recent magazine came through with a unicode character in the title of the
application and USC/SCA combo was unable to handle it.
Version:
n/a
OS:
64bit Oneiric
USC Version:
5.0.4
Steps To Reproduce:
1. Goto myapps
2. Create an app with a unicode title
3. Myapps will publish this
4. USC will fail to download/install this
Expected Results:
I expect to be able to create an app and publish it. That or we need to
document that only non unicode characters may be applied to a title.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center 5.0.4
ProcVersionSignature: Ubuntu 3.0.0-15.25-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Jan 24 12:52:52 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SoftwareCenterLog:
2012-01-24 12:41:14,289 - softwarecenter.backend - INFO - looking for
'/var/lib/apt/lists/private-ppa.launchpad.net_commercial-ppa-uploaders_android-user-issue-201202_ubuntu_dists_oneiric_Release.gpg'
2012-01-24 12:41:14,355 - softwarecenter.backend - INFO - install_package()
2012-01-24 12:41:15,186 - softwarecenter.backend - INFO - run_transaction()
2012-01-24 12:42:56,237 - softwarecenter.utils - WARNING - Could not
determine the installed desktop file path for app-install desktop file:
'software-center-agent'
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)
Here is the stacktrace:
Traceback (most recent call last):
File
"/usr/share/software-center/softwarecenter/ui/gtk3/widgets/apptreeview.py",
line 452, in _cell_data_func_cb
model.load_range(indices, 5)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line
441, in load_range
if self[(i,)][0]: continue
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 732, in
__getitem__
raise IndexError("could not find tree path '%s'" % key)
IndexError: could not find tree path '197'
Traceback (most recent call last):
File
"/usr/share/software-center/softwarecenter/ui/gtk3/widgets/apptreeview.py",
line 452, in _cell_data_func_cb
model.load_range(indices, 5)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line
441, in load_range
if self[(i,)][0]: continue
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 732, in
__getitem__
raise IndexError("could not find tree path '%s'" % key)
IndexError: could not find tree path '199'
Traceback (most recent call last):
File
"/usr/share/software-center/softwarecenter/ui/gtk3/widgets/apptreeview.py",
line 452, in _cell_data_func_cb
model.load_range(indices, 5)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line
441, in load_range
if self[(i,)][0]: continue
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 732, in
__getitem__
raise IndexError("could not find tree path '%s'" % key)
IndexError: could not find tree path '201'
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/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py",
line 505, in add_repo_add_key_and_install_app
app))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 26:
ordinal not in range(128)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/920741/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp