Friday, October 18, 2019ΒΆ

Here is a traceback I had on Hobbit when I tried to select another ticket for a session:

Internal Server Error: /choices/working/SessionsByTicket/ticket
Traceback (most recent call last):
  File "/mnt/disk/jane/env3/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/mnt/disk/jane/env3/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/mnt/disk/jane/env3/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/disk/jane/env3/lib/python3.7/site-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/disk/jane/env3/lib/python3.7/site-packages/django/views/generic/base.py", line 97, in dispatch
    return handler(request, *args, **kwargs)
  File "/mnt/disk/jane/env3/repositories/react/lino_react/react/views.py", line 515, in get
    qs, row2dict = choices_for_field(rpt.request(request=request), rpt, field)
  File "/mnt/disk/jane/env3/repositories/lino/lino/core/dbtables.py", line 217, in request
    return TableRequest(**kw)
  File "/mnt/disk/jane/env3/repositories/lino/lino/core/requests.py", line 1264, in __init__
    BaseRequest.__init__(self, **kw)
  File "/mnt/disk/jane/env3/repositories/lino/lino/core/requests.py", line 216, in __init__
    kw = self.parse_req(request, rqdata, **kw)
  File "/mnt/disk/jane/env3/repositories/lino/lino/core/tablerequest.py", line 245, in parse_req
    pk, self.actor))
django.core.exceptions.ObjectDoesNotExist: Invalid master key 13805 for working.SessionsByTicket