The code that has caused the traceback has been changed in 6.1 code, in particular, with_lockmode condition was removed, so now the code doesn't try to acquire db lock. So right now the issue is obsolete.
The code that has caused the traceback has been changed in 6.1 code, in particular, with_lockmode condition was removed, so now the code doesn't try to acquire db lock.
So right now the issue is obsolete.