Hello Jon, hello Thomas, dear group! :-)

I've been using licq since 8 years and I've almost always been satisfied with it :-)

But now, I applied the update to licq 1.30 with the debian unstable package and I've been in serious trouble.

I haven't been able to convert my old user files from licq-1.2x to 1.30 until I discovered the RecreateUserList.sh in the stable-version archive from your homepage.

I applied it and added "Owner1.PPID = Licq" manually in the [owners] section in licq.conf. I'm not using server-side contact lists, although I once installed one in the server...

After starting the new version of licq, I experience core dumps due to segfaults, which are happening while the users are being imported:

licq -d31
[...]
01:21:43: [INI] 109 Benutzer werden geladen.
Licq Speicherzugriffsfehler entdeckt.


I tried to alter the script and finally got it working...

I'll append the script inline so you can use it in your next patch.

Maybe somebody could change the use from mmv to awk or something...

Thank you all, and please keep up the good work!

---- snip ----
#!/bin/sh

BASE=${HOME}/.licq
CONF="${BASE}/users.conf"

echo "Licq User List Recreation App"
echo
echo "This script will rebuild your user list from the user config files found"
echo "in ${BASE}. It will overwrite your old list."
echo
echo "Please be sure that mmv (multiple move) is installed!"
echo
echo "Continue (y/N)?"
read CONTINUE


if [ "$CONTINUE" != "y" -a "$CONTINUE" != "Y" ]; then
  echo "Aborting."
  exit
fi

echo "Rebuilding user list configuration file in $BASE..."
cd ${BASE}/users
echo "[users]" > $CONF
echo "NumOfUsers = `ls *.uin | wc -l`" >> $CONF
ls *.uin | awk 'BEGIN { i = 1 } { printf "User%d = %d.Licq\n", i++, $1 }' >> $CONF
mmv "*.uin" "#1.Licq"
cd ../history
mmv "*.history" "#1.Licq.history"
mmv "*.history.removed" "#1.Licq.history.removed"


echo "Done"
---- snip ----

Best regards,

Michael




------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ LICQ-Main mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-main

Reply via email to