Created
August 24, 2020 19:51
-
-
Save dk0r/9d17ae5e4531ee54ec2f986a6c3b846d to your computer and use it in GitHub Desktop.
Output from /oncall/src/oncall/bin/user_sync.py
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
root@ee24356c9381:/home/oncall/src/oncall/bin> ./user_sync.py /home/oncall/configs/config.yaml | |
2020-08-24 19:43:42,432 INFO oncall.metrics Loaded metrics handler dummy | |
2020-08-24 19:43:42,432 INFO oncall.metrics Loaded metrics handler dummy | |
2020-08-24 19:43:42,434 INFO root Starting user sync loop at 1598298222.4340444 | |
2020-08-24 19:43:42,434 INFO root Starting user sync loop at 1598298222.4340444 | |
2020-08-24 19:43:42,455 INFO root Loaded 2 entries from ldap. | |
2020-08-24 19:43:42,455 INFO root Loaded 2 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 149, in fetch_ldap | |
slack = mail.split('@')[0] | |
TypeError: a bytes-like object is required, not 'str' | |
2020-08-24T19:43:42Z <Greenlet at 0x7f27256bc248: main({'server': {'host': '0.0.0.0', 'port': 8080}, 'onc)> failed with TypeError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment