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

Closed
somenxavier opened this Issue Jul 18, 2013 · 3 comments

Comments

Projects
None yet
2 participants
@somenxavier

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

This comment has been minimized.

Show comment Hide comment
@posativ

posativ Jul 22, 2013

Owner

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

Owner

posativ commented Jul 22, 2013

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

@somenxavier

This comment has been minimized.

Show comment Hide comment
@somenxavier

somenxavier Jul 23, 2013

Ask developer....

Ask developer....

@posativ

This comment has been minimized.

Show comment Hide comment
@posativ

posativ Nov 28, 2013

Owner

Mako support has been recently added.

Owner

posativ commented Nov 28, 2013

Mako support has been recently added.

@posativ posativ closed this Nov 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment