Reverse for 'episode_assets' with arguments '(2156, 'python-for-humans-1', 'sh')' not found. 1 pattern(s) tried: ['main/episode_assets/(?P<episode_id>\\w+)/(?P<slug>\\w+)\\.(?P<mode>\\w+)']
Request Method: | GET |
---|---|
Request URL: | http://veyepar.nextdayvideo.com/main/schedule/89/E/2156/ |
Django Version: | 4.1.7 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'episode_assets' with arguments '(2156, 'python-for-humans-1', 'sh')' not found. 1 pattern(s) tried: ['main/episode_assets/(?P<episode_id>\\w+)/(?P<slug>\\w+)\\.(?P<mode>\\w+)'] |
Exception Location: | /home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/urls/resolvers.py, line 828, in _reverse_with_prefix |
Raised during: | main.views.episode |
Python Executable: | /home/videoteam/vipar/dj/venv/bin/python |
Python Version: | 3.9.2 |
Python Path: | [PosixPath('/home/videoteam/vipar/dj/lib'), '/home/videoteam/vipar/dj', '/home/videoteam/vipar/dj/venv/bin', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages', '/home/videoteam/vipar/dj'] |
Server time: | Thu, 28 Mar 2024 16:59:21 -0500 |
In template /home/videoteam/vipar/dj/main/templates/episode.html
, error at line 146
136 | }); |
---|---|
137 | |
138 | $( "#audio_image_{{ext}}" ).click(function() { |
139 | vid[0].currentTime = imageX; |
140 | }); |
141 | |
142 | </script> |
143 | |
144 | {% endfor %} |
145 | |
146 | <a href="{% url "episode_assets" episode.id episode.slug "sh" %}">assets</a> |
147 | |
148 | <a href="{% url "pdf" 'release_agreements' show.id episode.id %}{{episode.slug}}.pdf">release.pdf</a> |
149 | |
150 | <a href="{% url "eps_xfer" episode.show.client.slug episode.show.slug %}?id={{episode.id}}">{{episode.slug}}.json</a> |
151 | <br> |
152 | <a href="{% url "episode_logs" episode.id %}">logs</a><br> |
153 | |
154 | Admin: |
155 | <a href="{% url "admin:main_episode_change" episode.id%}">episode</a> |
156 | <a href="{% url "admin:main_episode_changelist" %}?id__exact={{episode.id}}">episode list</a> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/asgiref/sync.py
, line 486, in thread_handler
parent_set = True
# Run the function
try:
# If we have an exception, run the function inside the except block
# after raising it so exc_info is correctly populated.
if exc_info[1]:
try:
raise exc_info[1]…
except BaseException:
return func(*args, **kwargs)
else:
return func(*args, **kwargs)
finally:
# Only delete the launch_map parent if we set it, otherwise it is
Variable | Value |
---|---|
args | (functools.partial(<function response_for_exception at 0x7fd7e621dc10>, <ASGIRequest: GET '/main/schedule/89/E/2156/'>, NoReverseMatch("Reverse for 'episode_assets' with arguments '(2156, 'python-for-humans-1', 'sh')' not found. 1 pattern(s) tried: ['main/episode_assets/(?P<episode_id>\\\\w+)/(?P<slug>\\\\w+)\\\\.(?P<mode>\\\\w+)']")),) |
current_thread | <Thread(asyncio_3, started 140564904785664)> |
exc_info | (<class 'django.urls.exceptions.NoReverseMatch'>, NoReverseMatch("Reverse for 'episode_assets' with arguments '(2156, 'python-for-humans-1', 'sh')' not found. 1 pattern(s) tried: ['main/episode_assets/(?P<episode_id>\\\\w+)/(?P<slug>\\\\w+)\\\\.(?P<mode>\\\\w+)']"), <traceback object at 0x7fd7d3b49800>) |
func | <built-in method run of Context object at 0x7fd7d3cf50c0> |
kwargs | {} |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
parent_set | True |
self | <asgiref.sync.SyncToAsync object at 0x7fd7b99707c0> |
source_task | <Task pending name='Task-5868876' coro=<RequestResponseCycle.run_asgi() running at /home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py:429> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.9/asyncio/futures.py:384, <TaskWakeupMethWrapper object at 0x7fd7b9970c10>()]> cb=[set.discard()]> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/core/handlers/exception.py
, line 43, in inner
can rely on getting a response instead of an exception.
"""
if asyncio.iscoroutinefunction(get_response):
@wraps(get_response)
async def inner(request):
try:
response = await get_response(request)…
except Exception as exc:
response = await sync_to_async(
response_for_exception, thread_sensitive=False
)(request, exc)
return response
Variable | Value |
---|---|
exc | NoReverseMatch("Reverse for 'episode_assets' with arguments '(2156, 'python-for-humans-1', 'sh')' not found. 1 pattern(s) tried: ['main/episode_assets/(?P<episode_id>\\\\w+)/(?P<slug>\\\\w+)\\\\.(?P<mode>\\\\w+)']") |
get_response | <bound method BaseHandler._get_response_async of <django.core.handlers.asgi.ASGIHandler object at 0x7fd7e4678040>> |
request | <ASGIRequest: GET '/main/schedule/89/E/2156/'> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/core/handlers/base.py
, line 253, in _get_response_async
wrapped_callback = self.make_view_atomic(callback)
# If it is a synchronous view, run it in a subthread
if not asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = sync_to_async(
wrapped_callback, thread_sensitive=True
)
try:
response = await wrapped_callback(…
request, *callback_args, **callback_kwargs
)
except Exception as e:
response = await sync_to_async(
self.process_exception_by_middleware,
thread_sensitive=True,
Variable | Value |
---|---|
callback | <function episode at 0x7fd7e3c4fdc0> |
callback_args | () |
callback_kwargs | {'episode_id': '2156'} |
middleware_method | <asgiref.sync.SyncToAsync object at 0x7fd7e4613fa0> |
request | <ASGIRequest: GET '/main/schedule/89/E/2156/'> |
response | None |
self | <django.core.handlers.asgi.ASGIHandler object at 0x7fd7e4678040> |
wrapped_callback | <asgiref.sync.SyncToAsync object at 0x7fd7b9970f70> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/asgiref/sync.py
, line 448, in __call__
self.get_current_task(),
sys.exc_info(),
func,
*args,
**kwargs,
),
)
ret = await asyncio.wait_for(future, timeout=None)…
finally:
_restore_context(context)
if self.deadlock_context:
self.deadlock_context.set(False)
Variable | Value |
---|---|
args | (functools.partial(<function episode at 0x7fd7e3c4fdc0>, <ASGIRequest: GET '/main/schedule/89/E/2156/'>, episode_id='2156'),) |
child | functools.partial(<function episode at 0x7fd7e3c4fdc0>, <ASGIRequest: GET '/main/schedule/89/E/2156/'>, episode_id='2156') |
context | <Context object at 0x7fd7d34f4940> |
executor | <concurrent.futures.thread.ThreadPoolExecutor object at 0x7fd7d2d02670> |
func | <built-in method run of Context object at 0x7fd7d34f4940> |
future | <Future finished exception=NoReverseMatch("Reverse for 'episode_assets' with arguments '(2156, 'python-for-humans-1', 'sh')' not found. 1 pattern(s) tried: ['main/episode_assets/(?P<episode_id>\\\\w+)/(?P<slug>\\\\w+)\\\\.(?P<mode>\\\\w+)']")> |
kwargs | {} |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
self | <asgiref.sync.SyncToAsync object at 0x7fd7b9970f70> |
thread_sensitive_context | <asgiref.sync.ThreadSensitiveContext object at 0x7fd7d0656ac0> |
/usr/lib/python3.9/asyncio/tasks.py
, line 442, in wait_for
loop = events.get_running_loop()
else:
warnings.warn("The loop argument is deprecated since Python 3.8, "
"and scheduled for removal in Python 3.10.",
DeprecationWarning, stacklevel=2)
if timeout is None:
return await fut…
if timeout <= 0:
fut = ensure_future(fut, loop=loop)
if fut.done():
return fut.result()
Variable | Value |
---|---|
fut | <Future finished exception=NoReverseMatch("Reverse for 'episode_assets' with arguments '(2156, 'python-for-humans-1', 'sh')' not found. 1 pattern(s) tried: ['main/episode_assets/(?P<episode_id>\\\\w+)/(?P<slug>\\\\w+)\\\\.(?P<mode>\\\\w+)']")> |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
timeout | None |
/usr/lib/python3.9/concurrent/futures/thread.py
, line 52, in run
self.kwargs = kwargs
def run(self):
if not self.future.set_running_or_notify_cancel():
return
try:
result = self.fn(*self.args, **self.kwargs)…
except BaseException as exc:
self.future.set_exception(exc)
# Break a reference cycle with the exception 'exc'
self = None
else:
self.future.set_result(result)
Variable | Value |
---|---|
self | None |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/asgiref/sync.py
, line 490, in thread_handler
# after raising it so exc_info is correctly populated.
if exc_info[1]:
try:
raise exc_info[1]
except BaseException:
return func(*args, **kwargs)
else:
return func(*args, **kwargs)…
finally:
# Only delete the launch_map parent if we set it, otherwise it is
# from someone else.
if parent_set:
del self.launch_map[current_thread]
Variable | Value |
---|---|
args | (functools.partial(<function episode at 0x7fd7e3c4fdc0>, <ASGIRequest: GET '/main/schedule/89/E/2156/'>, episode_id='2156'),) |
current_thread | <Thread(ThreadPoolExecutor-2934437_0, started 140564506851072)> |
exc_info | (None, None, None) |
func | <built-in method run of Context object at 0x7fd7d34f4940> |
kwargs | {} |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
parent_set | True |
self | <asgiref.sync.SyncToAsync object at 0x7fd7b9970f70> |
source_task | <Task pending name='Task-5868876' coro=<RequestResponseCycle.run_asgi() running at /home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py:429> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.9/asyncio/futures.py:384, <TaskWakeupMethWrapper object at 0x7fd7b9970c10>()]> cb=[set.discard()]> |
/home/videoteam/vipar/dj/main/views.py
, line 2817, in episode
cuts_time_hour = episode.cuts_time()/3600
else:
cuts_time_min = None
cuts_time_hour = None
clrffs = list(zip(cls,chaps,clrfformset.forms))
return render(request, 'episode.html',…
{'episode':episode,
'cuts_time_min': cuts_time_min,
'cuts_time_hour': cuts_time_hour,
'email_eps': email_eps,
'offset':offset,
'chaps':chaps,
Variable | Value |
---|---|
add_cutlist_to_ep | <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)> |
chap | ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))] |
chaps | [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]] |
client | <Client: PSF> |
clrfFormSet | <class 'django.forms.formsets.clrfFormFormSet'> |
clrfformset | <clrfFormFormSet: bound=False valid=Unknown total_forms=4> |
clrffs | [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)] |
cls | <QuerySet [<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>]> |
cut | <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans> |
cuts_time | 1901 |
cuts_time_hour | 0.5280555555555555 |
cuts_time_min | 31 |
edit_key | None |
email_eps | None |
end_chap | (55642, '0:31:41') |
ep_sm | True |
episode | <Episode: Python for Humans> |
episode_form | <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)> |
episode_id | '2156' |
episode_slug | None |
frame_total | 1901 |
init | [{'apply': True, 'cl_comment': '', 'clid': 3398, 'end': '', 'rf_comment': '', 'sequence': 1, 'start': '', 'trash': False}, {'apply': True, 'cl_comment': '', 'clid': 3399, 'end': '', 'rf_comment': '', 'sequence': 2, 'start': '', 'trash': False}, {'apply': False, 'cl_comment': '', 'clid': 3400, 'end': '', 'rf_comment': '', 'sequence': 3, 'start': '', 'trash': False}, {'apply': False, 'cl_comment': '', 'clid': 3401, 'end': '', 'rf_comment': '', 'sequence': 4, 'start': '', 'trash': False}] |
location | <Location: Grand Ballroom GH> |
next_episode | <Episode: Integrating Jython with Java> |
next_rf | <Raw_File: 2013-03-16/17:34:54.dv> |
offset | datetime.timedelta(seconds=42) |
prev_episode | <Episode: Numba: A Dynamic Python compiler for Science> |
request | <ASGIRequest: GET '/main/schedule/89/E/2156/'> |
rf_filename | '2013-03-16/17:34:54.dv' |
rfs | <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]> |
same_dates | True |
seq | 14 |
show | <Show: PSF: Pycon2013> |
start_chap | (55642, '0:31:41') |
talkdate | datetime.date(2013, 3, 16) |
wall_end | datetime.datetime(2013, 3, 16, 17, 9, 47) |
wall_start | datetime.datetime(2013, 3, 16, 17, 9, 47) |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/shortcuts.py
, line 24, in render
def render(
request, template_name, context=None, content_type=None, status=None, using=None
):
"""
Return an HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'cuts_time_hour': 0.5280555555555555, 'cuts_time_min': 31, 'email_eps': None, 'ep_sm': True, 'episode': <Episode: Python for Humans>, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'exts': ['mp4'], 'location': <Location: Grand Ballroom GH>, 'next_episode': <Episode: Integrating Jython with Java>, 'offset': datetime.timedelta(seconds=42), 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'same_dates': True, 'show': <Show: PSF: Pycon2013>} |
request | <ASGIRequest: GET '/main/schedule/89/E/2156/'> |
status | None |
template_name | 'episode.html' |
using | None |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'cuts_time_hour': 0.5280555555555555, 'cuts_time_min': 31, 'email_eps': None, 'ep_sm': True, 'episode': <Episode: Python for Humans>, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'exts': ['mp4'], 'location': <Location: Grand Ballroom GH>, 'next_episode': <Episode: Integrating Jython with Java>, 'offset': datetime.timedelta(seconds=42), 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'same_dates': True, 'show': <Show: PSF: Pycon2013>} |
request | <ASGIRequest: GET '/main/schedule/89/E/2156/'> |
template | <django.template.backends.django.Template object at 0x7fd7b995d700> |
template_name | 'episode.html' |
using | None |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/backends/django.py
, line 61, in render
return self.template.origin
def render(self, context=None, request=None):
context = make_context(
context, request, autoescape=self.backend.engine.autoescape
)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
request | <ASGIRequest: GET '/main/schedule/89/E/2156/'> |
self | <django.template.backends.django.Template object at 0x7fd7b995d700> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 175, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
self | <Template template_string="{# episode.html #}{..."> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
self | <Template template_string="{# episode.html #}{..."> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
self | [<TextNode: '\n'>, <ExtendsNode: extends "base.html">] |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7fd7b9970820> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
node | <ExtendsNode: extends "base.html"> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
self | <ExtendsNode: extends "base.html"> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/loader_tags.py
, line 157, in render
}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = "__include_context"
def __init__(
Variable | Value |
---|---|
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'head': [<Block Node: head. Contents: [<TextNode: '<title>Veyepar: Video eye'>]>, <Block Node: head. Contents: [<TextNode: '\n<link href="//netdna.boo'>, <Variable Node: STATIC_URL>, <TextNode: 'Zoomer/jquery.fs.zoomer.j'>, <Variable Node: STATIC_URL>, <TextNode: 'Zoomer/jquery.fs.zoomer.c'>, <Variable Node: STATIC_URL>, <TextNode: 'css/hideme.css" rel="styl'>, <Variable Node: episode.name>, <TextNode: '</title>\n'>]>], 'content': [<Block Node: content. Contents: [<TextNode: '\n'>]>], 'login': [<Block Node: login. Contents: [<TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"accounts/login_form.html"'>>, <TextNode: '\n'>]>]})> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n'>]>, 'head': <Block Node: head. Contents: [<TextNode: '<title>Veyepar: Video eye'>]>, 'login': <Block Node: login. Contents: [<TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"accounts/login_form.html"'>>, <TextNode: '\n'>]>} |
compiled_parent | <Template template_string="<!doctype html><htm..."> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
node | <Variable Node: STATIC_URL> |
self | <ExtendsNode: extends "base.html"> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
self | <Template template_string="<!doctype html><htm..."> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
self | [<TextNode: '<!doctype html>\n<html xml'>, <Variable Node: STATIC_URL>, <TextNode: 'admin/js/urlify.js"></scr'>, <Variable Node: STATIC_URL>, <TextNode: 'admin/js/vendor/jquery/jq'>, <Variable Node: STATIC_URL>, <TextNode: 'js/vendor/jquery/jquery-u'>, <Variable Node: STATIC_URL>, <TextNode: 'js/login_form.js"></scrip'>, <Variable Node: STATIC_URL>, <TextNode: 'js/fnitize.js"></script>\n'>, <Block Node: head. Contents: [<TextNode: '<title>Veyepar: Video eye'>]>, <TextNode: '\n\n<link rel="stylesheet" '>, <Variable Node: STATIC_URL>, <TextNode: 'admin/css/base.css">\n<lin'>, <Variable Node: STATIC_URL>, <TextNode: 'css/login_form.css">\n<lin'>, <Variable Node: STATIC_URL>, <TextNode: 'css/main.css">\n<link rel='>, <Variable Node: STATIC_URL>, <TextNode: 'css/jquery-ui.min.css">\n\n'>, <Block Node: login. Contents: [<TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"accounts/login_form.html"'>>, <TextNode: '\n'>]>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n'>, <Block Node: content. Contents: [<TextNode: '\n'>]>, <TextNode: '\n\n<hr>\n<p><a href="http:/'>] |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7fd7b9970a00> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
node | <Block Node: content. Contents: [<TextNode: '\n'>]> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
self | <Block Node: content. Contents: [<TextNode: '\n'>]> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/loader_tags.py
, line 63, in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context["block"] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, "context"):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\nName: <b>'>, <Variable Node: episode.name>, <TextNode: '</b><br>\n\n--client <a hre'>, <URLNode view_name='"client"' args=[<FilterExpression 'client.slug'>] kwargs={} as=None>, <TextNode: '">'>, <Variable Node: client.slug>, <TextNode: '</a>\n--show <a href="'>, <URLNode view_name='"episode_list"' args=[<FilterExpression 'client.slug'>, <FilterExpression 'show.slug'>] kwargs={} as=None>, <TextNode: '">'>, <Variable Node: show.slug>, <TextNode: '</a> --room '>, <Variable Node: episode.location.slug>, <TextNode: ' '>, <Variable Node: episode.id>, <TextNode: ' --force\n<br>\n\n'>, <IfNode>, <TextNode: '\n<br>\n'>, <IfNode>, <TextNode: '\n<br>\n\n<form method="post'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fd7e289b6a0>, <TextNode: '\n\n<input type="checkbox" '>, <Variable Node: ep_sm|yesno:"checked=checked,">, <TextNode: '> <label class="ep-summar'>, <Variable Node: episode.authors>, <TextNode: ' </td><td></td><td></td><'>, <URLNode view_name='"admin:main_location_change"' args=[<FilterExpression 'location.id'>] kwargs={} as=None>, <TextNode: '">'>, <Variable Node: episode.location>, <TextNode: '</a></td><td>'>, <Variable Node: episode.location.channelcopy>, <TextNode: '</td>\n</tr>\n<tr><td>Date<'>, <URLNode view_name='"episode_list"' args=[] kwargs={'client_slug': <FilterExpression 'client.slug'>, 'show_slug': <FilterExpression 'show.slug'>} as=None>, <TextNode: '?client='>, <Variable Node: client.slug>, <TextNode: '&show='>, <Variable Node: show.slug>, <TextNode: '&location_slug='>, <Variable Node: episode.location.slug>, <TextNode: '&date='>, <Variable Node: episode.start|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: episode.start|date:"b D d">, <TextNode: '</a></td>\n <td> <a hre'>, <URLNode view_name='"rf_set"' args=[<FilterExpression 'episode.location.slug'>] kwargs={} as=None>, <TextNode: '?start_date='>, <Variable Node: episode.start|date:"Y-m-d">, <TextNode: '">Days Raw Files</a> </td'>, <IfNode>, <TextNode: '</td>\n<td>First Raw Start'>, <IfNode>, <TextNode: '</td></tr>\n<tr>\n<td>Durat'>, <Variable Node: episode.duration>, <TextNode: '</td>\n<td>Offset</td><td>'>, <Variable Node: offset>, <TextNode: '</td>\n\n</tr>\n<tr><td>End<'>, <IfNode>, <TextNode: ' </td>\n<td>Last Raw End</'>, <WithNode>, <TextNode: '\n</tr>\n<tr>\n <td><a hr'>, <URLNode view_name='"episode_chaps"' args=[<FilterExpression 'episode.id'>] kwargs={} as=None>, <TextNode: '">Chapters</a></td> <td>\n'>, <ForNode: for chap in chaps, tail_len: 3>, <TextNode: '\n </td>\n</tr>\n<tr>\n '>, <Variable Node: cuts_time_min>, <TextNode: ' min.</td>\n</tr>\n\n</tbody'>, <IfNode>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n<a href="'>, <URLNode view_name='"raw_list"' args=[<FilterExpression 'episode.id'>] kwargs={} as=None>, <Variable Node: episode.slug>, <TextNode: '.m3u">raw-playlist</a>\n '>, <ForNode: for ext in exts, tail_len: 10>, <TextNode: '\n\n<a href="'>, <URLNode view_name='"public_play_list"' args=[] kwargs={} as=None>, <Variable Node: episode.slug>, <TextNode: '.m3u?id='>, <Variable Node: episode.id>, <TextNode: '">encoded-files-playlist<'>, <IfNode>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n'>, <IfNode>, <TextNode: '\n'>, <IfNode>, <TextNode: '\n\n '>, <ForNode: for ext in exts, tail_len: 15>, <TextNode: '\n\n\n<a href="'>, <Variable Node: MEDIA_URL>, <TextNode: '/'>, <Variable Node: client.slug>, <TextNode: '/'>, <Variable Node: show.slug>, <TextNode: '/titles/'>, <Variable Node: episode.slug>, <TextNode: '.svg"> svg</a>\n<a href="'>, <Variable Node: MEDIA_URL>, <TextNode: '/'>, <Variable Node: client.slug>, <TextNode: '/'>, <Variable Node: show.slug>, <TextNode: '/titles/'>, <Variable Node: episode.slug>, <TextNode: '.png"> png</a><br>\n\n '>, <IfNode>, <TextNode: '\n >\n '>, <ForNode: for ext in exts, tail_len: 15>, <TextNode: '\n </video>\n\n '>, <ForNode: for ext in exts, tail_len: 20>, <TextNode: '\n\n<a href="'>, <URLNode view_name='"episode_assets"' args=[<FilterExp… <trimmed 7434 bytes string> |
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'head': [<Block Node: head. Contents: [<TextNode: '<title>Veyepar: Video eye'>]>, <Block Node: head. Contents: [<TextNode: '\n<link href="//netdna.boo'>, <Variable Node: STATIC_URL>, <TextNode: 'Zoomer/jquery.fs.zoomer.j'>, <Variable Node: STATIC_URL>, <TextNode: 'Zoomer/jquery.fs.zoomer.c'>, <Variable Node: STATIC_URL>, <TextNode: 'css/hideme.css" rel="styl'>, <Variable Node: episode.name>, <TextNode: '</title>\n'>]>], 'content': [<Block Node: content. Contents: [<TextNode: '\n'>]>], 'login': [<Block Node: login. Contents: [<TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"accounts/login_form.html"'>>, <TextNode: '\n'>]>]})> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
push | <Block Node: content. Contents: [<TextNode: '\nName: <b>'>, <Variable Node: episode.name>, <TextNode: '</b><br>\n\n--client <a hre'>, <URLNode view_name='"client"' args=[<FilterExpression 'client.slug'>] kwargs={} as=None>, <TextNode: '">'>, <Variable Node: client.slug>, <TextNode: '</a>\n--show <a href="'>, <URLNode view_name='"episode_list"' args=[<FilterExpression 'client.slug'>, <FilterExpression 'show.slug'>] kwargs={} as=None>, <TextNode: '">'>, <Variable Node: show.slug>, <TextNode: '</a> --room '>, <Variable Node: episode.location.slug>, <TextNode: ' '>, <Variable Node: episode.id>, <TextNode: ' --force\n<br>\n\n'>, <IfNode>, <TextNode: '\n<br>\n'>, <IfNode>, <TextNode: '\n<br>\n\n<form method="post'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fd7e289b6a0>, <TextNode: '\n\n<input type="checkbox" '>, <Variable Node: ep_sm|yesno:"checked=checked,">, <TextNode: '> <label class="ep-summar'>, <Variable Node: episode.authors>, <TextNode: ' </td><td></td><td></td><'>, <URLNode view_name='"admin:main_location_change"' args=[<FilterExpression 'location.id'>] kwargs={} as=None>, <TextNode: '">'>, <Variable Node: episode.location>, <TextNode: '</a></td><td>'>, <Variable Node: episode.location.channelcopy>, <TextNode: '</td>\n</tr>\n<tr><td>Date<'>, <URLNode view_name='"episode_list"' args=[] kwargs={'client_slug': <FilterExpression 'client.slug'>, 'show_slug': <FilterExpression 'show.slug'>} as=None>, <TextNode: '?client='>, <Variable Node: client.slug>, <TextNode: '&show='>, <Variable Node: show.slug>, <TextNode: '&location_slug='>, <Variable Node: episode.location.slug>, <TextNode: '&date='>, <Variable Node: episode.start|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: episode.start|date:"b D d">, <TextNode: '</a></td>\n <td> <a hre'>, <URLNode view_name='"rf_set"' args=[<FilterExpression 'episode.location.slug'>] kwargs={} as=None>, <TextNode: '?start_date='>, <Variable Node: episode.start|date:"Y-m-d">, <TextNode: '">Days Raw Files</a> </td'>, <IfNode>, <TextNode: '</td>\n<td>First Raw Start'>, <IfNode>, <TextNode: '</td></tr>\n<tr>\n<td>Durat'>, <Variable Node: episode.duration>, <TextNode: '</td>\n<td>Offset</td><td>'>, <Variable Node: offset>, <TextNode: '</td>\n\n</tr>\n<tr><td>End<'>, <IfNode>, <TextNode: ' </td>\n<td>Last Raw End</'>, <WithNode>, <TextNode: '\n</tr>\n<tr>\n <td><a hr'>, <URLNode view_name='"episode_chaps"' args=[<FilterExpression 'episode.id'>] kwargs={} as=None>, <TextNode: '">Chapters</a></td> <td>\n'>, <ForNode: for chap in chaps, tail_len: 3>, <TextNode: '\n </td>\n</tr>\n<tr>\n '>, <Variable Node: cuts_time_min>, <TextNode: ' min.</td>\n</tr>\n\n</tbody'>, <IfNode>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n<a href="'>, <URLNode view_name='"raw_list"' args=[<FilterExpression 'episode.id'>] kwargs={} as=None>, <Variable Node: episode.slug>, <TextNode: '.m3u">raw-playlist</a>\n '>, <ForNode: for ext in exts, tail_len: 10>, <TextNode: '\n\n<a href="'>, <URLNode view_name='"public_play_list"' args=[] kwargs={} as=None>, <Variable Node: episode.slug>, <TextNode: '.m3u?id='>, <Variable Node: episode.id>, <TextNode: '">encoded-files-playlist<'>, <IfNode>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n'>, <IfNode>, <TextNode: '\n'>, <IfNode>, <TextNode: '\n\n '>, <ForNode: for ext in exts, tail_len: 15>, <TextNode: '\n\n\n<a href="'>, <Variable Node: MEDIA_URL>, <TextNode: '/'>, <Variable Node: client.slug>, <TextNode: '/'>, <Variable Node: show.slug>, <TextNode: '/titles/'>, <Variable Node: episode.slug>, <TextNode: '.svg"> svg</a>\n<a href="'>, <Variable Node: MEDIA_URL>, <TextNode: '/'>, <Variable Node: client.slug>, <TextNode: '/'>, <Variable Node: show.slug>, <TextNode: '/titles/'>, <Variable Node: episode.slug>, <TextNode: '.png"> png</a><br>\n\n '>, <IfNode>, <TextNode: '\n >\n '>, <ForNode: for ext in exts, tail_len: 15>, <TextNode: '\n </video>\n\n '>, <ForNode: for ext in exts, tail_len: 20>, <TextNode: '\n\n<a href="'>, <URLNode view_name='"episode_assets"' args=[<FilterExp… <trimmed 7434 bytes string> |
self | <Block Node: content. Contents: [<TextNode: '\n'>]> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
self | [<TextNode: '\nName: <b>'>, <Variable Node: episode.name>, <TextNode: '</b><br>\n\n--client <a hre'>, <URLNode view_name='"client"' args=[<FilterExpression 'client.slug'>] kwargs={} as=None>, <TextNode: '">'>, <Variable Node: client.slug>, <TextNode: '</a>\n--show <a href="'>, <URLNode view_name='"episode_list"' args=[<FilterExpression 'client.slug'>, <FilterExpression 'show.slug'>] kwargs={} as=None>, <TextNode: '">'>, <Variable Node: show.slug>, <TextNode: '</a> --room '>, <Variable Node: episode.location.slug>, <TextNode: ' '>, <Variable Node: episode.id>, <TextNode: ' --force\n<br>\n\n'>, <IfNode>, <TextNode: '\n<br>\n'>, <IfNode>, <TextNode: '\n<br>\n\n<form method="post'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fd7e289b6a0>, <TextNode: '\n\n<input type="checkbox" '>, <Variable Node: ep_sm|yesno:"checked=checked,">, <TextNode: '> <label class="ep-summar'>, <Variable Node: episode.authors>, <TextNode: ' </td><td></td><td></td><'>, <URLNode view_name='"admin:main_location_change"' args=[<FilterExpression 'location.id'>] kwargs={} as=None>, <TextNode: '">'>, <Variable Node: episode.location>, <TextNode: '</a></td><td>'>, <Variable Node: episode.location.channelcopy>, <TextNode: '</td>\n</tr>\n<tr><td>Date<'>, <URLNode view_name='"episode_list"' args=[] kwargs={'client_slug': <FilterExpression 'client.slug'>, 'show_slug': <FilterExpression 'show.slug'>} as=None>, <TextNode: '?client='>, <Variable Node: client.slug>, <TextNode: '&show='>, <Variable Node: show.slug>, <TextNode: '&location_slug='>, <Variable Node: episode.location.slug>, <TextNode: '&date='>, <Variable Node: episode.start|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: episode.start|date:"b D d">, <TextNode: '</a></td>\n <td> <a hre'>, <URLNode view_name='"rf_set"' args=[<FilterExpression 'episode.location.slug'>] kwargs={} as=None>, <TextNode: '?start_date='>, <Variable Node: episode.start|date:"Y-m-d">, <TextNode: '">Days Raw Files</a> </td'>, <IfNode>, <TextNode: '</td>\n<td>First Raw Start'>, <IfNode>, <TextNode: '</td></tr>\n<tr>\n<td>Durat'>, <Variable Node: episode.duration>, <TextNode: '</td>\n<td>Offset</td><td>'>, <Variable Node: offset>, <TextNode: '</td>\n\n</tr>\n<tr><td>End<'>, <IfNode>, <TextNode: ' </td>\n<td>Last Raw End</'>, <WithNode>, <TextNode: '\n</tr>\n<tr>\n <td><a hr'>, <URLNode view_name='"episode_chaps"' args=[<FilterExpression 'episode.id'>] kwargs={} as=None>, <TextNode: '">Chapters</a></td> <td>\n'>, <ForNode: for chap in chaps, tail_len: 3>, <TextNode: '\n </td>\n</tr>\n<tr>\n '>, <Variable Node: cuts_time_min>, <TextNode: ' min.</td>\n</tr>\n\n</tbody'>, <IfNode>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n<a href="'>, <URLNode view_name='"raw_list"' args=[<FilterExpression 'episode.id'>] kwargs={} as=None>, <Variable Node: episode.slug>, <TextNode: '.m3u">raw-playlist</a>\n '>, <ForNode: for ext in exts, tail_len: 10>, <TextNode: '\n\n<a href="'>, <URLNode view_name='"public_play_list"' args=[] kwargs={} as=None>, <Variable Node: episode.slug>, <TextNode: '.m3u?id='>, <Variable Node: episode.id>, <TextNode: '">encoded-files-playlist<'>, <IfNode>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n'>, <IfNode>, <TextNode: '\n'>, <IfNode>, <TextNode: '\n\n '>, <ForNode: for ext in exts, tail_len: 15>, <TextNode: '\n\n\n<a href="'>, <Variable Node: MEDIA_URL>, <TextNode: '/'>, <Variable Node: client.slug>, <TextNode: '/'>, <Variable Node: show.slug>, <TextNode: '/titles/'>, <Variable Node: episode.slug>, <TextNode: '.svg"> svg</a>\n<a href="'>, <Variable Node: MEDIA_URL>, <TextNode: '/'>, <Variable Node: client.slug>, <TextNode: '/'>, <Variable Node: show.slug>, <TextNode: '/titles/'>, <Variable Node: episode.slug>, <TextNode: '.png"> png</a><br>\n\n '>, <IfNode>, <TextNode: '\n >\n '>, <ForNode: for ext in exts, tail_len: 15>, <TextNode: '\n </video>\n\n '>, <ForNode: for ext in exts, tail_len: 20>, <Te… <trimmed 7586 bytes string> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7fd7b9970ac0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
node | <URLNode view_name='"episode_assets"' args=[<FilterExpression 'episode.id'>, <FilterExpression 'episode.slug'>, <FilterExpression '"sh"'>] kwargs={} as=None> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
self | <URLNode view_name='"episode_assets"' args=[<FilterExpression 'episode.id'>, <FilterExpression 'episode.slug'>, <FilterExpression '"sh"'>] kwargs={} as=None> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/defaulttags.py
, line 471, in render
current_app = context.request.resolver_match.namespace
except AttributeError:
current_app = None
# Try to look up the URL. If it fails, raise NoReverseMatch unless the
# {% url ... as var %} construct is used, in which case return nothing.
url = ""
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)…
except NoReverseMatch:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
NoReverseMatch | <class 'django.urls.exceptions.NoReverseMatch'> |
args | [2156, 'python-for-humans-1', 'sh'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'episode': <Episode: Python for Humans>, 'cuts_time_min': 31, 'cuts_time_hour': 0.5280555555555555, 'email_eps': None, 'offset': datetime.timedelta(seconds=42), 'chaps': [[(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))]], 'client': <Client: PSF>, 'show': <Show: PSF: Pycon2013>, 'location': <Location: Grand Ballroom GH>, 'prev_episode': <Episode: Numba: A Dynamic Python compiler for Science>, 'next_episode': <Episode: Integrating Jython with Java>, 'same_dates': True, 'episode_form': <Episode_Form_small bound=False, valid=Unknown, fields=(state;locked;locked_by;start;duration;name;emails;released;normalise;channelcopy;thumbnail;description;comment)>, 'ep_sm': True, 'rfs': <QuerySet [<Raw_File: 2013-03-16/16:29:18.dv>, <Raw_File: 2013-03-16/16:51:40.dv>, <Raw_File: 2013-03-16/17:01:00.dv>, <Raw_File: 2013-03-16/17:09:47.dv>]>, 'clrffs': [(<Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, [(0, '00:00'), (39251, '0:22:21'), <Cut_List: 2013-03-16/16:29:18.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 29, 18), datetime.datetime(2013, 3, 16, 16, 29, 18))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, [(39251, '0:22:21'), (55642, '0:31:41'), <Cut_List: 2013-03-16/16:51:40.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 16, 51, 40), datetime.datetime(2013, 3, 16, 16, 51, 40))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:01:00.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 1), datetime.datetime(2013, 3, 16, 17, 1))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>), (<Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, ['', '', <Cut_List: 2013-03-16/17:09:47.dv - Python for Humans>, (datetime.datetime(2013, 3, 16, 17, 9, 47), datetime.datetime(2013, 3, 16, 17, 9, 47))], <clrfForm bound=False, valid=Unknown, fields=(clid;trash;apply;split;sequence;start;end;rf_comment;cl_comment)>)], 'clrfformset': <clrfFormFormSet: bound=False valid=Unknown total_forms=4>, 'add_cutlist_to_ep': <Add_CutList_to_Ep bound=False, valid=Unknown, fields=(rf_filename;sequence;getit)>, 'exts': ['mp4']}] |
current_app | '' |
kwargs | {} |
reverse | <function reverse at 0x7fd7e62935e0> |
self | <URLNode view_name='"episode_assets"' args=[<FilterExpression 'episode.id'>, <FilterExpression 'episode.slug'>, <FilterExpression '"sh"'>] kwargs={} as=None> |
url | '' |
view_name | 'episode_assets' |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/urls/base.py
, line 88, in reverse
else:
raise NoReverseMatch("%s is not a registered namespace" % key)
if ns_pattern:
resolver = get_ns_resolver(
ns_pattern, resolver, tuple(ns_converters.items())
)
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)…
reverse_lazy = lazy(reverse, str)
def clear_url_caches():
Variable | Value |
---|---|
args | [2156, 'python-for-humans-1', 'sh'] |
current_app | '' |
current_path | None |
kwargs | {} |
ns_converters | {} |
ns_pattern | '' |
path | [] |
prefix | '/' |
resolved_path | [] |
resolver | <URLResolver 'dj.urls' (None:None) '^/'> |
urlconf | 'dj.urls' |
view | 'episode_assets' |
viewname | 'episode_assets' |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/urls/resolvers.py
, line 828, in _reverse_with_prefix
patterns,
)
else:
msg = (
"Reverse for '%(view)s' not found. '%(view)s' is not "
"a valid view function or pattern name." % {"view": lookup_view_s}
)
raise NoReverseMatch(msg)…
Variable | Value |
---|---|
_prefix | '/' |
arg_msg | "arguments '(2156, 'python-for-humans-1', 'sh')'" |
args | (2156, 'python-for-humans-1', 'sh') |
candidate_pat | '/main/episode_assets/%(episode_id)s/%(slug)s.%(mode)s' |
candidate_subs | {'episode_id': 2156, 'mode': 'sh', 'slug': 'python-for-humans-1'} |
converters | {} |
defaults | {} |
k | 'mode' |
kwargs | {} |
lookup_view | 'episode_assets' |
lookup_view_s | 'episode_assets' |
m | None |
match | True |
msg | ("Reverse for 'episode_assets' with arguments '(2156, 'python-for-humans-1', " "'sh')' not found. 1 pattern(s) tried: " "['main/episode_assets/(?P<episode_id>\\\\w+)/(?P<slug>\\\\w+)\\\\.(?P<mode>\\\\w+)']") |
n | None |
params | ['episode_id', 'slug', 'mode'] |
pattern | 'main/episode_assets/(?P<episode_id>\\w+)/(?P<slug>\\w+)\\.(?P<mode>\\w+)' |
patterns | ['main/episode_assets/(?P<episode_id>\\w+)/(?P<slug>\\w+)\\.(?P<mode>\\w+)'] |
possibilities | [([('main/episode_assets/%(episode_id)s/%(slug)s.%(mode)s', ['episode_id', 'slug', 'mode'])], 'main/episode_assets/(?P<episode_id>\\w+)/(?P<slug>\\w+)\\.(?P<mode>\\w+)', {}, {})] |
possibility | [('main/episode_assets/%(episode_id)s/%(slug)s.%(mode)s', ['episode_id', 'slug', 'mode'])] |
result | 'main/episode_assets/%(episode_id)s/%(slug)s.%(mode)s' |
self | <URLResolver 'dj.urls' (None:None) '^/'> |
text_candidate_subs | {'episode_id': '2156', 'mode': 'sh', 'slug': 'python-for-humans-1'} |
v | 'sh' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CSRF_COOKIE | '9m36ZurddraDXtltgKFQSGAZXNKznYqy' |
CSRF_COOKIE_NEEDS_UPDATE | True |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'veyepar.nextdayvideo.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.237.65.102' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '3.237.65.102' |
PATH_INFO | '/main/schedule/89/E/2156/' |
QUERY_STRING | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'unknown' |
SERVER_PORT | '0' |
wsgi.multiprocess | True |
wsgi.multithread | True |
dj.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | () |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
ALLOWED_HOSTS | ['veyepar.nextdayvideo.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/home/videoteam/vipar/dj') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_MASKED | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | ['https://veyepar.nextdayvideo.com'] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'veyepar', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_NAME': None, 'TIME_ZONE': None, 'USER': 'veyepar'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATA_UPLOAD_MAX_NUMBER_FILES | 100 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.BigAutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GOOG_CLIENT_SECRET | '********************' |
GOOG_REDIRECT_URL | 'https://veyepar.nextdayvideo.com/googauth/redirect/' |
GOOG_SCOPES | ['openid', 'https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/youtube.force-ssl'] |
GOOG_TOKEN | '********************' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.staticfiles', 'main', 'accounts', 'volunteers', 'rest_framework', 'api', 'django_extensions', 'googauth') |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('ms', 'Malay'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | () |
MEDIA_ROOT | '' |
MEDIA_URL | 'https://veyepar.nextdayvideo.com/Videos/veyepar/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.common.CommonMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
REST_FRAMEWORK | {'DEFAULT_MODEL_SERIALIZER_CLASS': 'rest_framework.serializers.HyperlinkedModelSerializer', 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly']} |
ROOT_URLCONF | 'dj.urls' |
SECRETS_DIR | '********************' |
SECRET_KEY | '********************' |
SECRET_KEY_FALLBACKS | '********************' |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'dj.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/srv/www/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.request'], 'debug': True, 'string_if_invalid': 'error-in-template'}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'America/Chicago' |
UPLOAD_FORMATS | ['mp4'] |
USE_DEPRECATED_PYTZ | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
VALIDATOR_APP_VALIDATORS | {'application/xml+xhtml': '/usr/bin/validate', 'text/html': '/usr/bin/validate'} |
WSGI_APPLICATION | None |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | 'F Y' |
You’re seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.