FS#62434 - [arandr] Python 3

Attached to Project: Community Packages
Opened by Doron Behar (doronbehar) - Monday, 22 April 2019, 16:13 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 22 April 2019, 18:11 GMT
Task Type Bug Report
Category Packages
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 2
Private No

Details

aRandr was upgraded to use python3

See this issue upstream: https://gitlab.com/arandr/arandr/issues/32
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 22 April 2019, 18:11 GMT
Reason for closing:  Fixed
Comment by Yauhen (actionless) - Monday, 22 April 2019, 16:18 GMT
It's a blocker now since `arandr` is not starting after the upgrade to 0.1.10-1 due to still being packages as python2 package:

```
Traceback (most recent call last):
File "/usr/sbin/arandr", line 41, in <module>
from screenlayout.gui import main
File "/usr/lib/python2.7/site-packages/screenlayout/gui.py", line 31, in <module>
from . import widget
File "/usr/lib/python2.7/site-packages/screenlayout/widget.py", line 30, in <module>
from .snap import Snap
File "/usr/lib/python2.7/site-packages/screenlayout/snap.py", line 17, in <module>
from .auxiliary import Position
File "/usr/lib/python2.7/site-packages/screenlayout/auxiliary.py", line 149, in <module>
LEFT = Rotation('left')
File "/usr/lib/python2.7/site-packages/screenlayout/auxiliary.py", line 138, in __init__
super().__init__()
TypeError: super() takes at least 1 argument (0 given)
```
Comment by Julien Virey (barbuk) - Monday, 22 April 2019, 16:23 GMT
After updating to 0.1.10-1, I have dependency issue with python-gi:

Traceback (most recent call last):
File "/usr/bin/arandr", line 41, in <module>
from screenlayout.gui import main
File "/usr/lib/python2.7/site-packages/screenlayout/gui.py", line 27, in <module>
import gi
ImportError: No module named gi

Loading...