posativ / acrylamid

(unmaintained) static blog generator in python with incremental rendering ⛺
http://posativ.org/acrylamid/
Other
277 stars 40 forks source link

AttributeError: 'Environment' object has no attribute 'globals' #176

Closed ghost closed 10 years ago

ghost commented 11 years ago

I use aur package [https://aur.archlinux.org/packages/python-acrylamid-git/], that simply builds the git version:

$ acrylamid --version Acrylamid 0.8.dev0

When I run it, I received the following strange error: $ acrylamid co -f Traceback (most recent call last): File "/usr/bin/acrylamid", line 9, in load_entry_point('acrylamid==0.8.dev0', 'console_scripts', 'acrylamid')() File "/usr/lib/python3.3/site-packages/acrylamid/init.py", line 164, in Acryl commands.compile(conf, env) File "/usr/lib/python3.3/site-packages/acrylamid/commands.py", line 138, in compile data = initialize(conf, env) File "/usr/lib/python3.3/site-packages/acrylamid/commands.py", line 120, in initialize assets.initialize(conf, env) File "/usr/lib/python3.3/site-packages/acrylamid/assets/init.py", line 124, in initialize env.engine.globals['compile'] = env.webassets.compile AttributeError: 'Environment' object has no attribute 'globals'

Can you see if it's your or their bug?

Thanks,

posativ commented 11 years ago

Yes, the master currently does not work with Mako (didn't find good docs on makos internal abstract syntax tree yet).

ghost commented 11 years ago

Ask developer....

posativ commented 10 years ago

Mako support has been recently added.