Issues with Task Dialog #3122

Open
opened 2018-05-03 09:54:43 +00:00 by rlx · 1 comment
Owner
  • When there are many tasks, the list is empty for a long time (should be a loading screen instead)

  • When there are even more tasks, the request times out

  • Cancelling a task works, but there is always a server error

  • It's possible to add the same file to uploads multiple times

  • There is no "size" column for uploads

  • On the bottom left of the dialog, an "Add Video..." button is missing.

  • Sticky column sort would be good.

  • Sorting by "Started" doesn't sort by "Started"

  • A tasks menu extra (the user's currently active task(s)) would be great.

  • HTML entities (&) in file name are not escaped in list of uploads

  • Also, it's not 100% clear why this is not "Manage Tasks..."

- When there are many tasks, the list is empty for a long time (should be a loading screen instead) - When there are even more tasks, the request times out - Cancelling a task works, but there is always a server error - It's possible to add the same file to uploads multiple times - There is no "size" column for uploads - On the bottom left of the dialog, an "Add Video..." button is missing. - Sticky column sort would be good. - Sorting by "Started" doesn't sort by "Started" - A tasks menu extra (the user's currently active task(s)) would be great. - HTML entities (&) in file name are not escaped in list of uploads - Also, it's not 100% clear why this is not "Manage Tasks..."
rlx added this to the 14.04 milestone 2018-05-03 09:54:43 +00:00
Author
Owner

Also, cancelling an upload results in a server error (relatively consistently):

Traceback (most recent call last):

  File "/srv/pandora/local/lib/python3.5/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/python3.5/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 53, in api
    response = f(request, data)

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

  File "/srv/pandora/pandora/taskqueue/views.py", line 47, in cancelTask
    task = models.Task.get(id)

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

  File "/srv/pandora/local/lib/python3.5/site-packages/django/db/models/manager.py", line 122, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)

  File "/srv/pandora/local/lib/python3.5/site-packages/django/db/models/query.py", line 387, in get
    self.model._meta.object_name

taskqueue.models.DoesNotExist: Task matching query does not exist.


<WSGIRequest: POST '/api/'>
Also, cancelling an upload results in a server error (relatively consistently): ``` Traceback (most recent call last): File "/srv/pandora/local/lib/python3.5/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/python3.5/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 53, in api response = f(request, data) File "/srv/pandora/pandora/oxdjango/decorators.py", line 17, in _wrapped_view return function(request, *args, **kwargs) File "/srv/pandora/pandora/taskqueue/views.py", line 47, in cancelTask task = models.Task.get(id) File "/srv/pandora/pandora/taskqueue/models.py", line 67, in get return cls.objects.get(pk=ox.fromAZ(id)) File "/srv/pandora/local/lib/python3.5/site-packages/django/db/models/manager.py", line 122, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/srv/pandora/local/lib/python3.5/site-packages/django/db/models/query.py", line 387, in get self.model._meta.object_name taskqueue.models.DoesNotExist: Task matching query does not exist. <WSGIRequest: POST '/api/'> ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#3122
No description provided.