#1073 closed defect (fixed)

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

Reported by: zooko Owned by: sneves
Priority: major Milestone: 1.8β
Component: packaging Version: 1.6.1
Keywords: windows setuptools pycrypto-lib Cc:
Launchpad Bug:

Description

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?

Change History (4)

comment:1 Changed at 2010-07-17T03:46:13Z by davidsarah

  • Milestone changed from undecided to 1.8β

comment:2 Changed at 2010-07-17T23:19:26Z by davidsarah

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

Last edited at 2010-07-17T23:20:03Z by davidsarah (previous) (diff)

comment:3 Changed at 2010-08-02T07:23:26Z by david-sarah@…

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

comment:4 Changed at 2010-08-08T00:42:42Z by davidsarah

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

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.)

Note: See TracTickets for help on using tickets.