Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461758 - x11-misc/arandr-0.1.6 - arandr: ValueError: invalid literal for int() with base 10: '1080i'
Summary: x11-misc/arandr-0.1.6 - arandr: ValueError: invalid literal for int() with ba...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-14 19:19 UTC by Martin Mokrejš
Modified: 2017-03-08 16:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2013-03-14 19:19:47 UTC
$ arandr
Traceback (most recent call last):
  File "/usr/bin/arandr-2.7", line 42, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/screenlayout/gui.py", line 318, in main
    force_version=options.force_version
  File "/usr/lib64/python2.7/site-packages/screenlayout/gui.py", line 159, in __init__
    self.filetemplate = self.widget.load_from_x()
  File "/usr/lib64/python2.7/site-packages/screenlayout/widget.py", line 93, in load_from_x
    self._xrandr.load_from_x()
  File "/usr/lib64/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/lib64/python2.7/site-packages/screenlayout/auxiliary.py", line 53, in __new__
    arg = tuple(arg)
  File "/usr/lib64/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'
$
$ arandr --version
arandr 0.1.6
$


This is a known error, please bring a fix to Gentoo:
https://bugs.launchpad.net/ubuntu/+source/arandr/+bug/751085
Comment 1 zasire 2013-03-23 17:30:19 UTC
i can confirm this error. i have exactly the same error message as martin. would love to see a fix
Comment 2 Harri Nieminen (Moiman) 2017-03-06 06:45:59 UTC
This is fixed in 0.1.7.1 . Please close.
Comment 3 David Seifert gentoo-dev 2017-03-08 16:07:04 UTC
commit dd432a0e4dbac9bf4ff9a946179eb3a123486188
Author: Harri Nieminen <moikkis@gmail.com>
Date:   Mon Mar 6 08:44:25 2017 +0200

    x11-misc/arandr: Remove old