these may or may not be fixed:
''' Failed to connect to MSN servers: [Failure instance: Traceback: exceptions.ImportError: No module named kqsyscall --- <exception caught here> --- src/main.py:14:? /usr/lib/python2.3/site-packages/twisted/internet/kqreactor.py:69:? ] ''' I don't have a reactor in the config file, so it should be using select (and not kqueue) right? [2006-01-31 11:11:40] Traceback (most recent call last): File "src/main.py", line 382, in ? main() File "src/main.py", line 379, in main reactor.run() File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 199, in run self.mainLoop() File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 207, in mainLoop self.runUntilCurrent() --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 533, in runUntilCurrent call.func(*call.args, **call.kw) File "/home/norman/src/svn/PyMSNt.trunk/src/tlib/msn/msnw.py", line 684, in wait del self.msncon.switchboardSessions[self.remoteUser] exceptions.KeyError: '[EMAIL PROTECTED]' [2006-01-31 12:35:35] Traceback (most recent call last): 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 52, in callWithContext return self.currentContext().callWithContext(ctx, 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/pollreactor.py", line 160, in _doReadOrWrite why = selectable.doRead() 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 "src/main.py", line 281, in onPresence s.onPresence(el) File "/home/norman/src/svn/PyMSNt.trunk/src/jabw.py", line 280, in onPresence self.avatarHashReceived(froj.userhost(), toj.userhost(), avatarHash) File "/home/norman/src/svn/PyMSNt.trunk/src/session.py", line 185, in avatarHashReceived self.avatar = avatar.Avatar(imageData, self.pytrans.avatarCache) # Stuff in the cache is always PNG File "/home/norman/src/svn/PyMSNt.trunk/src/avatar.py", line 38, in __init__ self.__imageHash = sha.sha(imageData).hexdigest() exceptions.TypeError: new() argument 1 must be string or read-only buffer, not instance -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Tue Jan 31 20:58:11 2006 From: [EMAIL PROTECTED] (Sander Devrieze) Date: Tue Jan 31 20:58:21 2006 Subject: [py-transports] Anti-spam idea Message-ID: <[EMAIL PROTECTED]> Hi, I have some idea to prevent spam from the proprietary networks (it might be a stupid idea, though ;-) ). The idea is to make it possible that the user can set a message for every user that wants to contact him and that is not yet in his MSN/ICQ/AOL contact list. All people not in his contact list trying to reach the user, will get that message and their own message bounced. The user then can tell in this message his email address, phone number, or something else, and ask them to contact him via that way so that he can add them manually. -- Mvg, Sander Devrieze. xmpp:[EMAIL PROTECTED] ejabberd, the expandable Jabber daemon. -- http://ejabberd.jabber.ru/ From [EMAIL PROTECTED] Tue Jan 31 21:26:41 2006 From: [EMAIL PROTECTED] (Oleg Motienko) Date: Tue Jan 31 21:26:47 2006 Subject: [py-transports] Anti-spam idea In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Hello, Based on yours idea: Bounced message contains some random hash and tell them to send this hash back for authorization. Ex: "This is autoanswer of antispam system. If you want to contact me, send me a message with following string: 646781b6ce3bc1b6c5437958fdefc595 " On 1/31/06, Sander Devrieze <[EMAIL PROTECTED]> wrote: > Hi, > > I have some idea to prevent spam from the proprietary networks (it might be a > stupid idea, though ;-) ). The idea is to make it possible that the user can > set a message for every user that wants to contact him and that is not yet in > his MSN/ICQ/AOL contact list. All people not in his contact list trying to > reach the user, will get that message and their own message bounced. The user > then can tell in this message his email address, phone number, or something > else, and ask them to contact him via that way so that he can add them > manually. -- Regards, Oleg