Project

General

Profile

Bug #20139

Avatar?id=14398&size=50x50

Tracback when running New Install Wizard with updated Django

Added by Kris Moore over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
No priority
Assignee:
Marcelo Araujo
Category:
GUI (new)
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Looks like some more django update fallout

Environment:

Software Version: FreeNAS-9.10-MASTER-201701101502 (e40657a)
Request Method: POST
Request URL: http://10.20.1.226/system/wizard/

Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
217. response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
215. response = response.render()
File "/usr/local/lib/python2.7/site-packages/django/template/response.py" in render
109. self.content = self.rendered_content
File "/usr/local/lib/python2.7/site-packages/django/template/response.py" in rendered_content
84. template = self.resolve_template(self.template_name)
File "/usr/local/lib/python2.7/site-packages/django/template/response.py" in resolve_template
66. return select_template(template, using=self.using)
File "/usr/local/lib/python2.7/site-packages/django/template/loader.py" in select_template
48. return engine.get_template(template_name)
File "/usr/local/lib/python2.7/site-packages/django/template/backends/django.py" in get_template
39. return Template(self.engine.get_template(template_name), self)
File "/usr/local/lib/python2.7/site-packages/django/template/engine.py" in get_template
160. template, origin = self.find_template(template_name)
File "/usr/local/lib/python2.7/site-packages/django/template/engine.py" in find_template
134. name, template_dirs=dirs, skip=skip,
File "/usr/local/lib/python2.7/site-packages/django/template/loaders/base.py" in get_template
44. contents, origin, origin.template_name, self.engine,
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in init
191. self.nodelist = self.compile_nodelist()
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in compile_nodelist
233. return parser.parse()
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in parse
518. raise self.error(token, e)

Exception Type: TemplateSyntaxError at /system/wizard/
Exception Value: Could not parse the remainder: '=' from '='


Subtasks

Bug #20146: traceback when using wizard on FreeNAS-9.10-MASTER-201701101402 (4d6f6ef)Closed: DuplicateKris Moore

Associated revisions

Revision 2b268b40 (diff)
Added by Marcelo Araujo over 4 years ago

fix(gui) template syntax '=' has changed with new django, now it is '=='. Ticket: #20139

History

#1 Updated by Marcelo Araujo over 4 years ago

  • Status changed from Unscreened to Screened

#2 Updated by Marcelo Araujo over 4 years ago

  • Status changed from Screened to 15

Patch committed at MASTER branch, could you test it again? On my test-bed worked fine, doesn't hurt a double test.

The volume manager must appears on wizard now.

Test Procedure:
1) Destroy all volumes.
2) Run the Wizard, now it must ask to import a volume(in case you didn't clean while destroying the volumes) or will ask to create a new volume.

Best,

#3 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Status changed from 15 to Resolved

Yep, this works great! Marking as resolved

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Target version changed from 9.10.3 to 11.0

#6 Updated by Vaibhav Chauhan about 4 years ago

  • Target version changed from 11.0 to 11.0-RC

Also available in: Atom PDF