From: Peter Saint-A. <st...@ja...> - 2004-09-29 03:46:23
|
A stanza is defined in the XMPP-Core spec. Basically it is oe of these: <message/> <presence/> <iq/> Qualified by "jabber:client" or "jabber:server". /psa On Tue, Sep 28, 2004 at 05:06:19PM -0700, oboe wrote: > I see many references to an object named 'stanza' > > Where is this from? What library? > > in xmmpd.py: > > if feature not in self.features: self.features.append(feature) elif type(stanza)<>type(''): stanza = stanza.__str__(nsvoc=session.Stream.nsvoc).encode('utf-8') > > This appears to make up for parts of stanza not being defined, this is confusing code. > > This is the error running xmppd.py > > File "./xmppd.py", line 96, in send > self._owner.enqueue(self,stanza) > File "./xmppd.py", line 216, in enqueue > elif type(stanza)<>type(''): stanza = stanza.__str__(nsvoc=session.Stream.nsvoc).encode('utf-8') > TypeError: __str__() got an unexpected keyword argument 'nsvoc' > > > help? > > -=C=- > > > > > > ------------------------------------------------------- > 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 > _______________________________________________ > Xmpppy-devel mailing list > Xmp...@li... > https://lists.sourceforge.net/lists/listinfo/xmpppy-devel > -- Peter Saint-Andre Jabber Software Foundation http://www.jabber.org/people/stpeter.php |