berteh / mindslide

View Freeplane mindmap as an HTML presentation (aka freemind to powerpoint slideshow)
http://berteh.github.io/mindslide/
60 stars 19 forks source link

Export fail Freeplane version 1.5.13 #18

Closed ydprtm closed 8 years ago

ydprtm commented 8 years ago

Just found tath, after installed the latest Freeplane version 1.5.13, it's always failed to export as mindslide format. Below is the error I found from the log. STDERR: ERROR: 'java.lang.SecurityException: Freeplane groovy scripts are restricted. The following File operation is forbidden: Read C:\Program Files\Freeplane\resources\xslt\config.xml. You can change this in the program settings.'Aug 12, 2016 5:51:03 PM org.freeplane.core.util.LogUtils warn

I tried to enable those setting to permit scripts to Read and even Write in Freeplane, but nothing changed.

Struggling to get back my SourceForge login info, so haven't filled the issue there yet.

Is there something would fix this can be done on mindslide side?

berteh commented 8 years ago

Hello @ydprtm

Sorry to read it did not work for you. I just downloaded and tested with 1.5.14, in win8, and encountered no problem of any kind.

Never experienced such a trouble, especially as this export is not a Groovy script but "only" an xslt export, loaded afaik from freeplane's core java classes.

Fyi, my setting is that I installed Mindslide in my user's home directory (so my user has read & write access there), and copied the 3 files needed for export (mindslide.xsl, config.xml, reveal-configuration.xsl) to the Freeplane/resources/xslt directory. Just as explained in install instructions.

When I export a mindmap, I thus save the export to the mindslide directory in my home... and not in freeplane's directory.

I reported your trouble on the sf forum of Freeplane (https://sourceforge.net/p/freeplane/discussion/758437/thread/6a6fed27/) ... and hope they'll find you an answer.

ydprtm commented 8 years ago

Hello @berteh Thank you for quick reply and help!

Yes this problem is fixed in the latest Freeplane version 1.5.14.

Sorry I've searched out such kind of "Read file " issue related to Latex in freeplane issue list which was said to be fixed in ver. 1.5.14, but had not noticed that it had been released :cry:

FYI. I'm using Windows 10 Home Edition, within Administrator rights, and I just copy those 3 files directly into the related folder under Freeplane's installation. I've a check and confirmed that there is Freeplane data dir in the User's Home dir, but by default there's no /xslt under /resources, only a folder /images . Maybe you can mention about this in your Instruction ?

berteh commented 8 years ago

good news it's fixed indeed. you can simply create manually the resources and xslt folders in your user's home freeplane directory... as far as I know. B.