Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For registration and login issues contact website support.

Support Ticket System is replacing forum

This forum was converted into a searchable archive. You cannot add posts here any more. For support please use our new Ticket System.

Create your first ticket
MyTemplates error on pc?
To watch this topic for replies  Register (enables digests) or give email address:
This topic is locked: you cannot edit posts or make replies.
Display posts from previous:   
    View previous topic :: View next topic    
Author Message

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 reading template set location: marvin.mytemplates


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

at chemaxon.marvin.sketch.templates.TemplateSetLocation.createTemplateSet(

at chemaxon.marvin.sketch.templates.TemplateSetLocation.getTemplateSet(

at chemaxon.marvin.sketch.templates.TemplateLibrary.getTemplateSets(

at chemaxon.marvin.sketch.swing.templates.TemplateHandler.initClean2DTemplates(

at chemaxon.marvin.sketch.swing.templates.TemplateHandler.initTemplateSets(

at chemaxon.marvin.sketch.swing.templates.TemplateHandler.init(

at chemaxon.marvin.sketch.swing.SketchPanel.molInit(

at chemaxon.marvin.common.swing.MolPanel.init(

at chemaxon.marvin.common.swing.MolPanel.setProperties(

at chemaxon.marvin.sketch.swing.SketchPanel.setProperties(

at chemaxon.marvin.beans.MarvinPane.setParams(

at chemaxon.marvin.beans.MarvinPane.init(

at chemaxon.marvin.beans.MSketchPane.<init>(

at chemaxon.marvin.beans.MSketchPane.<init>(

at chemaxon.marvin.Sketch.<init>(

at chemaxon.marvin.Sketch.main(

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
ChemAxon personnel
Joined: 03 Dec 2007
Posts: 688

View user's profile

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


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.


This topic is locked: you cannot edit posts or make replies.
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