oTree Forum >

TemplateSyntaxError: All content must be inside a block tag (line 1, in "<html>")

#1 by rumen111

Hello. 

When I run otree devserver in powershell, I get the following error: TemplateSyntaxError: All content must be inside a block tag (line 1, in "<html>").

A similar problem has been handled by removing BOM from the file (https://groups.google.com/g/otree/c/z9cDSZgD7ME). In the encoding settings, I have selected UTF-8 with NO BOM. However, the error still persists. 

How should I proceed? 

Thanks!

Write a reply

Set forum username