Created
August 31, 2020 17:46
-
-
Save dk0r/1a14c2b2aa5e3aaefacba931619b0427 to your computer and use it in GitHub Desktop.
ldap_sync.py Line-149: slack = mail.decode().split('@')[0]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-08-31 17:43:43,309 INFO oncall.metrics Loaded metrics handler dummy | |
2020-08-31 17:43:43,309 INFO oncall.metrics Loaded metrics handler dummy | |
2020-08-31 17:43:43,310 INFO root Starting user sync loop at 1598895823.3106189 | |
2020-08-31 17:43:43,310 INFO root Starting user sync loop at 1598895823.3106189 | |
2020-08-31 17:43:43,335 INFO root Loaded 1 entries from ldap. | |
2020-08-31 17:43:43,335 INFO root Loaded 1 entries from ldap. | |
Traceback (most recent call last): | |
File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run | |
File "/home/oncall/src/oncall/user_sync/ldap_sync.py", line 426, in main | |
sync(config, engine) | |
File "/home/oncall/src/oncall/user_sync/ldap_sync.py", line 296, in sync | |
ldap_users = fetch_ldap() | |
File "/home/oncall/src/oncall/user_sync/ldap_sync.py", line 161, in fetch_ldap | |
cookie = pctrls[0].cookie | |
IndexError: list index out of range | |
2020-08-31T17:43:43Z <Greenlet at 0x7f07cbab2148: main({'server': {'host': '0.0.0.0', 'port': 8080}, 'onc)> failed with IndexError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment