1. Holger Krekel
  2. tox
  3. Issues

Issues

Issue #121 on hold

White space in the path are reason an error in the "tox".

Wojciech Banaś
created an issue

As shown below, if the path to the source program are white space (in this case the spaces), the "tox" does not work and throws this error.

When I moved the source to the directory "/home/wojciech/django-money" then the "tox" works.

django-money$ tox
GLOB sdist-make: /home/wojciech/Aptana Studio 3 Workspace/django-money/setup.py
py27 create: /home/wojciech/Aptana Studio 3 Workspace/django-money/.tox/py27
py27 installdeps: -r"/home/wojciech/Aptana Studio 3 Workspace/django-money/requirements.txt"
Traceback (most recent call last):
  File "/home/wojciech/.pyenv/versions/2.7.5/bin/tox", line 9, in <module>
    load_entry_point('tox==1.6.0', 'console_scripts', 'tox')()
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_cmdline.py", line 26, in main
    retcode = Session(config).runcommand()
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_cmdline.py", line 301, in runcommand
    return self.subcommand_test()
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_cmdline.py", line 433, in subcommand_test
    if self.setupenv(venv):
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_cmdline.py", line 358, in setupenv
    status = venv.update(action=action)
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_venv.py", line 142, in update
    self.install_deps(action)
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_venv.py", line 272, in install_deps
    self._install(deps, action=action)
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_venv.py", line 330, in _install
    extraenv=extraenv)
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_venv.py", line 303, in run_install_command
    extraenv=env, action=action)
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_venv.py", line 378, in _pcall
    return action.popen(args, cwd=cwd, env=env, redirect=redirect)
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_cmdline.py", line 96, in popen
    popen = self._popen(args, cwd, env=env, stdout=f, stderr=STDOUT)
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/site-packages/tox/_cmdline.py", line 153, in _popen
    stdout=stdout, stderr=stderr, env=env)
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Comments (4)

  1. Ross Hemsley

    This still seems to be a problem:

    This makes it impossible to run tox from inside a Sublime Text plugin directory, because that path always has spaces (due to Application Support dir on mac)

  2. Log in to comment