Bug#640248: [virtaal] Display broken with Polish locale.

2011-09-05 Thread Omar Campagne
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
-- 
Omar Campagne Polaino



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#640248: [virtaal] Display broken with Polish locale.

2011-09-05 Thread Omar Campagne
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

-- 
Omar Campagne Polaino



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#640248: [virtaal] Display broken with Polish locale.

2011-09-03 Thread Pawel Rozanski
Package: virtaal
Version: 0.6.1-0.1
Severity: normal

--- 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.

--- System information. ---
Architecture: amd64
Kernel:   Linux 2.6.32-5-amd64

Debian Release: 6.0.2
  500 stable  security.debian.org 
  500 stable  ftp.fi.debian.org 
   50 unstableftp.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.






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org