Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For registration and login issues contact website support.
MyTemplates error on pc?
To watch this topic for replies  Register (enables digests) or give email address:
Reply to topic
Display posts from previous:   
    View previous topic :: View next topic    
Author Message
asgkp

Joined: 27 Mar 2012
Posts: 1

View user's profile

Back to top
Link to postPosted: Tue Mar 27, 2012 12:01 pmPost subject: MyTemplates error on pc? Reply with quote

I just installed Marvin Beans 5.9.0 with jre om a pc, that is supposed to be used by a lot of users (high school common pc running Windows 7 64 bit).

After installing the program and the academic license, apparently with succes, I moved on to start Marvin Sketch.
It returned  the folowing (pasted via clipboard): 

ERROR: 

Error reading template set location: marvin.mytemplates


STACK TRACE:

chemaxon.marvin.sketch.templates.TemplateIOException: Error reading template set location: marvin.mytemplates

at chemaxon.marvin.sketch.templates.TemplateSetLocation.createTemplateSet(TemplateSetLocation.java:217)

at chemaxon.marvin.sketch.templates.TemplateSetLocation.getTemplateSet(TemplateSetLocation.java:185)

at chemaxon.marvin.sketch.templates.TemplateLibrary.getTemplateSets(TemplateLibrary.java:148)

at chemaxon.marvin.sketch.swing.templates.TemplateHandler.initClean2DTemplates(TemplateHandler.java:550)

at chemaxon.marvin.sketch.swing.templates.TemplateHandler.initTemplateSets(TemplateHandler.java:223)

at chemaxon.marvin.sketch.swing.templates.TemplateHandler.init(TemplateHandler.java:78)

at chemaxon.marvin.sketch.swing.SketchPanel.molInit(SketchPanel.java:1095)

at chemaxon.marvin.common.swing.MolPanel.init(MolPanel.java:619)

at chemaxon.marvin.common.swing.MolPanel.setProperties(MolPanel.java:869)

at chemaxon.marvin.sketch.swing.SketchPanel.setProperties(SketchPanel.java:1182)

at chemaxon.marvin.beans.MarvinPane.setParams(MarvinPane.java:349)

at chemaxon.marvin.beans.MarvinPane.init(MarvinPane.java:155)

at chemaxon.marvin.beans.MSketchPane.<init>(MSketchPane.java:123)

at chemaxon.marvin.beans.MSketchPane.<init>(MSketchPane.java:110)

at chemaxon.marvin.Sketch.<init>(Sketch.java:176)

at chemaxon.marvin.Sketch.main(Sketch.java:601)

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 com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

How do I solve this? I don't want every user to have to make special folders etc., so I either want to disable the MyTemplates feature, or I want ot redirect it to en shared network drive. 
Which i easiest? - and how do I proceed?
Thanks in advance
Kaare
ifajth
ChemAxon personnel
Joined: 03 Dec 2007
Posts: 569

View user's profile

Back to top
Link to postPosted: Tue Mar 27, 2012 3:41 pmPost subject: Reply with quote

Hi,

would you please confirm, that the MarvinSketch process has the privilege to write in and to create file in the %USERHOME%\chemaxon folder and the privilege to create directory in %USERHOME%?

This issue could happen in two cases, when the sketcher is running in an untrusted environment, which should not be the case in a desktop version, or if the sketcher could not create the %USERHOME%\chemaxon folder, and in that folder the marvin.mytemplates file, which it tries to create if it is not exsits when the sketcher is being started.

To turn off mytemplates you should also create a configuration file, or a custom application that includes marvin, so i assume this is also an unacceptable option.

Regards,
Istvan

Reply to topic
Page 1 of 1


To watch this topic for replies   Register (enables digests) or give email address  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum