Skip to content

IndentationError: expected an indented block on updating to 2.9.3 #651

@Garito

Description

@Garito
Traceback (most recent call last):
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1994, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask_debugtoolbar/__init__.py", line 125, in dispatch_request
    return view_func(**req.view_args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cProfile.py", line 149, in runcall
    return func(*args, **kw)
  File "/Users/garito/TimeFounder/App/0.3/TimeFounder/__init__.py", line 491, in tree
    method = getattr(obj, action)
  File "/Users/garito/TimeFounder/App/0.3/TimeFounder/paper.py", line 42, in __getattr__
    return getattr(self, runner["method"])(runner["runner"], name)
  File "/Users/garito/TimeFounder/App/0.3/TimeFounder/paper.py", line 322, in run_view
    runned = runner(context)
  File "/Users/garito/TimeFounder/App/0.3/TimeFounder/runner.py", line 75, in __call__
    result = getattr(self, deal)(node, context) if deal else self._noDeal(node, context)
  File "/Users/garito/TimeFounder/App/0.3/TimeFounder/runner.py", line 349, in Factory
    return getattr(model, action)
  File "/Users/garito/TimeFounder/App/0.3/TimeFounder/paper.py", line 42, in __getattr__
    return getattr(self, runner["method"])(runner["runner"], name)
  File "/Users/garito/TimeFounder/App/0.3/TimeFounder/paper.py", line 343, in run_view
    return self.run_form(runner, runned, preRun, context, name, security)
  File "/Users/garito/TimeFounder/App/0.3/TimeFounder/paper.py", line 489, in run_form
    result = current_app.jinja_env.get_template("stepsForm.html" if hasattr(form, "tfGroups") and form.tfGroups else "simpleForm.html")
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/jinja2/environment.py", line 830, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/jinja2/environment.py", line 804, in _load_template
    template = self.loader.load(self, name, globals)
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/jinja2/loaders.py", line 125, in load
    code = environment.compile(source, name, filename)
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/jinja2/environment.py", line 588, in compile
    return self._compile(source, filename)
  File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/jinja2/environment.py", line 551, in _compile
    return compile(source, filename, 'exec')
File "/Users/garito/TimeFounder/App/0.3/TimeFounder/templates/stepsForm.html", line 57
    if ('csss' in (undefined(name='assets') if l_0_assets is missing else l_0_assets) and environment.getitem((undefined(name='assets') if l_0_assets is missing else l_0_assets), 'csss')):
     ^
IndentationError: expected an indented block

This traceback is from an error that appeared after updating to version 2.9.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions