[petsc-dev] Problem with generateetags.py

Barry Smith bsmith at mcs.anl.gov
Fri Apr 4 10:17:47 CDT 2014


  Jose,

    I’m sorry I don’t understand this bug report. I don’t see a *.tex in generateetags.py nor does it crash for me.Is it crashing in a particular directory?

   Thanks

    Barry



On Apr 4, 2014, at 4:17 AM, Jose E. Roman <jroman at dsic.upv.es> wrote:

> 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