buildout fails to when the value of the buildout:executable is with POSIX-style path seperator
Bug #771811 reported by
Guy Rozendorn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
Consider the following environment:
* Running Python 2.6 on Windows
* Changing the default value of ${buildout:
When running bin\buildout.exe, its crashes in zc.buildout.
line 190, in _get_version
pystring, version = version.split()
ValueError: need more than 0 values to unpack
This is because the Python process was not executed, because the file-path is in a bad format:
The POSIX-style path separators ('\n') should be replaced to sys.path.sep (and not just '\\', in order to support localized versions of Windows).
To post a comment you must log in.
attaching a suggestion for patch for this issue.
this patch is post to the latter patch i suggested for issue #449262.