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

tmule doesn't work on Python 3 #9

Open
VorpalBlade opened this issue Sep 13, 2019 · 2 comments
Open

tmule doesn't work on Python 3 #9

VorpalBlade opened this issue Sep 13, 2019 · 2 comments

Comments

@VorpalBlade
Copy link
Contributor

Tmule doesn't work on Python 3. Given that Python 2 has end of life in January 2020 it might be time to start porting it to a modern version.

Traceback (most recent call last):
  File "/home/user/virtualenv/tmule/bin/tmule", line 11, in <module>
    load_entry_point('tmule==1.4.2', 'console_scripts', 'tmule')()
  File "/home/user/virtualenv/tmule/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/user/virtualenv/tmule/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/home/user/virtualenv/tmule/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/home/user/virtualenv/tmule/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/user/virtualenv/tmule/lib/python3.7/site-packages/tmule/__init__.py", line 1, in <module>
    from .tmule import *
  File "/home/user/virtualenv/tmule/lib/python3.7/site-packages/tmule/tmule.py", line 504
    print tmux.is_running(args.window)
             ^
SyntaxError: invalid syntax
@VorpalBlade
Copy link
Contributor Author

After the above pull request, everything except for the web server functionality appears to work.

@marc-hanheide
Copy link
Owner

With 1.5.3 the core parts should now work with Python3. I leave this open until the webserver is also ported.

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