Skip to content

Compilescss failed with a lot of "non sense" errors #155

@JustDevZero

Description

@JustDevZero

When I try to run compilescss it just explodes with a bunch of errors, i'm trying to add an ipdb in order to find where it's exploding but i ind in a almost endless loop in walk_nodes method.


Error parsing template /home/django_project/virtualenv/lib/python3.7/site-packages/my_resources_cms/templates/custom_plugins/subs_newsletter/sub_newsletter.html: 'NoneType' object has no attribute 'engine'

Error parsing template /home/django_project/virtualenv/lib/python3.7/site-packages/aldryn_newsblog/templates/aldryn_newsblog/article_detail.html: Invalid template name in 'extends' tag: ''. Got this from the 'CMS_TEMPLATE' variable.

Error parsing template /home/django_project/virtualenv/lib/python3.7/site-packages/adminsortable/templates/adminsortable/change_form.html: Invalid template name in 'extends' tag: ''. Got this from the 'change_form_template_extends' variable.


The content using the sass_src is like this on the first one:


{% addtoblock "css" %}
    {% custom_sass_src 'default/sub_newsletter/sub_newsletter.scss' as scss %}
    <link rel="stylesheet" type="text/css" href="{% sass_src scss %}" >
{% endaddtoblock %}


Where custom_sass_src basically builds a different, given some data on the database.

But then, it also happends the " 'NoneType' object has no attribute 'engine'" error on files that even had no sass_src tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions