Trying to compile a model on a Window 10 machine using Python 3.12.2 but the following error gets thrown:
File "C:\temp\.venv\Lib\site-packages\pysimlink\lib\model.py", line 130, in _unlock
rv = msvcrt.locking(f.fileno(), msvcrt.LK_UNLCK, 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied
Commenting out line 71 self._lock() and 83 self._unlock() in model.py fixes the issue.
Trying to compile a model on a Window 10 machine using Python 3.12.2 but the following error gets thrown:
File "C:\temp\.venv\Lib\site-packages\pysimlink\lib\model.py", line 130, in _unlock
rv = msvcrt.locking(f.fileno(), msvcrt.LK_UNLCK, 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied
Commenting out line 71 self._lock() and 83 self._unlock() in model.py fixes the issue.