FS#33683 - [arandr] fails to run

Attached to Project: Community Packages
Opened by Uli (Army) - Sunday, 03 February 2013, 10:02 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 12 February 2013, 09:25 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Trying to launch arandr, I get this output

% arandr
Traceback (most recent call last):
File "/usr/bin/arandr", line 42, in <module>
main()
File "/usr/lib/python2.7/site-packages/screenlayout/gui.py", line 318, in main
force_version=options.force_version
File "/usr/lib/python2.7/site-packages/screenlayout/gui.py", line 159, in __init__
self.filetemplate = self.widget.load_from_x()
File "/usr/lib/python2.7/site-packages/screenlayout/widget.py", line 93, in load_from_x
self._xrandr.load_from_x()
File "/usr/lib/python2.7/site-packages/screenlayout/xrandr.py", line 150, in load_from_x
o.modes.append(Size(int(a) for a in d.strip().split(" ")[0].split("x")))
File "/usr/lib/python2.7/site-packages/screenlayout/auxiliary.py", line 53, in __new__
arg = tuple(arg)
File "/usr/lib/python2.7/site-packages/screenlayout/xrandr.py", line 150, in <genexpr>
o.modes.append(Size(int(a) for a in d.strip().split(" ")[0].split("x")))
ValueError: invalid literal for int() with base 10: '1080i'

I'm using 64bit-Archlinux and no testing repo enabled.

I tried arandr-git from the AUR, same output. Is this an upstream bug? I can't read python, so I have no idea how to fix it. Simply rebuilding the package doesn't solve the problem.

Additional info:
* package version(s)

% pacman -Qi arandr|grep Version
Version : 0.1.6-1
% pacman -Qi pygtk|grep Version
Version : 2.24.0-3
% pacman -Qi xorg-xrandr|grep Version
Version : 1.3.5-1

* config and/or log files etc.

Steps to reproduce:

Execute arandr and see it fail.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 12 February 2013, 09:25 GMT
Reason for closing:  Fixed
Comment by Uli (Army) - Sunday, 03 February 2013, 10:06 GMT
Ok, I just saw, that arandr runs fine, if my external monitor isn't connected. As soon as I connect it, arandr fails.
Comment by Sergej Pupykin (sergej) - Monday, 04 February 2013, 12:58 GMT
arandr cannot parse xrandr output with underscore: 1280x1024_60.00

please report upstream
Comment by Bill Seremetis (bserem) - Monday, 11 February 2013, 17:17 GMT
#6 here: https://bbs.archlinux.org/viewtopic.php?id=156804
provides a solution for the moment

Loading...