I'm trying to bake some beans and getting the following error. Can anyone 
help diagnose this?

$bean-bake ./beancount.org foo
127.0.0.1 - - [19/Aug/2017 12:10:53] "GET 
/context/019bb9def5e08b60b60649539dbcc03e HTTP/1.1" 200 2923
127.0.0.1 - - [19/Aug/2017 12:10:53] "GET 
/context/85bbd928804e18ffd433ed10331e4ef5 HTTP/1.1" 200 2382
127.0.0.1 - - [19/Aug/2017 12:10:53] "GET 
/context/c30f370f37ae90001d90c7c10772f9c7 HTTP/1.1" 200 2379
127.0.0.1 - - [19/Aug/2017 12:10:53] "GET 
/context/5fe89567a95696bf7a8a7c4222a94910 HTTP/1.1" 200 2391
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

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/07af96c0-ad06-4a26-9a04-12d9a3a324a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to