Thanks Bernhard,
I placed .coot.py in the root folder and it worked nicely.
Yep I don't quite remember what version I used previously, but something along
the lines of 0.6. Linux I may main workhorse, that's why I never upgraded.
Gruss,
Carsten
-----Original Message-----
From: Bernhard Lohkamp [mailto:[email protected]]
Sent: Thursday, September 12, 2013 3:18 AM
To: Schubert, Carsten [JRDUS]
Cc: [email protected]
Subject: Re: Problems with COOT_PYTHON_EXTRAS_DIR on WinCoot 0.7 rev 4459 on
Windows 7
Ok. I tracked down what's going wrong and fixed it (r4758) (*). This has been
broken for a while (since r3273) it seems. So you must have been using a very
old WinCoot ;-)
B
(*) You may have to wait until this is available for Windows since I am
fiddling with my build system at the moment. Sorry. So please use the
previous fix I sent for now.
> 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
>
--
***************************************************
Dr. Bernhard Lohkamp
Assistant Professor
Div. Molecular Structural Biology
Dept. of Medical Biochemistry and Biophysics (MBB)
Karolinska Institutet
S-17177 Stockholm
Sweden
phone: (+46) 08-52487651
fax: (+46) 08-327626
email: [email protected]