Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make doc fails in example project with pip installed cldoc #5

Closed
michaelmior opened this issue Feb 13, 2013 · 5 comments
Closed

make doc fails in example project with pip installed cldoc #5

michaelmior opened this issue Feb 13, 2013 · 5 comments

Comments

@michaelmior
Copy link

I installed cldoc via pip and I get the following error when running make doc in the example folder.

Generating documentation...
Processing `bicycle.cc'
Processing `mountainbike.cc'
Processing `racingbike.cc'
Processing `transport.hh'
Generated `html/xml'
Traceback (most recent call last):
  File "/usr/local/bin/cldoc", line 5, in <module>
    cldoc.run()
  File "/Library/Python/2.7/site-packages/cldoc/__init__.py", line 152, in run
    generate(opts, cxxflags)
  File "/Library/Python/2.7/site-packages/cldoc/__init__.py", line 33, in generate
    generators.Html(t).generate(opts.output)
  File "/Library/Python/2.7/site-packages/cldoc/generators/html.py", line 37, in generate
    shutil.copyfile(index, outfile)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 81, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/Library/Python/2.7/site-packages/cldoc/data/index.html'
make: *** [doc] Error 1
@jessevdk
Copy link
Owner

I'm still struggling a bit with distutils/setuptools/pypi etc. Sorry for the inconvenience. I think I fixed your issue now. Please try to upgrade with pip install --upgrade cldoc, should be working now. Please reopen if you still have issues.

@michaelmior
Copy link
Author

Thanks! All looks good now :)

@fungos
Copy link

fungos commented Feb 23, 2013

I'm having the same issue, but installed directly from github source.

@saki7
Copy link

saki7 commented Jun 6, 2013

This seems to be still valid in GitHub master. pip installation seems okay (Reported in #6).
I want to re-open this issue, but I can't find the "re-open" button; maybe a regular user has no rights to do it?

@jessevdk jessevdk reopened this Jun 7, 2013
@jessevdk
Copy link
Owner

jessevdk commented Nov 2, 2013

I don't think this is an issues. You probably forgot to run python setup.py generate first.

@jessevdk jessevdk closed this as completed Nov 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants