Export to GitHub

pytox - issue #27

"Too many levels of symbolic links"


Posted on Jan 13, 2012 by Quick Hippo

What steps will reproduce the problem? 1. rm -r .tox 2. tox 3. tox

What is the expected output? What do you see instead? First run creates the virtualenvs and passes all tests fine. On the second run tox fails with:

[TOX] ERROR: invocation failed, logfile: <project>.tox/log/0.log [TOX] ERROR: <project>$ /usr/bin/python setup.py sdist --formats=zip --dist-dir .tox/dist >.tox/log/0.log running sdist running check warning: check: missing required meta-data: url

warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list)

error: .tox/py27/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/local/include/python2.7/numpy/ufunc_api.txt: Too many levels of symbolic links

[TOX] ERROR: FAIL could not package project

What version of the product are you using? On what operating system?

tox 1.3, python 2.6.7, 2.7.2 and 3.2.2 running on Ubuntu 11.10. Same project works fine on OS X with same versions.

The .tox/py27/local is indeed a link to .tox/py27, similar link is not created for py26 or py32, or for py27 on OS X.

Please provide any additional information below.

Comment #1

Posted on Jan 13, 2012 by Quick Hippo

Bug was in virtualenv, https://github.com/pypa/virtualenv/commit/5cb7cd652953441a6696c15bdac3c4f9746dfaa1 fixes it but there's no release yet with the fix.

Status: New

Labels:
Type-Defect Priority-Medium