No SSL Support in official linux distributions of Blender ? #33102

Closed
opened 2012-11-06 08:59:33 +01:00 by Gaia Clary · 6 comments
Member

%%%Hi.

I have created an Addon that internally makes use of the https connections to the Internet. This Addon works great as long as i run Blender on Windows (i tested on Windows 7) The Addon fails on Linux. It looks like the problem is that for Linux blender is distributed without SSL support.

The attached code fails on line 42 and raises the exception on line 49 when called with a "https://..." URL. The given reason is:

  Reason:unknown url type: https

This code works with Blender releases on windows, but fails on linux. Here is what i got as environment specification from the user:

Linux: linux Mint 13 KDE 64-bit
Blender 2.64.0 - r51026 [downloaded from blender.org]
64-bit version %%%

%%%Hi. I have created an Addon that internally makes use of the https connections to the Internet. This Addon works great as long as i run Blender on Windows (i tested on Windows 7) The Addon fails on Linux. It looks like the problem is that for Linux blender is distributed without SSL support. The attached code fails on line 42 and raises the exception on line 49 when called with a "https://..." URL. The given reason is: ``` Reason:unknown url type: https ``` This code works with Blender releases on windows, but fails on linux. Here is what i got as environment specification from the user: Linux: linux Mint 13 KDE 64-bit Blender 2.64.0 - r51026 [downloaded from blender.org] 64-bit version %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%It always helps when reporter strips their full addons to minimal script which demonstrates the particular issue. It seems you even don't have entry point to this script.

Here's the script i've tested:

import urllib.request

response = urllib.request.urlopen("https://svn.blender.org/svnroot/bf-extensions/")
print(response.read())
response.close()

This worked nice in 2.64, 2.64a, current buildbot (both glibc2.7 and 2.11).

Please provide minimal script which demonstrates the issue. So far everything works smooth here.%%%

%%%It always helps when reporter strips their full addons to minimal script which demonstrates the particular issue. It seems you even don't have entry point to this script. Here's the script i've tested: import urllib.request response = urllib.request.urlopen("https://svn.blender.org/svnroot/bf-extensions/") print(response.read()) response.close() This worked nice in 2.64, 2.64a, current buildbot (both glibc2.7 and 2.11). Please provide minimal script which demonstrates the issue. So far everything works smooth here.%%%

%%%Managed to redo on fresh linux mint. Checking if it's our fault or something to be configured on the system.%%%

%%%Managed to redo on fresh linux mint. Checking if it's our fault or something to be configured on the system.%%%

%%%>>> import ssl
Traceback (most recent call last):

File "<blender_console>", line 1, in <module>
File "/data/downloads/blender-2.64a-linux-glibc27-x86_64/2.64/python/lib/python3.2/ssl.py", line 60, in <module>
  import _ssl             # if we can't import it, let the error propagate

ImportError: libssl.so.0.9.8: cannot open shared object file: No such file or directory


My systems ssl is /usr/lib/libssl.so.1.0.0%%%

%%%>>> import ssl Traceback (most recent call last): ``` File "<blender_console>", line 1, in <module> File "/data/downloads/blender-2.64a-linux-glibc27-x86_64/2.64/python/lib/python3.2/ssl.py", line 60, in <module> import _ssl # if we can't import it, let the error propagate ``` ImportError: libssl.so.0.9.8: cannot open shared object file: No such file or directory >>> --- My systems ssl is /usr/lib/libssl.so.1.0.0%%%

%%%The issue has been fixed in builds from builder.blender.org and it should be fixed in upcoming 2.65 release as well.

Thanks for the report, closing.%%%

%%%The issue has been fixed in builds from builder.blender.org and it should be fixed in upcoming 2.65 release as well. Thanks for the report, closing.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#33102
No description provided.