Posted by guest at 2005-03-16 19:21:28
I have copied the JIT 1.1.6 spool directory as described and ran PyICQ-t on it
together with an ejabberd 0.7.5 server. JIT works fine, I can add users and I
can see them online when they are. But with PyICQ-t, they\'re always offline. I
can re-login, restart PyICQ-t, re-copy the directory and restart ejabberd,
to no
effect. The only solutions seem to be re-adding the ICQ user to my roster. It
then appears online immediately, and re-requesting auth from that user. I guess
it needs to be accepted buth I can see this user online after this. Only
imported users don\'t work.
I\'m not sure if PyICQ stores anything to the disk as the spool files\'
timestamps were unchanged even after I stopped PyICQ. Don\'t know where it
stores its data so I could compare it. Does it store any data at all? Or is it
just somewhat incompatible with JIT in this case?
Posted by guest at 2005-03-16 19:36:12
Uh, funny apostrophe quoting here... ;)
More details:
* I can request auth from my own ICQ (my other one) and it comes online
immediately. Both accounts (jabber and ICQ) are logged in via the same
jabber/icq-t server. I haven\'t checked \"auto-auth users\" in any of
my accounts.
* I can request auth from real ICQ users, they get an auth request then and
once
they accepted it, they appear back online to me. I can exchange messages to
that
user while they\'re displayed offline.
--Yves
Posted by guest at 2005-03-16 20:53:55
More investigation:
I have absolutely no idea where PyICQ-t stores its data. And it does store some
data because online contacts are the same as on my last visit. strace tells me:
It opens my xml spool file twice in readonly, this file is indeed never touched
for writing. I can\'t find other relevant file access. It can write my
files for
sure, it\'s running as root for now. I can only imagine it stores its data in
cooperation with ejabberd somehow, but I can\'t get the data out of it.
There\'s
too much code for me to find anything in it.
Posted by jadestorm at 2005-03-17 04:28:11
That apostrophe quoting is -really- weird because like . . . . I fixed that in
the past. ;D I\'m not sure why it\'s back. I\'ll fix it, no worries. ;D
Posted by jadestorm at 2005-03-18 05:23:59
The apostrophe has been fixed. ;D Was due to a change we made that didn't
account for a setting.
Anyway, PyICQ-t stores it's data in the "spool" directory that's
specified in it's config. It's supposed to be the exactly same format as JIT.
=/ I wonder if I fatfingered something.
Posted by guest at 2005-03-18 17:48:48
Does data like authorisation get stored in the spool files? Of jit/PyICQ-t or
[e]jabberd? I have now found out how to dump my ejabberd database so I'll
probably take a further look at it this evening.
Posted by guest at 2005-03-18 19:06:52
I have found some inconsistencies: All of my regularly authorised Jabber
contacts have abonnement:both, some of the ICQ contacts, all added with jit,
have abo:to and the newly added (with PyICQ and they're the ones I can see
online) have abo:both. Does this make the difference? Has jit simply added
these
contacts in a wrong way so that I *need* to fix this first? Could I use JRU
(supposed it's back online) for this?
--Yves
Posted by guest at 2005-03-18 21:14:27
No, can't be it. I have some abonnement:both (aka subscription) contacts that
are online but don't show up with PyICQ-t. And there's currently no working JRU
on the net, the script won't run on my server and I can't do it myself due to
missing detail understanding of subscription/roster management. Bad luck today.
Is there *anyone* who has ever migrated from jit and had the same problem? If
not, I'll just have to re-add them all and tell my some users to do the same.
--Yves
Posted by jadestorm at 2005-03-20 07:24:44
I'm curious if others have run into this as well. My JIT import worked like a
charm. =/
Posted by guest at 2005-04-06 23:58:45
I had problems with JIT (though 1.1.0 as that is what gentoo has). All contacts
were always online when I readded the ICQ transport to jabber, but if I just
logged off and logged on again, they would always stay offline. I migrated to
pyicq-t 0.6 with the encoding patch submitted to bug 40 and pointed the
spooldir
to the spooldir of JIT and changed ownership and properties of the directories
and everything works as expected with ICQ contact statuses, just had to
authorize all my contacts once more.
Posted by guest at 2005-04-07 00:00:27
And last comment would be with jabberd 1.4 from Gentoo and Psi-cvs as client.
Posted by guest at 2005-07-30 16:35:23
About this problem
JIT can support icq contacts, which is not in server list, it place they into
spool file like this:
<query xmlns='jabber:iq:roster' xdbns='jabber:iq:roster'><item
jid='27871839'/><item jid='9388316'/></query>
I think it's needed to read they from spool at first login of user and export
they to server list (like if user add it to jabber roster), than clear they
from spool.
--
mmm
Posted by jadestorm at 2005-12-14 16:06:44
I need to work out some features with my new XDB setup before I can do this.
Basically, when you "import from jit style roster", I'll need to
indicate that we want to subscribe to these people... will be interesting.
Owner: ---