runner can't execute python executable on Win7-64bit #1073

Closed
opened 2010-06-08 04:33:07 +00:00 by zooko · 3 comments

On Dcoder's buildslave:

http://tahoe-lafs.org/buildbot/builders/Dcoder%20Win7-64%20py2.6/builds/37/steps/test/logs/stdio


[FAIL]: allmydata.test.test_runner.TheRightCode.test_path

Traceback (most recent call last):
  File "c:\users\buildslave\builds\tahoe-lafs\dcoder_win7-64_py2.6\build\src\allmydata\test\test_runner.py", line 40, in _cb
    self.failUnlessEqual(rc_or_sig, 0, str((out, err, rc_or_sig)))
twisted.trial.unittest.FailTest: ('', 'Cannot find Python executable C:\\Python26\\python.exe\r\n', 2)
not equal:
a = 2
b = 0

Could it have something to do with trailing newlines in the executable name? Or is this a problem with the runner script not working on 64-bit Windows?

On Dcoder's buildslave: <http://tahoe-lafs.org/buildbot/builders/Dcoder%20Win7-64%20py2.6/builds/37/steps/test/logs/stdio> ``` [FAIL]: allmydata.test.test_runner.TheRightCode.test_path Traceback (most recent call last): File "c:\users\buildslave\builds\tahoe-lafs\dcoder_win7-64_py2.6\build\src\allmydata\test\test_runner.py", line 40, in _cb self.failUnlessEqual(rc_or_sig, 0, str((out, err, rc_or_sig))) twisted.trial.unittest.FailTest: ('', 'Cannot find Python executable C:\\Python26\\python.exe\r\n', 2) not equal: a = 2 b = 0 ``` Could it have something to do with trailing newlines in the executable name? Or is this a problem with the runner script not working on 64-bit Windows?
zooko added the
packaging
major
defect
1.6.1
labels 2010-06-08 04:33:07 +00:00
zooko added this to the undecided milestone 2010-06-08 04:33:07 +00:00
tahoe-lafs modified the milestone from undecided to 1.8β 2010-07-17 03:46:13 +00:00
davidsarah commented 2010-07-17 23:19:26 +00:00
Owner

Probably related to http://bugs.python.org/setuptools/issue2 , although I believe #1074 (i.e. removing the wrapper .exe) is a better fix.

Probably related to <http://bugs.python.org/setuptools/issue2> , although I believe #1074 (i.e. removing the wrapper .exe) is a better fix.
david-sarah@jacaranda.org commented 2010-08-02 07:23:26 +00:00
Owner

In [4627/ticket798]:

Bundle setuptools-0.6c16dev (with Windows script changes, and the change to only warn if site.py wasn't generated by setuptools) instead of 0.6c15dev. addresses #565, #1073, #1074
In [4627/ticket798]: ``` Bundle setuptools-0.6c16dev (with Windows script changes, and the change to only warn if site.py wasn't generated by setuptools) instead of 0.6c15dev. addresses #565, #1073, #1074 ```
davidsarah commented 2010-08-08 00:42:42 +00:00
Owner

Fixed; see ticket:1074#comment:29 for changesets.

This build, for example, shows the CLI working on 64-bit Windows. (The failures of test-from-egg and test-from-prefixdir are due to unrelated packaging problems.)

Fixed; see ticket:1074#comment:29 for changesets. [This build](http://tahoe-lafs.org/buildbot/builders/Dcoder%20Win7-64%20py2.6/builds/107), for example, shows the CLI working on 64-bit Windows. (The failures of test-from-egg and test-from-prefixdir are due to unrelated packaging problems.)
tahoe-lafs added the
fixed
label 2010-08-08 00:42: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#1073
No description provided.