Hi Atanas,

The MOLE plugin is trying to write some settings into the "current directory". When you start Chimera by double-clicking the icon, the "current directory" is some system directory that you don't have permission to write into. So, before you start the MOLE plugin you should change Chimera's current directory with the "cd" command (Favorites→Command Line). Specifically "cd ~" will make your home directory the current directory. The plugin should work after that.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab


On Dec 8, 2019, at 1:35 PM, Radkov, Atanas <Atanas.Radkov@ucsf.edu> wrote:

Hello,

My name is Atanas Radkov, postdoc in Seemay Chou's lab at UCSF. I was wondering if you could help me set up Mole on Chimera. I installed it, as well as Mono, but I keep seeing the error below. Could you please let me know if there is a way to address this error? Thank you so much for your time and help!

Best wishes,
Atanas




Traceback (most recent call last):
  File "/Applications/Chimera.app/Contents/Resources/share/chimera/toolbar.py", line 26, in _guard
    func()
  File "/Users/atanasdradkov/Downloads/Mole2_plugin/MOLE2_5/MainWindow.py", line 954, in <lambda>
    icon, lambda d=chimera.dialogs.display, n=MainWindow.name: d(n), 'MOLE 2.5', None)
  File "/Applications/Chimera.app/Contents/Resources/share/chimera/dialogs.py", line 76, in display
    dialog = find(name, create=1)
  File "/Applications/Chimera.app/Contents/Resources/share/chimera/dialogs.py", line 61, in find
    return d()
  File "/Users/atanasdradkov/Downloads/Mole2_plugin/MOLE2_5/MainWindow.py", line 353, in __init__
    with open(CONFIGFILE, 'w') as f:
IOError: [Errno 13] Permission denied: '.MOLE_PluginSettings.txt'
Error in toolbar callback:
IOError: [Errno 13] Permission denied: '.MOLE_PluginSettings.txt'

  File "/Users/atanasdradkov/Downloads/Mole2_plugin/MOLE2_5/MainWindow.py", line 353, in __init__
    with open(CONFIGFILE, 'w') as f:

See reply log for Python traceback.






Atanas Radkov, PhD
Postdoctoral Scholar
Adviser: Professor Seemay Chou
Biophysics and Biochemistry Department
University of California - San Francisco
Genentech Hall
600 16th str
San Francisco, CA 94158
_______________________________________________
Chimera-users mailing list: Chimera-users@cgl.ucsf.edu
Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users