snowballz.py crashed with IndexError in get_res()

Bug #591619 reported by Niall Creech
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snowballz (Debian)
Fix Released
Unknown
snowballz (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: snowballz

crash on startup

Traceback (most recent call last):
  File "snowballz.py", line 595, in <module>
    vw,vh = viewport = settings.get_res()
  File "/usr/share/games/snowballz/settings.py", line 28, in get_res
    return get_res_available()[int(qm)]
IndexError: list index out of range

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: snowballz 0.9.5.1-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CheckboxSubmission: 716d1b0e0549c96a138b059317db58fe
CheckboxSystem: d7486a0cf4dbe4bfdbdc5f2407943d41
Date: Wed Jun 9 08:33:03 2010
ExecutablePath: /usr/share/games/snowballz/snowballz.py
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: python snowballz.py
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
PythonArgs: ['snowballz.py']
SourcePackage: snowballz
Title: snowballz.py crashed with IndexError in get_res()
UserGroups: adm admin cdrom debian-tor dialout lpadmin plugdev sambashare

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

looks like the previously set resolution in ~/.snowballz.ini was out of range, i'll attach a patch but i'm not sure its worth fixing, i'll mention it upstream. Fix is to manually edit the user config or delete

visibility: private → public
tags: removed: need-duplicate-check
Changed in snowballz (Debian):
status: Unknown → New
tags: added: patch-forwarded-debian
Changed in snowballz (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package snowballz - 0.9.5.1-4

---------------
snowballz (0.9.5.1-4) unstable; urgency=low

  * Team upload.

  [ Dean Evans ]
  * Change ttf-tamil-fonts Depends: to fonts-taml-tscu. Closes: #657704
  * Fixed the debian/links file to point to the new folder for the
    TSCu_Comic.ttf font.
  * Commented out the watch file and documented in the watch file that
    upstreams homepage no longer has the source tarball and the sourceforge
    project page only has a very old release that confuses uscan.
  * Fixed the format line in the copyright file, updated the URL, and
    fixed a minor formatting issue in the BSD-3-clause license section.
  * Bump to Standards-Version 3.9.2 with no changes.

  [ Paul Wise ]
  * Move to unstable now that we are in the summer of contentment
  * Switch the homepage to the newish upstream one (LP: 889075)
  * Close the launchpad bug for #585118 in the changelog for 0.9.5.1-3
  * Clean up the patches
  * Use os.path.expanduser in case HOME is unset
  * Run wrap-and-sort -s on various files
  * Fix Vcs-Browser URL
  * Improve the menu file
  * Fix the upstream author's mail
  * Install the 64x64 icon
  * Install the 32x32 icon into a better place
  * Respect DEB_BUILD_OPTIONS=parallel=n
  * Stop using python-support

 -- Dean Evans <email address hidden> Sat, 04 Feb 2012 17:12:36 +1300

Changed in snowballz (Ubuntu):
status: New → 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.