build process puts wrong filenames in the .pyc files #35

Closed
opened 2007-05-04 07:56:00 +00:00 by warner · 1 comment

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.

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.
warner added the
code
major
defect
labels 2007-05-04 07:56:00 +00:00
zooko added
packaging
and removed
code
labels 2007-05-07 00:25:15 +00:00

fixed by changeset:eaa93014e59ca073

fixed by changeset:eaa93014e59ca073
zooko added the
fixed
label 2007-05-21 17:54:31 +00:00
zooko closed this issue 2007-05-21 17:54:31 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#35
No description provided.