Blender Installation Issues

Hi, I am trying to use the Blender Connector, but get this error code when I try and press ‘load users projects’:

Any help would be appreciated.

Starting module dependency installation
C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\bin\python.exe
Using connector installation path C:\Users\UKTES048\AppData\Roaming\Speckle\connector_installations\Blender 4.2
Installing Speckle dependencies to C:\Users\UKTES048\AppData\Roaming\Speckle\connector_installations\Blender 4.2
Successfully installed dependencies
Successfully found dependencies
Repository data: C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org not found, sync required!
SpeckleBlender: Loading users...
SpeckleBlender: Authenticated 1/1 accounts
Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109
Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\properties\scene.py", line 190, in user_update_hook
    bpy.ops.speckle.load_user_streams()  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109

File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\properties\scene.py", line 189, in user_update_hook
Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109
Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\streams.py", line 631, in execute
    self.create_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\streams.py", line 645, in create_stream
    bpy.ops.speckle.load_user_streams()
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109

Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\streams.py", line 631, in execute
    self.create_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\streams.py", line 645, in create_stream
    bpy.ops.speckle.load_user_streams()
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109```

Hey @Tom.Sargent,

Seems like there is an issue connecting to the server. It could happen due to an expired token or trying to reach a deprecated server.

So here is the debugging steps:

  1. Open Speckle Blender Connector and click refresh button.

  1. Open Blender’s scripting window.

  1. Copy and paste the following code snippet and run the script.
import bpy_speckle
import bpy
from bpy_speckle.clients import speckle_clients


client = speckle_clients[int(bpy.context.scene.speckle.active_user)]

streams = client.stream.list(stream_limit=10)

print(streams)

You should see the output in the integrated console. If not it should be in System Console.

In my case, this code is printing my streams. It could return an exception in your case, could you please send the output to us? So we can spot the problem :slight_smile:

1 Like

Hi, thanks for the above. I have run through these steps and this was what appeared in the console:

Starting module dependency installation
C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\bin\python.exe
Using connector installation path C:\Users\UKTES048\AppData\Roaming\Speckle\connector_installations\Blender 4.2
Skipped installing dependencies
Successfully found dependencies
SpeckleBlender: Loading users...
SpeckleBlender: Authenticated 1/1 accounts
Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109
Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\properties\scene.py", line 190, in user_update_hook
    bpy.ops.speckle.load_user_streams()  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 176, in execute
    self.load_user_stream(context)
  File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\operators\users.py", line 202, in load_user_stream
    for i, s in enumerate(streams):
                ^^^^^^^^^^^^^^^^^^
TypeError: 'SpeckleException' object is not iterable
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109

File "C:\Users\UKTES048\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\bpy_speckle\properties\scene.py", line 189, in user_update_hook
\Text:8: DeprecationWarning: Call to deprecated method list. (Stream/Branch/Commit API is now deprecated, Use the new Project/Model/Version API functions in Client}) -- Deprecated since version 2.20.
SpeckleException: Failed to execute the GraphQL stream request. Inner exception: HTTPSConnectionPool(host='app.speckle.systems', port=443): Max retries exceeded with url: /graphql (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
\Text:8: DeprecationWarning: Call to deprecated method list. (Stream/Branch/Commit API is now deprecated, Use the new Project/Model/Version API functions in Client}) -- Deprecated since version 2.20.
SpeckleException: Failed to execute the GraphQL stream request. Inner exception: HTTPSConnectionPool(host='app.speckle.systems', port=443): Max retries exceeded with url: /graphql (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))

Thought as well it may be worth mentioning this is in Blender 4.2.3

The unable to get local issuer certificate issue indicates that, certificate presented by app.speckle.sytems is not a trusted certificate which means there could be a proxy server in your network. Are you using any kind of cluster, VPN or maybe you’re within a corporate network?

Trying it from a different network could verify it.

I am logged on through a corporate network/VPN so it must be getting blocked here. I can get in touch with the IT team to see if they can unblock it.

Thanks for your help, and i’ll get back to you once i’ve got in touch with IT!

2 Likes