Giter Site home page Giter Site logo

Comments (3)

xfire avatar xfire commented on August 15, 2024

growl doesn't generate a "default structure". it simply take what's inside the source directory and convert/copy it to the output directory. to get a starting point, you can clone a existing site (e.g. http://github.com/xfire/downgrade) and modify it by your needs.

hth

from growl.

luckypoem avatar luckypoem commented on August 15, 2024

hi.
i cloned downgrade to ~/growl/growl-site and run:
mv ~/growl/growl-site/downgrade/* ~/growl/growl-site/

as3:~/growl# growl.py --serve=34673 growl-site
post: 2010-09-14 - multi-line strings with scala
Traceback (most recent call last):
File "/usr/local/bin/growl.py", line 5, in
pkg_resources.run_script('growl==0.3', 'growl.py')
File "build/bdist.linux-i686/egg/pkg_resources.py", line 492, in run_script
doesn't already have a distribution in the set. If it's added, any
File "build/bdist.linux-i686/egg/pkg_resources.py", line 1357, in run_script
t,d,size = zip_stat[5], zip_stat[6], zip_stat[3]
File "build/bdist.linux-i686/egg/pkg_resources.py", line 47, in exec_
if not WRITE_SUPPORT:
File "", line 1, in
File "/usr/local/lib/python2.7/site-packages/growl-0.3-py2.7.egg/EGG-INFO/scripts/growl.py", line 527, in

File "/usr/local/lib/python2.7/site-packages/growl-0.3-py2.7.egg/EGG-INFO/scripts/growl.py", line 84, in wrapper

File "growl-site/_hooks/posts_ui.py", line 150, in site_run
forig(self)
File "/usr/local/lib/python2.7/site-packages/growl-0.3-py2.7.egg/EGG-INFO/scripts/growl.py", line 84, in wrapper

File "growl-site/_hooks/posts.py", line 116, in site_run
write_posts(self)
File "growl-site/_hooks/posts.py", line 102, in write_posts
p.write()
File "/usr/local/lib/python2.7/site-packages/growl-0.3-py2.7.egg/EGG-INFO/scripts/growl.py", line 84, in wrapper

File "growl-site/_hooks/status.py", line 27, in verbose_post_write
return forig(self)
File "/usr/local/lib/python2.7/site-packages/growl-0.3-py2.7.egg/EGG-INFO/scripts/growl.py", line 270, in write

File "/usr/local/lib/python2.7/site-packages/growl-0.3-py2.7.egg/EGG-INFO/scripts/growl.py", line 183, in layout

File "/usr/local/lib/python2.7/site-packages/growl-0.3-py2.7.egg/EGG-INFO/scripts/growl.py", line 54, in renderTemplate

File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 769, in from_string
return cls.from_code(self, self.compile(source), globals, None)
File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 493, in compile
self.handle_exception(exc_info, source_hint=source)
File "", line 44, in template
jinja2.exceptions.TemplateSyntaxError: expected token 'end of statement block', got '['
as3:~/growl#

how to fix it?

from growl.

xfire avatar xfire commented on August 15, 2024

hi,

this seems to be a bug caused by a change in jinja2. I fixed the problem in the template. See xfire/downgrade@8bbbeb3

cheers,
rico

from growl.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.