RefNotFoundError: Not found in indexed sources by docid
File "main/api.py", line 118, in get_by_docid
bibitem: BibliographicItem = build_citation_for_docid(
File "main/query.py", line 451, in build_citation_for_docid
raise RefNotFoundError("Not found in indexed sources by docid", id)
UnboundLocalError: local variable 'external_bibitem' referenced before assignment
(5 additional frame(s) were not displayed)
...
File "asgiref/current_thread_executor.py", line 22, in run
result = self.fn(*self.args, **self.kwargs)
File "asgiref/sync.py", line 476, in thread_handler
return func(*args, **kwargs)
File "django/views/decorators/http.py", line 40, in inner
return func(request, *args, **kwargs)
File "main/views.py", line 184, in export_citation
resp = auth.api(get_by_docid)(request)
File "main/api.py", line 139, in get_by_docid
if external_bibitem:
Sentry Issue: BIBXML-SERVICE-X
Sample request:
https://bib.ietf.org/get-one/export/?docid=draft-gont-tcpm-rfc1948bis&doctype=Internet-Draft%27%5B0%5D&format=relaton