Cannot reinstall previously purchased items from market in 11.04

Bug #783896 reported by zubairw@gmail.com
54
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Software Center Agent
Fix Released
High
Anthony Lenton
software-center (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: software-center

I recently installed 11.04 and tried to reinstall ubuntu software center items but i get a blank screen with 0 items to display notification.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: software-center 4.0
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Tue May 17 13:19:17 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
zubairw@gmail.com (zubairw) wrote :
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi zubairw, thanks for your report. Can you tell us which package(s) you purchased in Maverick and are not showing up when attempting to reinstall in Natty? That information will help us to figure out the cause of what you are seeing. Thanks!

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
zubairw@gmail.com (zubairw) wrote :

Hi
I bought illumination software creator but now its not available. Thats the only one i bought.

Revision history for this message
Michal Predotka (mpredotka) wrote :

I've got the same problem.
When I was on Ubuntu 10.10, I bought Volley Browl. I've upgraded to 11.04 some time ago. Today I tried to reinstall purchased software but without any effect.
I know the game I bought is not very expensive but something must be seriously broken in USC if things like this happen.

Revision history for this message
Gary Lasker (gary-lasker) wrote :
Download full text (5.9 KiB)

Traceback from Selene Scriven in duplicate bug 785136:

The scrollback from my shell contains this:

[-(Thu 2011-05-19 6:08:38)-(~/)-]> software-center (selene @ GiR)
2011-05-19 06:08:44,383 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/view/widgets/mkit_themes.py', 675, 'retrieve')'
2011-05-19 06:08:44,383 - root - WARNING - No styling hints for Raleigh were found... using Human hints.
/usr/share/software-center/softwarecenter/app.py:1192: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.window_main.show_all()
2011-05-19 06:08:44,855 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/pymodules/python2.7/zeitgeist/client.py', 367, 'reconnect_monitors')'
2011-05-19 06:08:44,855 - zeitgeist.client - INFO - Reconnected to Zeitgeist engine...
/usr/share/software-center/softwarecenter/SimpleGtkbuilderApp.py:50: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
2011-05-19 06:08:47,308 - softwarecenter.app - INFO - software-center-agent finished with status 1

# about to click file -> reinstall previous purchases:

2011-05-19 06:09:16,699 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/backend/restfulclient.py', 254, '_thread_available_for_me_error')'
2011-05-19 06:09:16,699 - root - ERROR - _available_for_me_error HTTP Error 500: INTERNAL SERVER ERROR
Response headers:
---
cache-control: max-age=0
connection: close
content-type: text/html; charset=utf-8
date: Thu, 19 May 2011 12:09:16 GMT
etag: "b34cd71bab7cc3596a0b5086d8471c0f"
expires: Thu, 19 May 2011 12:09:16 GMT
last-modified: Thu, 19 May 2011 12:09:16 GMT
server: Apache/2.2.14 (Ubuntu)
status: 500
transfer-encoding: chunked
vary: Authorization,Cookie,Accept-Encoding
via: 1.1 software-center.ubuntu.com
---
Response body:
---
Piston/0.2.2 (Django 1.1.1) crash report:

Traceback (most recent call last):

  File "/usr/lib/python2.6/dist-packages/softwarecenteragent/api10/handlers.py", line 62, in read
    return self.named_operation(request, request.GET)

  File "/usr/lib/python2.6/dist-packages/softwarecenteragent/api10/handlers.py", line 77, in named_operation
    return method(request)

  File "/usr/lib/python2.6/dist-packages/softwarecenteragent/api10/handlers.py", line 177, in getForOAuthToken
    if web_services.verify_identity(oauth_token, openid_identifier):

  File "/usr/lib/python2.6/dist-packages/softwarecenteragent/utilities.py", line 126, in verify_identity
    token=token, consumer_key=openid_identifier)

  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 527, in __call__
    url, in_representation, http_method, extra_headers=extra_headers)

  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 306, in _request
    raise HTTPError(response, content)

HTTPError: HTTP Error 400: Bad Request
Response headers:
---
connection: close
content-length: 33
content-type: text/plain
date: Thu, 19 May 2011 12:09:16 GMT
server: Apache/2.2.14 (Ubuntu)
status: 400
vary: Accept-Encoding
via: 1.1 login.ubuntu.com
x-powered-by: Zope (www.zope.org), Python (www.pyth...

Read more...

Changed in software-center (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → High
Revision history for this message
Aldo Nogueira (aldo-nogueira) wrote :

I've bought Family Farm today in my Ubuntu 10.10 desktop. Excellent software and I would like to review it.
Then I tried to install it in my Ubuntu 11.04 MacBook (Intel GMA 3100) only to be able to review it.

Changed in software-center-agent:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Anthony Lenton (elachuni)
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreports - we can reproduce the problem and are working on a fix as fast as possible.

Changed in software-center (Ubuntu):
status: Confirmed → In Progress
Changed in software-center-agent:
importance: High → Critical
Revision history for this message
Anthony Lenton (elachuni) wrote :

An end-to-end test of the fix revealed a new error, with the following traceback (while requesting subscriptions to reinstall purchased software):

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/share/software-center/softwarecenter/backend/restfulclient.py", line 99, in run
    self._wait_for_commands()
  File "/usr/share/software-center/softwarecenter/backend/restfulclient.py", line 128, in _wait_for_commands
    result_callback(res)
  File "/usr/share/software-center/softwarecenter/backend/restfulclient.py", line 188, in _thread_available_for_me_done
    self._available_for_me = restful_collection_to_real_python(result)
  File "/usr/share/software-center/softwarecenter/backend/restfulclient.py", line 64, in restful_collection_to_real_python
    setattr(o, attr, getattr(entry, attr))
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 643, in __getattr__
    return super(Entry, self).__getattr__(name)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 308, in __getattr__
    % (self.__class__.__name__, attr))
AttributeError: 'Entry' object has no attribute 'http_etag'

Working on a fix currently, please hold tight.

Changed in software-center-agent:
importance: Critical → High
status: In Progress → Fix Committed
tags: added: kb-defect sp-1
Changed in software-center-agent:
status: Fix Committed → Fix Released
Revision history for this message
Gary Lasker (gary-lasker) wrote :

This bug has been fixed in the software-center-agent and the fix is deployed to the production server. Setting to invalid for software-center. Thanks!

Changed in software-center (Ubuntu):
status: In Progress → Invalid
Revision history for this message
RFK (rkappa) wrote :

same problem even on 11.10!

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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