Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TemplateSyntaxError at /connections/ #34

Open
harryharryharry opened this issue Mar 23, 2016 · 4 comments
Open

TemplateSyntaxError at /connections/ #34

harryharryharry opened this issue Mar 23, 2016 · 4 comments

Comments

@harryharryharry
Copy link

I have an issue when opening the connections and downloads pages. The rest of the pages work as usual, but these two throw up an error:

TemplateSyntaxError at /connections/
Invalid block tag: 'nospaceless', expected 'endblock'
Request Method: GET
Request URL: http://192.168.2.8:8000/connections/
Django Version: 1.8.11
Exception Type: TemplateSyntaxError
Exception Value:
Invalid block tag: 'nospaceless', expected 'endblock'
Exception Location: /usr/local/lib/python2.7/dist-packages/django/template/base.py in invalid_block_tag, line 395
Python Executable: /usr/bin/python
Python Version: 2.7.9
Python Path:
['/opt/DionaeaFR',
'/usr/local/lib/python2.7/dist-packages/pysubnettree-0.24_7-py2.7-linux-armv7l.egg',
'/usr/local/lib/python2.7/dist-packages/django_tables2_simplefilter-0.1-py2.7.egg',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-arm-linux-gnueabihf',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages']
Server time: Wed, 23 Mar 2016 18:25:48 +0000

@adamfdl
Copy link

adamfdl commented Oct 10, 2016

i have the same issue, does any one have solutions?

@harryharryharry
Copy link
Author

harryharryharry commented Oct 19, 2016

I just found a solution here:
http://stackoverflow.com/questions/37904382/error-during-template-rendering-invalid-block-tag-nospaceless

( tl;dr: remove all instances of {% nospaceless %} and {% endnospaceless %} from /opt/DionaeaFR/DionaeaFR/Templates/table.html )

@adamfdl
Copy link

adamfdl commented Oct 20, 2016

Hi harryharryharry,

Thank you, I will try this asap.

Regards,
Adam

On 19 October 2016 at 21:36, harryharryharry [email protected]
wrote:

I found a solution here:
http://stackoverflow.com/questions/37904382/error-
during-template-rendering-invalid-block-tag-nospaceless

( tl;dr: remove all instances of {% nospaceless %} and {%
endnospaceless %}
from /opt/DionaeaFR/DionaeaFR/Templates/table.html )


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#34 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AScYEyIHy_fnm5dS4-nqp8gZrG9rxdbsks5q1irTgaJpZM4H3WwC
.

@adamfdl
Copy link

adamfdl commented Oct 25, 2016

Hi harryharryharry,

Just want to let you know, that the solution that you gave worked perfectly.

Regards,
Adam

On 19 October 2016 at 21:36, harryharryharry [email protected]
wrote:

I found a solution here:
http://stackoverflow.com/questions/37904382/error-
during-template-rendering-invalid-block-tag-nospaceless

( tl;dr: remove all instances of {% nospaceless %} and {%
endnospaceless %}
from /opt/DionaeaFR/DionaeaFR/Templates/table.html )


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#34 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AScYEyIHy_fnm5dS4-nqp8gZrG9rxdbsks5q1irTgaJpZM4H3WwC
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants