Issue #139 new

bootstrap.py errors out if a "future" version of Distribute (eg: distribute==dev) is installed

Sridhar Ratnakumar avatarSridhar Ratnakumar created an issue

"python2.6 bootstrap.py -d" usually works fine, but today I noticed this error on Mac.

Some part in code is trying to create a directory that already exists.

install_dir /var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 17] File exists: '/var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB

Perhaps your account does not have write access to this directory?  If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account.  If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

  http://packages.python.org/distribute/easy_install.html

Please make the appropriate changes for your system and try again.

Traceback (most recent call last):
  File "bootstrap.py", line 107, in <module>
    ) == 0
AssertionError
sridharr@whymac:~/code/mediaplayer > ls -ld /var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB
drwx------  2 sridharr  staff  68  6 Apr 23:38 /var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.