Server Error when trying to rename document #2969

Closed
opened 2016-09-20 13:25:11 +00:00 by rlx · 1 comment
Owner
Traceback (most recent call last):

> File "/srv/pandora/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
    response = self.process_exception_by_middleware(e, request)

> File "/srv/pandora/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

> File "/srv/pandora/pandora/oxdjango/api/views.py", line 51, in api
    response = f(request, data)

> File "/srv/pandora/pandora/oxdjango/decorators.py", line 19, in _wrapped_view
    return function(request, *args, **kwargs)

> File "/srv/pandora/pandora/document/views.py", line 118, in editDocument
    document.save()

> File "/srv/pandora/pandora/document/models.py", line 77, in save
    self.update_matches()

> File "/srv/pandora/pandora/document/models.py", line 292, in update_matches
    url = unquote(urls[0])

<NameError>: global name 'unquote' is not defined
``` Traceback (most recent call last): > File "/srv/pandora/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response response = self.process_exception_by_middleware(e, request) > File "/srv/pandora/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) > File "/srv/pandora/pandora/oxdjango/api/views.py", line 51, in api response = f(request, data) > File "/srv/pandora/pandora/oxdjango/decorators.py", line 19, in _wrapped_view return function(request, *args, **kwargs) > File "/srv/pandora/pandora/document/views.py", line 118, in editDocument document.save() > File "/srv/pandora/pandora/document/models.py", line 77, in save self.update_matches() > File "/srv/pandora/pandora/document/models.py", line 292, in update_matches url = unquote(urls[0]) <NameError>: global name 'unquote' is not defined ```
0x2620 added the
backend
label 2016-09-20 13:25:11 +00:00
0x2620 added this to the 14.04 milestone 2016-09-20 13:25:11 +00:00
j was assigned by 0x2620 2016-09-20 13:25:11 +00:00
0x2620 added the
major
defect
labels 2016-09-20 13:25:11 +00:00
Owner

In 29600fa/pandora:

#!CommitTicketReference repository="pandora" revision="29600fa5f726c4ac50c4a5a7447b937d22280bb5"
import unquote, fixes #2969
In [29600fa/pandora](https://code.0x2620.org/0x2620/pandora/commit/29600fa5f726c4ac50c4a5a7447b937d22280bb5): ``` #!CommitTicketReference repository="pandora" revision="29600fa5f726c4ac50c4a5a7447b937d22280bb5" import unquote, fixes #2969 ```
0x2620 added the
fixed
label 2016-09-20 13:59:56 +00:00
j closed this issue 2016-09-20 13:59:56 +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#2969
No description provided.