Page MenuHome

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

Description

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"

Exact steps for others to reproduce the error

  1. run blender
  2. click to "edit" -> "preferences" -> "add-on"
  3. installing the 'mod3-mhw~()'

(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 :

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.

Event Timeline

조현영 (helouu) updated the task description. (Show Details)

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. rBAcef282cc9acd: Fix T83360: Tree gen error showing "Leaf Object" enum

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