-
Notifications
You must be signed in to change notification settings - Fork 925
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 gives a 'tornado/httpserver.py' syntax error #735
Comments
4.0<tornado<5.0 |
Hi, Thank you. Xuo. |
Hi, I couldn't install tornado4.1. pip2 install tornado-4.2.1-4DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. I really need a replacement for gateOne ... Regards. Xuo. |
@ericxuo your command seems like you tried to install tornado==4.2.1 not 4.1 .. that said, both should be available per https://pypi.org/project/tornado/#history .. I would check whether you’re able to download them directly |
Hi, Thank you for the comment. Regards. Xuo. |
Im no python expert - but - I got over this by installing tornado 4.1 (I had 3.2.1 previously) .. and I got over that problem ... just to hit the next. Which was a dir creation issue - so - now Im close. I downloaded tornado 4.1 and just did the standard install. Got the error below (on Mac OS X) horribly created /etc/gateone/ssl with 777 permissions .. and .. amazingly ... it seems to be running talked too soon as soon as a browser connected BANG Damn - I liked this product [I 200313 21:39:18 async:514] Shutting down the MultiprocessRunner executor. ====================================================== ====================================================== 200313 21:34:56 app_terminal:2806] dtach command not found. dtach support has been disabled. |
Hi, I can't help. I've been using Bastillion during a few months and now I'm using Apache Guacamole which really works fine. Regards. Xuo. |
Hi,
I did to following to install gateone :
$ git clone https://github.com/liftoff/GateOne.git
$ cd GateOne
$ python setup.py install
This command ends with :
Using /usr/lib/python2.7/site-packages
Finished processing dependencies for gateone==1.2.0
Entry points were created for the following:
console_scripts
gateone = gateone.core.server:main
go_applications
example = gateone.applications.example
terminal = gateone.applications.terminal
go_plugins
editor = gateone.plugins.editor
help = gateone.plugins.help
go_terminal_plugins
bookmarks = gateone.applications.terminal.plugins.bookmarks
convenience = gateone.applications.terminal.plugins.convenience
example = gateone.applications.terminal.plugins.example
html = gateone.applications.terminal.plugins.html
logging = gateone.applications.terminal.plugins.logging
notice = gateone.applications.terminal.plugins.notice
playback = gateone.applications.terminal.plugins.playback
ssh = gateone.applications.terminal.plugins.ssh
=> Seems OK.
$ which gateone
/bin/gateone
$ /bin/gateone
This command ends with :
Traceback (most recent call last):
File "/bin/gateone", line 11, in
load_entry_point('gateone==1.2.0', 'console_scripts', 'gateone')()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2843, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2434, in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2440, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/server.py", line 361, in
import tornado.httpserver
File "/usr/lib/python2.7/site-packages/tornado-6.0.3-py2.7-linux-x86_64.egg/tornado/httpserver.py", line 144
def init(self, *args: Any, **kwargs: Any) -> None:
^
SyntaxError: invalid syntax
Some people here had the same error but they use docker and I didn't understand how they solved the problem (and my knowledge in docker is really low and I prefer not to use docker).
Can anybody help me ?
Regards.
Xuo.
The text was updated successfully, but these errors were encountered: