Issue Type: Bug Bug
Assignee: Unassigned
Components: shiningpanda
Created: 28/Jun/12 12:27 PM
Description:

Using shiningpanda in a jenkins installation behind a firewell.

When configuring an virtualenv builder the bootstrap file will download the requirements from pypi server instead from local files like in normal virtualenv installations.
(errors see below)

copying the virtualenv_support directory from a local virtualenv installation into the directory where the shiningpanda virtualenv.py is located solves the problem for the current installation.

The virtualenv_support directory and its content should be included into the shiningpanda installation.

Kind regards
Karsten

[workspace] $ /nfs/seu_tools/sol/python/2.6.7-64bit/bin/python /var/hudson/8282/work/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/virtualenv.py --system-site-packages /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/virtualenvs/7613aa0d
PYTHONHOME is set. You must activate the virtualenv before using it
New python executable in /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/virtualenvs/7613aa0d/bin/python
Installing setuptools...............
Complete output from command /var/hudson/8282/wor.../7613aa0d/bin/python -c "#!python
\"\"\"Bootstra...sys.argv[1:])

" --always-copy -U setuptools:
Searching for distribute
Reading http://pypi.python.org/simple/distribute/
Download error on http://pypi.python.org/simple/distribute/: [Errno 128] Network is unreachable – Some packages may not be found!
Reading http://pypi.python.org/simple/distribute/
Download error on http://pypi.python.org/simple/distribute/: [Errno 128] Network is unreachable – Some packages may not be found!
Couldn't find index page for 'distribute' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error on http://pypi.python.org/simple/: [Errno 128] Network is unreachable – Some packages may not be found!
Skipping development or system egg: distribute 0.6.27
No local packages or download links found for distribute
error: Could not find suitable distribution for Requirement.parse('distribute') (--always-copy skips system and development eggs)
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
File "/var/hudson/8282/work/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/virtualenv.py", line 2275, in <module>
main()
File "/var/hudson/8282/work/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/virtualenv.py", line 937, in main
never_download=options.never_download)
File "/var/hudson/8282/work/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/virtualenv.py", line 1049, in create_environment
search_dirs=search_dirs, never_download=never_download)
File "/var/hudson/8282/work/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/virtualenv.py", line 593, in install_setuptools
search_dirs=search_dirs, never_download=never_download)
File "/var/hudson/8282/work/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/virtualenv.py", line 567, in _install_req
cwd=cwd)
File "/var/hudson/8282/work/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/virtualenv.py", line 1015, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /var/hudson/8282/wor.../7613aa0d/bin/python -c "#!python
\"\"\"Bootstra...sys.argv[1:])

Environment: Solaris, Python 2.6.7
Project: Jenkins
Labels: plugin
Priority: Minor Minor
Reporter: Karsten Schwarz
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to