[Python-apps-team] Bug#466711: Bug#466711: mayavi2: Cannot open any file with UTF-8

Varun Hiremath varunhiremath at gmail.com
Thu Feb 21 07:43:53 UTC 2008


severity 466711 normal
tags 466711 moreinfo unreproducible
thanks

Hi Ivan,

On Wed, 20 Feb, 2008 at 11:51:12AM -0300, Ivan Marin wrote:
> Problem with the mayavi2 package. When trying to use the program with 
> the system encoding
> configured as pt_BR.UTF-8, no module can be loaded, and if some file 
> like a PLOT3D is open,
> the Frame Buffer Inspector appears, and the file is not loaded. The 
> error reported by the
> Frame buffer Inspector is
> 
> Exception: 'ascii' coded can't encode characters in position 30-31: 
> ordinal not in
> range(128)
> 
> and the line on Module Source (file_dialog.py)
> 
> self.path = str(self.control.GetPath())
> 
> is highlighted.

Could you please provide some PLOT3D file and tell us the exact steps
to reproduce this problem?

> 
> No modules or files can be opened. If the LC_ALL and LANG are changed 
> for C, it cannot find any files at all.

Well that is not true because I tried loading a vtk file with LC_ALL
and LANG set to en_IN.UTF-8 and it worked perfectly for me.

Regards
Varun

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-------------------------------------
Homepage: http://varun.travisbsd.org





More information about the Python-apps-team mailing list