Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Version 2016.05: Python 3.5.1. Building python packages . error: Download error on https://pypi.python.org/simple/: unknown url type: https
@ 2016-07-04 15:06 pborut123
  2016-07-04 20:44 ` Yegor Yefremov
  0 siblings, 1 reply; 2+ messages in thread
From: pborut123 @ 2016-07-04 15:06 UTC (permalink / raw)
  To: buildroot

Hello,
Searching for solution I've found that this error is connected with ssl 
access in buildroot's host python3 installation.
If I run exact python3 from buildroot (./output/host/usr/bin/python3) 
and enter code to test https connection:

Python 3.5.1 (default, Jul  3 2016, 21:09:24)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>from urllib.request import urlopen
>>>urlopen('https://askubuntu.com').read()
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File 
"/home/pborut/strhub/2/buildroot2/output/host/usr/lib/python3.5/urllib/request.py", 
line 162, in urlopen
     return opener.open(url, data, timeout)
  ...
   File 
"/home/pborut/strhub/2/buildroot2/output/host/usr/lib/python3.5/urllib/request.py", 
line 1310, in unknown_open
     raise URLError('unknown url type: %s' % type)
urllib.error.URLError: <urlopen error unknown url type: https>

which is same error message I get while building module.

I have built buildroot configuration with python3, I have ssl option 
checked, I have openssl package also selected.

I'm running 64-bit LinuxMint vm (ubuntu) with Python3 3.4.3, works normal.

Do you have any suggestion on what else to check to get over this issue?

Best regards,
Borut.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Version 2016.05: Python 3.5.1. Building python packages . error: Download error on https://pypi.python.org/simple/: unknown url type: https
  2016-07-04 15:06 [Buildroot] Version 2016.05: Python 3.5.1. Building python packages . error: Download error on https://pypi.python.org/simple/: unknown url type: https pborut123
@ 2016-07-04 20:44 ` Yegor Yefremov
  0 siblings, 0 replies; 2+ messages in thread
From: Yegor Yefremov @ 2016-07-04 20:44 UTC (permalink / raw)
  To: buildroot

Hi Borut,

On Mon, Jul 4, 2016 at 5:06 PM, pborut123 <pborut123@gmail.com> wrote:
> Hello,
> Searching for solution I've found that this error is connected with ssl
> access in buildroot's host python3 installation.
> If I run exact python3 from buildroot (./output/host/usr/bin/python3) and
> enter code to test https connection:
>
> Python 3.5.1 (default, Jul  3 2016, 21:09:24)
> [GCC 4.8.4] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>>
>>>> from urllib.request import urlopen
>>>> urlopen('https://askubuntu.com').read()
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/home/pborut/strhub/2/buildroot2/output/host/usr/lib/python3.5/urllib/request.py",
> line 162, in urlopen
>     return opener.open(url, data, timeout)
>  ...
>   File
> "/home/pborut/strhub/2/buildroot2/output/host/usr/lib/python3.5/urllib/request.py",
> line 1310, in unknown_open
>     raise URLError('unknown url type: %s' % type)
> urllib.error.URLError: <urlopen error unknown url type: https>
>
> which is same error message I get while building module.
>
> I have built buildroot configuration with python3, I have ssl option
> checked, I have openssl package also selected.
>
> I'm running 64-bit LinuxMint vm (ubuntu) with Python3 3.4.3, works normal.
>
> Do you have any suggestion on what else to check to get over this issue?

What package are going to build?

Yegor

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-04 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-04 15:06 [Buildroot] Version 2016.05: Python 3.5.1. Building python packages . error: Download error on https://pypi.python.org/simple/: unknown url type: https pborut123
2016-07-04 20:44 ` Yegor Yefremov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox