CognitionGuidedSurgery / msml

The Medical Simulation Markup Language
GNU General Public License v3.0
14 stars 1 forks source link

DB_PAGE_NOTFOUND error #149

Closed markus-stoll closed 9 years ago

markus-stoll commented 9 years ago

Sometimes bsddb.db.DBPageNotFoundErrorr occurs - thats not critical, but it should not terminate the simulation an instead rerun it.

Up to now this error only occured with large patient data sets during parallel processing.

Current workaround: Remove all rerun.db files before restarting simulations.

←[32mINFO ←[0m ←[34m--Executing operator of task headBox done←[0m ←[32mINFO ←[0m ←[34m--Executing operator of task headBox done←[0m ←[32mINFO ←[0m ←-100000.0, -10000.0, -10000.0, 3000. 0, 3000.0, 3000.0> with arguments {'box': [-100000.0, -10000.0, -10000.0, 3000. 0, 3000.0, 3000.0], 'mesh': 'C:\Projekte\msml_dkfz\examples\XXXXXX\prep rocessing\tet_only_mesh.vtk', 'select': 'elements'}←[0m ←[32mINFO ←[0m ←-100000.0, -10000.0, -10000.0, 3000. 0, 3000.0, 3000.0> with arguments {'box': [-100000.0, -10000.0, -10000.0, 3000. 0, 3000.0, 3000.0], 'mesh': 'C:\Projekte\msml_dkfz\examples\j_mechanic\prep rocessing\tet_only_mesh.vtk', 'select': 'elements'}←[0m Traceback (most recent call last): File "go.py", line 86, in ←[32mINFO ←[0m ←[34mfound 40 xml files in the alphabet search path←[0m pool.map(createAndRunHnnSimulation, args_list) File "c:\Projekte\python275\lib\multiprocessing\pool.py", line 250, in map return self.map_async(func, iterable, chunksize).get() File "c:\Projekte\python275\lib\multiprocessing\pool.py", line 554, in get raise self._value bsddb.db.DBPageNotFoundError: (-30986, 'DB_PAGE_NOTFOUND: Requested page not fou nd')

dschauba commented 9 years ago

Had this error, too. Occured if an operator previously died mid-execution, then, after reexecuting the run, something like the above error was thrown. Deleting the rerun.db-File helped, too.

wadoon commented 9 years ago

I get rid of shelve.