Page MenuHome

Blender ID Addon Won't Login in 2.78
Closed, ResolvedPublic

Description

I'm on a Mac with OSX 10.11.6 and the NVIDIA GeForce GT 750M 1024 MB

Blender version is 2.78 RC.

I've attached an image of the error that pops up when I hit "login" with the addon. I have no way to use the ID addon or Cloud addon at the moment. It says there is no "requests" module.

Basically, I go to User Prefs, turn on the blender ID addon version 1.2 and type in my username and password for my blender ID. And that appears.

Thanks!

Best,
Cory

Details

Type
Bug

Event Timeline

Thanks for the bug report. Apparently the MacOS build of Blender is missing the requests module.

Sybren A. Stüvel (sybren) triaged this task as Confirmed, Medium priority.Sep 14 2016, 10:10 AM
Sybren A. Stüvel (sybren) raised the priority of this task from Confirmed, Medium to Confirmed, High.

@Martijn Berger (juicyfruit) can you take a look at this? This should be fixed for 2.78-rc2.

I did some digging, Requests seems to be in SVN when you do this:

$ svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin-9.x.universal libs/darwin-9.x.universal libs/darwin-9.x.universal
... 
A    libs/darwin-9.x.universal/png/include/pngconf.h
A    libs/darwin-9.x.universal/png/lib/libpng.a
A    libs/darwin-9.x.universal/jpeg/include/jconfig.h
A    libs/darwin-9.x.universal/openal/include/AL/al.h

Fetching external item into 'libs/darwin-9.x.universal/release/site-packages':
A    libs/darwin-9.x.universal/release/site-packages/requests
A    libs/darwin-9.x.universal/release/site-packages/requests/packages
A    libs/darwin-9.x.universal/release/site-packages/requests/__init__.py
A    libs/darwin-9.x.universal/release/site-packages/requests/auth.py
A    libs/darwin-9.x.universal/release/site-packages/requests/cookies.py
...

but when I look at https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin-9.x.universal/release/ it contains two zip files, neither of which contain Requests.

The svn:externals property of darwin-9.x.universal/release/site-packages points to https://svn.blender.org/svnroot/bf-blender/trunk/lib/python/site-packages/. Is this taken into account in the build?

Requests are properly packed for nightly buildbot builds, so sure enough site-packages externals are taken into account by the CMake itself. So must be something with particular way of packing/building.

Try RC2 please

I will try to tonight and let you know how it goes. Thanks!