Page MenuHomePhabricator

SceneIO produces corrupt scene files
Closed, DuplicatePublic

Description

Scene files produced during experiments with an MITK version based on the 2014-03 release are sometimes corrupted.

If trying to load such a file the following error message appears on the console:

3851.67 core.mod.scnSer.scnReaderv1 WARNING: Encountered node that is not part o
f a directed graph structure. Will be added to DataStorage without parents.
3851.67 core.mod.scnSer.scnReader ERROR: There were errors while loading scene f
ile C:\Users\franza\AppData\Local\Temp\SceneIOTempUID_20141127130912758146/index
.xml. Your data may be corrupted
3851.67 core.mod.scnSer.scnIo ERROR: There were errors while loading scene file
T:/Navi/TestDataForBugReports/BugTODO/CorruptData/L1_Scene 02 - TumourResult.mit
k. Your data may be corrupted

The data of the corrupt files can be restored if unzipping the corrupted scene file and loading the missing objects (vtp files) manually into mitk.

Event Timeline

franza added a subscriber: franza.

To reproduce the bug I put some corrupted and some functional example data to this directory:

\\ad\fs\E130-Daten\Navi\TestDataForBugReports\T18504

I'm nearly certain Stefan is right. Marking this a duplicate