policyui.py crashed with AttributeError in checkVirtual()

Bug #282283 reported by lifeinoleg
28
This bug affects 2 people
Affects Status Importance Assigned to Milestone
screen-resolution-extra (Ubuntu)
Fix Released
Medium
Alberto Milone

Bug Description

Binary package hint: screen-resolution-extra

8.10 Beta

I was on the "Shut down the computer" window and the policyui.py just came up.

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/share/screen-resolution-extra/policyui.py
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: wl
Package: screen-resolution-extra 0.3
PackageArchitecture: all
ProcAttrCurrent: unconfined
ProcCmdline: python /usr/share/screen-resolution-extra/policyui.py 3120x1050
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/share/screen-resolution-extra/policyui.py', '3120x1050']
SourcePackage: screen-resolution-extra
Title: policyui.py crashed with AttributeError in checkVirtual()
Uname: Linux 2.6.27-7-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev scanner video

Tags: apport-crash
Revision history for this message
lifeinoleg (lifeinoleg) wrote :
Revision history for this message
Alberto Milone (albertomilone) wrote :

Can you attach your /etc/X11/xorg.conf , please?

Revision history for this message
Dragan Tomas (croatian-earthlink) wrote :

This is happening to me also, but in Jaunty. I simply tried to change the resolution on one of my displays (I have a dual monitor setup) and this crash occurred right after it told me that it is not possible to change it do to the improperly set virtual size. Why does one have to manually set the virtual size in xorg.conf? Shouldn't that be done automatically?

Changed in screen-resolution-extra (Ubuntu):
assignee: nobody → albertomilone
importance: Undecided → Medium
milestone: none → ubuntu-9.04
status: New → In Progress
Revision history for this message
Alberto Milone (albertomilone) wrote :

As regards what is described in the bug report, I have found a solution to the problem and I made it available in my bzr branch (whose content is now ready for an upload to Ubuntu's repository):
https://code.launchpad.net/~albertomilone/screen-resolution-extra/main

Here's the source:
http://www.albertomilone.com/ubuntu/gnome/screen-resolution-extra_0.7.dsc
http://www.albertomilone.com/ubuntu/gnome/screen-resolution-extra_0.7.tar.gz

As regards Dragan's question, that is something that the intel driver already does when the UXA acceleration method is set. It may still be necessary to set the virtual resolution if the required framebuffer is bigger than 2048x2048 though. In the future setting the virtual resolution should no longer be necessary but currently it's the only way to get these things to work.

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

This bug was fixed in the package screen-resolution-extra - 0.7

---------------
screen-resolution-extra (0.7) jaunty; urgency=low

  * policyui.py:
    - Catch AttributeError exception if there are duplicate virtual options (LP: #282283).
    - Import xorgparser so that XKit exceptions are actually caught.

 -- Alberto Milone <email address hidden> Mon, 06 Apr 2009 10:17:42 +0200

Changed in screen-resolution-extra (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Dragan Tomas (croatian-earthlink) wrote : Re: [Bug 282283] Re: policyui.py crashed with AttributeError in checkVirtual()

I don't use Intel driver. My video card is an ATI Radeon 7000/VA (a.k.a
RV100 QY). It uses Xorg's radeon drivers.

On Mon, 2009-04-06 at 08:30 +0000, Alberto Milone wrote:

> UXA

Revision history for this message
Alberto Milone (albertomilone) wrote :

Dragan: then (currently) you have no other choice. Things will change in the future.

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.