I'm trying to bake some beans and getting the following error. Can anyone help diagnose this?
127.0.0.1 - - [19/Aug/2017 12:10:53] "GET /context/35066b99e6725465f3f39dcef7d6f756 HTTP/1.1" 200 2445
Traceback (most recent call last):
File "/Users/mankoff/local/anaconda/bin/bottle.py", line 862, in _handle
return route.call(**args)
File "/Users/mankoff/local/anaconda/bin/bottle.py", line 1740, in wrapper
rv = callback(*a, **ka)
File "/Users/mankoff/local/anaconda/lib/python3.6/site-packages/beancount/web/web.py", line 1045, in wrapper
return callback(*posargs, **kwargs)
File "/Users/mankoff/local/anaconda/lib/python3.6/site-packages/beancount/web/web.py", line 400, in context_
oss.write(context.render_entry_context(app.entries, app.options, entry))
File "/Users/mankoff/local/anaconda/lib/python3.6/site-packages/beancount/reports/context.py", line 66, in render_entry_context
accounts = sorted(getters.get_entry_accounts(entry), key=order.get)
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'
Traceback (most recent call last):
127.0.0.1 - - [19/Aug/2017 12:10:53] "GET /context/47b6c5dc95d3eebd992c66348736f320 HTTP/1.1" 500 781
File "/Users/mankoff/local/anaconda/bin/bean-bake", line 4, in <module>
from beancount.scripts.bake import main; main()
File "/Users/mankoff/local/anaconda/lib/python3.6/site-packages/beancount/scripts/bake.py", line 247, in main
bake_to_directory(opts, output_directory, opts.quiet, opts.full_mode)
File "/Users/mankoff/local/anaconda/lib/python3.6/site-packages/beancount/scripts/bake.py", line 153, in bake_to_directory
quiet)
File "/Users/mankoff/local/anaconda/lib/python3.6/site-packages/beancount/web/web.py", line 1234, in scrape_webapp
url_lists = scrape.scrape_urls(url_format, callback, ignore_regexp)
File "/Users/mankoff/local/anaconda/lib/python3.6/site-packages/beancount/web/scrape.py", line 75, in scrape_urls
response = urllib.request.urlopen(url_format.format(url))
File "/Users/mankoff/local/anaconda/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/Users/mankoff/local/anaconda/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/Users/mankoff/local/anaconda/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/Users/mankoff/local/anaconda/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/Users/mankoff/local/anaconda/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/Users/mankoff/local/anaconda/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error