Skip to content

first time run of gateone give python error #689

@allenzhao64

Description

@allenzhao64

the installation looks ok. But when gateone is issue on command line:

[root@node1 GateOne]# gateone
Traceback (most recent call last):
File "/usr/bin/gateone", line 9, in
load_entry_point('gateone==1.2.0', 'console_scripts', 'gateone')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/server.py", line 402, in
from gateone.auth.authorization import require, authenticated, policies
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/auth/authorization.py", line 38, in
@memoize
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/utils.py", line 290, in init
MEMO = AutoExpireDict(timeout=timeout, interval="30s")
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/utils.py", line 161, in init
self.interval = kwargs.pop('interval')
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/utils.py", line 211, in interval
self._timeout_checker, value, io_loop=self.io_loop)
TypeError: init() got an unexpected keyword argument 'io_loop'
Exception AttributeError: "'AutoExpireDict' object has no attribute '_key_watcher'" in <bound method AutoExpireDict.del of {}> ignored
[root@node1 GateOne]#

I am using python 2.7.5 (with the latest CentOS 7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions