Hi,

I reported this as a bug.

http://bugs.mitk.org/show_bug.cgi?id=10848

I debugged it. The problem is in the property serializer, it invokes an ITK
function that replaces the path separator, and as a nice side effect, if
the path contains space, it wraps it within double quotes. The XML library,
however, does not like this much.

I fixed it with unwrapping the path, then the saving was OK, the property
files were there in the scene file.

But the app crashed when I opened the project.

As a workaround until a complete fix, is there a way to say to BlueBerry /
MITK where it should create the temporary folder?

Thanks,

Miklos


On Wed, Jan 18, 2012 at 5:03 PM, Miklos Espak <[email protected]> wrote:

> I checked the .mitk file, the problem is that the properties are not saved.
>
> Look at the <properties file=""> tags below.
> The files are missing, only the images and this html is there inside the
> zip.
>
> Did anybody run into this?
> Any idea?
>
> Saving and loading project is a crucial feature here.
>
> Thank you,
> Miklos
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <Version
> Writer="..\..\..\..\MITK\Modules\SceneSerialization\mitkSceneIO.cpp"
> Revision="$Revision: 17055 $" FileVersion="1" />
> <node UID="OBJECT_2012011710542534577471">
>    <source UID="OBJECT_2012011710542543113498" />
>    <data type="Image" file="aaaaaa_Anatomical_Image.pic" />
>    <properties file="" />
> </node>
> <node UID="OBJECT_2012011710542586584063">
>    <source UID="OBJECT_2012011710542543113498" />
>    <data type="Image" file="baaaaa_VFA_Series.pic" />
>    <properties file="" />
> </node>
> <node UID="OBJECT_2012011710542543113498">
>    <source UID="OBJECT_20120117105425X3079317" />
>    <properties file="" />
> </node>
> <node UID="OBJECT_20120117105425X3079317">
>    <properties file="" />
> </node>
> <node UID="OBJECT_2012011710542530930509">
>    <source UID="OBJECT_2012011710542543113498" />
>    <data type="Image" file="caaaaa_DCE_Series.pic" />
>    <properties file="" />
> </node>
>
>
>
> On Tue, Jan 17, 2012 at 12:02 PM, Miklos Espak <[email protected]> wrote:
> > Hi,
> >
> > on Windows XP if I save a project and reopen it, all the nodes are
> > called "unnamed". On a Windows 7 PC and on Linux the original node
> > names are restored.
> >
> > The Visual Studio 2008 redistributable pack SP1 is installed on each
> computer.
> >
> > Does anybody have an idea how to solve this?
> >
> > Thanks,
> > Miklos
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to