#35 closed defect (fixed)

build process puts wrong filenames in the .pyc files

Reported by: warner Owned by: somebody
Priority: major Milestone:
Component: packaging Version:
Keywords: Cc:
Launchpad Bug:

Description

Something about the use of --prefix or --root in the build process puts bogus filenames in the .pyc files, usually things like /lib/allmydata/uri.py . As a result, stack traces are unable to find their source code, and figleaf results are broken.

As a workaround, I changed the makefile to delete all .pycs before running the tests, which fixes the figleaf problems. It also seems to speed up stack-trace-generation considerably (see #20). We need a better fix, though.

Change History (2)

comment:1 Changed at 2007-05-07T00:25:15Z by zooko

  • Component changed from code to packaging

comment:2 Changed at 2007-05-21T17:54:31Z by zooko

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

fixed by eaa93014e59ca073

Note: See TracTickets for help on using tickets.