top icon indicating copy to clipboard operation
top copied to clipboard

server.py: cannot import HTML_FILE_TMPL

Open CaptSolo opened this issue 10 years ago • 0 comments

server.py fails because HTML_FILE_TMPL is defined in build_page.py and not in common.py:

$ python server.py 
Traceback (most recent call last):
  File "server.py", line 6, in <module>
    from common import HTML_FILE_TMPL, DEFAULT_LANG, DEFAULT_PROJECT
ImportError: cannot import name HTML_FILE_TMPL

P.S. it would be helpful to have information about running build_page.py and server.py in the readme doc.

CaptSolo avatar Dec 28 '15 12:12 CaptSolo