ASA with Unicode character 🪙 in unit-name raises KeyError in pools.py
See original GitHub issuepool = {
...
liquidity_asset_name': liquidity_asset['params']['name']
...
A workaround for us is just a simple liquidity_asset['params'].get('name')
, but you’d probably want a solution/name that includes the other ASA in the pool.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
KeyError on Unicode character #1099 - mozilla/DeepSpeech
Run it from the folder where DeepSpeech.py is located. python -c "from util.text import Alphabet; a = Alphabet('/path/to/alphabet.txt'); print ...
Read more >python - Dictionary keys with unicode characters raise Error
I write CSV parser. CSV file have strings with unidentified characters and JSON file have map with the correct strings ...
Read more >unicodedata — Unicode Database — Python 3.11.1 ...
This module provides access to the Unicode Character Database (UCD) which defines character properties for all Unicode ... If not found, KeyError is...
Read more >Tinyman Python SDK - PythonRepo
pip install git+https://github.com/tinymanorg/tinyman-py-sdk.git ... ASA with Unicode character 🪙 in unit-name raises KeyError in pools.py.
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
I couldn’t reproduce the issue with the latest versions of Tinyman and Algo SDK. Looks like the issue is resolved. Thank you for reporting it.
The actual issue seems to be in algod.asset_info not being able to parse unicode.