Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Tool doesn't work #17

Closed
masu1208 opened this issue Sep 11, 2022 · 3 comments
Closed

Tool doesn't work #17

masu1208 opened this issue Sep 11, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@masu1208
Copy link

It never works in any type of game and I get a DraftStartSearch Error: 'cp932' codec can't decode byte 0x87 in position 3093: illegal multibyte sequence error in debug.log I have a problem with this. I believe the problem is probably that player.log is saved as cp932, but python uses UTF-8.

@bstaple1 bstaple1 added the bug Something isn't working label Sep 11, 2022
@bstaple1
Copy link
Owner

bstaple1 commented Sep 11, 2022

Hi masu1208,

If I'm understanding the error correctly, it appears that the application is trying to open the file with a cp932 codec. The application doesn't explicitly set the codec so it's using a codec assigned by your operating system. You can check the assigned codec by following the steps in the image below.

image

The code in branch DEV_0303 sets the codec to "utf-8", which appears to be the right codec for the player.log file. Could you please run the python code in branch DEV_0303 to confirm that this is no longer an issue?

Thanks for bringing this to my attention.

@masu1208
Copy link
Author

I have confirmed that it works in Premier Draft, Quick Draft and Shield.

@bstaple1
Copy link
Owner

Issue resolved in version 3.03

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants