error to "'utf-8' codec can't decode byte 0xb9 in position 22: invalid start byte" more information #84965

Closed
opened 2021-01-22 15:51:08 +01:00 by 조현영 · 4 comments

System Information
Operating system: Windows-10-home-64bit
nvidia geforce 2070super ver.3.2.0.5.70
ryzen 3700x
16(8x2)GB

Blender Version
Broken: version: 2.80, 2.79, 2.92,
Previous fine ver : all version
branch: master
commit date: 2021-01-22 12:00~now
hash: ?
Worked: (optional)

Short description of error
An error occurred while installing'mod3' for import-export of mhw.
"'utf-8' codec can't decode byte 0xb9 in position 22: invalid start byte"
dawdwd.png

Exact steps for others to reproduce the error

  1. run blender
  2. click to "edit" -> "preferences" -> "add-on"
  3. installing the 'mod3-mhw~(Mod3-MHW-Importer-master.zip)'
    (4. If it works normally, there will be'mod3' in import-export.)
    [Based on the default startup or an attached .blend file (as simple as possible)]

Blender's pyton that I downloaded : python37.dll

If you need more information, I will write it in the comments.
However, I am very new to coding. Please explain the solution in detail.

**System Information** Operating system: Windows-10-home-64bit nvidia geforce 2070super ver.3.2.0.5.70 ryzen 3700x 16(8x2)GB **Blender Version** Broken: version: 2.80, 2.79, 2.92, Previous fine ver : all version branch: master commit date: 2021-01-22 12:00~now hash: ? Worked: (optional) **Short description of error** An error occurred while installing'mod3' for import-export of mhw. "'utf-8' codec can't decode byte 0xb9 in position 22: invalid start byte" ![dawdwd.png](https://archive.blender.org/developer/F9592485/dawdwd.png) **Exact steps for others to reproduce the error** 1. run blender 2. click to "edit" -> "preferences" -> "add-on" 3. installing the 'mod3-mhw~([Mod3-MHW-Importer-master.zip](https://archive.blender.org/developer/F9592488/Mod3-MHW-Importer-master.zip))' (4. If it works normally, there will be'mod3' in import-export.) [Based on the default startup or an attached .blend file (as simple as possible)] Blender's pyton that I downloaded : [python37.dll](https://archive.blender.org/developer/F9592490/python37.dll) If you need more information, I will write it in the comments. However, I am very new to coding. Please explain the solution in detail.
Author

Added subscriber: @helouu

Added subscriber: @helouu

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'

This report contains an entire add-on which is not practical for us to debug.

A simple test case needs to be made for a bug report.


However, it's very likely this issue is a known limitation with dynamic enums, see:

https://docs.blender.org/api/2.91/bpy.props.html#bpy.props.EnumProperty

There is a known bug with using a callback, Python must keep a reference to the strings returned by the callback or Blender will misbehave or even crash.

And an example fix for this issue. blender/blender-addons@cef282cc9a

If this issue is not the problem described above, a new report with a simplified test case can be included in a new report.

This report contains an entire add-on which is not practical for us to debug. A simple test case needs to be made for a bug report. ---- However, it's very likely this issue is a known limitation with dynamic enums, see: https://docs.blender.org/api/2.91/bpy.props.html#bpy.props.EnumProperty ```There is a known bug with using a callback, Python must keep a reference to the strings returned by the callback or Blender will misbehave or even crash.``` And an example fix for this issue. blender/blender-addons@cef282cc9a If this issue is not the problem described above, a new report with a simplified test case can be included in a new report.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 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#84965
No description provided.