displayconfig-restore.py crashed with IndexError in main()

Bug #206509 reported by Chad Waters
12
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Fix Released
Undecided
Scott Kitterman

Bug Description

Binary package hint: kde-guidance

This comes up a lot

ProblemType: Crash
Architecture: i386
Date: Tue Mar 25 08:42:13 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/share/python-support/guidance-backends/displayconfig-restore.py
InterpreterPath: /usr/bin/python2.5
Package: guidance-backends 0.8.0svn20080103-0ubuntu7
PackageArchitecture: i386
ProcCmdline: /usr/bin/python /usr/bin/displayconfig-restore
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/displayconfig-restore']
SourcePackage: kde-guidance
Title: displayconfig-restore.py crashed with IndexError in main()
Uname: Linux 2.6.24-12-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Related branches

Revision history for this message
Chad Waters (chad) wrote :
Revision history for this message
Scott Kitterman (kitterman) wrote :

If you go into Display & Monitors in System Setting and (as Administrator) select a monitor in the hardware tab, does this recur after that? I can patch the package so it doesn't crash, but if the available sizes can't be gotten, I'm not sure there's a useful purpose that can be accomplished after that.

Changed in kde-guidance:
status: New → Incomplete
Revision history for this message
Scott Kitterman (kitterman) wrote :

Also would you please run the following command and then attach the output as a file to the bug:

python /usr/share/python-support/guidance-backends/xf86misc.py

Revision history for this message
Chad Waters (chad) wrote :

$ python /usr/share/python-support/guidance-backends/xf86misc.py
Number of screens: 1
Idle seconds: 0.417

Gamma:(1.0, 1.0, 1.0)

SizeID:0
Size:(1920, 1200, 518, 324)
Available Sizes:[(1920, 1200, 518, 324), (1600, 1200, 518, 324), (1280, 1024, 518, 324), (1152, 864, 518, 324), (1024, 768, 518, 324), (800, 600, 518, 324), (640, 480, 518, 324), (720, 400, 518, 324)]

Rotation:1
Available Rotations:63

Refresh rate:60
Refresh rates for the current screen:[60]
All Refresh Rates:[60]
All Refresh Rates:[60]
All Refresh Rates:[75, 60]
All Refresh Rates:[75]
All Refresh Rates:[75, 60]
All Refresh Rates:[75, 60]
All Refresh Rates:[75, 60]
All Refresh Rates:[70]
X Error of failed request: BadValue (integer parameter out of range for operation)
  Major opcode of failed request: 156 (RANDR)
  Minor opcode of failed request: 2 (RRSetScreenConfig)
  Value in failed request: 0x4b
  Serial number of failed request: 15
  Current serial number in output stream: 15

Revision history for this message
Scott Kitterman (kitterman) wrote :

Thanks. I suspect this is fixable, although I don't know if I've got time to get it done for Hardy for certain.

Changed in kde-guidance:
assignee: nobody → kitterman
status: Incomplete → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde-guidance - 0.8.0svn20080103-0ubuntu11

---------------
kde-guidance (0.8.0svn20080103-0ubuntu11) hardy; urgency=low

  [ Andreas Wenning ]
  * Added kubuntu_24_displayconfig_no_gamma.patch: As we cannot check if
    the video driver supports live gamma changes, we should catch any
    exceptions generated by lacking support. (LP: #201092, #201468).
  * Added kubuntu_25_kde-powermanager_allways_change_brightness.patch
    which disables the internal check for not setting the same bright-
    ness as last time. Some laptops can change brightness in hardware
    and other programs can change it through HAL, so we should allways
    try to change the brightness.

  [ Guillaume Martres ]
  * Added kubuntu_26_kde-powermanager_handle_hal_dbus_restarts.patch so
    the powermanager better handles dbus/hal restarts. (LP: #123812).

  [ Scott Kitterman ]
  * Added kubuntu_27_displayconfig-restore_try_getsize_again.patch to try to
    get size from screen 0 if the first attempt failed (LP: #206509)

 -- Scott Kitterman <email address hidden> Sat, 05 Apr 2008 20:06:50 -0400

Changed in kde-guidance:
status: In Progress → 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.