NameError in `record_rename` callback function
stheodosis opened this issue · comments
Spyros Theodosis commented
I got the following error when record_rename
callback function is called:
Exception in thread Thread-1 (run):
Traceback (most recent call last):
File "/root/.pyenv/versions/3.10.10/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/root/.pyenv/versions/3.10.10/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/syncrepl_client-0.95.1-py3.10.egg/syncrepl_client/__init__.py", line 696, in run
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/syncrepl_client-0.95.1-py3.10.egg/syncrepl_client/__init__.py", line 603, in poll
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/ldap/syncrepl.py", line 383, in syncrepl_poll
self.syncrepl_entry(dn, attrs, c.entryUUID)
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/syncrepl_client-0.95.1-py3.10.egg/syncrepl_client/__init__.py", line 1074, in syncrepl_entry
NameError: name '_Syncrepl__uuid_dn_map' is not defined
The error exists in the v.95.1
version. Looks like a self
prefix is missing in del self.__dn_uuid_map[__uuid_dn_map[uuid]]
in line 1074