xKynn/PathOfExileRPC

Program hangs on AttributeError

aggixx opened this issue · 6 comments

When I run the exe with admin privileges after a few seconds it spits out this exception:

https://pastebin.com/DNQWbc13

After that it seems the app hangs and never succeeds in providing any rich presence info to discord.

xKynn commented

can i have your poe account name?

Fearmonger

xKynn commented

Seems like your profile on poe forums isn't public, that's a requirement, i should list that

Fair enough, more graceful handling of that case might be good too.

Perhaps you could circumvent requiring a public profile if the user provides a session id? Or does the character API return more information that just having a session id does not?

xKynn commented

I haven't looked into sessionid api yet, and definitely needs to be handled more gracefully

xKynn commented

Added support for POESESSID in 2c581dc
Also added a case where on failing to get character details, user is informed of the situation and then exits