presstatic icon indicating copy to clipboard operation
presstatic copied to clipboard

Template support broke it

Open scottweston opened this issue 11 years ago • 1 comments

Please provide an option to turn off template processing, clearly some files are breaking it.

$ push-site Traceback (most recent call last): File "/usr/local/bin/pstatic", line 9, in load_entry_point('presstatic==0.1.0', 'console_scripts', 'pstatic')() File "/usr/local/lib/python2.6/dist-packages/presstatic/main.py", line 46, in main site_builder.build() File "/usr/local/lib/python2.6/dist-packages/presstatic/builder.py", line 87, in build self.tmpl_builder.build_template(template) File "/usr/local/lib/python2.6/dist-packages/presstatic/builder.py", line 42, in build_template tmpl.stream().dump(dump_path) File "/usr/local/lib/python2.6/dist-packages/jinja2/environment.py", line 1064, in dump fp = file(fp, 'w') IOError: [Errno 2] No such file or directory: '/srv/site/html/public/RCS/index.html,v'

This used to work fine before I upgraded.

scottweston avatar Feb 27 '13 00:02 scottweston