abhilekhsingh / gc3pie

Automatically exported from code.google.com/p/gc3pie
0 stars 0 forks source link

Cannot install on Rocks 5.4.3 (Viper) #414

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sh -c "$(wget -O- http://gc3pie.googlecode.com/svn/install.sh)"

What is the expected output? What do you see instead?
I expect (hope) for a smooth install. However, the command results in a 
termination with the output included, below.

What version of the product are you using? On what operating system?
Rocks Compute Node
Rocks 5.4.3 (Viper)
Profile built 15:02 16-May-2012

Please provide any additional information below.

Rocks Compute Node
Rocks 5.4.3 (Viper)
Profile built 15:02 16-May-2012

Kickstarted 11:07 16-May-2012
[hpc2700@compute-2-0 ~]$ sh -c "$(wget -O- 
http://gc3pie.googlecode.com/svn/install.sh)"
--2013-08-26 09:13:08--  http://gc3pie.googlecode.com/svn/install.sh
Resolving gc3pie.googlecode.com... 74.125.142.82, 2607:f8b0:400d:c00::52
Connecting to gc3pie.googlecode.com|74.125.142.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17589 (17K) [text/plain]
Saving to: `STDOUT'

100%[===========================================================================
=======================================>] 17,589      --.-K/s   in 0.03s

2013-08-26 09:13:09 (500 KB/s) - `-' saved [17589/17589]

==========================
GC3Pie installation script
==========================

This script installs *latest stable version* of GC3Pie in 
"/home/hpc2700/gc3pie".

If you encounter any problem running this script, please contact
the GC3Pie team by sending an email to gc3pie@googlegroups.com.

Remember to attach the full output of the script, in order to help us
to identify the problem.

Installation info:

Destination directory:    /home/hpc2700/gc3pie
Python executable:        python
Ask for confirmation:     yes
Development mode:         no
Install gc3apps:          yes
Overwrite:                ask

Are you ready to proceed? [yN] y
Destination directory '/home/hpc2700/gc3pie' already exists.
I can wipe it out in order to make a new installation,
but this means any files in that directory, and the ones
underneath it will be deleted.

Do you want to wipe the installation directory '/home/hpc2700/gc3pie'? [yN] y
Removing directory /home/hpc2700/gc3pie as requested.
Installing GC3Pie virtualenv in directory '/home/hpc2700/gc3pie' ...
GC3Pie install: WARNING: Using an old and possibly unsupported version of 
'virtualenv' (1.7.2)
GC3Pie install: WARNING: Using an old and possibly unsupported version of 'pip' 
(1.1)
--2013-08-26 09:13:33--  
http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz
Resolving pypi.python.org... 199.27.75.185, 199.27.72.184
Connecting to pypi.python.org|199.27.75.185|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz 
[following]
--2013-08-26 09:13:33--  
https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz
Connecting to pypi.python.org|199.27.75.185|:443... connected.
WARNING: certificate common name `*.a.ssl.fastly.net' doesn't match requested 
host name `pypi.python.org'.
HTTP request sent, awaiting response... 200 OK
Length: 95197 (93K) [application/x-gzip]
Saving to: `pip-1.1.tar.gz'

100%[===========================================================================
=======================================>] 95,197      --.-K/s   in 0.07s

2013-08-26 09:13:33 (1.27 MB/s) - `pip-1.1.tar.gz' saved [95197/95197]

--2013-08-26 09:13:33--  
https://raw.github.com/pypa/virtualenv/1.7.2/virtualenv.py
Resolving raw.github.com... 199.27.74.133
Connecting to raw.github.com|199.27.74.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by 
`/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 108233 (106K) [text/plain]
Saving to: `virtualenv.py'

100%[===========================================================================
=======================================>] 108,233      601K/s   in 0.2s

