-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError in python -m heroprotocol --initdata --json ...
#91
Comments
Thanks for the report, I'll check it out as soon as I can. I recall seeing this crop up during testing but thought I had nailed it. I don't think it'll matter but for the sake of completeness, it looks like you're running on Mac? |
Also, while you're working on your port, you can continue to use the legacy branch with your existing code. It isn't updated automatically like |
Yes, I'm using a Mac. Thanks for info about the |
Also seeing this same issue on wsl2. |
Hi @Agilhardt,
I have a tool to analyze my SL win rates. I used to use
heroprotocol
as a submodule. After some time of not touching the tool, I pulled the latestheroprotocol
version to parse new replays and I've noticed that there were some breaking changes and my script no longer works. I started porting my tool to Python 3 and switched to usingheroprotocol
installed via PyPI. However when I'm trying to run it, I'm getting an error fromheroprotocol
. My tool runs--initdata --json
and it gets:When I run it without
--json
there's indeed some binary before the dictionary that I expected to read as JSON:Here are the versions that I'm using:
I believe this is a bug. Or should I run the new
heroprotocol
in a different way? The only thing I'm using it for is filtering Storm League games and reading information about players: their name, hero name, team, party, and whether they won.Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: