rubenespadas / DionaeaFR

Dionaea Front Web
66 stars 27 forks source link

TemplateSyntaxError at /connections/ #34

Open harryharryharry opened 8 years ago

harryharryharry commented 8 years ago

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 commented 8 years ago

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

harryharryharry commented 8 years ago

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 commented 8 years ago

Hi harryharryharry,

Thank you, I will try this asap.

Regards, Adam

On 19 October 2016 at 21:36, harryharryharry notifications@github.com 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 https://github.com/rubenespadas/DionaeaFR/issues/34#issuecomment-254832004, or mute the thread https://github.com/notifications/unsubscribe-auth/AScYEyIHy_fnm5dS4-nqp8gZrG9rxdbsks5q1irTgaJpZM4H3WwC .

adamfdl commented 8 years ago

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 notifications@github.com 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 https://github.com/rubenespadas/DionaeaFR/issues/34#issuecomment-254832004, or mute the thread https://github.com/notifications/unsubscribe-auth/AScYEyIHy_fnm5dS4-nqp8gZrG9rxdbsks5q1irTgaJpZM4H3WwC .