Hello,
I’m having issues launching the lpad webgui. It was working previously, but now i’m getting the following error:
- Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
/Users/sivonxay/anaconda3/lib/python3.5/site-packages/pymongo-3.4.0-py3.5-macosx-10.6-x86_64.egg/pymongo/topology.py:145: UserWarning: MongoClient opened before fork. Create MongoClient with connect=False, or create client after forking. See PyMongo’s documentation for details: http://api.mongodb.org/python/current/faq.html#pymongo-fork-safe>
"MongoClient opened before fork. Create MongoClient "
[2017-04-25 13:04:20,953] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File “/Users/sivonxay/anaconda3/lib/python3.5/site-packages/flask/app.py”, line 1982, in wsgi_app
response = self.full_dispatch_request()
File “/Users/sivonxay/anaconda3/lib/python3.5/site-packages/flask/app.py”, line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File “/Users/sivonxay/anaconda3/lib/python3.5/site-packages/flask/app.py”, line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File “/Users/sivonxay/anaconda3/lib/python3.5/site-packages/flask/_compat.py”, line 33, in reraise
raise value
File “/Users/sivonxay/anaconda3/lib/python3.5/site-packages/flask/app.py”, line 1612, in full_dispatch_request
rv = self.dispatch_request()
File “/Users/sivonxay/anaconda3/lib/python3.5/site-packages/flask/app.py”, line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File “/Users/sivonxay/anaconda3/fireworks/fireworks/flask_site/app.py”, line 63, in decorated
return f(*args, **kwargs)
File “/Users/sivonxay/anaconda3/fireworks/fireworks/flask_site/app.py”, line 132, in home
"id": item['nodes'][0],
IndexError: list index out of range
127.0.0.1 - - [25/Apr/2017 13:04:20] “GET / HTTP/1.1” 500 -
I am able to run lpad get_wflows command for all states except for COMPLETED workflows, where it throws this list index out of range error. Does anyone have any suggestions to fix this error?
Thanks,
Eric