OSSOS / MOP

The Moving Object Pipeline: discovery & tracking of trans-Neptunian objects
GNU General Public License v3.0
4 stars 9 forks source link

[validate] Error: Requires Lock Exception in 'reals' and in 'cands' #277

Open R136a1- opened 10 years ago

R136a1- commented 10 years ago

Occasionally after accepting an object in either 'reals' or 'cands' a error stating: "ERROR: RequiresLockException: Operation requires a lock on the file. [ossos.gui.progress]" will be generated. After this the program won't progress to the next image. I've just been closing the program and restarting it to fix it.

ijiraq commented 10 years ago

more trace back from Charles having the same issue.

ERROR: RequiresLockException: Operation requires a lock on the file. [ossos.gui.progress] Traceback (most recent call last): File "/Users/charles/git_new/MOP/src/ossos-pipeline/ossos/gui/views/validation.py", line 299, in _on_submit comment File "/Users/charles/git_new/MOP/src/ossos-pipeline/ossos/gui/controllers.py", line 300, in on_do_accept self.model.accept_current_item() File "/Users/charles/git_new/MOP/src/ossos-pipeline/ossos/gui/models/transactions.py", line 89, in accept_current_item super(TransAckValidationModel, self).accept_current_item() File "/Users/charles/git_new/MOP/src/ossos-pipeline/ossos/gui/models/validation.py", line 67, in accept_current_item self._process_current_item() File "/Users/charles/git_new/MOP/src/ossos-pipeline/ossos/gui/models/validation.py", line 73, in _process_current_item self.get_current_workunit().process_current_item() File "/Users/charles/git_new/MOP/src/ossos-pipeline/ossos/gui/models/workload.py", line 87, in process_current_item self.get_current_source_number()) File "/Users/charles/git_new/MOP/src/ossos-pipeline/ossos/gui/progress.py", line 39, in new_lock_requiring_function raise RequiresLockException() ossos.gui.progress.RequiresLockException: Operation requires a lock on the file.