hi folks,

i've started PyMSNt without pushing it into background and after a few
minutes, i got following errors.

Exception occured! Check the log!
Traceback (most recent call last):
  File "main.py", line 299, in ?
    reactor.run()
  File "/usr/lib/python2.3/site-packages/twisted/internet/default.py",
line 126,                                         in run
    self.mainLoop()
  File "/usr/lib/python2.3/site-packages/twisted/internet/default.py",
line 134,                                         in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line
423, in                                         runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/usr/local/PyMSNt-0.10/src/legacy/msnw.py", line 717, in failCB
    self.switchboardSession.removeMe()
  File "/usr/local/PyMSNt-0.10/src/legacy/msnw.py", line 439, in removeMe
    self.msncon.failedMessage(self.remoteUser, message)
  File "/usr/local/PyMSNt-0.10/src/legacy/glue.py", line 404, in
failedMessage
    self.session.sendErrorMessage(to=self.session.jabberID, fro=fro,
etype="wait                                        ",
condition="recipient-unavailable",
explanation=lang.get(self.session.lang).ms
          nFailedMessage, body=message)
exceptions.AttributeError: class de has no attribute 'msnFailedMessage'

i don't know when this exactly happend and i couldn't find anything in
the logfiles. does someone know what that means?

thanks,
julian
From [EMAIL PROTECTED]  Thu Sep  8 03:51:52 2005
From: [EMAIL PROTECTED] (Ben Ye)
Date: Thu Sep  8 03:51:54 2005
Subject: [py-transports] Number of concurrent MSN connections
Message-ID: <[EMAIL PROTECTED]>

Hi there,

I am trying to build a MSN gateway server.

Anyone knows how many different MSN accounts can be configured online 
concurrently?

Thanks!

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20050908/bd4eca2f/attachment.htm
From [EMAIL PROTECTED]  Thu Sep  8 07:02:53 2005
From: [EMAIL PROTECTED] (Lars T. Mikkelsen)
Date: Thu Sep  8 07:03:00 2005
Subject: [py-transports] errors
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On Wed, Sep 07, 2005 at 11:56:35PM +0200, Julian Golderer wrote:
[snip]
>   File "/usr/local/PyMSNt-0.10/src/legacy/glue.py", line 404, in
> failedMessage
>     self.session.sendErrorMessage(to=self.session.jabberID, fro=fro,
> etype="wait                                        ",
> condition="recipient-unavailable",
> explanation=lang.get(self.session.lang).ms
>           nFailedMessage, body=message)
> exceptions.AttributeError: class de has no attribute 'msnFailedMessage'
> 
> i don't know when this exactly happend and i couldn't find anything in
> the logfiles. does someone know what that means?

It looks like the German language (I assume you're using German) has an
error with the 'msnFailedMessage' error message. Try applying the
attached patch - it simply changes msnFailedMesage to msnFailedMessage
in the de class in src/lang.py.

Best regards,
Lars
-------------- next part --------------
Index: lang.py
===================================================================
RCS file: /home/cvs/msn-transport/PyMSNt/src/lang.py,v
retrieving revision 1.7.2.14
diff -u -r1.7.2.14 lang.py
--- lang.py     28 Aug 2005 00:20:32 -0000      1.7.2.14
+++ lang.py     8 Sep 2005 06:54:47 -0000
@@ -166,7 +166,7 @@
                msnMultipleLogin = u"Du bist bereits mit einem anderen Client 
im MSN Network eingeloggt. Bitte logge den anderen Client aus und aktiviere 
dann diesen Transport wieder."
                msnNotVerified = u"Dein MSN-Account %s hat keine von Microsoft 
?berpr?fte eMail-Adresse. Andere MSN-User k?nnen daher Deinen Nickname nicht 
sehen und werden gewarnt dass dein Account gef?lscht sein koennte. Bitte 
besuche die MSN-Seiten f?r Details."
                msnLoginFailure = u"Der Login beim MSN-Account %s ist 
fehlgeschlagen. Bitte ?berpr?fe Dein Passwort und registriere Dich 
gegebenenfalls erneut."
-               msnFailedMesage = u"Die Nachricht konnte nicht ?bermittelt 
werden. Bitte pr?fe, dass der Contact online ist, und seine Adresse in deiner 
Contact?List korrekt ist.\nDie Nachricht war:\n\n"
+               msnFailedMessage = u"Die Nachricht konnte nicht ?bermittelt 
werden. Bitte pr?fe, dass der Contact online ist, und seine Adresse in deiner 
Contact?List korrekt ist.\nDie Nachricht war:\n\n"
                msnDroppedMessage = u"(Automated message)\nA message from this 
person did not get delivered to you. Please report this to your Jabber server 
administrator."
                msnInitialMail = u"Hotmail notification\n\nUngelesene 
Nachrichten in der Inbox: %s\nUngelesene Nachrichten in anderen Ordnern: %s"
                msnRealtimeMail = u"Hotmail notification\n\nNeue Nachricht von 
%s <%s>\n Subject: %s"
From [EMAIL PROTECTED]  Thu Sep  8 08:34:08 2005
From: [EMAIL PROTECTED] (James Bunton)
Date: Thu Sep  8 08:34:08 2005
Subject: [py-transports] Number of concurrent MSN connections
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Only one per JID per MSN transport instance.

Eg, if I'm [EMAIL PROTECTED], and I'm using the transport 
msn.delx.cjb.net, I can only have one MSN account active.
If I register another JID, or run another copy of PyMSNt then you can 
have more than one account. PyMSNt will quite happily run more than one 
instance, as long as you give them different config files (with 
different JIDs).

---

James



On 08/09/2005, at 1:51 PM, Ben Ye wrote:

> Hi there,
>
>  I am trying to build a MSN gateway server.
>
>  Anyone knows how many different MSN accounts can be configured online 
> concurrently?
>
>  Thanks!
>
>  Ben
> _______________________________________________
> py-transports mailing list
> py-transports@blathersource.org
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to