liftoff / GateOne

Gate One is an HTML5-powered terminal emulator and SSH client
http://liftoffsoftware.com/Products/GateOne
Other
6.26k stars 925 forks source link

gateone.async import issue #730

Open krypterro opened 5 years ago

krypterro commented 5 years ago

Ubuntu 16.04 system, with Python3.7

root@admin:/home/krypterro/files/GateOne-master# gateone --help Traceback (most recent call last): File "/usr/local/bin/gateone", line 11, in load_entry_point('gateone==1.2.0', 'console_scripts', 'gateone')() File "/usr/local/lib/python3.7/site-packages/pkg_resources/init.py", line 487, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.7/site-packages/pkg_resources/init.py", line 2728, in load_entry_point return ep.load() File "/usr/local/lib/python3.7/site-packages/pkg_resources/init.py", line 2346, in load return self.resolve() File "/usr/local/lib/python3.7/site-packages/pkg_resources/init.py", line 2352, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python3.7/site-packages/gateone-1.2.0-py3.7.egg/gateone/core/server.py", line 404 from gateone.async import MultiprocessRunner, ThreadedRunner ^ SyntaxError: invalid syntax root@admin:/home/krypterro/files/GateOne-master#

vincentDcmps commented 5 years ago

same thing on archlinux

sylvainpetit commented 4 years ago

same issue on debian 10 - python 3.7.3

swimmingchar commented 4 years ago

Python 3.7.0 (default, Sep 14 2018, 15:27:31) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux

That env yet this PB.

ghost commented 4 years ago

Ran into the same issue, it would appear that async turned into a reserved keyword with py 3.7

JoeKun commented 3 years ago

I just opened the following pull request that addresses this issue.

748: Stop using reserved keywords async and await

JoeKun commented 3 years ago

@krypterro Would you mind giving us some context for why you just closed this issue? Is it somehow already resolved?