You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.
After installing wok from github, I got these error :
(ENV)tom@nextzone ~/robmd.net $ wok
Textile not enabled.
Traceback (most recent call last):
File "/home/tom/ENV/bin/wok", line 7, in
execfile(file)
File "/home/tom/ENV/src/wok/scripts/wok", line 4, in
Engine()
File "/home/tom/ENV/src/wok/wok/engine.py", line 97, in init
self.generate_site()
File "/home/tom/ENV/src/wok/wok/engine.py", line 132, in generate_site
self.prepare_output()
File "/home/tom/ENV/src/wok/wok/engine.py", line 239, in prepare_output
self.run_hook('site.output.post', self.options['output_dir'])
File "/home/tom/ENV/src/wok/wok/engine.py", line 197, in run_hook
returns.append(hook(self.options, *args))
TypeError: compile() takes exactly 1 argument (2 given)
The text was updated successfully, but these errors were encountered:
This looks like a hook which hasn't been updated. Hooks now take the site config as the first parameter. This would be located in the hooks directory in the site that you are trying to render.
Here is another problem, when I use pip install wok to install wok, then I got ImportError
tom@nextzone /tmp/wok/docs $ wok --server
Textile not enabled.
Traceback (most recent call last):
File "/usr/bin/wok", line 4, in
Engine()
File "/usr/lib64/python2.7/site-packages/wok/engine.py", line 97, in init
self.generate_site()
File "/usr/lib64/python2.7/site-packages/wok/engine.py", line 128, in generate_site
self.load_hooks()
File "/usr/lib64/python2.7/site-packages/wok/engine.py", line 189, in load_hooks
raise ImportError(e)
ImportError: No module named contrib.hooks
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After installing wok from github, I got these error :
(ENV)tom@nextzone ~/robmd.net $ wok
Textile not enabled.
Traceback (most recent call last):
File "/home/tom/ENV/bin/wok", line 7, in
execfile(file)
File "/home/tom/ENV/src/wok/scripts/wok", line 4, in
Engine()
File "/home/tom/ENV/src/wok/wok/engine.py", line 97, in init
self.generate_site()
File "/home/tom/ENV/src/wok/wok/engine.py", line 132, in generate_site
self.prepare_output()
File "/home/tom/ENV/src/wok/wok/engine.py", line 239, in prepare_output
self.run_hook('site.output.post', self.options['output_dir'])
File "/home/tom/ENV/src/wok/wok/engine.py", line 197, in run_hook
returns.append(hook(self.options, *args))
TypeError: compile() takes exactly 1 argument (2 given)
The text was updated successfully, but these errors were encountered: