#640248 [virtaal] Display broken with Polish locale.

#640248#5
Date:
2011-09-03 15:22:45 UTC
From:
To:
--- Please enter the report below this line. ---
There are square with cross all over instead (menu too) of Polish diacritical characters (most of them, the same character may be displayed correctly and wrong). Easiest is to show it - screenshot http://i.imgur.com/lcsaz.png

Tested it on two independent machines, this one with pure Squeeze and KDE (there is a few packages from testing/unstable like Warsow and flash, that's all), and another, with more mixed system and LXDE and it looks the same on both. Version from testing/unstable (0.7.0-1) has the same bug.

$ locale
LANG=pl_PL
LANGUAGE=
LC_CTYPE="pl_PL"
LC_NUMERIC="pl_PL"
LC_TIME="pl_PL"
LC_COLLATE="pl_PL"
LC_MONETARY="pl_PL"
LC_MESSAGES="pl_PL"
LC_PAPER="pl_PL"
LC_NAME="pl_PL"
LC_ADDRESS="pl_PL"
LC_TELEPHONE="pl_PL"
LC_MEASUREMENT="pl_PL"
LC_IDENTIFICATION="pl_PL"
LC_ALL=

I was told that it looks fine on Ubuntu (version unknown), if it helps anyway.

Debian Release: 6.0.2
  500 stable          security.debian.org
  500 stable          ftp.fi.debian.org
   50 unstable        ftp.fi.debian.org
  100 testing         ftp.fi.debian.org
--- Package information. ---
Depends                 (Version) | Installed
=================================-+-============
python                            | 2.6.6-3+squeeze6
python-central        (>= 0.6.11) | 0.6.16+nmu1
translate-toolkit      (>= 1.5.1) | 1.7.0-0.1
python-gtk2                       | 2.17.0-4
python-gobject                    | 2.21.4+is.2.21.3-1
python-glade2                     | 2.17.0-4
python-pycurl                     | 7.19.0-3+b1
python-lxml                       | 2.2.8-2
python-simplejson                 | 2.1.1-1


Recommends                 (Version) | Installed
====================================-+-===========
python-gtkspell                      | 2.25.3-7
openoffice.org-common                | 1:3.2.1-11+squeeze3
python-levenshtein                   | 0.10.1-1.1
python-psycopg2                      | 2.2.1-1


Package's Suggests field is empty.

#640248#10
Date:
2011-09-05 15:03:57 UTC
From:
To:
Hello Pawel:

Thanks for reporting this issue. The developer can't be sure
if it's a Virtaal or a glade bug affecting non-utf8 locales (so
far, seems a glade one).

We've tried pl_PL with iso-8859-2 and utf8, and the former
shows your issue. A temporary workaround could be to install
pl_PL.UTF8 with "sudo dpkg-reconfigure locales" and run
Virtaal with "LANG=pl_PL.UTF-8" (or change to UTF-8).

BTW, my "locale" output shows pl_PL.UTF-8, and not just pl_PL as is your
case.

Can you confirm non-utf8 is the problem? Feel free to drop by
#pootle in irc.freenode.net.

Regards

#640248#15
Date:
2011-09-05 16:00:40 UTC
From:
To:
On IRC original reporter informs that the problems appears
with ISO encoding.

Running "LANG=pl_PL.UTF-8 virtaal" shows the correctly
translated interface.

Additional debug sent by the reporter:


virtaal /usr/lib/python2.6/dist-packages/virtaal/views/baseview.py:44:
GtkWarning: Invalid input string gui = glade.XML(gladename, root=root,
domain=domain)
/usr/lib/python2.6/dist-packages/virtaal/views/baseview.py:44:
GtkWarning: Failed to set text from markup due to error parsing markup:
BĹÄd w wierszu 1 przy znaku 18: Nazwa zawiera nieprawidĹowy tekst
zakodowany za pomocÄ UTF-8 - nieprawidĹowe "Otwórz" gui =
glade.XML(gladename, root=root, domain=domain)
/usr/lib/python2.6/dist-packages/virtaal/views/baseview.py:44:
GtkWarning: Failed to set text from markup due to error parsing markup:
BĹÄd w wierszu 1 przy znaku 18: Nazwa zawiera nieprawidĹowy tekst
zakodowany za pomocÄ UTF-8 - nieprawidĹowe "Ściąga" gui =
glade.XML(gladename, root=root, domain=domain)
/usr/lib/python2.6/dist-packages/virtaal/views/baseview.py:44:
GtkWarning: Failed to set text from markup due to error parsing markup:
BĹÄd w wierszu 1 przy znaku 21: Nazwa zawiera nieprawidĹowy tekst
zakodowany za pomocÄ UTF-8 - nieprawidĹowe "Więcej..." gui =
glade.XML(gladename, root=root, domain=domain)
/usr/lib/python2.6/dist-packages/virtaal/views/baseview.py:44:
GtkWarning: Failed to set text from markup due to error parsing markup:
BĹÄd w wierszu 1 przy znaku 34: Nazwa zawiera nieprawidĹowy tekst
zakodowany za pomocÄ UTF-8 - nieprawidĹowe "Podręcznik użytkownika" gui
= glade.XML(gladename, root=root, domain=domain)
/usr/lib/python2.6/dist-packages/virtaal/views/welcomescreenview.py:65:
GtkWarning: Failed to set text from markup due to error parsing markup:
BĹÄd w wierszu 1 przy znaku 18: Nazwa zawiera nieprawidĹowy tekst
zakodowany za pomocÄ UTF-8 - nieprawidĹowe "Otwórz"
self.parent_widget.add(self.widget)
/usr/lib/python2.6/dist-packages/virtaal/views/welcomescreenview.py:65:
GtkWarning: Failed to set text from markup due to error parsing markup:
BĹÄd w wierszu 1 przy znaku 18: Nazwa zawiera nieprawidĹowy tekst
zakodowany za pomocÄ UTF-8 - nieprawidĹowe "Ściąga"
self.parent_widget.add(self.widget)
/usr/lib/python2.6/dist-packages/virtaal/views/welcomescreenview.py:65:
GtkWarning: Failed to set text from markup due to error parsing markup:
BĹÄd w wierszu 1 przy znaku 21: Nazwa zawiera nieprawidĹowy tekst
zakodowany za pomocÄ UTF-8 - nieprawidĹowe "Więcej..."
self.parent_widget.add(self.widget)
/usr/lib/python2.6/dist-packages/virtaal/views/welcomescreenview.py:65:
GtkWarning: Failed to set text from markup due to error parsing markup:
BĹÄd w wierszu 1 przy znaku 34: Nazwa zawiera nieprawidĹowy tekst
zakodowany za pomocÄ UTF-8 - nieprawidĹowe "Podręcznik użytkownika"
self.parent_widget.add(self.widget)
/usr/lib/python2.6/dist-packages/virtaal/views/mainview.py:524:
PangoWarning: Invalid UTF-8 string passed to pango_layout_set_text()
self.main_window.show()
/usr/lib/python2.6/dist-packages/virtaal/views/mainview.py:494:
UnicodeWarning: Unicode equal comparison failed to convert both
arguments to Unicode - interpreting them as being unequal


"BĹÄd w wierszu 1 przy znaku 18: Nazwa zawiera nieprawidĹowy tekst zakodowany za pomocÄ UTF-8" translates to English as "Error in row 1 near sign 18: Name contains non valid text encoded with UTF-8"

#640248#20
Date:
2024-02-26 18:33:08 UTC
From:
To:
Dear submitter,

as the package virtaal has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1064180

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)