Getting Nuxeo 5.5 source code

ldreuillat_DREU
Champ in-the-making
Champ in-the-making

I used the instructions to get Nuxeo 5.5 source code from Github (http://doc.nuxeo.com/display/CORG/Getting+the+Nuxeo+source+code) :

  • I installed Git client

  • I ran the following commands :

  • git clone git://github.com/nuxeo/nuxeo.git

  • cd nuxeo

  • git checkout master

Till now it worked But when I try to retrieve the release 5.5 with the following python command it fails : python clone.py release-5.5

It return the following exception :

  **File "clone.py", line 65
    except ExitException, e:
                        ^
SyntaxError: invalid syntax**

I made the test under Windows (7 64 Bits) and Linux (CentOS 5.8 64 Bits) and the result is the same. Any idea?

Regards

Laurent

1 ACCEPTED ANSWER

Julien_Carsique
Elite Collaborator
Elite Collaborator

Hi,

Which Python version did you install? We recommend to install Python 2.7.x.

Regards,

View answer in original post

5 REPLIES 5

Julien_Carsique
Elite Collaborator
Elite Collaborator

Hi,

Which Python version did you install? We recommend to install Python 2.7.x.

Regards,

I made a new test with Pyhton 2.7.3 and now I got the following exception

Ok. This one is a very different issue, Windows specific. It may happen for various reasons, the most common one being a PATH issue with a conflict between multiple Git versions.

I installed Pyhton 2.7 and I added pyhton and Git pah before Cygwin PATH on my machine and now it works 😉

Not applicable

If you work on Windows with MSysGit, you will also encounter a message saying that .git can't be found while trying to run clone.py. In that case, go for version 5.7 that provides a workaround with option --no_drive_mapping. See the documentation update in Getting the Nuxeo source code