Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110327 - net-im/gaim-1.5.0: silc connection error: "cannot initialize silc protocol"
Summary: net-im/gaim-1.5.0: silc connection error: "cannot initialize silc protocol"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 128894 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-24 07:53 UTC by Branislav
Modified: 2006-06-30 05:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Branislav 2005-10-24 07:53:17 UTC
Until now, it was no problem to connect with GAIM to the silc network. Months 
ago, I've created a silc account and used it for a few days, then I didn't try 
to log on to the silc network anymore until a few day ago. AFAIR, the GAIM 
version was something around 1.2 at this point. 
 
A few days ago and with GAIM 1.5.0 installed, I tried to connect to the silc 
network, but immediately after typing in my login password for my silc 
account, I get this message from GAIM: 
"foo has been disconnected 
(timestamp) 
 
cannot initialize silc protocol" 
 
The password is correct, I verified it by installing another silc client, 
silky, and this client didn't proceed with the login process until I typed in 
the correct password. I tried it with a wrong password and with the password I 
suppose to be right, and only the "right" one was accepted, so, a wrong 
password can't be the reason for GAIMs misbehaviour. 
 
As a side note I should mention, that the client silky doesn't work correct, 
too. After typing in my password, I cannot do anything, no menus or buttons 
work etc., but that's another topic. Just mentioning it here because I'm not 
sure if the current misbehaviour of GAIM is a problem of GAIM itself or maybe 
with the silc-toolkit or something else. 
The silky client has worked fully functionaly at the time I was using the GAIM 
client with silc successfully, too. 
 
I've reinstalled both, GAIM and the silc-toolkit, but it didn't help. 
 
Reproducible: 
Always 
 
Steps to reproduce: 
1. emerge gaim with silc support 
2. Start gaim, add an existing silc account 
3. try to log in with that account 
 
Actual results: 
The login process aborts with the above mentioned error message immediately 
after typing in your password an trying to connect. 
 
Expected results: 
The login process should begin and the user should be logged in after password 
verification with the login server, allowing him to make some _really_ top 
secret chats ;) 
 
Additional information: 
When running GAIM in debug mode ("gaim -d | tee gaim.log"), there is one 
message that could hold some information for someone who knows how to deal 
with it: 
 
... 
account: Connecting to account 0x81eab58. gc = 0x83434d8 
connection: Connecting. gc = 0x83434d8 
connection: Calling serv_login 
server: gaim 1.5.0 logging in foo using SILC 
Warning, trying to output without log files initialization, log output is 
going to stderr 
[Mon Oct 24 16:43:50 2005] [Error] Malformed realname '' 
account: Disconnecting account 0x81eab58 
connection: Disconnecting connection 0x83434d8 
... 
 
Any ideas what it wants to tell us with the "malformed realname"? I greped 
through the configs in ~/.gaim, but I couldn't find any option or setting 
holding a realname or something similar. 
 
 
emerge info follows: 
emerge info 
Portage 2.0.53_rc6 (default-linux/x86/2005.0/2.4, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.13-gentoo i686) 
================================================================= 
System uname: 2.6.13-gentoo i686 Unknown CPU Type 
Gentoo Base System version 1.12.0_pre8 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-mtune=athlon -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-mtune=athlon -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" 
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ 
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo 
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
ftp:/ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo 
http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 3dnow X a52 aac acpi aim alsa apache2 audiofile avi bash-completion 
berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl curlwrappers dbus dga doc 
dv dvd dvdread eds emboss encode ethereal evo exif expat fam fbcon ffmpeg 
firefox flac foomaticdb fortran ftp gb gd gdbm geoip gif glut gnome gphoto2 
gpm gstreamer gtk gtk2 gtkhtml hal howl iconv icq imap imlib ipv6 jabber jpeg 
kde lesstif libg++ libgda libwww lirc lm_sensors mad mbox mikmod mmap mmx mng 
motif mp3 mpeg msn mssql mysql mysqli ncurses netcdf nptl odbc ogg oggvorbis 
opengl oscar pam pcre pdflib perl plotutils png postgresql ppds python qt 
quicktime readline recode samba scanner sdl shared slang sockets socks5 speex 
spell ssl svg svga tcltk tcpd tetex theora threads tiff truetype 
truetype-fonts type1-fonts udev unicode usb vcd videos vorbis wifi win32codecs 
wmf wxwindows xine xml xml2 xosd xsl xv xvid yahoo zeroconf zlib userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Chèvredansante 2006-01-03 15:56:41 UTC
I am experiencing the same difficulties. silc-client does work though.
Comment 2 Kathryn Kulick (RETIRED) gentoo-dev 2006-02-14 19:29:23 UTC
Add something to the realname field of /etc/passwd (the 5th field) and it works. Just tested and is working fine here now. If you have gaim running when you add that field, please restart gaim afterwards.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-05 04:58:32 UTC
*** Bug 128894 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-05 05:03:40 UTC
Uh... please, add some einfo to ebuilds about this retarded bug at least...

if use silc; then
einfo "To be able to connect to silc network, you need to run"
einfo "\"usermod -c COMMENT\" to add a comment field to /etc/password"
einfo "This is a known bug."
fi
Comment 5 Kathryn Kulick (RETIRED) gentoo-dev 2006-06-30 05:20:40 UTC
einfo added to the ebuild, sorry for the delay.