You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
In browser, Server Error (500) is seen while video is transcoding and /api/v1/tasks API is accessed to view running tasks.
To Reproduce
Steps to reproduce the issue:
Access /api/vi/tasks. Api responds with no tasks in queue. All good.
Upload a video.
Access /api/v1/tasks. Server responds with "Server Error (500)"
Expected behavior
Proper '/api/v1/tasks' response with running task details.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: Ubuntu 22.04 LTS
Installation method: single server install
Browser: Brave
Additional context
Debug Log:
Internal Server Error: /api/v1/tasks
Traceback (most recent call last):
File "/home/mediacms.io/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/home/mediacms.io/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/mediacms.io/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 56, in wrapper_view
return view_func(*args, **kwargs)
File "/home/mediacms.io/lib/python3.10/site-packages/django/views/generic/base.py", line 104, in view
return self.dispatch(request, *args, **kwargs)
File "/home/mediacms.io/lib/python3.10/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
File "/home/mediacms.io/lib/python3.10/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/home/mediacms.io/lib/python3.10/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/home/mediacms.io/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "/home/mediacms.io/mediacms/files/views.py", line 1396, in get
ret = list_tasks()
File "/home/mediacms.io/mediacms/files/methods.py", line 427, in list_tasks
task_args = task_args.replace(bad, "")
AttributeError: 'list' object has no attribute 'replace'
The text was updated successfully, but these errors were encountered:
acrawford73
changed the title
Server Error (500) when access /api/v1/tasks if media is encoding
Server Error (500) on access /api/v1/tasks while media is encoding
Jul 23, 2024
Describe the issue
In browser, Server Error (500) is seen while video is transcoding and /api/v1/tasks API is accessed to view running tasks.
To Reproduce
Steps to reproduce the issue:
Expected behavior
Proper '/api/v1/tasks' response with running task details.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Debug Log:
Internal Server Error: /api/v1/tasks
Traceback (most recent call last):
File "/home/mediacms.io/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/home/mediacms.io/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/mediacms.io/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 56, in wrapper_view
return view_func(*args, **kwargs)
File "/home/mediacms.io/lib/python3.10/site-packages/django/views/generic/base.py", line 104, in view
return self.dispatch(request, *args, **kwargs)
File "/home/mediacms.io/lib/python3.10/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
File "/home/mediacms.io/lib/python3.10/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/home/mediacms.io/lib/python3.10/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/home/mediacms.io/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "/home/mediacms.io/mediacms/files/views.py", line 1396, in get
ret = list_tasks()
File "/home/mediacms.io/mediacms/files/methods.py", line 427, in list_tasks
task_args = task_args.replace(bad, "")
AttributeError: 'list' object has no attribute 'replace'
The text was updated successfully, but these errors were encountered: