LINUX.ORG.RU

Не стартует Workbench Server Version 0.3.6

 , ,


0

1

<<< Workbench Server Version 0.3.6 >>>
/usr/lib64/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to workbench, you must provide a username and password.
  "must provide a username and password." % (db_name,))
Traceback (most recent call last):
  File "/bin/workbench_server", line 5, in <module>
    pkg_resources.run_script('workbench==0.3.6', 'workbench_server')
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1455, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/lib/python2.7/site-packages/workbench-0.3.6-py2.7.egg/EGG-INFO/scripts/workbench_server", line 19, in <module>
    run()
  File "/usr/lib/python2.7/site-packages/workbench-0.3.6-py2.7.egg/EGG-INFO/scripts/workbench_server", line 16, in run
    server.run()
  File "/usr/lib/python2.7/site-packages/workbench-0.3.6-py2.7.egg/workbench/server/workbench_server.py", line 864, in run
    workbench = zerorpc.Server(WorkBench(store_args=store_args), name='workbench', heartbeat=60)
  File "/usr/lib/python2.7/site-packages/workbench-0.3.6-py2.7.egg/workbench/server/workbench_server.py", line 76, in __init__
    self.data_store = data_store.DataStore(**store_args)
  File "/usr/lib/python2.7/site-packages/workbench-0.3.6-py2.7.egg/workbench/server/data_store.py", line 36, in __init__
    self.database = self.mongo.get_default_database()
  File "/usr/lib64/python2.7/site-packages/pymongo/database.py", line 797, in __call__
    self.__name, self.__connection.__class__.__name__))
TypeError: 'Database' object is not callable. If you meant to call the 'get_default_database' method on a 'MongoClient' object it is failing because no such method exists.

судя по выхлопу, ты в конфиге не настроил соединение с монгой

Aeon
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.