SmartBioTech / PBRcontrol

1 stars 1 forks source link

Ping not working #26

Open xtrojak opened 4 years ago

xtrojak commented 4 years ago

Ping is not working anymore. Also its documentation is not sufficient!

[2020-03-06 22:08:34,649] ERROR in app: Exception on /ping [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python3.7/dist-packages/flask_restful/__init__.py", line 468, in wrapper
    resp = resource(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/flask/views.py", line 89, in view
    return self.dispatch_request(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/flask_restful/__init__.py", line 583, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/home/bioarineo/PBRcontrol/DBmanager/DBapp.py", line 289, in get
    response['jvm'] = JVMController.isJVMStarted()
AttributeError: 'function' object has no attribute 'isJVMStarted'