Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alexandrul opened this issue Jan 3, 2013 · 1 comment · Fixed by #27
Closed

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

alexandrul opened this issue Jan 3, 2013 · 1 comment · Fixed by #27

Comments

@alexandrul
Copy link
Contributor

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'
@schmir
Copy link
Contributor

schmir commented Jan 3, 2013

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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants