Maselkov / GW2RPC

Discord Rich Presence addon for Guild Wars 2
https://gw2rpc.info
GNU General Public License v3.0
46 stars 12 forks source link

Missing instance #2

Closed Sk8erOfBodom closed 6 years ago

Sk8erOfBodom commented 6 years ago

Hey, not sure if that's the best place to post about this, but couldn't really find anywhere else, I hope you see this.

The Discovering Scarlet's Breakthrough story instance (from Living World season 2, wiki link) is not detected by GW2RPC and causes a crash.

Here's the log from that:

2018-01-16 23:17:42,949:CRITICAL:root: GW2RPC has crashed
Traceback (most recent call last):
  File "gw2rpc\gw2rpc.py", line 291, in main_loop
  File "gw2rpc\gw2rpc.py", line 223, in get_activity
  File "gw2rpc\character.py", line 47, in __init__
  File "gw2rpc\character.py", line 55, in _get_profession
  File "gw2rpc\character.py", line 74, in get_spec
KeyError: 'region_name'

And thanks for that little program, it's pretty cool!

Maselkov commented 6 years ago

Thanks for the report, it's API being inconsistent. Will be fixed in next update.