Hi,

This is probably more a question for Bernhard: 

After upgrading to Windows 7 I am no longer able to read in a custom coot.py 
located in a startup directory outside of the WinCOOT directory.
The error message is as follows

Coot Python Scripting GUI code found and loaded.
WARNING:: no directory "C" in COOT_PYTHON_EXTRAS_DIR C:\COOT-Startup
WARNING:: no directory "\COOT-Startup" in COOT_PYTHON_EXTRAS_DIR C:\COOT-Startup
INFO:: loading preferences file C:\WinCoot/.coot-preferences/coot_preferences.py

Running python script C:/WinCoot/.coot-preferences/coot_preferences.py

The relevant setting in runwincoot.bat is:
set COOT_PYTHON_EXTRAS_DIR=C:\COOT-Startup

I tried various iterations of C:\\; C://; C::/ to get Python separate the drive 
component from the directory component but to no avail.  I even placed the 
COOT-Startup directory in the WinCOOT folder and used 
set COOT_PYTHON_EXTRAS_DIR=%COOT_PREFIX%\COOT-Startup
but still nothing works.

BTW I am using CMD.exe, but it does not work under PowerShell either.

Any insights?

Thanks

        Carsten

Reply via email to