Got past that error by using advice from
https://help.pythonanywhere.com/pages/Node/ (used nvm to update
node/npm and added an alias nodejs='node' in .bashrc)
Now my webapp fails with this error, though the same beancount file
works fine on my own machine. Any ideas?
2016-12-24 21:03:58,195 :[2016-12-24 21:03:58,194] ERROR in app:
Exception on / [GET]
2016-12-24 21:03:58,195 :Traceback (most recent call last):
2016-12-24 21:03:58,195 : File
"/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1988, in
wsgi_app
2016-12-24 21:03:58,195 : response = self.full_dispatch_request()
2016-12-24 21:03:58,195 : File
"/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1641, in
full_dispatch_request
2016-12-24 21:03:58,195 : rv = self.handle_user_exception(e)
2016-12-24 21:03:58,195 : File
"/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1544, in
handle_user_exception
2016-12-24 21:03:58,195 : reraise(exc_type, exc_value, tb)
2016-12-24 21:03:58,196 : File
"/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in
reraise
2016-12-24 21:03:58,196 : raise value
2016-12-24 21:03:58,196 : File
"/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1637, in
full_dispatch_request
2016-12-24 21:03:58,196 : rv = self.preprocess_request()
2016-12-24 21:03:58,196 : File
"/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1831, in
preprocess_request
2016-12-24 21:03:58,196 : func(request.endpoint, request.view_args)
2016-12-24 21:03:58,196 : File
"/home/ngoonee/.local/lib/python3.5/site-packages/beancount_fava-1.2.dev0-py3.5.egg/fava/application.py",
line 182, in _pull_beancount_file
2016-12-24 21:03:58,196 : g.beancount_file_slug = app.config['FILE_SLUGS'][0]
2016-12-24 21:03:58,196 :KeyError: 'FILE_SLUGS'
2016-12-24 21:03:58,194 :Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line
1988, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line
1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line
1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line
33, in reraise
raise value
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line
1637, in full_dispatch_request
rv = self.preprocess_request()
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line
1831, in preprocess_request
func(request.endpoint, request.view_args)
File "/home/ngoonee/.local/lib/python3.5/site-packages/beancount_fava-1.2.dev0-py3.5.egg/fava/application.py",
line 182, in _pull_beancount_file
g.beancount_file_slug = app.config['FILE_SLUGS'][0]
KeyError: 'FILE_SLUGS'
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
beancount+...@googlegroups.com.
> To post to this group, send email to
bean...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/beancount/715458ed-1eef-4d08-af0e-2100cb0daf55%40googlegroups.com.