|
From: Warren D. <wa...@de...> - 2005-04-25 20:26:46
|
Yunbo,
PyMOL wasn't unicode or utf8 compliant -- try saving the file in a directory
path that only contains plain ordinary ASCII characters. Alternatively, the
latest beta version might work for you since it runs in utf8 by default.
Cheers,
Warren
--
Warren L. DeLano, Ph.D.
Principal Scientist
. DeLano Scientific LLC
. 400 Oyster Point Blvd., Suite 213
. South San Francisco, CA 94080
. Biz:(650)-872-0942 Tech:(650)-872-0834
. Fax:(650)-872-0273 Cell:(650)-346-1154
. mailto:wa...@de...
> -----Original Message-----
> From: pym...@li...
> [mailto:pym...@li...] On Behalf Of
> yunbo.song
> Sent: Saturday, April 23, 2005 8:48 AM
> To: pym...@li...
> Subject: [PyMOL] Error report when I saved image
>
> Hi, all,
>
> I got the Error feed back when I saved image using Pymol. My
> Operations system: Windows2000.
> What's wrong here? thanks in advance!! error report is in
> the following.
>
> yunbo
> Apr23
>
> Error:1
> UnicodeEncodeError exception in Tk callbacke
> Function:<bound method Normal.file_savepng of
> <pmg_tk.skins.normal.Normal instance at 0x03165738>>
> (type:<'instancementhod">) Args:() Traceback (innermost last):
> File"nicodeEncodeError Exception in Tk callback
> Function: <bound method Normal.file_savepng of
> <pmg_tk.skins.normal.Normal ins ance at 0x03165738>> (type:
> <type 'instancemethod'>)
> Args: ()
> raceback (innermost last):
> File "D:\Program Files\DeLano
> Scientific\PyMOL/modules\Pmw\Pmw_1_2\lib\PmwBase.py", line
> 1747, in __call__
> return apply(self.func, args)
> File "D:\Program Files\DeLano
> Scientific\PyMOL/modules\pmg_tk\skins\normal\__init__.py",
> line 581, in file_savepng
> self.cmd.png(sfile)
> File "D:\Program Files\DeLano
> Scientific\PyMOL/modules\pymol\exporting.py", line 97, in png
> r = cmd._do("cmd._png('"+str(filename)+"')")
> nicodeEncodeError: 'ascii' codec can't encode characters in
> position 34-35: ordinal not in range(128)
>
|