Hi,
I installed pymsn-t and wildfire in windows for the first time (I installed them
in Linux a couple of times before with no problems) but now I have problems
registering jabber users into MSN. I'm using the last dev version of pymsn the
and last version of webreg. Both are working fine in another instalation in
Linux.
In the webreg inteface I get these errors:
Now registering your Jabber account with the transport. Please wait, this may
take a minute or so
Connecting to your Jabber server...
Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush.
in C:\webreg-0.5\doregister.php on line 110
Notice: Undefined variable: incoming in C:\webreg-0.5\class.jabber.php on line
1019
Notice: Undefined variable: incoming in C:\webreg-0.5\class.jabber.php on line
366
Notice: Undefined variable: incoming in C:\webreg-0.5\class.jabber.php on line
366
Notice: Undefined variable: incoming in C:\webreg-0.5\class.jabber.php on line
366
Connected!
Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush.
in C:\webreg-0.5\doregister.php on line 110
Attempting to register with MSN Gateway: msn.st04
Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush.
in C:\webreg-0.5\doregister.php on line 110
Notice: Undefined variable: incoming in C:\webreg-0.5\class.jabber.php on line
366
Notice: Undefined index: iq in C:\webreg-0.5\class.jabber.php on line 630
Notice: Undefined index: iq in C:\webreg-0.5\class.jabber.php on line 630
Notice: Undefined index: iq in C:\webreg-0.5\class.jabber.php on line 630
Notice: Undefined index: key in C:\webreg-0.5\class.jabber.php on line 1300
Notice: Undefined variable: incoming in C:\webreg-0.5\class.jabber.php on line
369
Notice: Undefined index: iq in C:\webreg-0.5\class.jabber.php on line 630
Notice: Undefined index: iq in C:\webreg-0.5\class.jabber.php on line 630
Notice: Undefined index: iq in C:\webreg-0.5\class.jabber.php on line 630
Notice: Undefined variable: return_code in C:\webreg-0.5\class.jabber.php on
line 868
There was an error registering with the transport.
Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush.
in C:\webreg-0.5\doregister.php on line 110
There was an error registering you with the MSN Gateway. Please try again later.
Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush.
in C:\webreg-0.5\doregister.php on line 110
They all seem not to be fatal. On the other hand this is what I get in the pymsn
log:
[2006-09-06 17:26:10] Starting factory
<twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x00970D50>
[2006-09-06 17:26:10] INFO :: :: :: componentConnected :: PyTransport ::
{'xmlstream': <twisted.words.protocols.jabber.xmlstream.XmlStream instance at
0x013ED8C8>, 'self': 'instance'}
[2006-09-06 17:26:10] INFO :: :: Looking for handler :: onIq :: ServerDiscovery
:: {'el': <twisted.words.xish.domish.Element object at 0x013F8F50>, 'froj':
<twisted.words.protocols.jabber.jid.JID instance at 0x013FE7B0>, 'iqType':
u'get', 'self': 'instance', 'fro': u'component.st04', 'ulang': None, 'to':
u'msn.st04', 'ID': u'402-6'}
[2006-09-06 17:26:10] INFO :: :: :: sendDiscoInfoResponse :: ServerDiscovery
:: {'ulang': None, 'to': u'component.st04', 'jid': u'msn.st04', 'ID': u'402-6',
'self': 'instance'}
[2006-09-06 17:26:51] INFO :: :: Looking for handler :: onIq :: ServerDiscovery
:: {'el': <twisted.words.xish.domish.Element object at 0x013EA670>, 'froj':
<twisted.words.protocols.jabber.jid.JID instance at 0x013FE828>, 'iqType':
u'get', 'self': 'instance', 'fro': u'[EMAIL PROTECTED]/TransportRegister',
'ulang':
None, 'to': u'msn.st04', 'ID': u'reg_1'}
[2006-09-06 17:26:51] INFO :: Handler found :: :: onIq :: ServerDiscovery ::
{'node': None, 'el': <twisted.words.xish.domish.Element object at 0x013EA670>,
'froj': <twisted.words.protocols.jabber.jid.JID instance at 0x013FE828>,
'iqType': u'get', 'self': 'instance', 'fro': u'[EMAIL
PROTECTED]/TransportRegister',
'feature': 'jabber:iq:register', 'xmlns': u'jabber:iq:register', 'ulang': None,
'to': u'msn.st04', 'handler': <bound method RegisterManager.incomingRegisterIq
of <register.RegisterManager instance at 0x013ED198>>, 'query':
<twisted.words.xish.domish.Element object at 0x013EAE90>, 'searchjid':
u'msn.st04', 'ID': u'reg_1'}
[2006-09-06 17:26:51] INFO :: :: :: incomingRegisterIq :: RegisterManager ::
{'itype': u'get', 'self': 'instance', 'incoming':
<twisted.words.xish.domish.Element object at 0x013EA670>}
[2006-09-06 17:26:51] INFO :: :: :: sendRegistrationFields :: RegisterManager
:: {'fro': u'[EMAIL PROTECTED]/TransportRegister', 'self': 'instance',
'incoming':
<twisted.words.xish.domish.Element object at 0x013EA670>, 'ID': u'reg_1'}
[2006-09-06 17:26:51] INFO :: :: :: getRegInfo :: RegisterManager ::
{'jabberID': u'[EMAIL PROTECTED]/TransportRegister', 'self': 'instance'}
[2006-09-06 17:26:51] INFO :: :: Returning reg info. :: getRegInfo ::
RegisterManager :: {'username': '[EMAIL PROTECTED]', 'jabberID':
u'[EMAIL PROTECTED]/TransportRegister', 'self': 'instance', 'password':
'yyyyyy',
'result': <twisted.words.xish.domish.Element object at 0x01178E90>}
[2006-09-06 17:26:55] INFO :: :: Looking for handler :: onIq :: ServerDiscovery
:: {'el': <twisted.words.xish.domish.Element object at 0x013EA030>, 'froj':
<twisted.words.protocols.jabber.jid.JID instance at 0x013FE828>, 'iqType':
u'set', 'self': 'instance', 'fro': u'[EMAIL PROTECTED]/TransportRegister',
'ulang':
None, 'to': u'msn.st04', 'ID': u'reg_1'}
[2006-09-06 17:26:55] INFO :: Handler found :: :: onIq :: ServerDiscovery ::
{'node': None, 'el': <twisted.words.xish.domish.Element object at 0x013EA030>,
'froj': <twisted.words.protocols.jabber.jid.JID instance at 0x013FE828>,
'iqType': u'set', 'self': 'instance', 'fro': u'[EMAIL
PROTECTED]/TransportRegister',
'feature': 'jabber:iq:register', 'xmlns': u'jabber:iq:register', 'ulang': None,
'to': u'msn.st04', 'handler': <bound method RegisterManager.incomingRegisterIq
of <register.RegisterManager instance at 0x013ED198>>, 'query':
<twisted.words.xish.domish.Element object at 0x013FB3D0>, 'searchjid':
u'msn.st04', 'ID': u'reg_1'}
[2006-09-06 17:26:55] INFO :: :: :: incomingRegisterIq :: RegisterManager ::
{'itype': u'set', 'self': 'instance', 'incoming':
<twisted.words.xish.domish.Element object at 0x013EA030>}
[2006-09-06 17:26:55] INFO :: :: :: updateRegistration :: RegisterManager ::
{'fro': u'[EMAIL PROTECTED]/TransportRegister', 'self': 'instance', 'incoming':
<twisted.words.xish.domish.Element object at 0x013EA030>, 'ID': u'reg_1'}
[2006-09-06 17:26:55] INFO :: :: Updating XDB :: updateRegistration ::
RegisterManager :: {'username': u'[EMAIL PROTECTED]', 'incoming':
<twisted.words.xish.domish.Element object at 0x013EA030>, 'self': 'instance',
'fro': u'[EMAIL PROTECTED]/TransportRegister', 'ulang': None, 'source':
u'[EMAIL PROTECTED]',
'queryFind': <twisted.words.xish.domish.Element object at 0x013FB3D0>, 'child':
<twisted.words.xish.domish.Element object at 0x013FB9F0>, 'password': u'yyyyyy',
'ID': u'reg_1'}
[2006-09-06 17:26:55] INFO :: :: :: setRegInfo :: RegisterManager ::
{'username': u'[EMAIL PROTECTED]', 'jabberID': u'[EMAIL PROTECTED]', 'self':
'instance', 'password': u'zxcvbn12'}
[2006-09-06 17:26:55] INFO :: :: Updated XDB :: updateRegistration ::
RegisterManager :: {'username': u'[EMAIL PROTECTED]', 'incoming':
<twisted.words.xish.domish.Element object at 0x013EA030>, 'self': 'instance',
'fro': u'[EMAIL PROTECTED]/TransportRegister', 'ulang': None, 'source':
u'[EMAIL PROTECTED]',
'queryFind': <twisted.words.xish.domish.Element object at 0x013FB3D0>, 'child':
<twisted.words.xish.domish.Element object at 0x013FB9F0>, 'password': u'yyyyyy',
'ID': u'reg_1'}
[2006-09-06 17:26:55] INFO :: :: Sent a result Iq :: updateRegistration ::
RegisterManager :: {'username': u'[EMAIL PROTECTED]', 'incoming':
<twisted.words.xish.domish.Element object at 0x013EA030>, 'self': 'instance',
'fro': u'[EMAIL PROTECTED]/TransportRegister', 'ulang': None, 'source':
u'[EMAIL PROTECTED]',
'queryFind': <twisted.words.xish.domish.Element object at 0x013FB3D0>, 'child':
<twisted.words.xish.domish.Element object at 0x013FB9F0>, 'password': u'yyyyyy',
'ID': u'reg_1'}
[2006-09-06 17:26:55] INFO :: :: :: xdbErrorReply :: RegisterManager ::
{'self': 'instance', 'incoming': <twisted.words.xish.domish.Element object at
0x013EA030>}
[2006-09-06 17:26:55] Traceback (most recent call last):
File "C:\Python23\lib\site-packages\twisted\python\log.py", line 53,
in
callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "C:\Python23\lib\site-packages\twisted\python\log.py", line 38,
in
callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "C:\Python23\lib\site-packages\twisted\python\context.py", line
59, in
callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "C:\Python23\lib\site-packages\twisted\python\context.py", line
37, in
callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File
"C:\Python23\lib\site-packages\twisted\internet\selectreactor.py", line
139, in _doReadOrWrite
why = getattr(selectable, method)()
File "C:\Python23\lib\site-packages\twisted\internet\tcp.py", line
349, in
doRead
return self.protocol.dataReceived(data)
File "C:\Python23\lib\site-packages\twisted\words\xish\xmlstream.py",
line
72, in dataReceived
self.stream.parse(buf)
File "C:\Python23\lib\site-packages\twisted\words\xish\domish.py",
line 524,
in parse
self.parser.Parse(buffer)
File "C:\Python23\lib\site-packages\twisted\words\xish\domish.py",
line 564,
in _onEndElement
self.ElementEvent(self.currElem)
File "C:\Python23\lib\site-packages\twisted\words\xish\xmlstream.py",
line
104, in onElement
self.dispatch(element)
File "C:\Python23\lib\site-packages\twisted\words\xish\utility.py",
line 233,
in dispatch
callbacklist.callback(object)
File "C:\Python23\lib\site-packages\twisted\words\xish\utility.py",
line 37,
in callback
methodwrapper(*args, **kwargs)
File "C:\Python23\lib\site-packages\twisted\words\xish\utility.py",
line 21,
in __call__
self.method(*nargs, **nkwargs)
File "C:\archivos de programa\Conector MSN\src\disco.py", line 161,
in onIq
handler(el)
File "C:\Archivos de programa\Conector MSN\src\register.py", line 66,
in
incomingRegisterIq
self.updateRegistration(incoming)
File "C:\Archivos de programa\Conector MSN\src\register.py", line
136, in
updateRegistration
(user, host, res) = jid.internJID(incoming.getAttribute("from"))
exceptions.NameError: global name 'jid' is not defined
[2006-09-06 17:26:55] INFO :: :: :: componentDisconnected :: PyTransport ::
{'self': 'instance'}
[2006-09-06 17:26:55] <twisted.internet.tcp.Connector instance at 0x013ED738>
will retry in 2 seconds
[2006-09-06 17:26:55] Stopping factory
<twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x00970D50>
[2006-09-06 17:26:57] Starting factory
<twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x00970D50>
[2006-09-06 17:26:57] INFO :: :: :: componentConnected :: PyTransport ::
{'xmlstream': <twisted.words.protocols.jabber.xmlstream.XmlStream instance at
0x013FE850>, 'self': 'instance'}
[2006-09-06 17:26:57] INFO :: :: Looking for handler :: onIq :: ServerDiscovery
:: {'el': <twisted.words.xish.domish.Element object at 0x01189830>, 'froj':
<twisted.words.protocols.jabber.jid.JID instance at 0x013FE7B0>, 'iqType':
u'get', 'self': 'instance', 'fro': u'component.st04', 'ulang': None, 'to':
u'msn.st04', 'ID': u'396-8'}
[2006-09-06 17:26:57] INFO :: :: :: sendDiscoInfoResponse :: ServerDiscovery
:: {'ulang': None, 'to': u'component.st04', 'jid': u'msn.st04', 'ID': u'396-8',
'self': 'instance'}
Do you have any ideas of what the problem might be?
Best regards,
Jorge