Woot!! Thankyou for your response :-). That was it, there was a tag in my xml config file that was not properly closed out. Things seem to be running fine on it. Now to get Bandersnatch, pyrss and yahoo working :-). ----- Original Message ----- From: "Daniel Henninger" <[EMAIL PROTECTED]> To: "PyAIM-t/PyICQ-t/PyMSN-t Discussion" <py-transports@blathersource.org> Sent: Monday, September 26, 2005 12:27 PM Subject: Re: [py-transports] PyAIMt-0.6 on FreeBSD Issues
Looks like something is wrong with your configuration file . . . like an element wasn't properly closed or something like that. You may want to verify your config file, and also you've pointed out to me that I should attempt to provide a more useful error message than that if I can. ;D Not sure if I can, but hey. Daniel On Sep 26, 2005, at 9:24 AM, Jared Cluff wrote: > I have PyMSNt up and running but PyAIMt dies with the following > message: > > /usr/local/xmpp/pyaim-t-0.6/src/tlib/domish.py:425: > DeprecationWarning: > twisted.protocols.sux has moved to twisted.web.sux. See > http://twistedmatrix.com/projects/web. > from twisted.protocols import sux > Traceback (most recent call last): > File "main.py", line 55, in ? > xmlconfig.Import(conffile, options) > File "/usr/local/xmpp/pyaim-t-0.6/src/xmlconfig.py", line 55, in > Import > importFile(file) > File "/usr/local/xmpp/pyaim-t-0.6/src/xmlconfig.py", line 25, in > importFile > document = parseText(file) > File "/usr/local/xmpp/pyaim-t-0.6/src/tlib/domish.py", line 657, in > parseText > t.parseString(text) > File "/usr/local/xmpp/pyaim-t-0.6/src/tlib/domish.py", line 679, in > parseString > es.parse(data) > File "/usr/local/lib/python2.4/site-packages/twisted/web/sux.py", > line > 168, in dataReceived > newState = doFn(byte) > File "/usr/local/lib/python2.4/site-packages/twisted/web/sux.py", > line > 223, in do_tagstart > self.gotTagEnd(self.tagName) > File "/usr/local/xmpp/pyaim-t-0.6/src/tlib/domish.py", line 559, in > gotTagEnd > raise ParserError, "Malformed element close" > tlib.domish.ParserError: Malformed element close > > I am not sure why I am getting the Malformed element close > message. I am > running FreeBSD 5.4 with python 2.4, twistedweb, twistedxish, > twisted 2.0.1 > and twistedwords. > > Any suggestions? > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports > > > _______________________________________________ py-transports mailing list py-transports@blathersource.org http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports From [EMAIL PROTECTED] Mon Sep 26 20:07:48 2005 From: [EMAIL PROTECTED] (Norman Rasmussen) Date: Mon Sep 26 20:07:52 2005 Subject: [py-transports] PyAIMt-0.6 on FreeBSD Issues In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Have you decided with yahoo transport you want to use? As far as I know there's the old c based on, and there the new xmpp.py one. (I used to run the former, I now run the latter). On 26/09/05, Jared Cluff <[EMAIL PROTECTED]> wrote: > Woot!! Thankyou for your response :-). That was it, there was a tag in my > xml config file that was not properly closed out. Things seem to be > running fine on it. Now to get Bandersnatch, pyrss and yahoo working :-). > ----- Original Message ----- > From: "Daniel Henninger" <[EMAIL PROTECTED]> > To: "PyAIM-t/PyICQ-t/PyMSN-t Discussion" <py-transports@blathersource.org> > Sent: Monday, September 26, 2005 12:27 PM > Subject: Re: [py-transports] PyAIMt-0.6 on FreeBSD Issues > > > Looks like something is wrong with your configuration file . . . like > an element wasn't properly closed or something like that. You may > want to verify your config file, and also you've pointed out to me > that I should attempt to provide a more useful error message than > that if I can. ;D Not sure if I can, but hey. > > Daniel > > On Sep 26, 2005, at 9:24 AM, Jared Cluff wrote: > > > I have PyMSNt up and running but PyAIMt dies with the following > > message: > > > > /usr/local/xmpp/pyaim-t-0.6/src/tlib/domish.py:425: > > DeprecationWarning: > > twisted.protocols.sux has moved to twisted.web.sux. See > > http://twistedmatrix.com/projects/web. > > from twisted.protocols import sux > > Traceback (most recent call last): > > File "main.py", line 55, in ? > > xmlconfig.Import(conffile, options) > > File "/usr/local/xmpp/pyaim-t-0.6/src/xmlconfig.py", line 55, in > > Import > > importFile(file) > > File "/usr/local/xmpp/pyaim-t-0.6/src/xmlconfig.py", line 25, in > > importFile > > document = parseText(file) > > File "/usr/local/xmpp/pyaim-t-0.6/src/tlib/domish.py", line 657, in > > parseText > > t.parseString(text) > > File "/usr/local/xmpp/pyaim-t-0.6/src/tlib/domish.py", line 679, in > > parseString > > es.parse(data) > > File "/usr/local/lib/python2.4/site-packages/twisted/web/sux.py", > > line > > 168, in dataReceived > > newState = doFn(byte) > > File "/usr/local/lib/python2.4/site-packages/twisted/web/sux.py", > > line > > 223, in do_tagstart > > self.gotTagEnd(self.tagName) > > File "/usr/local/xmpp/pyaim-t-0.6/src/tlib/domish.py", line 559, in > > gotTagEnd > > raise ParserError, "Malformed element close" > > tlib.domish.ParserError: Malformed element close > > > > I am not sure why I am getting the Malformed element close > > message. I am > > running FreeBSD 5.4 with python 2.4, twistedweb, twistedxish, > > twisted 2.0.1 > > and twistedwords. > > > > Any suggestions? > > _______________________________________________ > > py-transports mailing list > > py-transports@blathersource.org > > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports > > > > > > > > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports > -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Mon Sep 26 20:20:20 2005 From: [EMAIL PROTECTED] (Eric Schnoebelen) Date: Mon Sep 26 20:20:25 2005 Subject: [py-transports] PyAIMt-0.6 on FreeBSD Issues In-Reply-To: Your message of "Mon, 26 Sep 2005 22:07:48 +0200." <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Norman Rasmussen writes: - As far as I know there's the old c based on, and there the new xmpp.py - one. (I used to run the former, I now run the latter). Any hints or instructions on setting up the xmpppy based Yahoo transport? I've seen lots of references to it, but no good instructions on setting it up/configuring.. (I'm not normally a big python user, so it's all non-obvious to me) -- Eric Schnoebelen [EMAIL PROTECTED] http://www.cirr.com There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle. -- Albert Einstein From [EMAIL PROTECTED] Mon Sep 26 20:32:02 2005 From: [EMAIL PROTECTED] (Norman Rasmussen) Date: Mon Sep 26 20:32:04 2005 Subject: [py-transports] PyAIMt-0.6 on FreeBSD Issues In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> well I already had the xmpp.py libraries installed, so I didn't have to reinstalled those. (you need to read the README file, basically you just run 'setup.py install', or install a package for your distro) You do have to extract curphoo-0.3.12.tar.gz into a folder (make it a subfolder of wherever yahoo.py is, and call it curphoo, trust me). You then need to compile the files inside the curphoo folder. I can't remember what the dependencies are, but I think 'make' is good enough to get you going. Again read the README. I then edited the transport.ini to have the right settings, etc. Launched the transport, and I think it just-worked at that point. (remembering that you need to add the entries into your jabber server's config files too). FYI: I have a alpha patch for jabberd2's component protocol (which I think is like jabber.com's XCP protocol), for the xmpp.py libs, it works, but needs work :-) It's not required to get the transport working, but it does help with the making the chat room functionality play nicely with jabberd2. On 26/09/05, Eric Schnoebelen <[EMAIL PROTECTED]> wrote: > > Norman Rasmussen writes: > - As far as I know there's the old c based on, and there the new xmpp.py > - one. (I used to run the former, I now run the latter). > > Any hints or instructions on setting up the xmpppy based > Yahoo transport? I've seen lots of references to it, but no > good instructions on setting it up/configuring.. (I'm not > normally a big python user, so it's all non-obvious to me) > > -- > Eric Schnoebelen [EMAIL PROTECTED] > http://www.cirr.com > There are only two ways to live your life. One is as though nothing > is a miracle. The other is as though everything is a miracle. > -- Albert Einstein > -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Mon Sep 26 22:04:03 2005 From: [EMAIL PROTECTED] (Trejkaz) Date: Mon Sep 26 22:04:28 2005 Subject: [py-transports] Changing nick on MSN In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Mon, 26 Sep 2005 20:54, Francisco Joaqu?n Rodr?guez Prados wrote: > 2005/9/25, Trejkaz <[EMAIL PROTECTED]>: > > The reason I asked is because I don't want to put a nickname like > > "MSN is for retards" (which is my usual kind of MSN nickname) in my > > Jabber vCard as it's irrelevant anywhere except MSN. > > Well, I think it makes sense to map the Jabber nickname with the MSN > nickname and the Jabber status message with the MSN status (personal) > message... > > Create a new jabber account for your MSN trasnport and use Psi, which > is multi-account and lets you set your MSN picture in your Jabber > vCard ;) Well, my end solution was to stop using transports. It'll be a lot less pain in the future and it means I'm not a hypocrite anymore when I tell people to stop using MSN. TX -- Email: Trejkaz Xaoza <[EMAIL PROTECTED]> Web site: http://trypticon.org/ Jabber ID: [EMAIL PROTECTED] GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://modevia.com/pipermail/py-transports/attachments/20050927/9dcecbc5/attachment-0001.pgp From [EMAIL PROTECTED] Tue Sep 27 21:42:16 2005 From: [EMAIL PROTECTED] (Chad Jannusch) Date: Tue Sep 27 21:42:19 2005 Subject: [py-transports] Traceback when trying to register users on latest PyAIM-t svn Message-ID: <[EMAIL PROTECTED]> Hello, I'm trying to run the latest svn of pyaim-t (rev 156) but this error seems to occur in everything after rev 149, but not being familar at all with python, I can't seem to track down the problem. When a user tries to register with the transport the pyaim-t process gives the following error: Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", line 133, in doSelect _logrun(selectable, _drdw, selectable, method, dict) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 56, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 41, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 31, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite why = getattr(selectable, method)() File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 351, in doRead return self.protocol.dataReceived(data) File "/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py", line 145, in dataReceived self.stream.parse(buf) File "/usr/lib/python2.3/site-packages/twisted/xish/domish.py", line 600, in parse self.parser.Parse(buffer) File "/usr/lib/python2.3/site-packages/twisted/xish/domish.py", line 638, in _onEndElement self.ElementEvent(self.currElem) File "/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py", line 166, in onElement self.dispatch(element) File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 233, in dispatch callbacklist.callback(object) File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 37, in callback methodwrapper(*args, **kwargs) File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 21, in __call__ self.method(*nargs, **nkwargs) File "/opt/pyaim-svn/src/disco.py", line 141, in onIq handler(el) File "/opt/pyaim-svn/src/register.py", line 73, in incomingRegisterIq self.updateRegistration(incoming) File "/opt/pyaim-svn/src/register.py", line 134, in updateRegistration self.pytrans.xdb.setRegistration(source, username, password) File "/opt/pyaim-svn/src/xdb/xmlfiles.py", line 160, in setRegistration reginfo = self.formRegEntry(username, password) exceptions.TypeError: formRegEntry() takes exactly 2 arguments (3 given) Any ideas? Thanks, Chad Jannusch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modevia.com/pipermail/py-transports/attachments/20050927/b654e23b/attachment.htm From [EMAIL PROTECTED] Tue Sep 27 22:15:40 2005 From: [EMAIL PROTECTED] (Daniel Henninger) Date: Tue Sep 27 22:15:44 2005 Subject: [py-transports] Traceback when trying to register users on latest PyAIM-t svn In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Dooh!!!!!! Fixed in r157. That said! Unless you don't care about your current spool directory and want to re-register everyone and such (or have decided to switch to the mysql database backend), you may not want to use the latest SVN yet. I am working on a function to auto-convert the old format spool to the new format spool. (into a format that's, god forbid, kinda standard) I aim to have that done tonight, but we'll see! Anyway, if you don't care about what -used- to be in the spool, you should be fine. =) Daniel On Tue, 2005-09-27 at 17:42, Chad Jannusch wrote: > Hello, > > I'm trying to run the latest svn of pyaim-t (rev 156) but this error > seems to occur in everything after rev 149, but not being familar at > all with python, I can't seem to track down the problem. When a user > tries to register with the transport the pyaim-t process gives the > following error: > > Traceback (most recent call last): > File > "/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", > line 133, in doSelect > _logrun(selectable, _drdw, selectable, method, dict) > File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line > 56, in callWithLogger > return callWithContext({"system": lp}, func, *args, **kw) > File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line > 41, in callWithContext > return context.call({ILogContext: newCtx}, func, *args, **kw) > File "/usr/lib/python2.3/site-packages/twisted/python/context.py", > line 31, in callWithContext > return func(*args,**kw) > --- <exception caught here> --- > File > "/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", > line 139, in _doReadOrWrite > why = getattr(selectable, method)() > File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", > line 351, in doRead > return self.protocol.dataReceived(data) > File "/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py", > line 145, in dataReceived > self.stream.parse(buf) > File "/usr/lib/python2.3/site-packages/twisted/xish/domish.py", line > 600, in parse > self.parser.Parse(buffer) > File "/usr/lib/python2.3/site-packages/twisted/xish/domish.py", line > 638, in _onEndElement > self.ElementEvent(self.currElem) > File "/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py", > line 166, in onElement > self.dispatch(element) > File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", > line 233, in dispatch > callbacklist.callback(object) > File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", > line 37, in callback > methodwrapper(*args, **kwargs) > File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", > line 21, in __call__ > self.method(*nargs, **nkwargs) > File "/opt/pyaim-svn/src/disco.py", line 141, in onIq > handler(el) > File "/opt/pyaim-svn/src/register.py", line 73, in > incomingRegisterIq > self.updateRegistration(incoming) > File "/opt/pyaim-svn/src/register.py", line 134, in > updateRegistration > self.pytrans.xdb.setRegistration(source, username, password) > File "/opt/pyaim-svn/src/xdb/xmlfiles.py", line 160, in > setRegistration > reginfo = self.formRegEntry(username, password) > exceptions.TypeError: formRegEntry() takes exactly 2 arguments (3 > given) > > Any ideas? > Thanks, > Chad Jannusch > > > ______________________________________________________________________ > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports