Dear Dr.F Long,

The following imformation is what I get from python.
"
Python 2.4.5 (#1, Sep 18 2008, 14:53:26)
[GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyexpat import *
>>>
"
Although I have realized that this problem is not specially related to BALBES, 
I don't konw
how to solve it.

Thank you.

Xiang Liu
the fourth year Ph.D candidate
lab of structural biology, college of life science
Peking University, Beijing, P.R.China
100871
Tel:86-10-62755714



--- 09年1月5日,周一, Dr. F Long <f...@ysbl.york.ac.uk> 写道:
发件人: Dr. F Long
 <f...@ysbl.york.ac.uk>
主题: Re: [ccp4bb] problem about BALBES
收件人: CCP4BB@JISCMAIL.AC.UK
日期: 2009,15,周一,3:09上午

Dear Xiang Liu,

>From the log file,  it looks you use a version of Python that comes
with CCP4 and the lib file 'pyexpat.so' in it may have a problem (or
this file does not work properly in your machine). Please could you do
the following to help us find what kind of problem it is.
In one of your directories (anyone):
1) type python
2) it will show something like
Python 2.4.3 (#1, Oct 23 2006, 14:19:45)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type "help", "copyright", "credits" or
"license" for more information.
>>>
3)type from pyexpat import *
i.e >>> from pyexpat import *

Please let me know what shows in your screen. This problem may be due
to a python lib file problem we did not see here, not be
 related
particularly to BALBES.

Thanks,

Fei

2009/1/4 Xiang Liu <pku06...@yahoo.com.cn>:
> I just installized the CCP4-6.10 and tried to use BALBES for MR. But I
have
> only got the error log file as following:
>
"/software/exe/Xtal/CCP4/CCP4_6.10/ccp4-6.1.0/share/balbes/BALBES_0.0.1/bin_py/balbes",
> line 37, in ?     import PyExpat   File
>
"/software/exe/Xtal/CCP4/CCP4_6.10/ccp4-6.1.0/share/balbes/BALBES_0.0.1/PyXML-0.8.4/xml/dom/ext/reader/PyExpat.py",
> line 35, in ?     from xml.parsers import expat   File
> 
"/software/exe/Xtal/pymol/ext/lib/python2.4/xml/parsers/expat.py",
line 4,
> in ?     from pyexpat import *
> ImportError:
> /software/exe/Xtal/pymol/ext/lib/python2.4/lib-dynload/pyexpat.so:
undefined
> symbol: PyUnicodeUCS2_DecodeUTF8"
>
> I google  the error message "undefined symbol:
PyUnicodeUCS2_DecodeUTF8"
 and
> cannot get some useful help. So I wonder if someone here had met similar
> situation yet and how to solve it.
>
> Thank you for your attention.
>
>
> Xiang Liu
> the fourth year Ph.D candidate
> lab of structural biology, college of life science
> Peking University, Beijing, P.R.China
> 100871
> Tel:86-10-62755714




      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/

Reply via email to