Using Python 3.2.x on Windows to clone Git repository

I installed the latest version of Python (3.2.x) in order to run the Nuxeo-provided clone.py to clone the Nuxeo 5.5 source (as described here). When I run the “python clone.py” command I get the following error (which maybe related to EOL representations differences between Unix and Windows text files):

Traceback (most recent call last): File “clone.py”, line 144, in

assert_git_config()

File “clone.py”, line 137, in assert_git_config

if "always" in t:

TypeError: Type str doesn't support the buffer API

Is it right to assume that Python 3.2.x is not supported with the existing clone.py?

0 votes

1 answers

1086 views

ANSWER



If anyone is looking for a workaround, I did get the clone to work by downloading and installing the latest version of Python 2.7.x.

1 votes



Thanks we will modify the documentation to specify the incompatibility with python 3.2.x and we will try to improve the script to be compatible to python 3.2.x as soon as possible.

You can follow this here:

https://jira.nuxeo.com/browse/NXBT-349

01/02/2012