Logo Blender Errors Version

Blender Errors Version

Tổ chức
Impertio-Studio
blender-errors-version

Use when debugging Blender AttributeError from removed APIs, ImportError from deprecated modules (bgl in 5.0), or breaking changes in operator signatures between versions. Prevents silent failures from using APIs that were renamed or removed in newer Blender versions. Provides migration patterns from 3.x to 4.x to 5.x with complete replacement mappings. Keywords: AttributeError, ImportError, deprecated, version error, bgl, migration, breaking change, removed API, 3.x to 4.x, 4.x to 5.x, Blender upgrade, module has no attribute, addon not compatible.

Tổng quan

Nhà phát hànhImpertio-Studio
Kho mãBlender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package
Tên kỹ năngblender-errors-version
Sao
44
Bản fork
5
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Impertio-Studio công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Blender Errors Version trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/blender/errors/blender-errors-version
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package.git /tmp/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package
mkdir -p .claude/skills
cp -r /tmp/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/skills/blender/errors/blender-errors-version .claude/skills/blender-errors-version
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Blender Errors Version trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Blender Errors Version ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Blender Errors Version không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Blender Errors: Version Compatibility

Diagnose and resolve Python API errors caused by Blender version differences. This skill activates when encountering AttributeError, ImportError, TypeError, KeyError, or RuntimeError in Blender scripts that result from using removed, renamed, or restructured APIs.

Dependency: blender-core-versions — version matrix and detection API.


1. Error Diagnosis Decision Tree

When a Blender Python script raises an error, follow this decision tree:

ERROR RECEIVED
│
├── AttributeError?
│   ├── "has no attribute 'bevel_weight'" → Blender 4.0+ mesh attribute migration [E-01]
│   ├── "has no attribute 'crease'" → Blender 4.0+ mesh attribute migration [E-01]
│   ├── "has no attribute 'use_auto_smooth'" → Blender 4.1+ auto-smooth removal [E-02]
│   ├── "has no attribute 'auto_smooth_angle'" → Blender 4.1+ auto-smooth removal [E-02]
│   ├── "has no attribute 'face_maps'" → Blender 4.0+ face maps removal [E-03]
│   ├── "has no attribute 'layers'" (on Bone) → Blender 4.0+ bone collections [E-04]
│   ├── "has no attribute 'bone_groups'" → Blender 4.0+ bone collections [E-04]
│   ├── "has no attribute 'inputs'" (on NodeTree) → Blender 4.0+ interface API [E-05]
│   ├── "has no attribute 'outputs'" (on NodeTree) → Blender 4.0+ interface API [E-05]
│   ├── "has no attribute 'sculpt_tool'" → Blender 5.0+ brush rename [E-06]
│   ├── "has no attribute 'node_tree'" (on Scene) → Blender 5.0+ compositor [E-07]
│   ├── "has no attribute 'use_nodes'" (on Scene) → Blender 5.0+ compositor [E-07]
│   ├── "has no attribute 'end_frame'" (on Strip) → Blender 5.0+ VSE [E-08]
│   ├── "has no attribute 'fcurves'" (on Action) → Blender 5.0+ slotted actions [E-09]
│   ├── "has no attribute 'displacement_method'" (on CyclesMaterial) → Blender 4.1+ [E-10]
│   ├── "has no attribute 'active_color_name'" → Blender 4.3+ AttributeGroup split [E-11]
│   ├── "has no attribute 'use_ssr'" → Blender 4.3+ EEVEE property removal [E-12]
│   ├── "has no attribute 'use_bloom'" → Blender 4.3+ EEVEE property removal [E-12]
│   └── "has no attribute 'calc_normals'" → Blender 4.0+ auto normals [E-13]
│
├── ImportError / ModuleNotFoundError?
│   ├── "No module named 'bgl'" → Blender 5.0+ BGL removal [E-14]
│   ├── "No module named 'io_scene_obj'" → Blender 4.0+ C++ IO [E-15]
│   └── "No module named 'io_mesh_ply'" → Blender 4.0+ C++ IO [E-15]
│
├── TypeError?
│   ├── On bpy.ops call with dict first arg → Blender 4.0+ context override [E-16]
│   ├── "foreach_set() invalid data type" → Blender 4.1+ validation [E-17]
│   ├── On IDProperty type mismatch → Blender 4.2+ static typing [E-18]
│   └── On __init__() argument mismatch → Blender 4.4+ super() required [E-19]
│
├── KeyError?
│   ├── "Subsurface" (on Principled BSDF) → Blender 4.0+ socket renames [E-20]
│   ├── "Specular" (on Principled BSDF) → Blender 4.0+ socket renames [E-20]
│   ├── "cycles" (on scene[]) → Blender 5.0+ dict access removal [E-21]
│   └── Node socket name not found → Version-dependent socket names [E-20]
│
├── RuntimeError?
│   ├── "Embedded ID assignment" → Blender 4.3+ PointerProperty [E-22]
│   └── "BLENDER_EEVEE" engine not found → EEVEE identifier change [E-23]
│
└── ValueError?
    ├── "'CUBEMAP' not in enum" → Blender 4.1+ light probe renames [E-24]
    ├── "'PLANAR' not in enum" → Blender 4.1+ light probe renames [E-24]
    ├── "'3D_UNIFORM_COLOR' not found" → Blender 4.0+ shader renames [E-25]
    └── "'BLENDER_EEVEE_NEXT' not in enum" → Blender 5.0+ EEVEE revert [E-23]

