software-store crashed double clicking on gnome-games screenshot

Bug #427630 reported by Robert Ancell
82
This bug affects 10 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: software-store

To reproduce:
1. Open software store
2. Select Games>Aisleriot Solitaire
3. Double click on screenshot once loaded

Result:
- Crash report dialog shows
- Store keeps functioning

ProblemType: Crash
Architecture: i386
Date: Fri Sep 11 10:44:11 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/software-store/software-store
InterpreterPath: /usr/bin/python2.6
Package: software-store 0.3.1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-store
ProcEnviron:
 LANGUAGE=en_NZ.UTF-8
 PATH=(custom, no user)
 LANG=en_NZ.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.30-generic
PythonArgs: ['/usr/bin/software-store']
SourcePackage: software-store
Title: software-store crashed with ValueError in on_iter_next()
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-store/softwarestore/view/appview.py", line 193, in on_iter_next
     new_rowref = int(rowref) + 1
 ValueError: invalid literal for int() with base 10: '20.000 Light Years Into Space'
Uname: Linux 2.6.31-10-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin mythtv plugdev sambashare scanner vboxusers video

Revision history for this message
Robert Ancell (robert-ancell) wrote :
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Note I have aisleriot installed and I recently upgraded gnome-games - it is now split into separate packages instead of one big package.

tags: removed: need-duplicate-check
Connor Imes (ckimes)
visibility: private → public
Changed in software-store (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Michael Vogt (mvo) wrote :

I think this was a bug in custrom tree model on_iter_children() - however I was not able to reproduce the crash. If you can, please run trunk/ (bzr get lp:software-store) and let me know if the fix works (or not).

Changed in software-store (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
josa (johnny-sander) wrote :

In short from my bug 430905. It got marked to this one while I was writing my comment.

Get apport crashes over and over when looking around in Software store. Can continue using it it seems. Get different strings after "int() with base 10:" in the traces depending on where I am looking.
The changing text mentioned in the description is the first text of what ever "view" I have opened last. For Games it is 20.000 Light Years Into Space as in bug traceback, for System Tools it is About Myself and for internet it is A Web Browser.

In apport it say version 0.3.3 but in About in Software Store it says 0.3.4. Get no possible updates in synaptics.
johnny@johnny-desktop:~$ apt-cache policy software-store
software-store:
  Installed: 0.3.3
  Candidate: 0.3.3
  Version table:
 *** 0.3.3 0
        500 http://se.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
Architecture: amd64
CheckboxSubmission: e48fc7f3185d255bb3750ca6084d4ff4
CheckboxSystem: 1520e0fec62b79de6eb677ed5d80c2d6
Date: Wed Sep 16 19:41:38 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/software-store/software-store
InterpreterPath: /usr/bin/python2.6
Package: software-store 0.3.3
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-store
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash

Revision history for this message
josa (johnny-sander) wrote :

After downloading branch in #3, building using
debuild -i -us -uc -b

On installing .deb I get the following from package installation

Preparing to replace software-store 0.3.4 (using .../software-store_0.3.4_all.deb) ...
Unpacking replacement software-store ...
Setting up software-store (0.3.4) ...
Traceback (most recent call last):
  File "/usr/sbin/update-software-store", line 43, in <module>
    from softwarestore.db.update import update
ImportError: No module named db.update

Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...

Can not start Software store now and when trying from command line I get ..

johnny@johnny-desktop:~$ software-store
Traceback (most recent call last):
  File "/usr/bin/software-store", line 55, in <module>
    xapian_base_path = XAPIAN_BASE_PATH
NameError: name 'XAPIAN_BASE_PATH' is not defined
johnny@johnny-desktop:~$

Am I missing packages or do I need to build differently?
Doing more than I now how to, as always.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-store - 0.3.4

---------------
software-store (0.3.4) karmic; urgency=low

  * softwarestore/view/appview.py:
    - fix crash in on_iter_children() LP: #427630
  * merged lp:~sil/software-store/run-uninstalled, many
    thanks to Stuart Langridge
  * merged lp:~sil/software-store/disable-install-button, many
    thanks to Stuart Langridge (this is cleaner than the previous
    way)
  * merged lp:~rugby471/software-store/software-store-andrew, many
    thanks to Andrew Higginson
  * softwarestore/db/update.py:
    - fix i18n reading from the app-install-data files
    - add X-Ubuntu-Gettext-Domain support
    - Don't crash if we cannot write to ./data/xapian,
      print that we cannot write to the directory.
  * softwarestore/view/appdetailsview.py
    - extend show_app() to take (appname, pkgname)
  * softwarestore/view/appview.py:
    - ensure correct icons for overlapping application names
    - fix bug in the "only installed" filter (LP: #430838)
  * softwarestore/view/widgets/imagedialog.py:
    - make the download fully threaded
  * softwarestore/db/database.py:
    - cleanup and move common code here
  * softwarestore/app.py:
    - fix crash when no pane is active (LP: #430912)
  * utils/update-software-store:
    - fix crash when setlocale() fails (LP: #431099)
  * softwarestore/view/appdetailsview.py:
    - shwo proper error message (LP: #431100)
  * softwarestore/view/dialogs.py:
    - improve dialog handling by adding optional details
  * po/POTFILES.in:
    - updated

 -- Michael Vogt <email address hidden> Thu, 17 Sep 2009 12:21:57 +0200

Changed in software-store (Ubuntu):
status: Fix Committed → Fix Released
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.