Skip to content

index out of range error on line 90 in typeForFile #5

Description

@gonzojive

from the latest git version:

$ ~/Downloads/doxyclean/doxyclean.py -i proj.docset/ -o proj.docset -n "my project"-v
Traceback (most recent call last):
File "/Users/red/Downloads/doxyclean/doxyclean.py", line 1220, in
sys.exit(main())
File "/Users/red/Downloads/doxyclean/doxyclean.py", line 1176, in main
indexPath = createIndexXML(xmlOutputDirectory)
File "/Users/red/Downloads/doxyclean/doxyclean.py", line 144, in createIndexXML
objectType = typeForFile(filePath)
File "/Users/red/Downloads/doxyclean/doxyclean.py", line 90, in typeForFile
return xmlDoc.getElementsByTagName("object")[0].attributes["kind"].value
IndexError: list index out of range

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions