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

Ivan Marin ispmarin at gmail.com
Wed Feb 20 14:51:12 UTC 2008


Package: mayavi2
Version: 2.0.2a1-4
Severity: grave
Tags: l10n
Justification: renders package unusable



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mayavi2 depends on:
ii  libc6                        2.7-6       GNU C Library: Shared libraries
ii  python                       2.4.4-6     An interactive high-level 
object-o
ii  python-central               0.5.15-0.1  register and build utility 
for Pyt
ii  python-enthought-traits      2.0.1b1-2   Manifest typing and 
reactive progr
ii  python-enthought-traits-ui   2.0.1b1-3   User interface related 
modules for
ii  python-numpy                 1:1.0.4-5   Numerical Python adds a 
fast array
ii  python-setuptools            0.6c7-1     Python Distutils Enhancements
ii  python-vtk                   5.0.3-1     Python bindings for VTK
ii  python-wxgtk2.6              2.6.3.2.2-1 wxWidgets Cross-platform 
C++ GUI t
ii  python2.4                    2.4.4-7     An interactive high-level 
object-o

mayavi2 recommends no packages.

-- no debconf information

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.

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





More information about the Python-apps-team mailing list