2. Error Patterns: Quick Resolution Table

Blender 4.0 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-01AttributeError: 'MeshEdge' has no attribute 'bevel_weight'mesh.edges[i].bevel_weightmesh.attributes.get("bevel_weight_edge")4.0
E-01AttributeError: 'MeshEdge' has no attribute 'crease'mesh.edges[i].creasemesh.attributes.get("crease_edge")4.0
E-03AttributeError: 'Object' has no attribute 'face_maps'obj.face_mapsInteger face attributes4.0
E-04AttributeError: 'Bone' has no attribute 'layers'bone.layers[i]bone.collections4.0
E-04AttributeError: 'Pose' has no attribute 'bone_groups'pose.bone_groupsBone collections + colors4.0
E-05AttributeError: 'NodeTree' has no attribute 'inputs'NodeTree.inputs.new()NodeTree.interface.new_socket()4.0
E-13AttributeError: 'Mesh' has no attribute 'calc_normals'mesh.calc_normals()Removed (auto-calculated)4.0
E-15ModuleNotFoundError: No module named 'io_scene_obj'Python OBJ/PLY IObpy.ops.wm.obj_import/export4.0
E-16TypeError: bpy.ops expects keyword argumentsDict context overridecontext.temp_override()4.0
E-20KeyError: 'Subsurface' on Principled BSDFOld socket namesSubsurface Weight, etc.4.0
E-25ValueError: '3D_UNIFORM_COLOR' not found3D_* shader namesPOLYLINE_* / prefix removed4.0

Blender 4.1 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-02AttributeError: 'Mesh' has no attribute 'use_auto_smooth'mesh.use_auto_smoothmesh.corner_normals + Smooth by Angle modifier4.1
E-02AttributeError: 'Mesh' has no attribute 'auto_smooth_angle'mesh.auto_smooth_angleSmooth by Angle modifier4.1
E-10AttributeError: 'CyclesMaterialSettings' has no attribute 'displacement_method'mat.cycles.displacement_methodmat.displacement_method4.1
E-17TypeError: foreach_set() invalid data typeSilent failure on bad typesAdd type validation4.1
E-24ValueError: 'CUBEMAP' not in enumCUBEMAP/PLANAR/GRIDSPHERE/PLANE/VOLUME4.1

Blender 4.2 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-18TypeError: IDProperty type mismatchDynamic IDProperty typesStatic typing enforced4.2
E-23RuntimeError: 'BLENDER_EEVEE' not found (in 4.2-4.x)BLENDER_EEVEEBLENDER_EEVEE_NEXT4.2

Blender 4.3 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-11AttributeError: 'AttributeGroup*' has no attribute 'active_color_name'Generic AttributeGroupAttributeGroupMesh (type-specific)4.3
E-12AttributeError: 'EEVEE' has no attribute 'use_ssr'40+ EEVEE legacy propsProperties removed (engine-internal)4.3
E-22RuntimeError: Embedded ID assignmentEmbedded ID to PointerPropertyDo not assign embedded IDs4.3

Blender 4.4 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-19TypeError: __init__() argument mismatchNo super().__init__()super().__init__(*args, **kwargs)4.4

Blender 5.0 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-14ModuleNotFoundError: No module named 'bgl'import bglimport gpu + gpu.state.*5.0
E-06AttributeError: 'Brush' has no attribute 'sculpt_tool'brush.sculpt_toolbrush.sculpt_brush_type5.0
E-07AttributeError: 'Scene' has no attribute 'node_tree'scene.node_tree (compositor)scene.compositing_node_group5.0
E-08AttributeError: 'Strip' has no attribute 'end_frame'strip.end_framestrip.length5.0
E-09AttributeError: 'Action' has no attribute 'fcurves'action.fcurves (legacy)Slotted Actions channelbag API5.0
E-21KeyError: 'cycles' on scene['cycles']Dict access to RNA propsscene.cycles.samples (attribute)5.0

3. Deprecation Timeline

ALWAYS check this timeline before using any API. If the current Blender version is past the removal date, the API WILL raise an error.

