Project save error when project contains a folder in Prototyper 5.1

m.j.deshields shared this problem 5 years ago
Solved

1) Create new project in Prototyper 5.1


2) Add a folder called 'foobar'


3) Save project


I am getting this error:


Error saving file message


Project saved.


Some folders could not be saved correctly due to some unsupported data. Check you are using XML - supported characters.


2a3264594be042decf48dca3853a2290

Comments (10)

photo
1

JIM log:


[main ] [2012-12-11 12:19:36] INFO com.justinmind.prototyper - Save: D:UploadPrototype1.vp


[main ] [2012-12-11 12:19:36] INFO com.justinmind.prototyper - Compressing file: Prototype1.vp


[main ] [2012-12-11 12:19:36] INFO com.justinmind.prototyper - Moving file to destination...


[main ] [2012-12-11 12:19:36] ERROR com.justinmind.prototyper - com.justinmind.evc.operations.projects.ExportEvcProjectOperation@e40293


com.justinmind.util.siteorg.sitexmldef.exceptions.MultipleException: Multiple errors


at com.justinmind.evc.operations.projects.ExportEvcProjectOperation.doOperation(ExportEvcProjectOperation.java)


at com.justinmind.evc.igu.actions.db.run(db.java)


at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)


at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)


at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)


at com.justinmind.evc.igu.actions.te.run(te.java)


at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)


at com.justinmind.evc.igu.actions.te.runWithEvent(te.java)


at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)


at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)


at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)


at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)


at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)


at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)


at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)


at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)


at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)


at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)


at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)


at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)


at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)


at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)


at com.justinmind.evc.igu.main.Application.run(Application.java)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


at java.lang.reflect.Method.invoke(Unknown Source)


at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)


at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)


at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)


at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)


at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)


at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


at java.lang.reflect.Method.invoke(Unknown Source)


at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)


at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)


at org.eclipse.equinox.launcher.Main.run(Main.java:1438)


[main ] [2012-12-11 12:23:40] INFO com.justinmind.prototyper - Saved successfully!

photo
1

It doesn't seem to be related with the name of the folder but with the place you are trying to save that file. Any special thing about the place where you are trying to save the file?

photo
1

I'm saving to D:UploadPrototype1.vp.


D is just a local drive on my system with no issues. I have tired saving to the primary drive and a network drive but get the same result.

photo
1

It might be something related to a bad installation or user permissions. Could you check if you have this folder in your computer?:


Windows XP: c:Documents and settingsyour userJustinmind5.1.0


Windows 7: c:usersyouruserJustinmind5.1.0

photo
1

I have uninstalled, removed the Justinmind5.1.0 folder, scrubbed the registry, and reinstalled. Same result.

photo
1

Until fixed, is there anyway to disable the automatic save each time a screen is unlocked and/or committed to a shared prototype?

photo
1

I am sorry but the automatic save cannot be disabled when working on a shared prototype since it is necessary for the system to work properly.


The problem seems to be a permissions problem on new folders created by Justinmind Prototyper. Just to make sure this is the problem, please follow the steps mentioned in your first message and once the prototype is saved, check if the folder called 'folders' exists inside the following path:


C:Usersyour userJustinmind5.1.0work?screens


If it exists, check if it contains any files inside. If not, please check your permissions on this folder by right-clicking on it and selecting 'Properties'. then select the 'Security' tab and see if you have writing permissions.

photo
1

The folder exists and has a single file in it:


c2a0bbc99d6d92a801210f0022fa56f0


I have confirmed that I have Full Control on the folder:


photo
1

I then understand that your prototype is saved correctly and when you open it again the folders of your prototype are still there? Have you experienced any loss of work?

photo
1

That is correct, no loss of work. However, the 'Error Saving Prototype' message appears so frequently (commit changes, unlock, save) that it makes working with my prototype very tedious.