Opened 8 years ago

Closed 8 years ago

#1998 enhancement closed fixed (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.4lib/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.

Change History (2)

comment:1 Changed 8 years ago by mwh

  • Resolution set to fixed
  • Status changed from new to closed

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 4 years ago by <automation>

  • Owner mwh deleted
Note: See TracTickets for help on using tickets.