2013-08-26 09:13:33 (601 KB/s) - `virtualenv.py' saved [108233/108233]

Already using interpreter /usr/bin/python
New python executable in /home/hpc2700/gc3pie/bin/python
Installing setuptools................................done.
Installing pip...............done.
Installing GC3Pie stable release ...
Installing GC3Pie from PyPI package with '/home/hpc2700/gc3pie/bin/pip' ...
Downloading/unpacking gc3pie
  Downloading gc3pie-2.1.0rc3.tar.gz (459Kb): 459Kb downloaded
  Running setup.py egg_info for package gc3pie
    Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
    Extracting in /tmp/tmpyfom8P
    Now working in /tmp/tmpyfom8P/distribute-0.6.14
    Building a Distribute egg in /home/hpc2700/gc3pie/build/gc3pie
    /home/hpc2700/gc3pie/build/gc3pie/distribute-0.6.14-py2.4.egg
    warning: no files found matching '*.html' under directory 'docs/html/'
    warning: no files found matching '*.js' under directory 'docs/html/'
    warning: no files found matching '*.css' under directory 'docs/html/'
    warning: no files found matching '*.svg' under directory 'docs/html/'
    warning: no files found matching '*.jpg' under directory 'docs/html/'
    warning: no files found matching '*.gif' under directory 'docs/html/'
    warning: no files found matching 'workflow.png' under directory 'docs/html/'
    no previously-included directories found matching 'gc3apps/*/test'
Downloading/unpacking boto (from gc3pie)
  Downloading boto-2.10.0.tar.gz (1.0Mb): 1.0Mb downloaded
  Running setup.py egg_info for package boto
    Traceback (most recent call last):
      File "<string>", line 14, in ?
      File "/home/hpc2700/gc3pie/build/boto/setup.py", line 45
        with open("README.rst") as f:
                ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in ?

  File "/home/hpc2700/gc3pie/build/boto/setup.py", line 45

    with open("README.rst") as f:

            ^

SyntaxError: invalid syntax

----------------------------------------
Command python setup.py egg_info failed with error code 1 in 
/home/hpc2700/gc3pie/build/boto
Storing complete log in /home/hpc2700/.pip/pip.log
[hpc2700@compute-2-0 ~]$

Original issue reported on code.google.com by stephan....@carleton.ca on 7 Oct 2013 at 10:05

GoogleCodeExporter commented 9 years ago
Hi Stephan,

(gc3pie@googlecode.com, Mon, Oct 07, 2013 at 10:05:53PM +0000:)
| What is the expected output? What do you see instead?
| I expect (hope) for a smooth install. However, the command results
| in a termination with the output included, below.
| [...]
| Downloading/unpacking boto (from gc3pie)
|   Downloading boto-2.10.0.tar.gz (1.0Mb): 1.0Mb downloaded
|   Running setup.py egg_info for package boto
|     Traceback (most recent call last):
|       File "<string>", line 14, in ?
|       File "/home/hpc2700/gc3pie/build/boto/setup.py", line 45
|         with open("README.rst") as f:
|                 ^
|     SyntaxError: invalid syntax

the issue here is with the Python version: CentOS/RHEL 5.x ships
Python 2.4, which is not supported anymore by many packages that
GC3Pie depends upon.  Here the error comes from the Boto library (used
for interacting with EC2-type clouds), which requires Python 2.6+.

Would it be possible to install Python 2.6 (or 2.7, even better) on
your cluster?  You can find a survey of ways to install Python 2.6 on
a CentOS 5 at:
http://stackoverflow.com/questions/1465036/install-python-2-6-in-centos

I suggest using the EPEL repository (first answer), although that
requires some cooperation from the cluster sysadmins.

Original comment by riccardo.murri@gmail.com on 8 Oct 2013 at 2:09

GoogleCodeExporter commented 9 years ago
I gather that this is solved now and you have a working installation of GC3Pie?

Original comment by riccardo.murri@gmail.com on 18 Oct 2013 at 6:08

GoogleCodeExporter commented 9 years ago
Yes, solved with python 2.7

Original comment by stephan....@carleton.ca on 18 Oct 2013 at 11:42

GoogleCodeExporter commented 9 years ago
May I ask you if you had to ask the sysadmins to install Python, or did you 
manage to install ActiveState Python in your home directory, or ...?

Original comment by riccardo.murri@gmail.com on 18 Oct 2013 at 12:48

GoogleCodeExporter commented 9 years ago
a number of newer python version have been available and the sysadmins pointed 
me to them

Original comment by stephan....@carleton.ca on 18 Oct 2013 at 1:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3771.

Original comment by antonio....@gmail.com on 28 Nov 2013 at 2:19