[PyMOL] CASTp plugin

2011-03-22 Thread Tomáš Kučera
Hello pymol users,

I try to install this castp plugin:
http://sts.bioengr.uic.edu/castp/pymol.php
- http://sts.bioengr.uic.edu/castp/infoPages/CASTpyMOL_v2.pyc

I have pymol 1.3 (windows7 64bit)

and I got:

ImportError: Bad magic number in C:\Program Files
(x86)\PyMOL\PyMOL/modules\pmg_tk\startup\CASTpyMOL_v2.pyc
Error: unable to initialize plugin 'CASTpyMOL_v2'.

Does anyone have any idea how to fix this issue?

Thanks, Tomas

-- 
S pozdravy T. Kučera

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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

Re: [PyMOL] CASTp plugin

2011-03-22 Thread Hongbo Zhu
Hi, Tomas,
Usually, the Bad magic number is caused by wrong python version when 
running .pyc file (the .pyc must have been compiled using a different 
version of python than the one in PyMOL 1.3, which is python 2.5.4). 
Maybe you have also noticed on the first line of the CASTpyMOL webpage :

To use CASTpyMOL version 2, you must be using PyMOL version 0.99 

pymol 0.99 and pymol 1.3 uses different versions of python.

Maybe you should contact the CASTpyMOL people to get a .py file so you 
can try them with your pymol 1.3, or ask them to compile a .pyc using 
python 2.5.4 for you. Or install pymol 0.99 in parallel to you pymol 1.3.

good luck!
hongbo

On 03/22/2011 11:03 AM, Tomáš Kučera wrote:
 Hello pymol users,

 I try to install this castp plugin:
 http://sts.bioengr.uic.edu/castp/pymol.php
 -  http://sts.bioengr.uic.edu/castp/infoPages/CASTpyMOL_v2.pyc

 I have pymol 1.3 (windows7 64bit)

 and I got:

 ImportError: Bad magic number in C:\Program Files
 (x86)\PyMOL\PyMOL/modules\pmg_tk\startup\CASTpyMOL_v2.pyc
 Error: unable to initialize plugin 'CASTpyMOL_v2'.

 Does anyone have any idea how to fix this issue?

 Thanks, Tomas


-- 
Hongbo ZHU
Postdoctoral Researcher
Structural Bioinformatics

Technische Universität Dresden
Biotechnology Center
Tatzberg 47/49
01307 Dresden, Germany

Tel: +49 (0) 351 463-40083
Fax: +49 (0) 351 463-40087
E-Mail:  hongbo.zhu at biotec
Webpage: www.biotec.tu-dresden.de

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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

Re: [PyMOL] CASTp plugin

2011-03-22 Thread Jed Goldstone
I had the same problem.
Email Joe Dundas jdunda1 at gmail  for the .py source code .py file, 
and drop it into the modules/pmg_tk/startup folder.

Jed

Hongbo Zhu wrote:
 Hi, Tomas,
 Usually, the Bad magic number is caused by wrong python version when 
 running .pyc file (the .pyc must have been compiled using a different 
 version of python than the one in PyMOL 1.3, which is python 2.5.4). 
 Maybe you have also noticed on the first line of the CASTpyMOL webpage :

 To use CASTpyMOL version 2, you must be using PyMOL version 0.99 

 pymol 0.99 and pymol 1.3 uses different versions of python.

 Maybe you should contact the CASTpyMOL people to get a .py file so you 
 can try them with your pymol 1.3, or ask them to compile a .pyc using 
 python 2.5.4 for you. Or install pymol 0.99 in parallel to you pymol 1.3.

 good luck!
 hongbo

 On 03/22/2011 11:03 AM, Tomáš Kučera wrote:
   
 Hello pymol users,

 I try to install this castp plugin:
 http://sts.bioengr.uic.edu/castp/pymol.php
 -  http://sts.bioengr.uic.edu/castp/infoPages/CASTpyMOL_v2.pyc

 I have pymol 1.3 (windows7 64bit)

 and I got:

 ImportError: Bad magic number in C:\Program Files
 (x86)\PyMOL\PyMOL/modules\pmg_tk\startup\CASTpyMOL_v2.pyc
 Error: unable to initialize plugin 'CASTpyMOL_v2'.

 Does anyone have any idea how to fix this issue?

 Thanks, Tomas

 

   

-- 

Jed Goldstone, PhD
Research Specialist
Woods Hole Oceanographic Institution
Redfield 3-52 MS#32
Woods Hole, MA 02543
http://www.whoi.edu/hpb/Site.do?id=481
Phone: 508-289-4823


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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

[PyMOL] Castp plugin

2006-02-28 Thread S. Shanmuga Sundara Raj
Hi,
 
 I am using ver 0.99 and would like to install the castp plugin.
 i am not successful in installing under Linux/OSX. i am getting the following 
error.
 
 
 This PyMOL Executable Build incorporates Open-Source PyMOL 0.99rc1.
 Exception in plugin 'CASTpyMOL' -- Traceback follows...
 Traceback (most recent call last):
   File /new-programs/pymol/modules/pmg_tk/PMGApp.py, line 156, in 
initialize_plugins
 __builtin__.__import__(mod_name)
 ImportError: Bad magic number in 
/new-programs/pymol/modules/pmg_tk/startup/CASTpyMOL.pyc
 Error: unable to initialize plugin 'CASTpyMOL'.
 
 
 any help would be appreciated.
 Thanks
 Raj


-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze.