"bin/tahoe debug trial" runs installed code somewhere other than modified source files in src/ #2129

Closed
opened 2013-12-05 16:40:23 +00:00 by amiller · 4 comments
amiller commented 2013-12-05 16:40:23 +00:00
Owner

To reproduce:
modify src/allmydata/test/test_client.py with sentinel code "print 'Ticket 2129!'"
./bin/tahoe debug trial allmydata.test.test_client

The sentinel code is not executed.

On the other hand, if I then run python setup.py install, then the sentinel code IS executed.

Details:
Python version: 2.7.4

To reproduce: modify src/allmydata/test/test_client.py with sentinel code "print 'Ticket 2129!'" ./bin/tahoe debug trial allmydata.test.test_client The sentinel code is not executed. On the other hand, if I then run python setup.py install, then the sentinel code IS executed. Details: Python version: 2.7.4
tahoe-lafs added the
unknown
normal
defect
1.10.0
labels 2013-12-05 16:40:23 +00:00
tahoe-lafs added this to the undecided milestone 2013-12-05 16:40:23 +00:00
daira commented 2013-12-05 22:47:54 +00:00
Author
Owner

(After editing test_client.py again:) Please paste the results of:

bin/tahoe --version-and-path
bin/tahoe @python -c "import allmydata.test.test_client; print test_client"
(After editing test_client.py again:) Please paste the results of: ``` bin/tahoe --version-and-path bin/tahoe @python -c "import allmydata.test.test_client; print test_client" ```
tahoe-lafs added
code-frontend-cli
and removed
unknown
labels 2013-12-06 15:05:53 +00:00
tahoe-lafs changed title from "bin/tahoe debug trial" uses installed files somewhere rather than source trials to "bin/tahoe debug trial" runs installed code somewhere other than modified source files in src/ 2013-12-06 15:07:56 +00:00
amontero commented 2013-12-12 20:47:55 +00:00
Author
Owner
Subscribe to keep tabs for improving <https://tahoe-lafs.org/trac/tahoe-lafs/wiki/NewbieDeveloperSetup>
daira commented 2013-12-14 18:05:48 +00:00
Author
Owner

amontero: commenting doesn't subscribe to a ticket. You're now added to the cc: field.

amontero: commenting doesn't subscribe to a ticket. You're now added to the cc: field.
warner commented 2016-09-09 22:18:00 +00:00
Author
Owner

We've moved to tox as the recommended "One True Way" to run the test suite, so I think we can close this as INVALID. I'm about to remove bin/tahoe debug trial anyways (as part of #2735).

We've moved to `tox` as the recommended "One True Way" to run the test suite, so I think we can close this as INVALID. I'm about to remove `bin/tahoe debug trial` anyways (as part of #2735).
tahoe-lafs added the
invalid
label 2016-09-09 22:18:00 +00:00
tahoe-lafs modified the milestone from undecided to 1.12.0 2016-09-09 22:18:00 +00:00
warner closed this issue 2016-09-09 22:18:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

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