[ New messages · Members · Forum rules · Search · Login ]  
Page 1 of 11
Forum » Support » Website bugs » Small ldap_update.py bugfix for players who have bee
Small ldap_update.py bugfix for players who have bee
remoDate: Saturday, 2016/February/06, 9:05 PM | Message # 1
Thursday, February 12th, 2015
Group: Administrators
Messages: 1009
Status: Offline
https://us.api.battle.net/sc2/profile/1652747/1/Zero/

returns:

{"code":403, "type":"Forbidden", "detail":"Account Inactive"}

This was preventing the update script from going any further. I'm assuming this means that his account has been banned by blizzard. This is the first time it's come up...

ldap_update.py now handles this condition and returns the message:

ERROR: No 'matches' in matches for https://us.api.battle.net/sc2/profile/1652747/1/Zero/matches

and continues execution. This was my mistake for not practicing better defensive programming to begin with.

The first instance of the crash I find in the logs is from 11am yesterday so at least I caught it fairly quick...

In any case, its working again now.
 
Forum » Support » Website bugs » Small ldap_update.py bugfix for players who have bee
Page 1 of 11
Search: