Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

'module' object has no attribute 'spawnlp' #26

Closed
alexandrul opened this Issue · 1 comment

2 participants

@alexandrul

Windows support seems to be broken due to the usage of os.spawnlp:

http://docs.python.org/2/library/os.html#os.spawnlp:

# update Django from 1.4.1 to 1.4.3
pip -q install --no-deps -i http://pypi.python.org/simple -d D:\hackable-pypi\_data Django==1.4.3

Traceback (most recent call last):
  File "D:\hackable-pypi\python\Scripts\pypi-server-script.py", line 9, in <module>
    load_entry_point('pypiserver==1.0.0', 'console_scripts', 'pypi-server')()
  File "d:\hackable-pypi\pypiserver\pypiserver\core.py", line 255, in main
    manage.update(packages, update_directory, update_dry_run, stable_only=update_stable_only)
  File "d:\hackable-pypi\pypiserver\pypiserver\manage.py", line 137, in update
    os.spawnlp(os.P_WAIT, cmd[0], *cmd)
AttributeError: 'module' object has no attribute 'spawnlp'
@alexandrul alexandrul closed this
@schmir
Owner

Many thanks, I've released 1.0.1 with your fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.