-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Bunton Sent: 31. oktober 2005 13:15 To: PyAIM-t/PyICQ-t/PyMSN-t Discussion Subject: Re: [py-transports] pymsnt-0.10.1 and avatar in vcard
Ok. Thanks for checking that. I found the problem. There's a missing import in session.py If you add "import disco" to the top of session.py it will work :) I'll be releasing 0.10.2 soon with the fix to ./PyMSNt and that. Has anybody found anything else wrong with 0.10.1? --- James >>>> Can confirm that the session.py fix works perfectly! Best regards Stian B. Barmen -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3095 bytes Desc: not available Url : http://modevia.com/pipermail/py-transports/attachments/20051031/bf50ac77/smime.bin From [EMAIL PROTECTED] Mon Oct 31 14:38:35 2005 From: [EMAIL PROTECTED] (Oscar =?ISO-8859-1?Q?Hellstr=F6m?=) Date: Mon Oct 31 14:38:44 2005 Subject: [py-transports] pymsnt-0.10.1 and avatar in vcard In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Which branch is this happening in now days? The avatar branch seems to be gone, or it's just me not liking CVS. I tried the pymsnt_0_10 branch, but it keeps giving me errors :/ On Mon, 2005-10-31 at 13:46 +0100, Stian B. Barmen wrote: > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of James Bunton > Sent: 31. oktober 2005 13:15 > To: PyAIM-t/PyICQ-t/PyMSN-t Discussion > Subject: Re: [py-transports] pymsnt-0.10.1 and avatar in vcard > > Ok. Thanks for checking that. > > I found the problem. > > There's a missing import in session.py > > If you add "import disco" to the top of session.py it will work :) > > I'll be releasing 0.10.2 soon with the fix to ./PyMSNt and that. > > Has anybody found anything else wrong with 0.10.1? > > --- > > James > > > >>>> > > Can confirm that the session.py fix works perfectly! > > Best regards > Stian B. Barmen > _______________________________________________ > py-transports mailing list > [email protected] > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports -- Oscar Hellstr?m, [EMAIL PROTECTED] web: personal.oscarh.net jid: [EMAIL PROTECTED] icq: 52604556 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://modevia.com/pipermail/py-transports/attachments/20051031/31abe013/attachment.pgp From [EMAIL PROTECTED] Mon Oct 31 14:52:22 2005 From: [EMAIL PROTECTED] (Stian B. Barmen) Date: Mon Oct 31 14:53:57 2005 Subject: [py-transports] pymsnt-0.10.1 and avatar in vcard In-Reply-To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oscar Hellstr?m Sent: 31. oktober 2005 15:39 To: [email protected] Subject: RE: [py-transports] pymsnt-0.10.1 and avatar in vcard Which branch is this happening in now days? The avatar branch seems to be gone, or it's just me not liking CVS. I tried the pymsnt_0_10 branch, but it keeps giving me errors :/ >>>>> This is an error in the released 0.10.1 version. -stian -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3095 bytes Desc: not available Url : http://modevia.com/pipermail/py-transports/attachments/20051031/d18cffc4/smime.bin From [EMAIL PROTECTED] Mon Oct 31 14:58:06 2005 From: [EMAIL PROTECTED] (Oscar =?ISO-8859-1?Q?Hellstr=F6m?=) Date: Mon Oct 31 14:58:11 2005 Subject: [py-transports] pymsnt-0.10.1 and avatar in vcard In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Oh well, I fixed the ./PyMSN problem by adding src/ but then i got syntax errors in msntf.py and so on and on. :/ Now I downloaded the 10.0.1 tarball and fixed PyMSN and session.py and it works fine. But what will happen if I do a cvs update? On Mon, 2005-10-31 at 15:52 +0100, Stian B. Barmen wrote: > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Oscar > Hellstr?m > Sent: 31. oktober 2005 15:39 > To: [email protected] > Subject: RE: [py-transports] pymsnt-0.10.1 and avatar in vcard > > Which branch is this happening in now days? The avatar branch seems to > be gone, or it's just me not liking CVS. I tried the pymsnt_0_10 branch, > but it keeps giving me errors :/ > > > >>>>> > > This is an error in the released 0.10.1 version. > > -stian > _______________________________________________ > py-transports mailing list > [email protected] > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports -- Oscar Hellstr?m, [EMAIL PROTECTED] web: personal.oscarh.net jid: [EMAIL PROTECTED] icq: 52604556 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://modevia.com/pipermail/py-transports/attachments/20051031/cd4d8888/attachment.pgp From [EMAIL PROTECTED] Mon Oct 31 17:59:29 2005 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Mon Oct 31 17:59:46 2005 Subject: [py-transports] pymsnt-0.10.1 and avatar in vcard In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Mon, Oct 31, 2005 at 03:58:06PM +0100, Oscar Hellstr?m wrote: > Oh well, I fixed the ./PyMSN problem by adding src/ but then i got > syntax errors in msntf.py and so on and on. :/ > > Now I downloaded the 10.0.1 tarball and fixed PyMSN and session.py and > it works fine. But what will happen if I do a cvs update? The 0.10.1 tarball is based on the pymsnt_0_10 branch, so if you do a CVS update, you will get the latest pymsnt_0_10 source. James did, however, commit some initial file transfer code to the pymsnt_0_10 branch yesterday - and as you noticed, this does contain some minor errors. However, there is no need to do a CVS update at this moment, since it doesn't contain any new features or bug fixes compared to 0.10.1 (besides the non-working file transfer). Best regards, Lars From [EMAIL PROTECTED] Mon Oct 31 20:04:20 2005 From: [EMAIL PROTECTED] (Oscar =?ISO-8859-1?Q?Hellstr=F6m?=) Date: Mon Oct 31 20:04:27 2005 Subject: [py-transports] pymsnt-0.10.1 and avatar in vcard In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> I can't say that I am certain that PyMSNt in to blame, but since I installed 10.0.1 (though fixing the issues discussed), the transport keeps sending me messages saying: "Your MSN account has been logged in elsewhere. Please logout at the other location and then reactivate the MSN transport." There is nothing in the logs however. I will ask a few people with the official clients if they see me MSN after logging of the jabber server. I only use one resource that is online when this happens. On Mon, 2005-10-31 at 23:15 +1100, James Bunton wrote: > Ok. Thanks for checking that. > > I found the problem. > > There's a missing import in session.py > > If you add "import disco" to the top of session.py it will work :) > > I'll be releasing 0.10.2 soon with the fix to ./PyMSNt and that. > > Has anybody found anything else wrong with 0.10.1? > > --- > > James > > > > On 31/10/2005, at 9:35 AM, Stian B. Barmen wrote: > > > > >> Ok. Can you still check that python imaging is working. > >> > >> Start a python shell and run "import Image" > >> > >> # python > >> >>> import Image > >> > >> > >> If you get no import error then I'll have to think of something else > >> :) > >> > >> --- > >> > >> James > >> > >> _______________________________________________ > >> py-transports mailing list > >> [email protected] > >> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports > > > > Nadas problemos! :) All ok it seems : > > > > kermit ~ # python > > Python 2.4.2 (#1, Oct 24 2005, 10:08:39) > > [GCC 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import Image > > >>> > > _______________________________________________ > py-transports mailing list > [email protected] > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports -- Oscar Hellstr?m, [EMAIL PROTECTED] web: personal.oscarh.net jid: [EMAIL PROTECTED] icq: 52604556 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://modevia.com/pipermail/py-transports/attachments/20051031/873ec635/attachment.pgp From [EMAIL PROTECTED] Mon Oct 31 21:32:50 2005 From: [EMAIL PROTECTED] (Eric Schnoebelen) Date: Mon Oct 31 21:33:00 2005 Subject: [py-transports] Using twistd to start PyMSNt Message-ID: <[EMAIL PROTECTED]> I've been futzing around with building a PKGSRC package for PyMSNt (with PyAIMt and others to follow). I thought I'd use twistd to start the transport. Since I want to place the configuration file with the rest of my jabber configuration files, I modified PyMSNt.tac to list the path of the configuration file. However, when I try to start, I get the following complaint: ``Configuration file not found. You need to creaet a config.xml in the PyMSNt directory.'' Here's PyMSNt.tac, as installed: # Path to the PyMSNt installed directory PATH = "/usr/pkg/libexec/jabber-transports/pymsnt" # Path to the configuration file CONFIG = "/usr/pkg/etc/jabberd/pymsnt.xml" #### # You shouldn't need to modify below this line #### # Make PATH is the in PYTHONPAHT import sys import os import os.path sys.path[0] = os.path.abspath(PATH) os.chdir(PATH) # Set up the service import main from twisted.application import service application = service.Application("PyMSNt") service = main.App() service.c.setServiceParent(application) So, the question is: I've set CONFIG, but PyMSNt, as started by twistd, isn't seeing it. How to I modify the above to allow PyMSNt to see the configuration file? Thanks, Eric -- Eric Schnoebelen [EMAIL PROTECTED] http://www.cirr.com "I used to think I was indecisive, but now I'm not so sure." From [EMAIL PROTECTED] Mon Oct 31 21:54:43 2005 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Mon Oct 31 21:54:47 2005 Subject: [py-transports] Using twistd to start PyMSNt In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Mon, Oct 31, 2005 at 03:32:50PM -0600, Eric Schnoebelen wrote: > So, the question is: I've set CONFIG, but PyMSNt, as started by > twistd, isn't seeing it. How to I modify the above to allow > PyMSNt to see the configuration file? I don't really know anything about twistd, but I think you could do the following hack: Change configFile in src/xmlstream.py to point to your configuration file. Best regards, Lars From [EMAIL PROTECTED] Mon Oct 31 21:58:05 2005 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Mon Oct 31 21:58:18 2005 Subject: [py-transports] Using twistd to start PyMSNt In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Mon, Oct 31, 2005 at 10:54:43PM +0100, Lars T. Mikkelsen wrote: > I don't really know anything about twistd, but I think you could do the > following hack: Change configFile in src/xmlstream.py to point to your > configuration file. Sorry, that should of course be src/xmlconfig.py. Best regards, Lars
