-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug_output.txt
More file actions
86 lines (83 loc) · 8.35 KB
/
debug_output.txt
File metadata and controls
86 lines (83 loc) · 8.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
venv\Scripts\python.exe : Traceback (most recent call last):
No linha:1 caractere:1
+ venv\Scripts\python.exe debug_template.py > debug_output.txt 2>&1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Traceback (most recent call
last)::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'endblock'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Usuario\Projetos\OptionsManager\debug_template.py", line
24, in <module>
Template(template_content)
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\loader_tags.py", line 232, in do_block
nodelist = parser.parse(("endblock",))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\defaulttags.py", line 967, in do_if
nodelist = parser.parse(("endif",))
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\defaulttags.py", line 967, in do_if
nodelist = parser.parse(("endif",))
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\Usuario\Projetos\OptionsManager\venv\Lib\site-packages\dj
ango\template\base.py", line 558, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line
314: 'endblock', expected 'endif'. Did you forget to register or load
this tag?
Template compilation failed: Invalid block tag on line 314: 'endblock', expected 'endif'. Did you forget to register or load this tag?
Stats:
IF: 21, ELIF: 7, ELSE: 9, ENDIF: 21
FOR: 3, ENDFOR: 3
BLOCK: 3, ENDBLOCK: 3