I don't think the persist module is safe for multiple processes to use concurrently. When doing start_seattle.sh I sometimes see:
Traceback (most recent call last):
File "softwareupdater.py", line 69, in safe_servicelogger_init
File "/Users/justincappos/Desktop/seattle_repy/servicelogger.py", line 2574, in init
File "/Users/justincappos/Desktop/seattle_repy/servicelogger.py", line 2527, in get_servicevessel
File "/Users/justincappos/Desktop/seattle_repy/persist.py", line 187, in restore_object
OSError: [2](Errno) No such file or directory: './vesseldict.tmp'
Perhaps the solution is to copy the file before restoring? The software updater will only need to read the file.
I don't think the persist module is safe for multiple processes to use concurrently. When doing start_seattle.sh I sometimes see:
Perhaps the solution is to copy the file before restoring? The software updater will only need to read the file.