Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Elementary OS Loki #2

Closed
byrnes opened this issue Apr 11, 2018 · 5 comments
Closed

Error on Elementary OS Loki #2

byrnes opened this issue Apr 11, 2018 · 5 comments

Comments

@byrnes
Copy link

byrnes commented Apr 11, 2018

Installs fine, crashes when I try to call it. Running on a Thinkpad P51.

Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "./gestures/__main__.py", line 2, in <module> File "./gestures/main.py", line 5, in <module> AttributeError: 'module' object has no attribute 'require_version'

@cunidev
Copy link
Owner

cunidev commented Apr 11, 2018 via email

@byrnes
Copy link
Author

byrnes commented Apr 16, 2018

Yep, although I am using python3 instead of python2. I tried running the setup script with python2 instead of python3, and I still get the same errors.

@cunidev
Copy link
Owner

cunidev commented Apr 19, 2018

Which is weird, considering require_version() is part of the Python Gtk+ library... could you try and apt install python-gi python-gobject gtk+3 first? The Python version to use should be already specified in the setup.py parameters, so no need to force it. Does it work properly using install.sh?

@cunidev
Copy link
Owner

cunidev commented Apr 29, 2018

Can confirm the issue on my latest Ubuntu 18.04 partition... thanks for reporting, I'll work on that to see what causes this error with python-gi

@cunidev
Copy link
Owner

cunidev commented May 3, 2018

Fixed many things and got rid of Python 2. Should work now, could you try again? Thanks.

@cunidev cunidev closed this as completed Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants