Prabhu Ramachandran | 30 Nov 10:54

Re: mayavi problem in EPD py25-4.0.30002

Robert Cimrman wrote:
> I am trying to run mayavi in EPD py25-4.0.30002 on windows XP. The 
> examples without the GUI work fine, the examples showing the splash 
> screen fail with the traceback below. (sorry for the messed output, I am 
> testing it on another computer and got it by e-mail this way.)
[...]
>
FilesPython25libsite-packagestraitsgui-3.0.2-py2.5.eggenthoughtpyfacesplash_screen_log_handler.py", 
> line 38, in emit
>      self._splash_screen.text = str(record.getMessage()) + '...'
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 57: 
> ordinal not in range(128)

This is definitely a unicode problem: 0xed is a an í character which is 
causing the problem. Unfortunately, I am not sure what the solution 
would be.  To work around the problem one option would be to disable the 
splash screen from the preferences.

$ cat ~/.enthought/enthought.mayavi_e3/preferences.ini
[enthought.mayavi]
#...
show_splash_screen = True

Set this to False and it should get past this I hope.  I have no idea 
how to handle the unicode problem though.  If there is something we can 
do in pyface to work around this I'm sure we can incorporate it.

cheers,
prabhu
(Continue reading)


Gmane