From mblondel at rubyforge.org Fri Jan 6 14:36:31 2006 From: mblondel at rubyforge.org (Mathieu Blondel) Date: Fri, 06 Jan 2006 20:36:31 +0100 Subject: [Nihongobenkyo-list] Tray icon Message-ID: <43BEC6BF.3050809@rubyforge.org> Hi all, First, let me wish you a happy new year. Today, I was thinking about this: NB is a kind of tool you always need at hand but it can be bothering if the windows is always displayed. So I implemented a tray icon for Nihongo Benkyo. It requires "gtktrayicon". Now, when you close NB's window, NB's icon is still there, in your desktop's tray. You can click on this icon to make the window reappear. If you right-click on it you can also activate/desactivate "scan selection" or quit NB permanently. I don't know if it behaves correctly with other desktops than GNOME. Anyone can tell me? The code is in the CVS. Mathieu From kirillrdy at gmail.com Sat Jan 14 22:24:10 2006 From: kirillrdy at gmail.com (Kirill Radzikhovskyy) Date: Sun, 15 Jan 2006 14:24:10 +1100 Subject: [Nihongobenkyo-list] Nihongobenkyo crashes Message-ID: <89b403830601141924u7400f460yfbe0fa7207c89657@mail.gmail.com> Hey, I just installed nihongobenkyo. It worked for about few times, and now it doenst want to start at all. I get this message: kirillrdy at kiriru ~/Desktop $ nihongobenkyo ----------------------- NihongoBenkyo just crashed ----------------------- Timestamp: Sun Jan 15 11:17:14 EST 2006 Message: private method `split' called for 139783723:Fixnum Backtrace: /usr/lib/ruby/site_ruby/1.8/nihongobenkyo/radicals.rb:65:in `of_kanji' /usr/lib/ruby/site_ruby/1.8/nihongobenkyo/radicals.rb:31:in `parse_file' /usr/lib/ruby/site_ruby/1.8/nihongobenkyo/radicals.rb:31:in `parse_file' /usr/lib/ruby/site_ruby/1.8/nihongobenkyo/radicals.rb:63:in `of_kanji' /usr/lib/ruby/site_ruby/1.8/nihongobenkyo/ui/main_app.rb:200:in `search_kanji_details' /usr/lib/ruby/site_ruby/1.8/nihongobenkyo/ui/main_app.rb:88:in `search' /usr/lib/ruby/site_ruby/1.8/nihongobenkyo/ui/main_app.rb:263:in `load_preferences' /usr/lib/ruby/site_ruby/1.8/nihongobenkyo/ui/main_app.rb:44:in `initialize' /usr/lib/ruby/site_ruby/1.8/nihongobenkyo/ui.rb:36:in `main' /usr/lib/ruby/site_ruby/1.8/nihongobenkyo.rb:49:in `main' /usr/bin/nihongobenkyo:10 Release: 0.3.1 Uname -a: Linux kiriru 2.6.14-gentoo-r6 #1 SMP PREEMPT Fri Jan 13 19:09:31 EST 2006 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux -- Please report this dump to ' nihongobenkyo-list at rubyforge.org' with some additional information, such as the description of the crash and the steps to reproduce it (if it's possible). OK, I GOT it working, I deleted the config.yaml file from ~/.nihongobenkyo So it works for now, but maybe it will stop again? Here is the my OLD config.yaml which coused nihongobenkyo crashing --- col_kanji_visible: true last_searches: - &id001 :word: !binary | 5a6H :res_type: 1 :dicname: Kanjidic2 :entry_id: 103523 :nb_res: 1 - :word: "\xE5\xB8\x8C\xE6\x9C\x9B, \xE5\x86\x80\xE6\x9C\x9B" :dicname: JMDict :res_type: 1 :entry_id: 21542 :nb_res: 1 - :word: espoir :dicname: JMDict :res_type: 0 :nb_res: 5 - :word: !binary | 44Ob44O844OX :dicname: JMDict :res_type: 1 :entry_id: 11891 :nb_res: 1 - :word: hope :dicname: JMDict :res_type: 0 :nb_res: 8 - :word: hope :dicname: Kanjidic2 :res_type: 0 :nb_res: 7 - :word: home :dicname: Kanjidic2 :res_type: 0 :nb_res: 4 - :word: !binary | 5oSb :res_type: 1 :dicname: Kanjidic2 :entry_id: 103428 :nb_res: 1 - :word: !binary | 5oSb :res_type: 1 :dicname: JMDict :entry_id: 14703 :nb_res: 1 window_maximized: true window_position: - 0 - 0 history_position: 140 col_romaji_visible: false col_translations_visible: true history_nb_rows: 15 headers_visible: false window_size: - 550 - 500 view_toolbar: true last_search: *id001 view_statusbar: true view_history: true col_kana_visible: true -- Everything is made from a Dream - /-Sakurai Kazutoshi-/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nihongobenkyo-list/attachments/20060115/297a8dc8/attachment-0001.htm From mblondel at rubyforge.org Sun Jan 15 18:44:00 2006 From: mblondel at rubyforge.org (Mathieu Blondel) Date: Mon, 16 Jan 2006 00:44:00 +0100 Subject: [Nihongobenkyo-list] Nihongobenkyo crashes In-Reply-To: <89b403830601141924u7400f460yfbe0fa7207c89657@mail.gmail.com> References: <89b403830601141924u7400f460yfbe0fa7207c89657@mail.gmail.com> Message-ID: <43CADE40.8050807@rubyforge.org> Kirill Radzikhovskyy wrote: > Hey, > I just installed nihongobenkyo. It worked for about few times, and > now it doenst want to start at all. > I get this message: > > OK, I GOT it working, > I deleted the config.yaml file from ~/.nihongobenkyo > So it works for now, but maybe it will stop again? > > Here is the my OLD config.yaml which coused nihongobenkyo crashing Hi, Yes that was the way to do. I don't think it will crash anymore. This was because the structure of the configuration file has changed slightly. I think I'll fix that problem by deleting the file at the installation time if it exists. Unfortunately, there is a similar problem with the database structure which may change as Nihongo Benkyo is growing... Mathieu From mblondel at rubyforge.org Thu Jan 19 18:22:51 2006 From: mblondel at rubyforge.org (Mathieu Blondel) Date: Fri, 20 Jan 2006 00:22:51 +0100 Subject: [Nihongobenkyo-list] Some news Message-ID: <43D01F4B.1030504@rubyforge.org> Hi all! I've been quite busy lately so I could not spend a lot of time on Nihongo Benkyo. Hopefully January was the most difficult mounth for me and I'll have much more time next mounths! So it was mainly to tell you the project is not dead :) Today, I added some code to Nihongo Benkyo to prevent it from being started twice. It was necessary because you could have had two icons in your system's tray and also because it can be dangerous if two different processes modify the database. Oh BTW, if your language is not english, I would be *very* happy if you could send me a translation of the interface. Currently supported languages are only: bulgarian, german, spanish (not maintained anymore...), french and japanese. If you're interested, drop me a mail and I'll tell you how to do. It's not difficult and you'll be happy to be listed in the credits! -- Mathieu Blondel http://www.mblondel.org