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

gateone.async import issue #730

Open
krypterro opened this issue Apr 26, 2019 · 6 comments
Open

gateone.async import issue #730

krypterro opened this issue Apr 26, 2019 · 6 comments

Comments

@krypterro
Copy link

krypterro commented Apr 26, 2019

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
Copy link

same thing on archlinux

@sylvainpetit
Copy link

same issue on debian 10 - python 3.7.3

@swimmingchar
Copy link

swimmingchar commented Jan 9, 2020

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
Copy link

ghost commented Jun 2, 2020

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

@JoeKun
Copy link

JoeKun commented Jan 1, 2021

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

#748: Stop using reserved keywords async and await

@JoeKun
Copy link

JoeKun commented Jun 7, 2021

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

@krypterro krypterro reopened this Jun 8, 2021
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

5 participants