View previous topic :: View next topic |
Author |
Message |
Shtab n00b
Joined: 06 Apr 2005 Posts: 29
|
Posted: Mon Mar 05, 2007 10:08 am Post subject: Linuxdcpp trouble |
|
|
LANG="ru_RU.CP1251" linuxdcpp
It starts, but in console i've got ad error:
(linuxdcpp:27137): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
Everything works, but I can't download anything, even filelists. Can somebody help me? |
|
Back to top |
|
|
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Tue Mar 06, 2007 1:12 am Post subject: |
|
|
a) Make sure you have the latest version (cvs date 2007-02-06) to take advantage of the character encoding fixes.
b) Don't run with LANG=locale linuxdcpp. If you override this environment variable with something different than your filesystem's encoding, linuxdcpp won't be able to convert characters properly (hence the error).
c) Use the default hub charset in preferences & the individual hub charset in fav hub to specify remote hub encodings. |
|
Back to top |
|
|
Shtab n00b
Joined: 06 Apr 2005 Posts: 29
|
Posted: Tue Mar 06, 2007 8:40 pm Post subject: |
|
|
I use linuxdcpp installed from portage. I'm new to gentoo jnd don't rnow how to use cvs. Can you give me some links to howtos?
It's interesting that linuxdcpp worked well under Mandriva 2007, I've used it defore. |
|
Back to top |
|
|
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Wed Mar 07, 2007 12:33 am Post subject: |
|
|
Well, I just checked and the linuxdcpp in portage is updated to the latest. So just make sure you're updated. Then follow steps b & c. |
|
Back to top |
|
|
Shtab n00b
Joined: 06 Apr 2005 Posts: 29
|
Posted: Thu Mar 08, 2007 1:43 pm Post subject: |
|
|
I've updated the system today. The same error:
(linuxdcpp:7136): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
any other ideas? |
|
Back to top |
|
|
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Fri Mar 09, 2007 1:07 am Post subject: |
|
|
Shtab wrote: | I've updated the system today. The same error:
(linuxdcpp:7136): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
any other ideas? |
You didn't say whether you followed the other directions. There is no way for linuxdcpp to guess a remote hub's character encoding (or that of its users) due to the terribly designed NMDC protocol. You have to tweak the hub encoding setting until you find one that works. I make no promises that it will correctly convert text for everybody, my implementation is only a best effort. |
|
Back to top |
|
|
|