← Back to team overview

dolfin team mailing list archive

[Bug 661888] Re: generate.py import error

 

** Changed in: dolfin
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/661888

Title:
  generate.py import error

Status in DOLFIN:
  Fix Released

Bug description:
  I tried running 'generate.py' in dolfin/swig, but when I have DOLFIN
  installed (and PYTHONPATH set), I get the below error. If I do 'unset
  PYTHONPATH', then generate.py works as expected.


  Traceback (most recent call last):
    File "generate.py", line 83, in <module>
      generate_docstrings()
    File "/home/garth/code/fenics/dolfin.d/dolfin-all/dolfin/swig/documentation.py", line 133, in generate_docstrings
      documentation, classnames = extract_doc_representation()
    File "/home/garth/local/lib/python2.6/site-packages/dolfin_utils/documentation/extractdocumentation.py", line 172, in extract_doc_representation
      f = open(os.path.join(dolfin_dir, "dolfin", "dolfin.h"))
  IOError: [Errno 2] No such file or directory: '/home/garth/local/lib/python2.6/dolfin/dolfin.h'



References