Traceback (most recent call last):


 "ldapdomaindump.py", line 3, in <module>

ldapdomaindump.main()


 "/root/Downloads/ldapdomaindump/ldapdomaindump/__init__.py", line 944, in main

dd.domainDump()


 "/root/Downloads/ldapdomaindump/ldapdomaindump/__init__.py", line 422, in domainDump

rw.generateUsersReport(self)


 "/root/Downloads/ldapdomaindump/ldapdomaindump/__init__.py", line 789, in generateUsersReport

dd.mapGroupsIdsToDns()


 "/root/Downloads/ldapdomaindump/ldapdomaindump/__init__.py", line 350, in mapGroupsIdsToDns

gid = int(group.objectSid.value.split('-')[-1])
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/multiprocess/pool.py", line 121, in worker

result = (True, func(*args, **kwds))


 "/usr/local/lib/python3.7/site-packages/multiprocess/pool.py", line 44, in mapstar

return list(map(*args))


 "/usr/local/lib/python3.7/site-packages/pathos/helpers/mp_helper.py", line 15, in <lambda>

func = lambda args: f(*args)


 "/usr/local/lib/python3.7/site-packages/pandarallel/dataframe_groupby.py", line 15, in worker

df = client.get(object_id)


 "pyarrow/_plasma.pyx", line 579, in pyarrow._plasma.PlasmaClient.get


 "pyarrow/_plasma.pyx", line 572, in pyarrow._plasma.PlasmaClient.get


 "pyarrow/serialization.pxi", line 470, in pyarrow.lib.deserialize


 "pyarrow/serialization.pxi", line 433, in pyarrow.lib.deserialize_from


 "pyarrow/serialization.pxi", line 275, in pyarrow.lib.SerializedPyObject.deserialize


 "pyarrow/serialization.pxi", line 183, in pyarrow.lib.SerializationContext._deserialize_callback


 "/usr/local/lib/python3.7/site-packages/pyarrow/serialization.py", line 175, in _deserialize_pandas_dataframe

return pdcompat.serialized_dict_to_dataframe(data)


 "/usr/local/lib/python3.7/site-packages/pyarrow/pandas_compat.py", line 640, in serialized_dict_to_dataframe

for block in data['blocks']]


 "/usr/local/lib/python3.7/site-packages/pyarrow/pandas_compat.py", line 640, in <listcomp>

for block in data['blocks']]


 "/usr/local/lib/python3.7/site-packages/pyarrow/pandas_compat.py", line 661, in _reconstruct_block

dtype = make_datetimetz(item['timezone'])


 "/usr/local/lib/python3.7/site-packages/pyarrow/pandas_compat.py", line 676, in make_datetimetz

return _pandas_api.datetimetz_type('ns', tz=tz)
TypeError: 'NoneType' object is not callable
