Hi Balaji,

you need to upgrade your PyMOL installation. The 0.99rc6 version has a 
quite old version of python build-in and does not use your python-2.7 
installation.

Cheers,
   Thomas

On 11/14/2012 06:58 AM, Ban Arn wrote:
> Dear Pymol Users
>
> I am using pymol v-0.99rc6 (in windows).
>
> I'm trying to install and work on the contact_map_visualizer.py plugin.
>
> I am using python-2.7and installed all dependecies as mentioned in the
> plugin site.
>
> Initially, I had image module error and later looking into the link
> "http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg10289.html";
> I sorted out the above error.
>
> I installed the script using plugin and getting the following error
>
> *Exception in plugin 'Contact_Map_Visualizer' -- Traceback follows...*
> *Traceback (most recent call last):*
> *  File "C:\Program Files\DeLano
> Scientific\PyMOL/modules\pmg_tk\PMGApp.py", line 156, in initialize_plugins*
> *    __builtin__.__import__(mod_name)*
> *  File "C:\Program Files\DeLano
> Scientific\PyMOL/modules\pmg_tk\startup\Contact_Map_Visualizer.py", line
> 291*
> *     finally:*
> *           ^*
> * SyntaxError: invalid syntax*
> *Error: unable to initialize plugin Contact_Map_Visualizer*
>
>
> I tried running the script using the command lines
>
>   run contact_map_visualizer.py
>    contact_map_visualizer test.png
>
> and its shows the same error
>
> *PyMOL>run contact_map_visualizer.py*
> *Traceback (most recent call last):*
> *  File "C:\Program Files\DeLano
> Scientific\PyMOL/modules\pymol\parser.py", line 285, in parse*
> *    parsing.run_file(exp_path(args[nest][0]),pymol_names,pymol_names)*
> *  File "C:\Program Files\DeLano
> Scientific\PyMOL/modules\pymol\parsing.py", line 407, in run_file*
> *    execfile(file,global_ns,local_ns)*
> *  File "contact_map_visualizer.py", line 291*
> *     finally:*
> *           ^*
> * SyntaxError: invalid syntax*
>
> Could you please help me to sort out this error.
>
> Kindly advice.
>
> Many Thanks
> Balaji

-- 
Thomas Holder
PyMOL Developer
Schrödinger Contractor

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
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

Reply via email to