[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-08-04 Thread Jendrik Seipp
** Changed in: rednotebook
   Status: Fix Committed = Fix Released

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-08-04 Thread Launchpad Bug Tracker
This bug was fixed in the package rednotebook - 1.0.0-2

---
rednotebook (1.0.0-2) unstable; urgency=low

  * [e9808c] Enable quilt patch system and add dependency and
README.source
  * [2968fb] New patch gtk-stock.patch to fix crash when in Turkish
locale (Closes: #588664) (LP: #555425)
  * [32f521] Standards version 3.9.0 (no changes)
  * [102b43] Remove mention of textlive-latex-extra in the description
 -- Jonathan Wiltshire deb...@jwiltshire.org.uk   Sun, 11 Jul 2010 00:17:20 
+0100

** Changed in: rednotebook (Ubuntu)
   Status: In Progress = Fix Released

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-18 Thread Jonathan Wiltshire
Ok, thanks. I've patched it and I'm waiting for the release team to sync
it over from Debian.

** Changed in: rednotebook (Ubuntu)
   Status: Confirmed = In Progress

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-18 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/sid/rednotebook

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-18 Thread Bug Watch Updater
** Changed in: rednotebook (Debian)
   Status: Confirmed = Fix Released

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-11 Thread Jonathan Wiltshire
Ok, so there are mostly two problems (that I've found, I can't promise
there aren't more):

1. trying to start with the Turkish locale crashes the whole application

I don't think it's fair to those who want to use RedNotebook in their locale to 
just disable it - either of these would fix it:
 - just hard code the GTK+ STOCK_* names instead of looping over them
 - the patch as attached, which is pretty small - though I have done some 
further work on it since then

Either way I don't mind patching the Debian and Ubuntu packages for the
time being if you're not in a position to make a release yet.

2. the problem with category searching

This doesn't crash RedNotebook totally, it just puts some tracebacks
into the category box, so it isn't critical - let's just accept that
it's a known issue for the time being. If you can work out exactly
what's going on (I got a bit lost following that part of the code) and
it's txt2tags' fault, then it should be sent upstream for Aurelio to
see.

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-11 Thread Bug Watch Updater
** Changed in: rednotebook (Debian)
   Status: New = Confirmed

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-11 Thread Jendrik Seipp
I chose to just hard code the GTK+ STOCK_* names instead of looping
over them. The patch is in trunk. If you want, you can try it out
(https://code.launchpad.net/~jendrikseipp/rednotebook/trunk).

If you want to, you can send the bug upstream to Aurelio.

I don't know when I will be ready to make a release. It might take a
while ;)

Thanks, Jendrik

** Branch linked: lp:rednotebook

** Changed in: rednotebook
   Status: Confirmed = Fix Committed

** Changed in: rednotebook
 Assignee: (unassigned) = Jendrik Seipp (jendrikseipp)

** Changed in: rednotebook
   Importance: Undecided = Medium

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-10 Thread Jonathan Wiltshire
Confirmed in both 0.9.2 and 1.0.0

** Changed in: rednotebook (Ubuntu)
   Status: Incomplete = Confirmed

** Changed in: rednotebook (Ubuntu)
   Importance: Undecided = Medium

** Changed in: rednotebook (Ubuntu)
   Importance: Medium = Undecided

** Also affects: rednotebook
   Importance: Undecided
   Status: New

** Changed in: rednotebook
   Status: New = Confirmed

** Also affects: rednotebook (Debian)
   Importance: Undecided
   Status: New

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-10 Thread Jonathan Wiltshire
** Changed in: rednotebook (Debian)
   Status: New = Confirmed

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-10 Thread Jonathan Wiltshire
This patch fixes the problem at startup, but there are still problems
when doing a Category search from the cloud box.

** Patch added: ascii_upper.patch
   http://launchpadlibrarian.net/51697273/ascii_upper.patch

** Tags added: patch

** Tags removed: amd64

** Changed in: rednotebook (Ubuntu)
   Importance: Undecided = Medium

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-10 Thread Jonathan Wiltshire
** Bug watch added: Debian Bug tracker #588664
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588664

** Changed in: rednotebook (Debian)
   Importance: Undecided = Unknown

** Changed in: rednotebook (Debian)
   Status: Confirmed = Unknown

** Changed in: rednotebook (Debian)
 Remote watch: None = Debian Bug tracker #588664

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-10 Thread Jendrik Seipp
Thanks for looking into that Jonathan. I don't know whether it wouldn't
be better to just explicitly call e.g. gtk.STOCK_ITALIC etc. directly
instead of that lazy string concatenating...

Do you have an error message when doing a Category search from the cloud
box?

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-10 Thread Jonathan Wiltshire
That might be better, yes.

Here's the error from a Category search while in tr_TR.UTF-8:

INFO Connected Signals: 1 2 3 6 15 20 
ERRORSorry! Txt2tags aborted by an unknown error.
Please send the following Error Traceback to the author (ve...@aurelio.net):

Traceback (most recent call last):
  File /usr/share/rednotebook/rednotebook/util/markup.py, line 233, in 
convert_to_pango
body, toc = txt2tags.convert(txt, config)
  File /usr/share/rednotebook/rednotebook/external/txt2tags.py, line 5181, in 
convert
line = add_inline_tags(line)
  File /usr/share/rednotebook/rednotebook/external/txt2tags.py, line 4679, in 
add_inline_tags
if regex['font%s'%beauti.capitalize()].search(line):
KeyError: 'fontitalic'

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-10 Thread Bug Watch Updater
** Changed in: rednotebook (Debian)
   Status: Unknown = New

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-10 Thread Jendrik Seipp
Thanks. The error log shows that of course all external libs and modules
cannot be used correctly with tr_TR.UTF-8 either. Do you really think
this can/should be fixed in RedNotebook? I think it would make the code
less readable, and many modules would have to be checked...

In one thread 
(http://mail.python.org/pipermail/python-bugs-list/2005-October/030816.html) I 
read:
I'm not sure what to say to this. My only advice is to *not* set the global 
locale setting to TR_tr, but only do this when it comes to actually processsing 
text in an application.

Do you think setting LC to C when it is tr_TR could be a (really hacky)
workaround?

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-09 Thread Jonathan Wiltshire
** Visibility changed to: Public

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-09 Thread Jonathan Wiltshire
Hi,

Thanks for reporting this bug. I can't reproduce it on a clean Lucid
system; please send me the output of `locale` from a terminal.

Thanks.

** Changed in: rednotebook (Ubuntu)
   Status: New = Incomplete

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555425] Re: Rednotebook does not work with Turkish locale

2010-07-09 Thread heartsmagic
Here is the locale output:

LANG=tr_TR.UTF-8
LC_CTYPE=tr_TR.UTF-8
LC_NUMERIC=tr_TR.UTF-8
LC_TIME=tr_TR.UTF-8
LC_COLLATE=tr_TR.UTF-8
LC_MONETARY=tr_TR.UTF-8
LC_MESSAGES=tr_TR.UTF-8
LC_PAPER=tr_TR.UTF-8
LC_NAME=tr_TR.UTF-8
LC_ADDRESS=tr_TR.UTF-8
LC_TELEPHONE=tr_TR.UTF-8
LC_MEASUREMENT=tr_TR.UTF-8
LC_IDENTIFICATION=tr_TR.UTF-8
LC_ALL=


As a reference please see this bug:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/581207

As explained there:
TEST CASE:
1. install turkish locale:
  $ sudo apt-get install language-pack-gnome-tr-base
2. from a terminal run the following command and note any error message:
  $ sudo LC_ALL=tr_TR.UTF8 update-software-center

You can test this via:
LC_ALL=tr_TR.UTF8 rednotebook

-- 
Rednotebook does not work with Turkish locale
https://bugs.launchpad.net/bugs/555425
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs