New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"check for updates" error #2151
Comments
|
i think you might want to update Blender it uses python 3.6 now |
|
get 2.79a from blender.org: https://www.blender.org/download/ no b2.8 is not supported |
|
ok, then osx builds are not in-line with linux/windows builds. another way to update Sverchok, manually, is to run this from console... i think... bpy.ops.node.sverchok_update_addon() |
|
the error comes from the python |
|
from what I found out, the python version that comes with (my version of) blender seems to be built against an old(er) version of openssl. |
|
not much we can fix on the Blender side. Sverchok can drop the dependency on |
|
am hoping to nail the coffin with this commit. #2155 you will need to manually update using that console command i showed above (will only work if Sverchok is enabled..) |
|
@zeffii @freder |
|
@portnov still doesn't work. but it makes sense: the blender python's openssl version only |
|
then |
|
@zeffii I forgot to mention: that also produces an error. |
|
As I expected :) @zeffii that calls urllib also, so it uses the same old openssl version, so it has the same problem. I see only two solutions:
|
|
in that case maybe you can change the base url from TextEditor.. import sverchok
from sverchok.utils import sv_prefs
# removing the https to http
sv_prefs.set_vals(dload_archive_path='http://github.com/nortikin/sverchok/archive/')
bpy.ops.node.sverchok_update_addon() |
|
hmm, i don't know. @freder might be worth filing a bug report on Blender's bugtracker.. or looking if it has been mentioned there already. beyond the scope of what i'd hoped to accomplish today :) |
|
I opened a ticket in the blender bug tracker: https://developer.blender.org/T54158 |
|
if everything worked you would be able to run this in the TextEditor (fill minimal example script: import urllib
to_path = r"C:\Users\zeffi\Desktop\desk_blends\master_example.zip"
# to_path = "some_existing_dir_path/master.zip"
url = "https://github.com/nortikin/sverchok/archive/master.zip"
file = urllib.request.urlretrieve(url, to_path) |
|
perhaps an interesting read: https://stackoverflow.com/questions/44316292/ssl-sslerror-tlsv1-alert-protocol-version |
|
in b3d python console |
|
just adding for completeness here, i suspect you have already perused those on your own steam by now. |
|
@enzyme69 you have osx, are you using Blender's supplied python or a system python.. |
|
@zeffii I am always using Blender supplied Python with Sverchok, never had issue thankfully. Running Blender by selecting blender.app - show package content and then running from terminal app. |
|
@enzyme69 and what does this say when you do it in b3d python console |
|
I am getting this: |
|
Ok folks I confirm I also have issue with Sverchok github update and also I can no longer load my github snippet... I will try latest2 Blender for Mac... |
|
|
Blender 2.79a RC
@zeffii your one is higher version? |
|
Confirmed:
|
|
Full console error: |
|
okok @enzyme69 now what happens if you run this in the TextEditor import urllib
to_path = r"C:\Users\zeffi\Desktop\desk_blends\master_example.zip" # on windows..for example
# to_path = "some_existing_dir_path/master.zip" # <----- you make up a path
url = "https://github.com/nortikin/sverchok/archive/master.zip"
file = urllib.request.urlretrieve(url, to_path)does it generate the file at the location you write in |
|
|
Not generating anything. |
|
so... same error? |
|
Same error exactly. Failed here: |
|
Blender it uses python 3.6? Mine seems to be 3.5. Latest Blender 2.79a RC. PYTHON INTERACTIVE CONSOLE 3.5.3 (default, May 29 2017, 11:05:36) |
|
test if you can with 3.6 :) |
|
I don't think Python can do something about TLS things, it is implemented inside openssl anyway. |
|
yes @enzyme69 >>> import ssl; print(ssl.OPENSSL_VERSION)
OpenSSL 1.0.2k 26 Jan 2017??? what does it say in the builder.blender.org versions that use Py3.6.x? |
|
|
turns out there was an issue (with more information) for this already: https://developer.blender.org/T52507 |
|
apple sucks |


Problem statement
clicking the "check for updates" button causes an error.
Steps to reproduce
Expected result
notification about newer available version
Actual result
Sverchok version
0.5.9.6sverchok-master.zipfrom github (today)The text was updated successfully, but these errors were encountered: