Ticket #1998 enhancement closed fixed
pydoctor tries to parse a dotfile
| Reported by: | dreid | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | pydoctor | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
Traceback (most recent call last):
File "/private/Network/Servers/harris/Volumes/veedu/dreid/projects/CalendarServer/pydoctor/build/scripts-2.4/pydoctor", line 5, in ?
main(sys.argv[1:])
File "/private/Network/Servers/harris/Volumes/veedu/dreid/projects/CalendarServer/pydoctor/build/lib/pydoctor/driver.py", line 227, in main
f()
File "/private/Network/Servers/harris/Volumes/veedu/dreid/projects/CalendarServer/pydoctor/build/lib/pydoctor/astbuilder.py", line 316, in findImportStars
ast = transformer.parseFile(mod.filepath)
File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/compiler/transformer.py", line 41, in parseFile
f = open(path, "U")
IOError: [Errno 2] No such file or directory: '../twistedcaldav/.#ical.py'
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.
