Hi David,
thanks, that was the solution!
I just deleted the extension py.


according to the wiki:

Windows

On Windows, use 'pymolrc', 'pymolrc.py' or 'pymolrc.pym'. For global defaults (all users), you can place a .pymolrc file in C:\Program Files\DeLano Scientific\PyMOL (or C:\Program Files\PyMOL\PyMOL). You can launch PyMOL from the applications menu or from the icon on your desktop (if you placed one there).


Thanks a lot for all replies! at least this problem is solved!)

Tanya
On Tue, Aug 23, 2011 at 9:51 AM, <lists@cowsandmilk.net> wrote:
I believe your problem is that you named your file pymolrc.py instead of pymolrc

This causes pymol to read it as python rather than pymol commands.

Rename the file and you should be fine.

-David

On Aug 23, 2011, at 8:44 AM, Tatyana Sysoeva <tatyanasysoeva@gmail.com> wrote:


Hi Tsjerk,

I am attaching the file and the terminal text.

++++++++++++++++++++++++++++++++++++++++++++++++
 This Executable Build integrates and extends Open-Source PyMOL 1.3.
Traceback (most recent call last):
  File "C:\Program Files (x86)\PyMOL\PyMOL/modules\pymol\parser.py", line 338, in parse
    parsing.run_file(path,self.pymol_names,self.pymol_names)
  File "C:\Program Files (x86)\PyMOL\PyMOL/modules\pymol\parsing.py", line 455, in run_file
    execfile(file,global_ns,local_ns)
  File "C:\Users\Tanya\pymolrc.py", line 1
     set ray_trace_mode, on
                      ^
 SyntaxError: invalid syntax
+++++++++++++++++++++++++++++++++++++++++++++

Thanks,
Tanya



On Tue, Aug 23, 2011 at 12:18 AM, Tsjerk Wassenaar <tsjerkw@gmail.com> wrote:
Hi Tanya,

Does it say more than "syntax error"? Can you send the whole output?
(copy crom the grey screen). In addition, can you send the pymolrc
file as attachment? There might be something to do with line endings;
so don't paste it in the mail, but attach the actual file that fails.

Cheers,

Tsjerk

On Tue, Aug 23, 2011 at 2:03 AM, Tatyana Sysoeva
<tatyanasysoeva@gmail.com> wrote:
>
> Dear all,
>
> I have quite silly question but I could not find an answer so far.
> I am trying to use Pymol in a Power point presentation. For that I would
> like to change the default setting in Pymol -
> set security, off
> I have created a file pymolrc and put it in C:/Program Files/PyMol/PyMol/.
> When I am launching Pymol, it reads the file, but respond with "syntax
> error".
> I checked and the same command is working properly if I type it directly
> into the Pymol prompt.
>
> I would appreciate any corrections or advices!
> Thank you very much,
> Tanya
>
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
>
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>



--
Tsjerk A. Wassenaar, Ph.D.

post-doctoral researcher
Molecular Dynamics Group
* Groningen Institute for Biomolecular Research and Biotechnology
* Zernike Institute for Advanced Materials
University of Groningen
The Netherlands

<pymolrc.py>
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2