GateOne icon indicating copy to clipboard operation
GateOne copied to clipboard

gateone.async import issue

Open krypterro opened this issue 6 years ago • 6 comments

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#

krypterro avatar Apr 26 '19 15:04 krypterro

same thing on archlinux

vincentDcmps avatar May 11 '19 16:05 vincentDcmps

same issue on debian 10 - python 3.7.3

sylvainpetit avatar Jul 11 '19 12:07 sylvainpetit

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.

swimmingchar avatar Jan 09 '20 09:01 swimmingchar

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

ghost avatar Jun 02 '20 20:06 ghost

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

#748: Stop using reserved keywords async and await

JoeKun avatar Jan 01 '21 22:01 JoeKun

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

JoeKun avatar Jun 07 '21 16:06 JoeKun