On Jul 19, 2006, at 2:58 PM, Daniel Henninger wrote: > On Jul 19, 2006, at 1:39 PM, Matthew Anderson wrote: > >> Hi -- >> >> I never received any comment of any kind on my last query / >> message to the list, and I still have yet to figure out exactly >> how to get my component to talk to the pyAIMt component. > > I don't recall seeing another message. Maybe it got lost in spam. =/
Daniel - the original message can be found here: http://modevia.com/pipermail/py-transports/2006-July/002995.html Although the threading is weird. Maybe I hit 'reply' to an existing message instead of composing a new one; I don't recall. >> However, I have zeroed in exactly on one of the things that is >> causing a traceback in pyAIMt. If it receives an unexpected >> presence stanza (without a type, indicating available) it suffers >> a meltdown. If I send a <presence type=probe /> stanza instead, >> it simply reports <presence type="unavailable" /> with no >> traceback. I assume this issue would be the same for the other >> gateways with the same foundation code, though I've only attempted >> to work with pyAIMt. > > Define meltdown. =) If it weren't capable of testing with a type- > less presence, it wouldn't have gotten very far! =) (ie, it > certainly works with my tests) :-) Meltdown as in a Traceback ending with: File "/usr/home/manderso/odi/aim2/pyaim-t-0.7d/src/jabw.py", line 236, in getCapabilities self.pytrans.discovery.sendIq(iq).addCallback(self.gotCapabilities) exceptions.AttributeError: 'NoneType' object has no attribute 'discovery' wrapped xmlstream functions And then unstable functioning there after. What I'm trying to do is have my component register an address it manages with pyAIMt, so that it can talk to the AIM network. The problem has always occurred for me during this registration conversation. I would be *thrilled* to present you with any additional information that would be helpful in figuring out what's wrong. What would be helpful information? Also, if you (or anyone) would be willing to look at the xml fragment exchange I currently have going on and tell me what I'm lacking to actually finish the registration process, that would be fantastic. I've been stuck on this current problem for tens of hours now, and I have no idea what's subtle thing I'm doing wrong. Thanks. -- Matt Anderson
