-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Description
Issue
Executing the LDAP user_sync.py
script via python@3.6.9
results in the following error:
TypeError: a bytes-like object is required, not 'str'
(full output shown here)
Expected Behavior
As described here, it is expected that the user_sync.py
script should periodically sync users from a preexisting LDAP server
Steps to reproduce
Migrate oncall@1.2.3
to python3.
Step-by-step instructions for getting oncall running via py3 are published here
Troubleshooting attempts:
- I'm not a python dev but google indicates the above error may be due to an upstream issue w/
gevent
running on py3.
Apparently something ingevent
may need to be encoded to a bytes object via.encode('utf-8')
🤷🏻♂️ - Posted issue to irisoncall's gitter
Metadata
Metadata
Assignees
Labels
No labels