[petsc-dev] Problem with generateetags.py

Jose E. Roman jroman at dsic.upv.es
Fri Apr 4 04:17:40 CDT 2014


I am getting an error when generating the tags, see error below. I have tracked the problem down to this offending commit:
https://bitbucket.org/petsc/petsc/commits/326299b7

It started to appear when the TAO users guide was placed under src.
A simple fix is to remove *.tex from generateetags.py
Do you want me to change this?

Jose


$ make alletags
Traceback (most recent call last):
 File "bin/maint/generateetags.py", line 154, in <module>
   main(ctags)
 File "bin/maint/generateetags.py", line 143, in main
   os.path.walk(os.getcwd(),processDir,[etagfile,ctagfile])
 File "/usr/lib/python2.7/posixpath.py", line 246, in walk
   walk(name, func, arg)
 File "/usr/lib/python2.7/posixpath.py", line 246, in walk
   walk(name, func, arg)
 File "/usr/lib/python2.7/posixpath.py", line 246, in walk
   walk(name, func, arg)
 File "/usr/lib/python2.7/posixpath.py", line 238, in walk
   func(arg, top, names)
 File "bin/maint/generateetags.py", line 94, in processDir
   if newls: createTags(etagfile,ctagfile,dirname,newls)
 File "bin/maint/generateetags.py", line 62, in createTags
   raise RuntimeError("Error running ctags "+output)
RuntimeError: Error running ctags ctags: "/home/jroman/soft/petsc/CTAGS" doesn't look like a tag file; I refuse to overwrite it.
make: [alletags] Error 1 





More information about the petsc-dev mailing list