Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linuxdcpp trouble
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Shtab
n00b
n00b


Joined: 06 Apr 2005
Posts: 29

PostPosted: Mon Mar 05, 2007 10:08 am    Post subject: Linuxdcpp trouble Reply with quote

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
View user's profile Send private message
stevensheehy
n00b
n00b


Joined: 25 Dec 2006
Posts: 13

PostPosted: Tue Mar 06, 2007 1:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Shtab
n00b
n00b


Joined: 06 Apr 2005
Posts: 29

PostPosted: Tue Mar 06, 2007 8:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
stevensheehy
n00b
n00b


Joined: 25 Dec 2006
Posts: 13

PostPosted: Wed Mar 07, 2007 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Shtab
n00b
n00b


Joined: 06 Apr 2005
Posts: 29

PostPosted: Thu Mar 08, 2007 1:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
stevensheehy
n00b
n00b


Joined: 25 Dec 2006
Posts: 13

PostPosted: Fri Mar 09, 2007 1:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum