[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at "http://www.sagemath.org/spkg/optional/"

2015-04-20 Thread ota . svitek
Thanks for suggestion.
I checked and I already have installed libssl-dev (from the time I compiled 
version 6.4 probably) which I think is the debian equivalent of 
openssl-devel. To be sure I did recompile Python in sage and still get the 
same error with ssl validation.


On Monday, April 20, 2015 at 4:16:24 PM UTC+2, Volker Braun wrote:
>
> You don't have ssl (the C library, not the python wrapper)
>
> Install openssl-devel in your distribution (e.g. yum install 
> openssl-devel) and then recompile Python (sage -f python).
>
>
>
> On Monday, April 20, 2015 at 9:43:40 AM UTC-4, ota.s...@gmail.com wrote:
>>
>> Sorry for the delay, but only now I got time to try your suggestion 
>> ("sage -pip install pyopenssl").
>>
>> However, I got into trouble with downloading the package due to 
>> certificate validation problem. I have as well tried to install certifi 
>> package but obviously I got the same error (see the log below).
>>
>> ---
>> cat  /home/sagerunner/.pip/pip.log  
>> 
>> /work/software/sage/sage-6.5/local/bin/pip run on Mon Apr 20 15:16:18 2015
>> Downloading/unpacking pyopenssl
>>   Getting page https://pypi.python.org/simple/pyopenssl/
>>   Could not fetch URL https://pypi.python.org/simple/pyopenssl/: 
>> connection error: [Errno 1] _ssl.c:510: error:14090086:SSL 
>> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
>>   Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking 
>> for download links for pyopenssl
>>   Getting page https://pypi.python.org/simple/
>>   Could not fetch URL https://pypi.python.org/simple/: connection error: 
>> HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries 
>> exceeded with url: /simple/ (Caused by : 
>> )
>>   Will skip URL https://pypi.python.org/simple/ when looking for 
>> download links for pyopenssl
>>   Cannot fetch index base URL https://pypi.python.org/simple/
>>   URLs to search for versions for pyopenssl:
>>   * https://pypi.python.org/simple/pyopenssl/
>>   Getting page https://pypi.python.org/simple/pyopenssl/
>>   Could not fetch URL https://pypi.python.org/simple/pyopenssl/: 
>> connection error: [Errno 1] _ssl.c:510: error:14090086:SSL 
>> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
>>   Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking 
>> for download links for pyopenssl
>>   Could not find any downloads that satisfy the requirement pyopenssl
>> Cleaning up...
>>   Removing temporary dir /tmp/pip_build_sagerunner...
>> No distributions at all found for pyopenssl
>> Exception information:
>> Traceback (most recent call last):
>>   File 
>> "/work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py",
>>  
>> line 122, in main
>> status = self.run(options, args)
>>   File 
>> "/work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py",
>>  
>> line 278, in run
>> requirement_set.prepare_files(finder, 
>> force_root_egg_info=self.bundle, bundle=self.bundle)
>>   File 
>> "/work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py",
>>  
>> line 1177, in prepare_files
>> url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
>>   File 
>> "/work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/index.py",
>>  
>> line 277, in find_requirement
>> raise DistributionNotFound('No distributions at all found for %s' % 
>> req)
>> DistributionNotFound: No distributions at all found for pyopenssl
>>
>>
>> ---
>>
>> Is there any way how to switch of ssl verification or otherwise 
>> circumvent this issue?
>>
>> Thank you
>>
>>
>> On Friday, April 17, 2015 at 4:06:15 PM UTC+2, Volker Braun wrote:
>>>
>>> Pyopenssl spkg has been removed, use "sage -pip install pyopenssl" 
>>> instead
>>>
>>>
>>> On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com 
>>> wrote:

 Hello,

 I am trying to compile sage-6.5 with ssl support but when the command 
 "./sage -i pyopenssl"
 tries downloading the pyopenssl-0.13.p0.spkg package it gives error:
 ---
 IOError: [Errno 404] Not Found: '//
 www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg'
 Error: failed to download package pyopenssl-0.13.p0
 ---
 I went to the address with browser and I saw the package description in 
 the list of optional packages "http://www.sagemath.org/spkg/optional/"; 
 but when clicking pyopenssl-0.13.p0.spkg I get "page not found".

 Can someone update the web so that the package is download-able?

 Thank you
 ota

>>>


[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at "http://www.sagemath.org/spkg/optional/"

2015-04-20 Thread ota . svitek
Sorry for the delay, but only now I got time to try your suggestion ("sage 
-pip install pyopenssl").

However, I got into trouble with downloading the package due to certificate 
validation problem. I have as well tried to install certifi package but 
obviously I got the same error (see the log below).
---
cat  /home/sagerunner/.pip/pip.log  

/work/software/sage/sage-6.5/local/bin/pip run on Mon Apr 20 15:16:18 2015
Downloading/unpacking pyopenssl
  Getting page https://pypi.python.org/simple/pyopenssl/
  Could not fetch URL https://pypi.python.org/simple/pyopenssl/: connection 
error: [Errno 1] _ssl.c:510: error:14090086:SSL 
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking for 
download links for pyopenssl
  Getting page https://pypi.python.org/simple/
  Could not fetch URL https://pypi.python.org/simple/: connection error: 
HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded 
with url: /simple/ (Caused by : )
  Will skip URL https://pypi.python.org/simple/ when looking for download 
links for pyopenssl
  Cannot fetch index base URL https://pypi.python.org/simple/
  URLs to search for versions for pyopenssl:
  * https://pypi.python.org/simple/pyopenssl/
  Getting page https://pypi.python.org/simple/pyopenssl/
  Could not fetch URL https://pypi.python.org/simple/pyopenssl/: connection 
error: [Errno 1] _ssl.c:510: error:14090086:SSL 
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking for 
download links for pyopenssl
  Could not find any downloads that satisfy the requirement pyopenssl
Cleaning up...
  Removing temporary dir /tmp/pip_build_sagerunner...
No distributions at all found for pyopenssl
Exception information:
Traceback (most recent call last):
  File 
"/work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py",
 
line 122, in main
status = self.run(options, args)
  File 
"/work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py",
 
line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, 
bundle=self.bundle)
  File 
"/work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py",
 
line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File 
"/work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/index.py",
 
line 277, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for pyopenssl

---

Is there any way how to switch of ssl verification or otherwise circumvent 
this issue?

Thank you


On Friday, April 17, 2015 at 4:06:15 PM UTC+2, Volker Braun wrote:
>
> Pyopenssl spkg has been removed, use "sage -pip install pyopenssl" instead
>
>
> On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com wrote:
>>
>> Hello,
>>
>> I am trying to compile sage-6.5 with ssl support but when the command 
>> "./sage -i pyopenssl"
>> tries downloading the pyopenssl-0.13.p0.spkg package it gives error:
>> ---
>> IOError: [Errno 404] Not Found: '//
>> www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg'
>> Error: failed to download package pyopenssl-0.13.p0
>> ---
>> I went to the address with browser and I saw the package description in 
>> the list of optional packages "http://www.sagemath.org/spkg/optional/"; 
>> but when clicking pyopenssl-0.13.p0.spkg I get "page not found".
>>
>> Can someone update the web so that the package is download-able?
>>
>> Thank you
>> ota
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at "http://www.sagemath.org/spkg/optional/"

2015-04-17 Thread ota . svitek
I was using the tutorial for building from source code located here:
http://www.sagemath.org/doc/installation/source.html#step-by-step-installation-procedure

So it would be good to update there plus putting the note about the package 
removal to the list of optional packages:
http://www.sagemath.org/spkg/optional/


On Friday, April 17, 2015 at 4:51:19 PM UTC+2, kcrisman wrote:
>
>
> Pyopenssl spkg has been removed, use "sage -pip install pyopenssl" instead
>>
>>
> But is there somewhere in the documentation (perhaps for sagenb?) that 
> says one should do `./sage -i pyopenssl`?  And if so, why was that not 
> changed at the time of removing this optional package?
>  
>
>>
>> On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com wrote:
>>>
>>> Hello,
>>>
>>> I am trying to compile sage-6.5 with ssl support but when the command 
>>> "./sage -i pyopenssl"
>>> tries downloading the pyopenssl-0.13.p0.spkg package it gives error:
>>> ---
>>> IOError: [Errno 404] Not Found: '//
>>> www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg'
>>> Error: failed to download package pyopenssl-0.13.p0
>>> ---
>>> I went to the address with browser and I saw the package description in 
>>> the list of optional packages "http://www.sagemath.org/spkg/optional/"; 
>>> but when clicking pyopenssl-0.13.p0.spkg I get "page not found".
>>>
>>> Can someone update the web so that the package is download-able?
>>>
>>> Thank you
>>> ota
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] pyopenssl-0.13.p0.spkg not accessible at "http://www.sagemath.org/spkg/optional/"

2015-04-17 Thread ota . svitek
Hello,

I am trying to compile sage-6.5 with ssl support but when the command 
"./sage -i pyopenssl"
tries downloading the pyopenssl-0.13.p0.spkg package it gives error:
---
IOError: [Errno 404] Not Found: 
'//www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg'
Error: failed to download package pyopenssl-0.13.p0
---
I went to the address with browser and I saw the package description in the 
list of optional packages "http://www.sagemath.org/spkg/optional/"; but when 
clicking pyopenssl-0.13.p0.spkg I get "page not found".

Can someone update the web so that the package is download-able?

Thank you
ota

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.