[Pytest-commit] Issue #121: White space in the path are reason an error in the "tox". (hpk42/tox)

Wojciech Banaś issues-reply at bitbucket.org
Fri Aug 30 02:15:32 CEST 2013


New issue 121: White space in the path are reason an error in the "tox".
https://bitbucket.org/hpk42/tox/issue/121/white-space-in-the-path-are-reason-an

Wojciech Banaś:

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.

```
#!python

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

```




More information about the pytest-commit mailing list