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

Closed
opened 2021-01-22 13:38:44 +01:00 by 조현영 · 17 comments

system : rtx2070super, 3700x ,8x2 ram.
bug in belnder version : 2.79, 2.8, 2.92
previous success version : 2.79. 2.8

problem : when i use 'add-ons', console say "utf-8' codec can't decode byte 0xb9 in position 22: invalid start byte"dawdwd.png

problem file : Mod3-MHW-Importer-master.zip

Related materials, etc. : gettar.png, pyfile.png

Blender's python I downloaded : python37.dll

I'm really new person to coding. (I don't know where to look at coding..) Sorry, but please explain in detail

system : rtx2070super, 3700x ,8x2 ram. bug in belnder version : 2.79, 2.8, 2.92 previous success version : 2.79. 2.8 problem : when i use 'add-ons', console say "utf-8' codec can't decode byte 0xb9 in position 22: invalid start byte"![dawdwd.png](https://archive.blender.org/developer/F9592301/dawdwd.png) problem file : [Mod3-MHW-Importer-master.zip](https://archive.blender.org/developer/F9592303/Mod3-MHW-Importer-master.zip) Related materials, etc. : ![gettar.png](https://archive.blender.org/developer/F9592305/gettar.png), ![pyfile.png](https://archive.blender.org/developer/F9592307/pyfile.png) Blender's python I downloaded : [python37.dll](https://archive.blender.org/developer/F9592309/python37.dll) I'm really new person to coding. (I don't know where to look at coding..) Sorry, but please explain in detail
Author

Added subscriber: @helouu

Added subscriber: @helouu

Added subscriber: @rjg

Added subscriber: @rjg

Thank you for your report. As instructed in your previous ticket we need step by step instructions of what you've done that resulted in the described error. For future bug reports, please consult this guide .

This is likely caused by improper UTF-16 handling by Blender on Windows that should be fixed by D9822. However, without having the required information to reproduce the problem I cannot confirm if the patch would fix it.

Thank you for your report. As instructed in your previous ticket we need step by step instructions of what you've done that resulted in the described error. For future bug reports, please consult [this guide ](https://wiki.blender.org/wiki/User:Rjg/HowToBugReport). This is likely caused by improper UTF-16 handling by Blender on Windows that should be fixed by [D9822](https://archive.blender.org/developer/D9822). However, without having the required information to reproduce the problem I cannot confirm if the patch would fix it.

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Author

This comment was removed by @helouu

*This comment was removed by @helouu*
Author

This comment was removed by @helouu

*This comment was removed by @helouu*
Author

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

run blender
click to "edit" -> "preferences" -> "add-on"
installing the 'mod3-mhw~(
Mod3 Model 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" Exact steps for others to reproduce the error run blender click to "edit" -> "preferences" -> "add-on" installing the 'mod3-mhw~( [Mod3 Model Importer-master.zip](https://archive.blender.org/developer/F9593071/Mod3_Model_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/F9593074/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

I went into the place you posted on'to mention', but I don't understand. Addresses like source/blendlib/intern aren't in my blender. Also in pythons37 the code is at least the word'define'.

I went into the place you posted on'to mention', but I don't understand. Addresses like source/blendlib/intern aren't in my blender. Also in pythons37 the code is at least the word'define'.

@helouu Those files are the source code of Blender which is compiled into the blender.exe. The patch I mentioned should be included soon and then you'll be able to test one of our daily builds to check if this resolves the problem. Based on the provided information it seems likely, but I haven't had time to test this yet. In order to reproduce the problem I would have to change my localization settings to Korean.

@helouu Those files are the source code of Blender which is compiled into the `blender.exe`. The patch I mentioned should be included soon and then you'll be able to test one of our daily builds to check if this resolves the problem. Based on the provided information it seems likely, but I haven't had time to test this yet. In order to reproduce the problem I would have to change my localization settings to Korean.
Author

Does that mean that I can download it from Blender's homepage after the error is patched later?
(I'm really new to this, so I have a lot of questions. I'm really sorry.)

Does that mean that I can download it from Blender's homepage after the error is patched later? (I'm really new to this, so I have a lot of questions. I'm really sorry.)

Yes, once the patch has landed it will be included in the daily builds of the Blender versions that are currently in development. They can be downloaded from the following page https://builder.blender.org/download/. Please note that these are experimental builds and should not be used for production work.

Yes, once the patch has landed it will be included in the daily builds of the Blender versions that are currently in development. They can be downloaded from the following page https://builder.blender.org/download/. Please note that these are experimental builds and should not be used for production work.
Author

I understand. Finally, one more question... The file I mentioned,'mhw-mod3~', is specialized for Blender 2.8 ver, so I didn't properly experiment with 2.9. If the 2.92ver.beta, 2.93.ahlpa version does not continuously apply, can you send it me separately as 2.8x version?

And thank you very much for your hard work. The stuffy part got better!!

I understand. Finally, one more question... The file I mentioned,'mhw-mod3~', is specialized for Blender 2.8 ver, so I didn't properly experiment with 2.9. If the 2.92ver.beta, 2.93.ahlpa version does not continuously apply, can you send it me separately as 2.8x version? And thank you very much for your hard work. The stuffy part got better!!

@helouu The patch is now in the master branch (blender/blender@5496d8cd36) and will be included in the next daily builds of Blender 2.92 and 2.93 .

You will have to modify the add-on to work in 2.9x then. There haven't been many API changes in the meantime, so this shouldn't be too complicated. If you need help with this, please either contact the original developer or ask about it on one of our community websites .

@helouu The patch is now in the master branch (blender/blender@5496d8cd36) and will be included in the next [daily builds of Blender 2.92 and 2.93 ](https://builder.blender.org/download/). You will have to modify the add-on to work in 2.9x then. There haven't been many API changes in the meantime, so this shouldn't be too complicated. If you need help with this, please either contact the original developer or ask about it on one of our [community websites ](https://www.blender.org/community/).
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Since the fix is in the daily builds: is this issue resolved?

Since the fix is in the daily builds: is this issue resolved?

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Robert Guetzkow self-assigned this 2021-02-20 23:41:55 +01:00

Since the UTF-16 issue has been fixed, it worked in my tests and we haven't received any reports of the contrary in over a week, I'm closing this ticket as resolved.

Since the UTF-16 issue has been fixed, it worked in my tests and we haven't received any reports of the contrary in over a week, I'm closing this ticket as resolved.
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#84963
No description provided.