python dependencies.py

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

python dependencies.py

Bivens, Hugh P
I was following the steps in the draft wiki page to install the Opticks SDK (let me know if I should look at something else):
 
 
When I got to the step to do “python dependencies.py”, I ran into the error below.
I think the problem is that I am behind a web proxy, and I need to set the proxy host and port. Is there a way I can specify the proxy?
 
Thanks,
Hugh
 
$ python dependencies.py
Downloading https://opticks.ballforge.net/files/documents/8/26/xerces.zip -> /cygdrive/c/Development/Dependencies/packages/xerces-2.7.0.zip...
Traceback (most recent call last):
  File "dependencies.py", line 148, in <module>
    p.download(options.force)
  File "dependencies.py", line 64, in download
    urllib.urlretrieve(self.url, self.downloadLocation)
  File "/usr/lib/python2.5/urllib.py", line 89, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.5/urllib.py", line 222, in retrieve
    fp = self.open(url, data)
  File "/usr/lib/python2.5/urllib.py", line 190, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.5/urllib.py", line 416, in open_https
    h.endheaders()
  File "/usr/lib/python2.5/httplib.py", line 856, in endheaders
    self._send_output()
  File "/usr/lib/python2.5/httplib.py", line 728, in _send_output
    self.send(msg)
  File "/usr/lib/python2.5/httplib.py", line 695, in send
    self.connect()
  File "/usr/lib/python2.5/httplib.py", line 1130, in connect
    sock.connect((self.host, self.port))
  File "<string>", line 1, in connect
IOError: [Errno socket error] (116, 'Connection timed out')
 
____________________________________________________
Hugh P. Bivens                               [hidden email]
Sandia National Laboratories       +1 (505) 284-6822
Albuquerque, NM USA
 
 
 
Reply | Threaded
Open this post in threaded view
|

RE: python dependencies.py

tclarke
Administrator
RE: python dependencies.py

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It does not support proxies. You can manually download the necessary files. Look in the Dependencies subdirectories in the __init__.py files. You’ll see a URL and an expected filename. Download that URL and save as the filename in the Dependencies/packages directory. Then re-run dependencies.py



________________________________

From: Bivens, Hugh P [[hidden email]]
Sent: Thursday, July 03, 2008 12:27 PM
To: [hidden email]
Subject: python dependencies.py



I was following the steps in the draft wiki page to install the Opticks SDK (let me know if I should look at something else):



http://en.wikibooks.org/wiki/Opticks_Developer_Guide/Getting_Started#The_Opticks_Software_Development_Kit <http://en.wikibooks.org/wiki/Opticks_Developer_Guide/Getting_Started#The_Opticks_Software_Development_Kit>



When I got to the step to do “python dependencies.py”, I ran into the error below.

I think the problem is that I am behind a web proxy, and I need to set the proxy host and port. Is there a way I can specify the proxy?



Thanks,

Hugh



$ python dependencies.py

Downloading https://opticks.ballforge.net/files/documents/8/26/xerces.zip -> /cygdrive/c/Development/Dependencies/packages/xerces-2.7.0.zip...

Traceback (most recent call last):

  File "dependencies.py", line 148, in <module>

    p.download(options.force)

  File "dependencies.py", line 64, in download

    urllib.urlretrieve(self.url, self.downloadLocation)

  File "/usr/lib/python2.5/urllib.py", line 89, in urlretrieve

    return _urlopener.retrieve(url, filename, reporthook, data)

  File "/usr/lib/python2.5/urllib.py", line 222, in retrieve

    fp = self.open(url, data)

  File "/usr/lib/python2.5/urllib.py", line 190, in open

    return getattr(self, name)(url)

  File "/usr/lib/python2.5/urllib.py", line 416, in open_https

    h.endheaders()

  File "/usr/lib/python2.5/httplib.py", line 856, in endheaders

    self._send_output()

  File "/usr/lib/python2.5/httplib.py", line 728, in _send_output

    self.send(msg)

  File "/usr/lib/python2.5/httplib.py", line 695, in send

    self.connect()

  File "/usr/lib/python2.5/httplib.py", line 1130, in connect

    sock.connect((self.host, self.port))

  File "<string>", line 1, in connect

IOError: [Errno socket error] (116, 'Connection timed out')



____________________________________________________

Hugh P. Bivens                               [hidden email]

Sandia National Laboratories       +1 (505) 284-6822

Albuquerque, NM USA







-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)

iD8DBQFIbQZM+xUTKUxH/LkRAg8YAKCdN7PSyXdkEjnCpObKwFeeaj3AaQCgxqiT
DvlDd2rXO27FePzzUWM+2Vg=
=ga9u
-----END PGP SIGNATURE-----


This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

PGPexch.htm (19K) Download Attachment
PGPexch.htm.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: python dependencies.py

John Prikkel
In reply to this post by Bivens, Hugh P

Hugh,

 

I could run the script and zip or tar the files up and post them to this site: http://sourceforge.net/project/showfiles.php?group_id=218624

 

Let me know if that would work.

 

Thanks,

John

 


From: Bivens, Hugh P [mailto:[hidden email]]
Sent: Thursday, July 03, 2008 12:27 PM
To: [hidden email]
Subject: python dependencies.py

 

I was following the steps in the draft wiki page to install the Opticks SDK (let me know if I should look at something else):

 

 

When I got to the step to do “python dependencies.py”, I ran into the error below.

I think the problem is that I am behind a web proxy, and I need to set the proxy host and port. Is there a way I can specify the proxy?

 

Thanks,

Hugh

 

$ python dependencies.py

Downloading https://opticks.ballforge.net/files/documents/8/26/xerces.zip -> /cygdrive/c/Development/Dependencies/packages/xerces-2.7.0.zip...

Traceback (most recent call last):

  File "dependencies.py", line 148, in <module>

    p.download(options.force)

  File "dependencies.py", line 64, in download

    urllib.urlretrieve(self.url, self.downloadLocation)

  File "/usr/lib/python2.5/urllib.py", line 89, in urlretrieve

    return _urlopener.retrieve(url, filename, reporthook, data)

  File "/usr/lib/python2.5/urllib.py", line 222, in retrieve

    fp = self.open(url, data)

  File "/usr/lib/python2.5/urllib.py", line 190, in open

    return getattr(self, name)(url)

  File "/usr/lib/python2.5/urllib.py", line 416, in open_https

    h.endheaders()

  File "/usr/lib/python2.5/httplib.py", line 856, in endheaders

    self._send_output()

  File "/usr/lib/python2.5/httplib.py", line 728, in _send_output

    self.send(msg)

  File "/usr/lib/python2.5/httplib.py", line 695, in send

    self.connect()

  File "/usr/lib/python2.5/httplib.py", line 1130, in connect

    sock.connect((self.host, self.port))

  File "<string>", line 1, in connect

IOError: [Errno socket error] (116, 'Connection timed out')

 

____________________________________________________

Hugh P. Bivens                               [hidden email]

Sandia National Laboratories       +1 (505) 284-6822

Albuquerque, NM USA

 

 

 


This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.
Reply | Threaded
Open this post in threaded view
|

RE: RE: python dependencies.py

Kip Streithorst
Administrator
I submitted an enhancement, i.e.

https://issues.ballforge.net/jira/browse/OPTICKS-182

for this problem so that we can track the problem.

Hugh,
If you know python you might want to poke at urllib to see if you make web proxies configurable for this.  I mention this since you seem to have easy access to an http proxy and I don't.

Thanks,
Kip

________________________________________
From: Prikkel, John [mailto:[hidden email]]
Sent: Thursday, July 03, 2008 2:40 PM
To: [hidden email]
Subject: RE: python dependencies.py

Hugh,

I could run the script and zip or tar the files up and post them to this site: http://sourceforge.net/project/showfiles.php?group_id=218624

Let me know if that would work.

Thanks,
John

________________________________________
From: Bivens, Hugh P [mailto:[hidden email]]
Sent: Thursday, July 03, 2008 12:27 PM
To: [hidden email]
Subject: python dependencies.py

I was following the steps in the draft wiki page to install the Opticks SDK (let me know if I should look at something else):
 
http://en.wikibooks.org/wiki/Opticks_Developer_Guide/Getting_Started#The_Opticks_Software_Development_Kit
 
