Sorry guys for posting this again. I didn't get it resolved last time and now I've made a few changes.
My problem is that the avatars are not showing up coming from my MSN contacts. Here is my current setup. Windows Server 2003 SP1 Wildfire Jabber Server 2.4.0 (used to be Jive Messenger) pyMSN 0.10.3 Python 2.4.2 (I don't know what version of twisted or the ... openssl? that is installed) On the client side I have Windows XP SP2 Pandion 2.1.2 beta I'm running pyMSN from the Command Prompt and when I sign on it gets this error. C:\Program Files\Wildfire\transports\pymsnt-0.10.3>C:\Python24\python.exe src\ma in.py Traceback (most recent call last): File "C:\Python24\lib\site-packages\twisted\python\log.py", line 56, in callWi thLogger return callWithContext({"system": lp}, func, *args, **kw) File "C:\Python24\lib\site-packages\twisted\python\log.py", line 41, in callWi thContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "C:\Python24\lib\site-packages\twisted\python\context.py", line 52, in ca llWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "C:\Python24\lib\site-packages\twisted\python\context.py", line 31, in ca llWithContext return func(*args,**kw) --- <exception caught here> --- File "C:\Python24\lib\site-packages\twisted\internet\selectreactor.py", line 1 39, in _doReadOrWrite why = getattr(selectable, method)() File "C:\Python24\lib\site-packages\twisted\internet\tcp.py", line 351, in doR ead return self.protocol.dataReceived(data) File "C:\Python24\lib\site-packages\twisted\xish\xmlstream.py", line 145, in d ataReceived self.stream.parse(buf) File "C:\Python24\lib\site-packages\twisted\xish\domish.py", line 600, in pars e self.parser.Parse(buffer) File "C:\Python24\lib\site-packages\twisted\xish\domish.py", line 638, in _onE ndElement self.ElementEvent(self.currElem) File "C:\Python24\lib\site-packages\twisted\xish\xmlstream.py", line 166, in o nElement self.dispatch(element) File "C:\Python24\lib\site-packages\twisted\xish\utility.py", line 233, in dis patch callbacklist.callback(object) File "C:\Python24\lib\site-packages\twisted\xish\utility.py", line 37, in call back methodwrapper(*args, **kwargs) File "C:\Python24\lib\site-packages\twisted\xish\utility.py", line 21, in __ca ll__ self.method(*nargs, **nkwargs) File "C:\Program Files\Wildfire\transports\pymsnt-0.10.3\src\disco.py", line 1 50, in onIq handler(el) File "C:\Program Files\Wildfire\transports\pymsnt-0.10.3\src\misciq.py", line 266, in incomingIq PHOTO = c.avatar.makePhotoElement() File "C:\Program Files\Wildfire\transports\pymsnt-0.10.3\src\avatar.py", line 56, in makePhotoElement binval.addContent(base64.encodestring(self.getImageData())) File "C:\Python24\lib\base64.py", line 311, in encodestring for i in range(0, len(s), MAXBINSIZE): exceptions.TypeError: len() of unsized object I have commented that part out of the code and it isn't crashing and for obvious reasons I'm still not getting the avatar. In pandion it's just showing a red x and on some a general msn icon. Does anyone have any idea? I don't know if the problem with the avatar is with pyMSN, Wildfire, Pandion, etc.. I have access to all of the components to change / modify / etc so if there is anything I can try to help diagnose the problem let me know. Is anyone running this type of a configuration without any problems? Nathan Palmer Senior Software Engineer Data Services Direct 801-208-1120 x115 [EMAIL PROTECTED] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modevia.com/pipermail/py-transports/attachments/20060106/8908eeef/attachment.html From [EMAIL PROTECTED] Fri Jan 6 23:12:36 2006 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Fri Jan 6 23:12:45 2006 Subject: [py-transports] pyMSN Avatar Issue (again) In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Fri, Jan 06, 2006 at 01:52:09PM -0700, Nathan Palmer wrote: > Pandion 2.1.2 beta Pandion actually had a bug with vCard based avatars, as discussed in a previous thread [1], though it got fixed in 2.1.2 beta. However, the developers of Pandion silently update the beta without any change to the version number, so if you got a really old version, your might consider upgrading it (they have in fact just released 2.5 RC1 [2]). > Traceback (most recent call last): [snip] > File "C:\Program > Files\Wildfire\transports\pymsnt-0.10.3\src\avatar.py", line > > 56, in makePhotoElement > > binval.addContent(base64.encodestring(self.getImageData())) > > File "C:\Python24\lib\base64.py", line 311, in encodestring > > for i in range(0, len(s), MAXBINSIZE): > > exceptions.TypeError: len() of unsized object My guess is that the avatars are not stored (or read) properly in the avatar cache on disk. You should have a folder "C:\Program Files\Wildfire\transports\pymsnt-0.10.3\<value of jid in config.xml>\avatars" which contains three-letter subfolders. These subfolders should again contain 40-letter files. Could you please check if you got these folders and files? You should also have a debug.log in the pymsnt-0.10.3 folder. Try checking that file for errors regarding avatars. Best regards, Lars [1] http://modevia.com/pipermail/py-transports/2005-August/001032.html [2] http://www.pandion.be/upload/Pandion-2.5%20RC1.exe From [EMAIL PROTECTED] Sat Jan 7 02:28:27 2006 From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Daniel_D=EDaz?=) Date: Sat Jan 7 02:28:38 2006 Subject: [py-transports] Upgrade from 0.9.2 Message-ID: <[EMAIL PROTECTED]> Hello, all! We've been running steadily 0.9.2/CVS (avatars branch) for quite some time now, but I want to upgrade everything to the latest and greatest version of PyMSNt. We have Gentoo, though, and there doesn't seem to be a newer version available through Portage. With a manual installation, that is renaming the msn-transport directory, I can't get PyMSNt to run. It keeps complaining like this: ---------- linux msn-transport # twistd -oy PyMSNt.tac Failed to load application: [Errno 2] No such file or directory: '/usr/local/PyMSNt/' ---------- ...even if the config.xml I have: <spooldir>/usr/lib/jabberd/msn-transport</spooldir> Also, I upgraded twisted from 1.3.0rc1 to 2.1.0, but that wasn't a great help. Any hints will be greatly appreciated! Greetings! Daniel D?az [EMAIL PROTECTED] From [EMAIL PROTECTED] Sat Jan 7 11:49:55 2006 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Sat Jan 7 11:50:08 2006 Subject: [py-transports] Upgrade from 0.9.2 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Fri, Jan 06, 2006 at 08:28:27PM -0600, Daniel D?az wrote: > With a manual installation, that is renaming the msn-transport > directory, I can't get PyMSNt to run. It keeps complaining like this: > ---------- > linux msn-transport # twistd -oy PyMSNt.tac > > Failed to load application: [Errno 2] No such file or directory: > '/usr/local/PyMSNt/' > ---------- > > ...even if the config.xml I have: > <spooldir>/usr/lib/jabberd/msn-transport</spooldir> You should also change PATH and CONFIG in PyMSNt.tac. Best regards, Lars From [EMAIL PROTECTED] Sat Jan 7 14:50:12 2006 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Sat Jan 7 14:50:20 2006 Subject: [py-transports] pyMSN Avatar Issue (again) In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Sat, Jan 07, 2006 at 12:12:36AM +0100, Lars T. Mikkelsen wrote: > You should also have a debug.log in the pymsnt-0.10.3 folder. Try > checking that file for errors regarding avatars. Actually, you probably haven't got a debug.log. To get this, please try changing the very last if-statement of src/main.py to: if __name__ == "__main__": from twisted.python import log log.startLogging(open(os.path.abspath(config.spooldir) + "/debug.log", "a")) app = App() reactor.run() Then start the transport again and see if anything interesting regarding avatars appears in debug.log. Best regards, Lars From [EMAIL PROTECTED] Sat Jan 7 17:50:20 2006 From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Daniel_D=EDaz?=) Date: Sat Jan 7 17:50:25 2006 Subject: [py-transports] Upgrade from 0.9.2 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Hello! On 1/7/06, Lars T. Mikkelsen <[EMAIL PROTECTED]> wrote: > On Fri, Jan 06, 2006 at 08:28:27PM -0600, Daniel D?az wrote: > > With a manual installation, that is renaming the msn-transport > > directory, I can't get PyMSNt to run. It keeps complaining like this: > > ---------- > > linux msn-transport # twistd -oy PyMSNt.tac > > > > Failed to load application: [Errno 2] No such file or directory: > > '/usr/local/PyMSNt/' > > ---------- > > > > ...even if the config.xml I have: > > <spooldir>/usr/lib/jabberd/msn-transport</spooldir> > > You should also change PATH and CONFIG in PyMSNt.tac. Thanks! I didn't know what a .tac file was! I thought it was binary. However, I get this when I run it: ---------- linux msn-transport # ./PyMSNt Failed to load application: No module named xish.domish ---------- Where do I get this domish thing? I'm totally stranger to Python. I have: dev-python/twisted-1.3.0 flapping with dev-python/twisted-2.1.0 dev-python/twisted-xish-0.1.0-r1 dev-python/twisted-words-0.3.0 dev-python/twisted-web-0.5.0-r1 Am I missing something else? Thanks and greetings! Daniel D?az [EMAIL PROTECTED] From [EMAIL PROTECTED] Sat Jan 7 19:01:07 2006 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Sat Jan 7 19:01:16 2006 Subject: [py-transports] Upgrade from 0.9.2 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Sat, Jan 07, 2006 at 11:50:20AM -0600, Daniel D?az wrote: > However, I get this when I run it: > ---------- > linux msn-transport # ./PyMSNt > > Failed to load application: No module named xish.domish > ---------- > > Where do I get this domish thing? I'm totally stranger to Python. It should be provided by dev-python/twisted-xish. Try reinstalling that package. If you start a Python shell you should be able to import the module without errors, like this: $ python Python 2.4.2 (#1, Oct 2 2005, 12:39:54) [GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import twisted.xish.domish >>> > dev-python/twisted-1.3.0 flapping with dev-python/twisted-2.1.0 > dev-python/twisted-xish-0.1.0-r1 > dev-python/twisted-words-0.3.0 > dev-python/twisted-web-0.5.0-r1 > > Am I missing something else? Those packages should be enough (I'm also running Gentoo and have the same versions installed). Best regards, Lars From [EMAIL PROTECTED] Sat Jan 7 19:33:45 2006 From: [EMAIL PROTECTED] (Norman Rasmussen) Date: Sat Jan 7 19:33:52 2006 Subject: [py-transports] IRC transport alpha Message-ID: <[EMAIL PROTECTED]> For those of you watching the irc transports progress [1], you might notice a few tiny bug fixes going in. What you're not seeing is why I'm finding them :-) For immediate release/testing/abuse/crashing there's a alpha quality copy of the irc transport available [2] with the following features: - Handles multiple resources for the same JID logged in more than once. i.e. multiple clients all using the same barejid only connect to the irc server once - if you join a channel that another one of your clients is already on, the sessions is piggybacked. the irc network is made unaware of this. - Replies sent to messages sent to channel members privately are returned in the correct window. No more sending a message and continue the conversation in a new window. - Conversations started from a lower priority resource will also work properly (with a 5 minutes inactivity timeout) - Ability to subscribe to a user's presence ([EMAIL PROTECTED]). This currently only works with irc servers that support the WATCH extension - Bahamut. (This means freenode and oftc currently don't work - ISON support will come soon) - Away status is populated when it's received from the server. (either when you msg an away user, or whois the user - via vcard) - Composing notification (JEP-0022) via CTCP. I've create a new ctcp capabilities command which is sent on first privmsg to a user per login session - so hopefully won't "freak" out anybody too much. Once it's established that the other end doesn't mind talking about x:event (via capabilities), then x:event messages are converted directly to and from ctcp commands. - There are probably a few other fixes that I've forgotten about, I'm sure you'll find them [1] http://xmpppy.sourceforge.net/cvs-xmpppy.xml [2] http://www.darkskies.za.net/~norman/jabber/xmpp-multiple-resource-v4-irc.py -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Sat Jan 7 19:35:25 2006 From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Daniel_D=EDaz?=) Date: Sat Jan 7 19:35:29 2006 Subject: [py-transports] Upgrade from 0.9.2 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Hello! On 1/7/06, Lars T. Mikkelsen <[EMAIL PROTECTED]> wrote: > On Sat, Jan 07, 2006 at 11:50:20AM -0600, Daniel D?az wrote: > > However, I get this when I run it: > > ---------- > > linux msn-transport # ./PyMSNt > > > > Failed to load application: No module named xish.domish > > ---------- > > > > Where do I get this domish thing? I'm totally stranger to Python. > > It should be provided by dev-python/twisted-xish. Try reinstalling that > package. If you start a Python shell you should be able to import the > module without errors, like this: > > $ python > Python 2.4.2 (#1, Oct 2 2005, 12:39:54) > [GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import twisted.xish.domish > >>> [...] It didn't complain about that import, which seemed weird to me. Turned out to be the different versions of Python installed in the system: everything was installed for Python 2.3, whereas PyMSNt.tac would be run with Python 2.4 (seems to me). I changed the symlink to 2.4 again, then reinstalled zope and twisted, and it went through this time! Now I'm getting this error as reported by Stian on Jan 2nd. I'm running revision 88, so I don't know what gives. I think I might be missing something in the config file. ----------- File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 195, in runApp application = app.getApplication(config, passphrase) --- <exception caught here> --- File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 157, in getApplication application = service.loadApplication(filename, style, passphrase) File "/usr/lib/python2.4/site-packages/twisted/application/service.py", line 304, in loadApplication application = sob.loadValueFromFile(filename, 'application', passphrase) ----------- Thanks for all the pointers! I'm getting to know a bit of Python. Daniel D?az [EMAIL PROTECTED] From [EMAIL PROTECTED] Sat Jan 7 20:20:36 2006 From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Daniel_D=EDaz?=) Date: Sat Jan 7 20:20:40 2006 Subject: [py-transports] Upgrade from 0.9.2 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Hello! As a side problem, when I try to go back to 0.9.3/CVS (it wasn't 0.9.2) with Python 2.4, and as much twisted as I'm aware of installed, I get this error: ------------ linux msn-transport # ./PyMSNt WARNING! Only PNG avatars will be understood by this transport. Please install the Python Imaging Library. Traceback (most recent call last): File "main.py", line 17, in ? xmlconfig.reloadConfig() File "/usr/lib/jabberd/msn-transport/src-0.9.3-av/xmlconfig.py", line 30, in reloadConfig root = utils.parseFile(configFile) File "/usr/lib/jabberd/msn-transport/src-0.9.3-av/utils.py", line 116, in parseFile t.parseFile(filename) File "/usr/lib/jabberd/msn-transport/src-0.9.3-av/utils.py", line 178, in parseFile return self.parseString(file(filename).read()) File "/usr/lib/jabberd/msn-transport/src-0.9.3-av/utils.py", line 181, in parseString es = SuxElementStream() TypeError: 'NoneType' object is not callable ------------ What would be the meaning of that? I've followed the backtrace but not knowing what SuxES is doing or where it is coming from, or the data types, or anything at all, I can't go on any further. Any light on the matter is also appreciated! Greetings! Daniel D?az [EMAIL PROTECTED] From [EMAIL PROTECTED] Sat Jan 7 20:45:02 2006 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Sat Jan 7 20:45:14 2006 Subject: [py-transports] Upgrade from 0.9.2 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Sat, Jan 07, 2006 at 01:35:25PM -0600, Daniel D?az wrote: > I changed the symlink to 2.4 again, then reinstalled zope and twisted, > and it went through this time! Great! :-) > ----------- > File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", > line 195, in runApp > application = app.getApplication(config, passphrase) > --- <exception caught here> --- > File "/usr/lib/python2.4/site-packages/twisted/application/app.py", > line 157, in getApplication > application = service.loadApplication(filename, style, passphrase) > File > "/usr/lib/python2.4/site-packages/twisted/application/service.py", > line 304, in loadApplication > application = sob.loadValueFromFile(filename, > 'application', passphrase) > ----------- How does the traceback end? (It's usually the last few lines of the traceback that's interesting.) Best regards, Lars From [EMAIL PROTECTED] Sat Jan 7 20:50:00 2006 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Sat Jan 7 20:50:06 2006 Subject: [py-transports] Upgrade from 0.9.2 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Sat, Jan 07, 2006 at 02:20:36PM -0600, Daniel D?az wrote: > As a side problem, when I try to go back to 0.9.3/CVS (it wasn't > 0.9.2) with Python 2.4, and as much twisted as I'm aware of installed, Unfortunately, Twisted 2.1 wasn't supported until version 0.10.3. Best regards, Lars From [EMAIL PROTECTED] Sat Jan 7 21:06:51 2006 From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Daniel_D=EDaz?=) Date: Sat Jan 7 21:06:55 2006 Subject: [py-transports] Upgrade from 0.9.2 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Hello! On 1/7/06, Lars T. Mikkelsen <[EMAIL PROTECTED]> wrote: > How does the traceback end? (It's usually the last few lines of the > traceback that's interesting.) Ah! Didn't notice. This is the full traceback: -----8<----------8<----------8<----- Traceback (most recent call last): File "/usr/bin/twistd", line 25, in ? run() File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 205, in run app.run(runApp, ServerOptions) File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 275, in run runApp(config) File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 195, in runApp application = app.getApplication(config, passphrase) --- <exception caught here> --- File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 157, in getApplication application = service.loadApplication(filename, style, passphrase) File "/usr/lib/python2.4/site-packages/twisted/application/service.py", line 304, in loadApplication application = sob.loadValueFromFile(filename, 'application', passphrase) File "/usr/lib/python2.4/site-packages/twisted/persisted/sob.py", line 208, in loadValueFromFile exec fileObj in d, d File "PyMSNt.tac", line 27, in ? import main File "/usr/lib/jabberd/msn-transport/src/main.py", line 16, in ? xmlconfig.reloadConfig() File "/usr/lib/jabberd/msn-transport/src/xmlconfig.py", line 34, in reloadConfig invalidError("Error parsing configuration file: " + str(e)) File "/usr/lib/jabberd/msn-transport/src/xmlconfig.py", line 16, in invalidError sys.exit(1) exceptions.SystemExit: 1 ----->8---------->8---------->8----- And the output is: -----8<----------8<----------8<----- linux msn-transport # ./PyMSNt Error parsing configuration file: 'NoneType' object is not callable Exiting... Failed to load application: 1 ----->8---------->8---------->8----- Thanks for all the help! Daniel D?az [EMAIL PROTECTED] From [EMAIL PROTECTED] Sat Jan 7 21:27:47 2006 From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Daniel_D=EDaz?=) Date: Sat Jan 7 21:27:51 2006 Subject: [py-transports] Upgrade from 0.9.2 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Hello! What an odd thing! I changed the symlink back to python2.3, and now the transport works! There must be something missing in my Python 2.4 installation, I just don't know what could it be. The only problem I saw was with the spool directory, because I believe it was partially converted previously. So I used this: for i in *.xml; do [ -d ${i:0:2} ] || mkdir -- ${i:0:2} && mv -- $i ${i:0:2}; done; and that did the trick! Thank you very much, Lars, for all the hints! msn.jabbermx.org is now up again, and with the latest version! Greetings! Daniel D?az [EMAIL PROTECTED] On 1/7/06, Daniel D?az <[EMAIL PROTECTED]> wrote: > Hello! > > > On 1/7/06, Lars T. Mikkelsen <[EMAIL PROTECTED]> wrote: > > How does the traceback end? (It's usually the last few lines of the > > traceback that's interesting.) > > Ah! Didn't notice. > > This is the full traceback: > -----8<----------8<----------8<----- > Traceback (most recent call last): > File "/usr/bin/twistd", line 25, in ? > run() > File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", > line 205, in run > app.run(runApp, ServerOptions) > File "/usr/lib/python2.4/site-packages/twisted/application/app.py", > line 275, in run > runApp(config) > File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", > line 195, in runApp > application = app.getApplication(config, passphrase) > --- <exception caught here> --- > File "/usr/lib/python2.4/site-packages/twisted/application/app.py", > line 157, in getApplication > application = service.loadApplication(filename, style, passphrase) > File > "/usr/lib/python2.4/site-packages/twisted/application/service.py", > line 304, in loadApplication > application = sob.loadValueFromFile(filename, > 'application', passphrase) > File "/usr/lib/python2.4/site-packages/twisted/persisted/sob.py", > line 208, in loadValueFromFile > exec fileObj in d, d > File "PyMSNt.tac", line 27, in ? > import main > File "/usr/lib/jabberd/msn-transport/src/main.py", line 16, in ? > xmlconfig.reloadConfig() > File "/usr/lib/jabberd/msn-transport/src/xmlconfig.py", line > 34, in reloadConfig > invalidError("Error parsing configuration file: " + str(e)) > File "/usr/lib/jabberd/msn-transport/src/xmlconfig.py", line > 16, in invalidError > sys.exit(1) > exceptions.SystemExit: 1 > ----->8---------->8---------->8----- > > And the output is: > -----8<----------8<----------8<----- > linux msn-transport # ./PyMSNt > Error parsing configuration file: 'NoneType' object is not callable > Exiting... > > Failed to load application: 1 > ----->8---------->8---------->8----- > > Thanks for all the help! > > Daniel D?az > [EMAIL PROTECTED] From [EMAIL PROTECTED] Sat Jan 7 23:02:50 2006 From: [EMAIL PROTECTED] (Parish, Ray) Date: Sat Jan 7 23:03:38 2006 Subject: [py-transports] PyAIMt References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Here is a screen shot. You can see the small text! :) ________________________________ From: [EMAIL PROTECTED] on behalf of Daniel Henninger Sent: Thu 1/5/2006 10:41 AM To: PyAIM-t/PyICQ-t/PyMSN-t Discussion Subject: Re: [py-transports] PyAIMt OPN? =) When you say legit AOL clients, do you mean those using the official AIM client, or those not only using the official AIM client, but also using AOL "as a whole". (the service or whatever you'd call it) I have no way of testing the AOL "as a whole" service, but there shouldn't be any reason why it doesn't come through correctly based off PyAIM's code. (simply because it never ever references italics, blue, or any type of font really. =/ I can't imagine what else would cause it. Does anyone happen to have a screenshot of this behavior so that I can look and see if I notice anything unusual? Daniel On Jan 5, 2006, at 9:16 AM, Parish, Ray wrote: > The only reports I have heard are from legit AOL clients. If other aim > users are using Trillian or someother IM Client, the font comes > over as > it should. > > More info on our environment: > > We are using OPN Server client 4.5 sp1. The OPN server talks to our > jabber 1.4.4 server to access the gateways. > We only transitioned from the old c transport because the process > would > die several times a day. We switched to the PyAIMt and it has been > running solid for over a week with no problems. > > > Thanks > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Daniel > Henninger > Sent: Thursday, January 05, 2006 9:07 AM > To: PyAIM-t/PyICQ-t/PyMSN-t Discussion > Subject: Re: [py-transports] PyAIMt > > Say -what-? Ack! The default handling of text in PyAIM is to be > simple "black text on white background"... nothing special about it. > If your Jabber client is providing XHTML, then I tried to pass that > on if I can. All I can think of is that either: > > A. The person on the other end has something configured poorly in > their AIM client > B. The jabber client is set to be small blue italicized > > I can't imagine where else this would be coming from! =/ Anyone > else seen this before? > > Daniel > > On Jan 5, 2006, at 8:56 AM, Parish, Ray wrote: > >> Sorry if this has been covered before, I just transitioned from the >> old aim c transport to the new Python AIM. >> >> Very stable compared to the old c transport, thanks guys. >> >> >> >> PyAIMt-0.7b version >> >> >> >> I am getting reports that when a user uses the PyAIMt transport to >> communicate to an AIM client (legit download client) the font is >> seen to the AIM client as small blue italicized font. >> >> >> >> Any fix? >> >> >> >> >> >> _______________________________________________ >> 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 > > _______________________________________________ py-transports mailing list py-transports@blathersource.org http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 88201 bytes Desc: not available Url : http://modevia.com/pipermail/py-transports/attachments/20060107/98b143dd/attachment-0001.bin From [EMAIL PROTECTED] Sat Jan 7 23:50:54 2006 From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Daniel_D=EDaz?=) Date: Sat Jan 7 23:51:00 2006 Subject: [py-transports] Log file in PyMSNt Message-ID: <[EMAIL PROTECTED]> Hello! With PyMSNt SVN (rev 88) I'm seeing the log file being kind of rotated as soon as it reaches 1000000 bytes (or so). Is that an option? How can I change it back to the other behaviour of not checking and letting the log file grow? Thanks in advance! Daniel D?az [EMAIL PROTECTED] From [EMAIL PROTECTED] Sun Jan 8 01:36:09 2006 From: [EMAIL PROTECTED] (Daniel Henninger) Date: Sun Jan 8 01:36:16 2006 Subject: [py-transports] PyAIMt In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> =D What format is that in? File gives me: katana:~ daniel$ file ~/Desktop/winmail.dat /Users/daniel/Desktop/winmail.dat: Transport Neutral Encapsulation Format =D Daniel On Jan 7, 2006, at 6:02 PM, Parish, Ray wrote: > Here is a screen shot. You can see the small text! :) > > > ________________________________ > > From: [EMAIL PROTECTED] on behalf of Daniel > Henninger > Sent: Thu 1/5/2006 10:41 AM > To: PyAIM-t/PyICQ-t/PyMSN-t Discussion > Subject: Re: [py-transports] PyAIMt > > > > OPN? =) When you say legit AOL clients, do you mean those using the > official AIM client, or those not only using the official AIM client, > but also using AOL "as a whole". (the service or whatever you'd call > it) I have no way of testing the AOL "as a whole" service, but there > shouldn't be any reason why it doesn't come through correctly based > off PyAIM's code. (simply because it never ever references italics, > blue, or any type of font really. =/ I can't imagine what else > would cause it. Does anyone happen to have a screenshot of this > behavior so that I can look and see if I notice anything unusual? > > Daniel > > On Jan 5, 2006, at 9:16 AM, Parish, Ray wrote: > >> The only reports I have heard are from legit AOL clients. If other >> aim >> users are using Trillian or someother IM Client, the font comes >> over as >> it should. >> >> More info on our environment: >> >> We are using OPN Server client 4.5 sp1. The OPN server talks to our >> jabber 1.4.4 server to access the gateways. >> We only transitioned from the old c transport because the process >> would >> die several times a day. We switched to the PyAIMt and it has been >> running solid for over a week with no problems. >> >> >> Thanks >> >> >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Daniel >> Henninger >> Sent: Thursday, January 05, 2006 9:07 AM >> To: PyAIM-t/PyICQ-t/PyMSN-t Discussion >> Subject: Re: [py-transports] PyAIMt >> >> Say -what-? Ack! The default handling of text in PyAIM is to be >> simple "black text on white background"... nothing special about it. >> If your Jabber client is providing XHTML, then I tried to pass that >> on if I can. All I can think of is that either: >> >> A. The person on the other end has something configured poorly in >> their AIM client >> B. The jabber client is set to be small blue italicized >> >> I can't imagine where else this would be coming from! =/ Anyone >> else seen this before? >> >> Daniel >> >> On Jan 5, 2006, at 8:56 AM, Parish, Ray wrote: >> >>> Sorry if this has been covered before, I just transitioned from the >>> old aim c transport to the new Python AIM. >>> >>> Very stable compared to the old c transport, thanks guys. >>> >>> >>> >>> PyAIMt-0.7b version >>> >>> >>> >>> I am getting reports that when a user uses the PyAIMt transport to >>> communicate to an AIM client (legit download client) the font is >>> seen to the AIM client as small blue italicized font. >>> >>> >>> >>> Any fix? >>> >>> >>> >>> >>> >>> _______________________________________________ >>> 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 >> >> > > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports > > > <winmail.dat> > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports