Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000180openvibe-designerbug reportpublic2016-06-22 10:592017-02-03 10:14
Reportertoncho11 
Assigned Tojtlindgr 
PrioritynormalSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
PlatformOpenVibe 1.2OSWindows 7OS Version
Summary0000180: OpenVibe fails to load when using UNC network paths
DescriptionMy home folder and everyone's home folders are located on network drives. I have a network drive P: which points to //filesrv4. OpenVibe finds the paths:

//filesrv4/home$/antona/.windows/Application Data/openvibe

strange and it fails to load in the end:

[WARNING] Could not expand ${CustomConfigurationPrefix${OperatingSystem}}${CustomConfigurationSuffix${OperatingSystem}} while expanding ${CustomConfig
uration}
Caught an exception at the very top...
Leaving application!
Appuyez sur une touche pour continuer...
Steps To ReproduceI get an exception in:

\openvibe\modules\fs\src\Files.cpp

(code modified from the original for debug purposes)

bool Files::createParentPath(const char *sPath)
{
    boost::filesystem::path p = boost::filesystem::path(sPath).parent_path();

    return boost::filesystem::create_directories(p);
}
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001210)
toncho11 (reporter)
2016-06-22 11:07

One solution is to uncomment in openvibe.conf:

Path_Root = ..

Path_UserData = ${Path_Root}/openvibe-user

which will apparently use some other local paths.

But this must be fixed somehow! Some users won't know how to hack that.
(0001212)
jtlindgr (administrator)
2016-07-01 13:46

I wonder if the problem comes from the $ symbol. The path really has that? For OpenViBE, dollar denotes token expansion. Not sure what else could be the problem. I'll investigate when I have a moment.
(0001237)
toncho11 (reporter)
2017-02-02 14:57

Please fix this. :)
(0001238)
jtlindgr (administrator)
2017-02-02 19:30

Fix candidate pushed to branch 'wip-jlindgre-fix-mantis-180'.

Could you give it a try?
(0001239)
toncho11 (reporter)
2017-02-03 10:14

Good work! It seems to be working nicely.

- Issue History
Date Modified Username Field Change
2016-06-22 10:59 toncho11 New Issue
2016-06-22 11:07 toncho11 Note Added: 0001210
2016-07-01 13:46 jtlindgr Note Added: 0001212
2017-02-02 14:57 toncho11 Note Added: 0001237
2017-02-02 19:30 jtlindgr Note Added: 0001238
2017-02-02 19:30 jtlindgr Assigned To => jtlindgr
2017-02-02 19:30 jtlindgr Status new => feedback
2017-02-03 10:14 toncho11 Note Added: 0001239
2017-02-03 10:14 toncho11 Status feedback => assigned


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker