SNN
Academy
Internal Ops
Rosters
Legends
Forum
Admin
Log out
[
New messages
·
Members
·
Forum rules
·
Search
·
Login
]
Page
1
of
1
1
Forum
»
Support
»
Website bugs
»
Small ldap_update.py bugfix for players who have bee
Small ldap_update.py bugfix for players who have bee
remo
Date: Saturday, 2016/February/06, 9:05 PM | Message #
1
Thursday, February 12th, 2015
Group: Administrators
Messages:
1010
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
1
1
Forum main page
Confederation News Agency
Confederation Board
Stellar News Network
War Room
United Military Command
CFS-Eternity
CSB-Vanguard
Keepers
Internal Operations
Promotions
Awards
Schedule an Event
More than just StarCraft
Other games discussion
eSports
eSports Board
Strategy Discussion
General Strategy
Terran Strategy
Zerg Strategy
Protoss Strategy
Role-play
Campaign Discussion
Role-play
Support
Help, Questions, and Suggestions
Website bugs
Retired Branches
CRA Station
SSA
Search: