Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528534 - games-util/lutris-0.3.5 crashes with python error on first run
Summary: games-util/lutris-0.3.5 crashes with python error on first run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 07:00 UTC by avx
Modified: 2014-11-07 15:24 UTC (History)
1 user (show)

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


Attachments
emerge --info (gz compressed) (emerge.info.txt.gz,6.35 KB, application/x-gzip)
2014-11-07 07:01 UTC, avx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description avx 2014-11-07 07:00:36 UTC
Just merged lutris-0.3.5 (also filed a bump request for newest version at #528532) with default USE on ~amd64, but it crashes with:

---snip---
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/lutris", line 48, in <module>
    from lutris.installer import InstallerDialog
  File "/usr/lib64/python2.7/site-packages/lutris/installer.py", line 25, in <module>
    from lutris.gui.config_dialogs import AddGameDialog
  File "/usr/lib64/python2.7/site-packages/lutris/gui/config_dialogs.py", line 8, in <module>
    from lutris.gui.config_boxes import GameBox,  RunnerBox, SystemBox
  File "/usr/lib64/python2.7/site-packages/lutris/gui/config_boxes.py", line 6, in <module>
    from lutris import sysoptions
  File "/usr/lib64/python2.7/site-packages/lutris/sysoptions.py", line 12, in <module>
    resolutions = display.get_resolutions()
  File "/usr/lib64/python2.7/site-packages/lutris/util/display.py", line 40, in get_resolutions
    for line in get_vidmodes():
  File "/usr/lib64/python2.7/site-packages/lutris/util/display.py", line 10, in get_vidmodes
    stderr=subprocess.PIPE).communicate()[0]
  File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
---snap---

Not big in python, but a quick look into the mentioned directories and the files are there.

System python is 2.7.x, python-updater didn't fix it and revdep-rebuild also sees nothing.

emerge --info lutris

---snip---
damn, too long, see attachment
---snap---

Didn't yet try to version bump myself to see if it fixes it, highly doubt that, though.

While it crashes, I don't think it's critical, so leaving at default normal severity.

Reproducible: Always

Steps to Reproduce:
1. emerge lutris
2. `lutris`
3. crash
Comment 1 avx 2014-11-07 07:01:38 UTC
Created attachment 388738 [details]
emerge --info (gz compressed)
Comment 2 Julian Ospald 2014-11-07 13:09:07 UTC
Ah, do you have xrandr installed? Seems that is a missing runtime dependency. Try with that.
Comment 3 Julian Ospald 2014-11-07 13:31:44 UTC
+*lutris-0.3.5-r1 (07 Nov 2014)
+
+  07 Nov 2014; Julian Ospald <hasufell@gentoo.org> +lutris-0.3.5-r1.ebuild:
+  add missing deps wrt #528534
Comment 4 avx 2014-11-07 15:24:07 UTC
(In reply to Julian Ospald (hasufell) from comment #2)
> Ah, do you have xrandr installed? Seems that is a missing runtime
> dependency. Try with that.

You seem to be correct, installing xrandr makes the app start without any errors(so far, not yet tested the app itself).

Thanks for the quick help and also the v-bump, have a nice weekend :)