How to port the heroprotocol to Python 3
See original GitHub issueLet me start with saying that I’m not super experienced with Python yet but I’m learning gradually. Can you please assist when I am trying to port the heroprotocol to Python 3? I installed the required library and when I try to run header = protocol.decode_replay_header(mpq.header['user_data_header']['content'])
I get this error: TypeError: ord() expected string of length 1, but int found
. The error says that it’s in the decoders.py file on the row 69. Just to clarify, I am using latest Anaconda release. Thanks for any help.
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (2 by maintainers)
Top Results From Across the Web
heroprotocol - PyPI
heroprotocol is a Python library and command-line tool to decode Heroes of the Storm replay files into Python data structures.
Read more >Porting Python 2 Code to Python 3 — Python 3.11.1 ...
This guide is meant to help you figure out how best to support both Python 2 & 3 simultaneously. If you are looking...
Read more >Why does ord() fail when porting from Python 2 to Python 3?
I am trying to port a Python library called heroprotocol from Python 2 to Python 3. This library is used to parse replay...
Read more >SwiftMPQ - a Swift 3 port of mpyq used to extract files from a ... - Reddit
SwiftMPQ is a Swift 3 library/command line tool i'm working on that provides functionality on par with the Python mpyq library used in...
Read more >The Conservative Python 3 Porting Guide - Read the Docs
This document will guide you through porting your software to Python 3. It is geared towards projects that are being ported because support...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Joko013 FYI you can put ``` around multiline code to make it more readable on GH:
Also you you specify a language after the first ``` GH will style the code accordingly.
Fixed in the next update