Opened 15 years ago

Closed 15 years ago

#1998 enhancement closed fixed (fixed)

pydoctor tries to parse a dotfile

Reported by: David Reid Owned by:
Priority: normal Milestone:
Component: pydoctor Keywords:
Cc: Branch:


Traceback (most recent call last):

File "/private/Network/Servers/harris/Volumes/veedu/dreid/projects/CalendarServer/pydoctor/build/scripts-2.4/pydoctor", line 5, in ?


File "/private/Network/Servers/harris/Volumes/veedu/dreid/projects/CalendarServer/pydoctor/build/lib/pydoctor/", line 227, in main


File "/private/Network/Servers/harris/Volumes/veedu/dreid/projects/CalendarServer/pydoctor/build/lib/pydoctor/", line 316, in findImportStars

ast = transformer.parseFile(mod.filepath)

File "/Library/Frameworks/Python.framework/Versions/2.4lib/python2.4/compiler/", line 41, in parseFile

f = open(path, "U")

IOError: [Errno 2] No such file or directory: '../twistedcaldav/'

I can't think of a case where I would want it to parse a dotfile, but even if I did it shouldn't fail horribly if that file is a dangling symlink.

Change History (2)

comment:1 Changed 15 years ago by Michael Hudson-Doyle

Resolution: fixed
Status: newclosed

I wonder how I have managed to avoid that so far. I must save my files super religiously or something.

Fixed in pydoctor revision 31310.

comment:2 Changed 11 years ago by <automation>

Owner: Michael Hudson-Doyle deleted
Note: See TracTickets for help on using tickets.