When I got to the step to do "python dependencies.py", I ran into the error below.
I think the problem is that I am behind a web proxy, and I need to set the proxy host and port. Is there a way I can specify the proxy?
 
Thanks,
Hugh
 
$ python dependencies.py
Downloading https://opticks.ballforge.net/files/documents/8/26/xerces.zip -> /cygdrive/c/Development/Dependencies/packages/xerces-2.7.0.zip...
Traceback (most recent call last):
  File "dependencies.py", line 148, in <module>
    p.download(options.force)
  File "dependencies.py", line 64, in download
    urllib.urlretrieve(self.url, self.downloadLocation)
  File "/usr/lib/python2.5/urllib.py", line 89, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.5/urllib.py", line 222, in retrieve
    fp = self.open(url, data)
  File "/usr/lib/python2.5/urllib.py", line 190, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.5/urllib.py", line 416, in open_https
    h.endheaders()
  File "/usr/lib/python2.5/httplib.py", line 856, in endheaders
    self._send_output()
  File "/usr/lib/python2.5/httplib.py", line 728, in _send_output
    self.send(msg)
  File "/usr/lib/python2.5/httplib.py", line 695, in send
    self.connect()
  File "/usr/lib/python2.5/httplib.py", line 1130, in connect
    sock.connect((self.host, self.port))
  File "<string>", line 1, in connect
IOError: [Errno socket error] (116, 'Connection timed out')
 
____________________________________________________
Hugh P. Bivens                               [hidden email]
Sandia National Laboratories       +1 (505) 284-6822
Albuquerque, NM USA
 
 
 



This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: python dependencies.py

Bivens, Hugh P
In reply to this post by John Prikkel

sure, that will save me some time!

 

Thanks,

Hugh

 


From: Prikkel, John [mailto:[hidden email]]
Sent: Thursday, July 03, 2008 12:40 PM
To: [hidden email]
Subject: RE: python dependencies.py

 

Hugh,

 

I could run the script and zip or tar the files up and post them to this site: http://sourceforge.net/project/showfiles.php?group_id=218624

 

Let me know if that would work.

 

Thanks,

John

 


From: Bivens, Hugh P [mailto:[hidden email]]
Sent: Thursday, July 03, 2008 12:27 PM
To: [hidden email]
Subject: python dependencies.py

 

I was following the steps in the draft wiki page to install the Opticks SDK (let me know if I should look at something else):

 

 

When I got to the step to do “python dependencies.py”, I ran into the error below.

I think the problem is that I am behind a web proxy, and I need to set the proxy host and port. Is there a way I can specify the proxy?

 

Thanks,

Hugh

 

$ python dependencies.py

Downloading https://opticks.ballforge.net/files/documents/8/26/xerces.zip -> /cygdrive/c/Development/Dependencies/packages/xerces-2.7.0.zip...

Traceback (most recent call last):

  File "dependencies.py", line 148, in <module>

    p.download(options.force)

  File "dependencies.py", line 64, in download

    urllib.urlretrieve(self.url, self.downloadLocation)

  File "/usr/lib/python2.5/urllib.py", line 89, in urlretrieve

    return _urlopener.retrieve(url, filename, reporthook, data)

  File "/usr/lib/python2.5/urllib.py", line 222, in retrieve

    fp = self.open(url, data)

  File "/usr/lib/python2.5/urllib.py", line 190, in open

    return getattr(self, name)(url)

  File "/usr/lib/python2.5/urllib.py", line 416, in open_https

    h.endheaders()

  File "/usr/lib/python2.5/httplib.py", line 856, in endheaders

    self._send_output()

  File "/usr/lib/python2.5/httplib.py", line 728, in _send_output

    self.send(msg)

  File "/usr/lib/python2.5/httplib.py", line 695, in send

    self.connect()

  File "/usr/lib/python2.5/httplib.py", line 1130, in connect

    sock.connect((self.host, self.port))

  File "<string>", line 1, in connect

IOError: [Errno socket error] (116, 'Connection timed out')

 

____________________________________________________

Hugh P. Bivens                               [hidden email]

Sandia National Laboratories       +1 (505) 284-6822

Albuquerque, NM USA

 

 

 


This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.