Closed Cbotman21 closed 8 years ago
Traceback (most recent call last):
File "pokecli.py", line 502, in
NEW Only occurs with high cp certain pokemon encounters eg. Snorlax CP 1796 followed by error new_catch_rate,
HELP :(
Same here
Last info when it stopped
Seems to be the same problem as #3905 As for me, I got this error directly in the nicknaming task at the beginning.
Almost definitely due to non ASCII characters in Pokemon names
@Cbotman21 Seeing as it crashed on a Snorlax and you have Snorlax twice in your VIP section which may be causing conflicts, try removing one of them and see if it fixes your issue
@vdubus & @foux - there is no nicknaming task in this config, so you need to rule that option out
Should be fixed.
Expected Behavior
Run smoothly, snipe and return, catch etc
Actual Behavior
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) 2016-08-13 12:44:27,947 [sentry.errors.uncaught] [ERROR] [u"KeyError: 'new_catch_rate'", u' File "pokecli.py", line 502, in', u' File "pokecli.py", line 133, in main']
config.json
"tasks": [ { "type": "HandleSoftBan" }, { "type": "CollectLevelUpReward" }, { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }, { "type": "TransferPokemon" }, { "type": "EvolvePokemon", "config": { "evolve_all": "NONE", "evolve_cp_min": 300, "evolve_speed": 20, "use_lucky_egg": false } }, { "type": "RecycleItems", "config": { "item_filter": { "Pokeball": { "keep" : 100 }, "Potion": { "keep" : 10 }, "Super Potion": { "keep" : 20 }, "Hyper Potion": { "keep" : 30 }, "Revive": { "keep" : 30 }, "Razz Berry": { "keep" : 100 } } } }, { "type": "CatchVisiblePokemon" }, { "type": "CatchLuredPokemon" }, { "type": "SpinFort" }, { "type": "MoveToMapPokemon", "config": { "address": "http://localhost:5000", "max_distance": 150000, "min_time": 60, "prioritize_vips": true, "snipe": true, "update_map": true, "mode": "priority", "catch": { "==========Legendary==========": 0, "Dragonite": 1000, "Dragonair": 1000, "Aerodactyl": 1000, "Snorlax": 1000, "Articuno": 1000, "Zapdos": 1000, "Moltres": 1000, "Dratini": 1000, "Mewtwo": 1000, "Mew": 1000,
Steps to Reproduce
python pokecli.py
Occurred straight after this 2016-08-13 12:44:24,265 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Snorlax appeared! [CP 1676] [Potential 0.91] [S/A/D 15/13/13] 2016-08-13 12:44:27,312 [PokemonCatchWorker] [INFO] [vip_pokemon] This is a VIP pokemon. Catch!!!
Other Information
OS: Windows 10 Branch: dev Git Commit: (ae0ae815089bf1e3b17497b476d524a0468949e2) Python Version: (python 2.7)