Blender 4.0 beta und 4.1 alpha Addon "System: Blender Cloud" cannot be registered #104938

Closed
opened 2023-10-06 02:36:11 +02:00 by Uwe · 2 comments

System Information
Operating system: Windows-11-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 531.68

Blender Version
Broken: version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-10-04 23:50, hash: 2f71d9f80795
Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-10-05 00:26, hash: bd6b7088bf40
Worked: version 3.6.5 Release Candidate, branch: blender-v3.6-release, commit date: 2023-10-04 17:15

Addon Information
Name: System: Blender Cloud, v.1.25
Author: Sybren A. Stüvel, Francesco SiddiInês Almeida, and Antony Riakiotakis

Short description of error
"System: Blender Cloud" cannot be registered

Exact steps for others to reproduce the error
Based on the default startup.

  1. Download the Blender Cloud add-on from https://cloud.blender.org/services#blender-cloud-add-on
  2. Install the addon
  3. Activate the Addon "System: Blender ID authentication"
  4. Authenticate with your Blender login
  5. Trying to check the box

1st try with 4.0 beta

Exception in module register(): C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\addon_utils.py", line 401, in enable
mod.register()
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud_init_.py", line 93, in register
from . import (
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser_init_.py", line 30, in
from . import (
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\menu_item.py", line 13, in
from . import draw
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\draw.py", line 18, in
shader = gpu.shader.from_builtin("2D_UNIFORM_COLOR")
ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'


2nd try with 4.0 beta

Exception in module register(): C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud_init_.py
Traceback (most recent call last):
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud_init_.py", line 69, in reload_mod
old_module = sys.modules[modname]
KeyError: 'blender_cloud.texture_browser'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\addon_utils.py", line 401, in enable
mod.register()
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud_init_.py", line 87, in register
texture_browser = reload_mod("texture_browser")
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud_init_.py", line 72, in reload_mod
new_module = importlib.import_module(modname)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser_init
.py", line 30, in
from . import (
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\menu_item.py", line 13, in
from . import draw
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\draw.py", line 18, in
shader = gpu.shader.from_builtin("2D_UNIFORM_COLOR")
ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'


1st try with 4.1 alpha

Modules Installed (blender_cloud) from 'C:\Users\uwc\dev\blender_assets\Plugins\blender_cloud-1.25.addon.zip' into 'C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons'
Exception in module register(): C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.1-alpha\4.1\scripts\modules\addon_utils.py", line 401, in enable
mod.register()
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud_init_.py", line 93, in register
from . import (
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser_init_.py", line 30, in
from . import (
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\menu_item.py", line 13, in
from . import draw
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\draw.py", line 18, in
shader = gpu.shader.from_builtin("2D_UNIFORM_COLOR")
ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'


2nd try with 4.1 alpha

Exception in module register(): C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud_init_.py
Traceback (most recent call last):
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud_init_.py", line 69, in reload_mod
old_module = sys.modules[modname]
KeyError: 'blender_cloud.texture_browser'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.1-alpha\4.1\scripts\modules\addon_utils.py", line 401, in enable
mod.register()
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud_init_.py", line 87, in register
texture_browser = reload_mod("texture_browser")
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud_init_.py", line 72, in reload_mod
new_module = importlib.import_module(modname)
File "C:\Program Files\Blender Foundation\blender-4.1-alpha\4.1\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser_init
.py", line 30, in
from . import (
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\menu_item.py", line 13, in
from . import draw
File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\draw.py", line 18, in
shader = gpu.shader.from_builtin("2D_UNIFORM_COLOR")
ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'

**System Information** Operating system: Windows-11-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 531.68 **Blender Version** Broken: version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-10-04 23:50, hash: `2f71d9f80795` Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-10-05 00:26, hash: `bd6b7088bf40` Worked: version 3.6.5 Release Candidate, branch: blender-v3.6-release, commit date: 2023-10-04 17:15 **Addon Information** Name: System: Blender Cloud, v.1.25 Author: Sybren A. Stüvel, Francesco SiddiInês Almeida, and Antony Riakiotakis **Short description of error** "System: Blender Cloud" cannot be registered **Exact steps for others to reproduce the error** Based on the default startup. 1. Download the Blender Cloud add-on from https://cloud.blender.org/services#blender-cloud-add-on 2. Install the addon 3. Activate the Addon "System: Blender ID authentication" 4. Authenticate with your Blender login 5. Trying to check the box ---------------------- 1st try with 4.0 beta ---------------------- Exception in module register(): C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\__init__.py Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\addon_utils.py", line 401, in enable mod.register() File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\__init__.py", line 93, in register from . import ( File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\__init__.py", line 30, in <module> from . import ( File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\menu_item.py", line 13, in <module> from . import draw File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\draw.py", line 18, in <module> shader = gpu.shader.from_builtin("2D_UNIFORM_COLOR") ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR' ---------------------- 2nd try with 4.0 beta ---------------------- Exception in module register(): C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\__init__.py Traceback (most recent call last): File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\__init__.py", line 69, in reload_mod old_module = sys.modules[modname] KeyError: 'blender_cloud.texture_browser' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\addon_utils.py", line 401, in enable mod.register() File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\__init__.py", line 87, in register texture_browser = reload_mod("texture_browser") File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\__init__.py", line 72, in reload_mod new_module = importlib.import_module(modname) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\python\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\__init__.py", line 30, in <module> from . import ( File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\menu_item.py", line 13, in <module> from . import draw File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blender_cloud\texture_browser\draw.py", line 18, in <module> shader = gpu.shader.from_builtin("2D_UNIFORM_COLOR") ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR' ---------------------- 1st try with 4.1 alpha ---------------------- Modules Installed (blender_cloud) from 'C:\\Users\\uwc\\dev\\blender_assets\\Plugins\\blender_cloud-1.25.addon.zip' into 'C:\\Users\\uwc\\AppData\\Roaming\\Blender Foundation\\Blender\\4.1\\scripts\\addons' Exception in module register(): C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\__init__.py Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.1-alpha\4.1\scripts\modules\addon_utils.py", line 401, in enable mod.register() File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\__init__.py", line 93, in register from . import ( File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\__init__.py", line 30, in <module> from . import ( File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\menu_item.py", line 13, in <module> from . import draw File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\draw.py", line 18, in <module> shader = gpu.shader.from_builtin("2D_UNIFORM_COLOR") ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR' ---------------------- 2nd try with 4.1 alpha ---------------------- Exception in module register(): C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\__init__.py Traceback (most recent call last): File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\__init__.py", line 69, in reload_mod old_module = sys.modules[modname] KeyError: 'blender_cloud.texture_browser' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.1-alpha\4.1\scripts\modules\addon_utils.py", line 401, in enable mod.register() File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\__init__.py", line 87, in register texture_browser = reload_mod("texture_browser") File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\__init__.py", line 72, in reload_mod new_module = importlib.import_module(modname) File "C:\Program Files\Blender Foundation\blender-4.1-alpha\4.1\python\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\__init__.py", line 30, in <module> from . import ( File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\menu_item.py", line 13, in <module> from . import draw File "C:\Users\uwc\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender_cloud\texture_browser\draw.py", line 18, in <module> shader = gpu.shader.from_builtin("2D_UNIFORM_COLOR") ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'
Uwe added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-10-06 02:36:11 +02:00
Related: https://projects.blender.org/blender/blender/issues/113004

It's the same issue as blender/blender#113004, and the developers are aware.

This is unfortunately not something that can be done on short notice. For now, please consider the Blender Cloud add-on only compatible with Blender 3.6 and older.

It's the same issue as blender/blender#113004, and the developers are aware. > This is unfortunately not something that can be done on short notice. For now, please consider the Blender Cloud add-on only compatible with Blender 3.6 and older.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-10-06 14:58:49 +02:00
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#104938
No description provided.