default package path for python interpreter incompatible with README install test #93

Closed
opened 2007-08-09 02:37:15 +00:00 by arch_o_median · 1 comment
arch_o_median commented 2007-08-09 02:37:15 +00:00
Owner

The "TESTING THAT IT IS PROPERLY INSTALLED" section of the README specifies that the user should import four modules zfec, foolscap, allmydata.Crypto, and allmydata.interfaces. Contrary to my expectation the interpreter selected the package of the same name from the CWD even though CWD is not specified in my PYTHONPATH environment variable. As a result the test failed. Clearly I misunderstand how the interpreter searches for modules, but perhaps we should warn would-be testers about this pitfall?

> The "TESTING THAT IT IS PROPERLY INSTALLED" section of the README specifies that the user should import four modules zfec, foolscap, allmydata.Crypto, and allmydata.interfaces. Contrary to my expectation the interpreter selected the package of the same name from the CWD even though CWD is not specified in my PYTHONPATH environment variable. As a result the test failed. Clearly I misunderstand how the interpreter searches for modules, but perhaps we should warn would-be testers about this pitfall?
tahoe-lafs added the
documentation
trivial
defect
0.4.0
labels 2007-08-09 02:37:15 +00:00
tahoe-lafs added this to the undecided milestone 2007-08-09 02:37:15 +00:00
zooko modified the milestone from undecided to 0.6.0 2007-08-20 17:56:12 +00:00

The way that sub-packages are included has been updated and this section of the doc is being updated.

The way that sub-packages are included has been updated and this section of the doc is being updated.
zooko added the
fixed
label 2007-09-17 21:27:42 +00:00
zooko closed this issue 2007-09-17 21:27:42 +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#93
No description provided.