Open tbm opened 9 years ago
Original comment by Martin Blais (Bitbucket: blais, GitHub: blais).
#!python
127.0.0.1 - - [25/Jan/2015 00:41:33] "GET
/context/7a79f22d284d032e2b28501e904e4826 HTTP/1.1" 500 59
Traceback (most recent call last):
File "/usr/local/lib/python3.4/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python3.4/site-packages/bottle.py", line 979, in __call__
return self.wsgi(environ, start_response)
File "/usr/local/lib/python3.4/site-packages/bottle.py", line 954, in wsgi
out = self._cast(self._handle(environ))
File "/usr/local/lib/python3.4/site-packages/bottle.py", line 862, in _handle
return route.call(**args)
File "/usr/local/lib/python3.4/site-packages/bottle.py", line 1729, in wrapper
rv = callback(*a, **ka)
File "/home/blais/p/beancount/src/python/beancount/web/web.py", line 939, in
wrapper
return callback(*posargs, **kwargs)
File "/home/blais/p/beancount/src/python/beancount/web/web.py", line 381, in
context_
app.entries, dcontext, entry.meta.filename, entry.meta.lineno))
File "/home/blais/p/beancount/src/python/beancount/reports/context.py", line
33, in render_entry_context
raise SystemExit("No entry could be found before {}:{}".format(filename,
lineno))
Original report by Martin Blais (Bitbucket: blais, GitHub: blais).
BUG: In web interface... clicking on a directive that cannot be contexted right generates an error like this:
127.0.0.1 - - [25/Jan/2015 00:41:33] "GET /context/7a79f22d284d032e2b28501e904e4826 HTTP/1.1" 500 59 Traceback (most recent call last): File "/usr/local/lib/python3.4/wsgiref/handlers.py", line 137, in run self.result = application(self.environ, self.start_response) File "/usr/local/lib/python3.4/site-packages/bottle.py", line 979, in call return self.wsgi(environ, start_response) File "/usr/local/lib/python3.4/site-packages/bottle.py", line 954, in wsgi out = self._cast(self._handle(environ)) File "/usr/local/lib/python3.4/site-packages/bottle.py", line 862, in handle return route.call(args) File "/usr/local/lib/python3.4/site-packages/bottle.py", line 1729, in wrapper rv = callback(*a, *ka) File "/home/blais/p/beancount/src/python/beancount/web/web.py", line 939, in wrapper return callback(posargs, kwargs) File "/home/blais/p/beancount/src/python/beancount/web/web.py", line 381, in context app.entries, dcontext, entry.meta.filename, entry.meta.lineno)) File "/home/blais/p/beancount/src/python/beancount/reports/context.py", line 33, in render_entry_context raise SystemExit("No entry could be found before {}:{}".format(filename, lineno))