2012-01-23 23:53:33 |
Gary Lasker |
bug |
|
|
added bug |
2012-01-24 15:29:28 |
Gary Lasker |
software-center (Ubuntu): status |
New |
Triaged |
|
2012-01-24 15:29:31 |
Gary Lasker |
software-center (Ubuntu): importance |
Undecided |
Medium |
|
2012-01-24 15:29:35 |
Gary Lasker |
software-center (Ubuntu): assignee |
|
Gary Lasker (gary-lasker) |
|
2012-01-24 15:29:41 |
Gary Lasker |
nominated for series |
|
Ubuntu Oneiric |
|
2012-01-25 02:59:35 |
Gary Lasker |
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".
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) |
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) |
|
2012-04-23 12:19:43 |
Michael Vogt |
bug task added |
|
software-center (Ubuntu Oneiric) |
|
2012-04-23 12:20:22 |
Michael Vogt |
software-center (Ubuntu Oneiric): status |
New |
Triaged |
|
2012-04-23 12:20:24 |
Michael Vogt |
software-center (Ubuntu Oneiric): importance |
Undecided |
High |
|
2012-04-23 12:20:27 |
Michael Vogt |
software-center (Ubuntu Oneiric): importance |
High |
Medium |
|
2012-04-23 12:20:42 |
Michael Vogt |
summary |
UnicodeDecodeError in add_repo_add_key_and_install_app |
UnicodeDecodeError in add_repo_add_key_and_install_app when a appname has special chars in it |
|
2012-04-23 12:20:50 |
Michael Vogt |
software-center (Ubuntu): milestone |
|
precise-updates |
|
2012-04-23 12:26:37 |
Michael Vogt |
tags |
|
ca-escalated |
|
2012-05-22 19:41:26 |
Gary Lasker |
software-center (Ubuntu): status |
Triaged |
In Progress |
|
2012-05-22 19:43:29 |
Gary Lasker |
branch linked |
|
lp:~gary-lasker/software-center/fix-lp920741 |
|
2012-05-22 19:45:57 |
Gary Lasker |
nominated for series |
|
Ubuntu Precise |
|
2012-05-24 17:36:38 |
Gary Lasker |
branch linked |
|
lp:~gary-lasker/software-center/fix-unicode-error-lp920741 |
|
2012-05-24 18:15:21 |
Gary Lasker |
branch linked |
|
lp:~gary-lasker/software-center/fix-unicode-error-lp920741 |
|
2012-06-26 16:11:18 |
Gary Lasker |
branch linked |
|
lp:~gary-lasker/software-center/fix-lp920741 |
|
2012-06-26 16:33:33 |
Gary Lasker |
branch linked |
|
lp:~gary-lasker/software-center/fix-lp920741-for-5.0 |
|
2012-06-26 16:33:42 |
Gary Lasker |
software-center (Ubuntu Oneiric): status |
Triaged |
In Progress |
|
2012-06-26 16:33:47 |
Gary Lasker |
software-center (Ubuntu Oneiric): assignee |
|
Gary Lasker (gary-lasker) |
|
2012-06-26 16:33:54 |
Gary Lasker |
software-center (Ubuntu Oneiric): milestone |
|
oneiric-updates |
|
2012-06-27 19:17:09 |
Gary Lasker |
branch linked |
|
lp:~gary-lasker/software-center/fix-lp920741-for-5.0 |
|
2012-06-28 10:12:18 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/quantal-proposed/software-center |
|
2012-06-28 10:21:57 |
Michael Vogt |
bug task added |
|
software-center (Ubuntu Precise) |
|
2012-06-28 10:22:09 |
Michael Vogt |
software-center (Ubuntu Precise): status |
New |
In Progress |
|
2012-06-28 10:22:11 |
Michael Vogt |
software-center (Ubuntu Precise): importance |
Undecided |
Medium |
|
2012-06-28 10:23:53 |
Michael Vogt |
branch linked |
|
lp:~mvo/software-center/fix-lp920741 |
|
2012-06-28 18:30:03 |
Launchpad Janitor |
branch linked |
|
lp:software-center |
|
2012-06-28 20:15:14 |
Launchpad Janitor |
software-center (Ubuntu): status |
In Progress |
Fix Released |
|
2012-06-29 14:02:26 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/software-center |
|
2012-07-03 18:30:34 |
Brian Murray |
software-center (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2012-07-03 18:30:36 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-07-03 18:30:41 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2012-07-03 18:30:43 |
Brian Murray |
tags |
ca-escalated |
ca-escalated verification-needed |
|
2012-07-03 18:43:11 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/software-center |
|
2012-07-05 22:53:45 |
Gary Lasker |
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) |
[TEST CASE]
Unfortunately, there is currently not a convenient way to test this error condition as it specifically requires an application in the for-purchase archive to contain a unicode character in its name. Currently, no such application is available. However, a unit test that reproduces the error and verifies the fix directly is included in the source code for this version of Software Center (see branch details below), and this has been run at build time.
It is still very useful to test for regressions as follows:
1. Install and launch the version of software-center in precise-proposed.
2. Click the down arrow next for "All Software" and select the "For Purchase" entry.
3. Navigate in the list and make sure that all of the titles are displayed correctly. View the details view for various items and verify the titles there as well.
[REGRESSION POTENTIAL]
This is a fix that simply corrects a unicode decode error in a debug log statement, so the risk of regression is negligible.
---
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) |
|
2012-07-06 23:47:34 |
Gary Lasker |
tags |
ca-escalated verification-needed |
ca-escalated verification-done |
|
2012-07-09 13:58:46 |
Gary Lasker |
software-center (Ubuntu Oneiric): status |
In Progress |
Fix Committed |
|
2012-07-09 20:27:23 |
Launchpad Janitor |
software-center (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2012-07-12 14:16:19 |
Gary Lasker |
software-center (Ubuntu): milestone |
precise-updates |
|
|
2012-07-12 14:16:26 |
Gary Lasker |
software-center (Ubuntu Precise): milestone |
|
precise-updates |
|
2012-07-12 14:16:30 |
Gary Lasker |
software-center (Ubuntu Precise): assignee |
|
Gary Lasker (gary-lasker) |
|
2012-10-02 14:49:26 |
Gary Lasker |
tags |
ca-escalated verification-done |
verification-done |
|
2014-09-04 10:30:03 |
michael rogan |
software-center (Ubuntu Precise): assignee |
Gary Lasker (gary-lasker) |
michael rogan (michaelnes) |
|
2014-12-03 09:27:53 |
Rolf Leggewie |
software-center (Ubuntu Oneiric): status |
Fix Committed |
Won't Fix |
|