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
I have cloned cldoc to local.
But after I setup cldoc by python setup.py install, I failed to use it to generate docs with the following error:
Traceback (most recent call last):
File "/usr/local/bin/cldoc", line 5, in <module>
pkg_resources.run_script('cldoc==1.4', 'cldoc')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 505, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 1245, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/cldoc-1.4-py2.7.egg/EGG-INFO/scripts/cldoc", line 5, in <module>
cldoc.run()
File "/usr/local/lib/python2.7/dist-packages/cldoc-1.4-py2.7.egg/cldoc/__init__.py", line 57, in run
run_generate(rest)
File "/usr/local/lib/python2.7/dist-packages/cldoc-1.4-py2.7.egg/cldoc/__init__.py", line 27, in run_generate
cmdgenerate.run(args)
File "/usr/local/lib/python2.7/dist-packages/cldoc-1.4-py2.7.egg/cldoc/cmdgenerate.py", line 140, in run
run_generate(t, opts)
File "/usr/local/lib/python2.7/dist-packages/cldoc-1.4-py2.7.egg/cldoc/cmdgenerate.py", line 34, in run_generate
generators.Html(t).generate(baseout, opts.static, opts.custom_js, opts.custom_css)
File "/usr/local/lib/python2.7/dist-packages/cldoc-1.4-py2.7.egg/cldoc/generators/html.py", line 40, in generate
with open(index) as f:
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/cldoc-1.4-py2.7.egg/cldoc/data/index.html'
make: *** [doc] Error 1
I noticed that the error was caused by the missing directory of 'cldoc/data'.
However, if I install cldoc by `pip``, it works fine.
I found 'cldoc/data' in the tar ball from pip, but not from the github repo.
Could you help me solve this problem?
The text was updated successfully, but these errors were encountered:
Hi
I have cloned cldoc to local.
But after I setup cldoc by
python setup.py install
, I failed to use it to generate docs with the following error:I noticed that the error was caused by the missing directory of 'cldoc/data'.
However, if I install cldoc by `pip``, it works fine.
I found 'cldoc/data' in the tar ball from pip, but not from the github repo.
Could you help me solve this problem?
The text was updated successfully, but these errors were encountered: