arandr crashed with ValueError in <genexpr>()

Bug #751085 reported by Lödur
46
This bug affects 7 people
Affects Status Importance Assigned to Milestone
ARandR
Fix Released
Unknown
arandr (Debian)
Fix Released
Unknown
arandr (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: arandr

Hello,

for my display I have added a additional resolution mode to use the native resolution of this display (19" 1280x1024 pixel)
I have written a bash-script with follwing lines, so I don't must type in manually after every system reboot:
---
#! /bin/bash
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
xrandr --newmode 1280x1024_60.00 109.00 1280 1368 1496 1712 1024 1027 1034 1063
xrandr --addmode VGA1 1280x1024_60.00
---

After I had run this script and try to start "ARandR" form the Gnome-Menu (System |_ Settings)
ARandR crashed.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: arandr 0.1.3-1
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
Architecture: i386
Date: Tue Apr 5 09:32:48 2011
ExecutablePath: /usr/bin/arandr
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/arandr
ProcEnviron:
 LANGUAGE=de_DE:en
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/arandr']
SourcePackage: arandr
Title: arandr crashed with ValueError in <genexpr>()
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner video

Revision history for this message
Lödur (loedur) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreas Moog (ampelbein) wrote :

Thanks, that is already known to the developers. See the linked debian report.

visibility: private → public
Changed in arandr (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in arandr (Debian):
status: Unknown → New
Changed in arandr:
status: Unknown → New
Revision history for this message
Rakotomandimby Mihamina (tech-infogerance) wrote :

Waiting for it to be packaged, I just fixed it on my machine with this:
http://www.rktmb.org/post/2013/02/06/arandr-quick-fix-invalid-literal-for-int-with-base-10
It's about changing one line, firing the int() cast.
Caution: very dirty, just a quick workaround for those in a hurry.

tags: added: oneiric precise
removed: maverick
Changed in arandr:
status: New → Fix Released
Changed in arandr (Debian):
status: New → Fix Released
Revision history for this message
Howard Chan (smartboyhw) wrote :

This bug was fixed in the package arandr - 0.1.7.1-1
Sponsored for Howard Chan (smartboyhw)

---------------
arandr (0.1.7.1-1) unstable; urgency=low

  * New upstream release
    - Compatibility with non "<width>x<height" modes (Closes: #507521)
    - Compatibility with xrandr client 1.4.0 ("primary" issue)
    - New translations
  * Note new translations and contributor in copyright file
  * Change Standards-Version to 3.9.4 (no changes)
    - Specify branch of Vcs-git field
  * Add a Debian menu file (Closes: #692176)

 -- Christian M. Amsüss <email address hidden> Mon, 04 Mar 2013 19:11:30 +0100

Changed in arandr (Ubuntu):
assignee: nobody → Howard Chan (smartboyhw)
status: Triaged → 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.