Page MenuHomePhabricator

mitkNavigationToolStorageDeserializerTest fails
Closed, InvalidPublic

Description

This is the console output when running mitkNavigationToolStorageDeserializerTest on Ubuntu:

1.162# ERROR: Cannot open '/tmp//IGT_Toolfiles/NavigationTool0.tool/NavigationTool0.tool.storage' for reading
E#1.162# ERROR: Can't remove temp directory /tmp
//NavigationToolStorageDeserializerTmp_6mrUQ3!
.#1.164# ERROR: Cannot open '/tmp
//IGT_Toolfiles/NavigationTool0.tool/NavigationTool0.tool.storage' for reading
E#1.164# ERROR: Can't remove temp directory /tmp
//NavigationToolStorageDeserializerTmp_wqQ12X!
..#1.164# ERROR: Error: wrong file format!
(please only load tool storage files)
..

!FAILURES!
Test Results:
Run: 7 Failures: 0 Errors: 2

  1. test: mitkNavigationToolStorageDeserializerTestSuite::TestReadSimpleToolStorage (E)

uncaught exception of type mitk::IGTException

  • /home/eisenman/workspaces/mitk/MITK/Modules/IGT/IO/mitkNavigationToolStorageDeserializer.cpp:79:

Error: did not find any tool.
Is this a tool storage file?

  1. test: mitkNavigationToolStorageDeserializerTestSuite::TestReadComplexToolStorage (E)

uncaught exception of type mitk::IGTException

  • /home/eisenman/workspaces/mitk/MITK/Modules/IGT/IO/mitkNavigationToolStorageDeserializer.cpp:79:

Error: did not find any tool.
Is this a tool storage file?

Event Timeline

eisenman created this task.
eisenman updated the task description. (Show Details)
eisenman added a subscriber: seitela.

The directory /tmp/IGT_Toolfiles/ has been created with super user access rights previously. That's why the directory could not be access during the test. Removing the directory manually and running the test again solved this issue.