APIDeprecatedRemovedWarning Period
Context override dicts3.24.03.2 → 3.6 (4 releases)
mesh.calc_normals()3.44.03.4 → 3.6 (2 releases)
MeshEdge.bevel_weight / .crease3.44.03.4 → 3.6 (2 releases)
NodeTree.inputs/outputs3.44.03.4 → 3.6 (2 releases)
3D_UNIFORM_COLOR shader3.44.03.4 → 3.6 (2 releases)
bgl module3.55.03.5 → 4.x (long, 9+ releases)
mesh.use_auto_smooth4.04.14.0 only (1 release)
Light probe CUBEMAP/PLANAR/GRID4.04.14.0 only (1 release)
bl_info dict (for extensions)4.2OngoingStill works as legacy addon
BLENDER_EEVEE identifier4.24.2 (temp)Renamed to _NEXT, reverted in 5.0
EEVEE legacy properties (40+)4.24.34.2 only (1 release)
bpy.types.AttributeGroup (generic)4.24.34.2 only (1 release)
bpy.types.Sequence (VSE)4.34.44.3 only (1 release)
action.fcurves (legacy)4.45.04.4 → 4.5 (2 releases)
Image.bindcode / gl_load()4.05.04.0 → 4.x (long)
scene['cycles'] dict access4.25.04.2 → 4.x
scene.node_tree (compositor)4.25.04.2 → 4.x
VSE time property names5.16.05.1 → 5.x (future)

4. Diagnostic Patterns

Pattern 1: Identify Version from Error

When a user reports an error without specifying their Blender version, ALWAYS determine the version first:

python
# Blender 3.x / 4.x / 5.x: Print diagnostic info
import bpy
print(f"Blender: {bpy.app.version}")
print(f"Python: {bpy.app.version_string}")
print(f"Cycle: {bpy.app.version_cycle}")

Pattern 2: Version-Safe Error Recovery

ALWAYS use hasattr() for graceful degradation. NEVER catch AttributeError silently.

python
# Blender 3.x / 4.x / 5.x: Version-safe accessor with explicit fallback
import bpy

def get_bevel_weight(mesh, edge_index):
    """Get edge bevel weight with version-safe fallback."""
    if bpy.app.version >= (4, 0, 0):
        attr = mesh.attributes.get("bevel_weight_edge")
        if attr:
            return attr.data[edge_index].value
        return 0.0
    else:
        return mesh.edges[edge_index].bevel_weight

Pattern 3: Multi-Version Compatibility Wrapper

For addons targeting multiple Blender versions, use a compatibility module:

python
# Blender 3.x / 4.x / 5.x: compat.py module pattern
import bpy

BLENDER_4 = bpy.app.version >= (4, 0, 0)
BLENDER_41 = bpy.app.version >= (4, 1, 0)
BLENDER_42 = bpy.app.version >= (4, 2, 0)
BLENDER_43 = bpy.app.version >= (4, 3, 0)
BLENDER_44 = bpy.app.version >= (4, 4, 0)
BLENDER_5 = bpy.app.version >= (5, 0, 0)
BLENDER_51 = bpy.app.version >= (5, 1, 0)

5. Critical Rules

  1. NEVER suppress DeprecationWarning in Blender scripts — it hides migration signals.
  2. NEVER use try/except AttributeError as a version check — use bpy.app.version or hasattr().
  3. ALWAYS check the deprecation timeline BEFORE using any Blender API.
  4. ALWAYS test addons on the OLDEST supported version, not just the newest.
  5. NEVER assume backward compatibility of .blend files across major API rewrites (Grease Pencil 4.3, Slotted Actions 4.4, Compositor 5.0).
  6. ALWAYS restore gpu.state to defaults at the end of draw callbacks.
  7. NEVER use bgl in any new code — it is REMOVED in Blender 5.0.
  8. ALWAYS use context.temp_override() instead of dict overrides in Blender 4.0+.

6. Reference Links

Official Documentation

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Blender Errors Version làm được gì?

Use when debugging Blender AttributeError from removed APIs, ImportError from deprecated modules (bgl in 5.0), or breaking changes in operator signatures between versions. Prevents silent failures from using APIs that were renamed or removed in newer Blender versions. Provides migration patterns from 3.x to 4.x to 5.x with complete replacement mappings. Keywords: AttributeError, ImportError, deprecated, version error, bgl, migration, breaking change, removed API, 3.x to 4.x, 4.x to 5.x, Blender upgrade, module has no attribute, addon not compatible.

Vì sao nên dùng Blender Errors Version trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Blender Errors Version là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Blender Errors Version trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/blender/errors/blender-errors-version. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Blender Errors Version?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Blender Errors Version với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Blender Errors Version với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Blender Errors Version có miễn phí không?

Có. Kỹ năng này được Impertio-Studio phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