python-fmrest
python-fmrest copied to clipboard
logout error in destructor of my class
I have created a wrapper around python-fmrest where I have:
def init(self, fm_server_url, fm_user, fm_password, fm_db_name): self.fms.login()
def del(self): self.fms.logout()
I get this error: Exception ignored in: <function FileMaker.del at 0x118b38ca0> Traceback (most recent call last): File "filemaker_utils.py", line 21, in del File ".venv/lib/python3.10/site-packages/fmrest/server.py", line 217, in logout File ".venv/lib/python3.10/site-packages/fmrest/server.py", line 925, in _call_filemaker File ".venv/lib/python3.10/site-packages/fmrest/utils.py", line 14, in request fmrest.exceptions.RequestException: Request error: import of time halted; None in sys.modules