Internal Server Error when loading https://pad.ma/documents/BZ,CA #2690

Closed
opened 2015-02-20 11:40:20 +00:00 by rlx · 3 comments
Owner

also see #2689

also see #2689
rlx added the
general
label 2015-02-20 11:40:20 +00:00
rlx added this to the 14.04 milestone 2015-02-20 11:40:20 +00:00
0x2620 was assigned by rlx 2015-02-20 11:40:20 +00:00
rlx added the
normal
defect
labels 2015-02-20 11:40:20 +00:00
Author
Owner

Traceback (most recent call last):

> File "/srv/pandora/src/django/django/core/handlers/base.py", line 109, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

> File "/srv/pandora/src/python-ox/ox/django/api/views.py", line 48, in api
    response = f(request, data)

> File "/srv/pandora/pandora/document/views.py", line 225, in getDocument
    document = get_document_or_404_json(data['id'])

> File "/srv/pandora/pandora/document/views.py", line 25, in get_document_or_404_json
    return models.Document.get(id)

> File "/srv/pandora/pandora/document/models.py", line 92, in get
    return cls.objects.get(pk=ox.fromAZ(id))

> File "/srv/pandora/src/python-ox/ox/format.py", line 52, in fromAZ
    r = r + (pow(26, exp) * (digits.index(char) + 1))

<ValueError>: substring not found

``` Traceback (most recent call last): > File "/srv/pandora/src/django/django/core/handlers/base.py", line 109, in get_response response = callback(request, *callback_args, **callback_kwargs) > File "/srv/pandora/src/python-ox/ox/django/api/views.py", line 48, in api response = f(request, data) > File "/srv/pandora/pandora/document/views.py", line 225, in getDocument document = get_document_or_404_json(data['id']) > File "/srv/pandora/pandora/document/views.py", line 25, in get_document_or_404_json return models.Document.get(id) > File "/srv/pandora/pandora/document/models.py", line 92, in get return cls.objects.get(pk=ox.fromAZ(id)) > File "/srv/pandora/src/python-ox/ox/format.py", line 52, in fromAZ r = r + (pow(26, exp) * (digits.index(char) + 1)) <ValueError>: substring not found ```
Owner

backend return 404 now, but frontend does not load anyway

backend return 404 now, but frontend does not load anyway
Owner

oxjs,4823 fixes this on the frontend

oxjs,4823 fixes this on the frontend
j added the
fixed
label 2015-02-20 15:32:20 +00:00
j closed this issue 2015-02-20 15:32:20 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#2690
No description provided.