
WAXMPP: Resending 1 old messages
Conn: Outgoing
Conn: Incoming
Conn: INEX
Conn:
<message type="chat" from="49151xxxxxx45@s.whatsapp.net" id="1346278905-0" t="1346278908">
<notify xmlns="urn:xmpp:whatsapp" name="fpe">
</notify>
<request xmlns="urn:xmpp:receipts">
</request>
<body>
</body>
<delay stamp="2012-08-29T22:21:48Z" xmlns="urn:xmpp:delay" from="s.whatsapp.net">
Offline Storage</delay>
<x stamp="20120829T22:21:48" xmlns="jabber:x:delay">
</x>
</message>
Conn: INEX
WAXMPP: Resending old messages done
{'status': 0, 'media_id': None, 'created': 1346310182032L, 'timestamp': 1346278908000.0, 'content': '', 'key': 'Key(idd="1346278905-0", from_me=False, remote_jid="49151xxxxxx45@s.whatsapp.net")', 'conversation_id': <Models.conversation.Conversation object at 0x40f8bdd0>, 'type': 0, 'id': None}
UI: GETTING ACTIVE CONV
UI: DONE
UI:
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QFeedbackActuator(0x15d48c8), parent's thread is QThread(0x38cba8), current thread is StanzaReader(0x28d23f8)
WAEventHandler: A new message was received:
Traceback (most recent call last):
File "/opt/waxmppplugin/bin/wazapp/waxmpp.py", line 977, in run
self.parseMessage(node)
File "/opt/waxmppplugin/bin/wazapp/waxmpp.py", line 1544, in parseMessage
self.eventHandler.message_received(fmsg,duplicate,"chat");
File "/opt/waxmppplugin/bin/wazapp/waxmpp.py", line 699, in message_received
self.conn.sendMessageReceived(fmsg.key.remote_jid,mtype,fmsg.key.id);
AttributeError: 'str' object has no attribute 'remote_jid'
WAEventHandler: SEND UNAVAILABLE
if(fmsg.wantsReceipt): self.conn.sendMessageReceived(fmsg.key.remote_jid,mtype,fmsg.key.id);
if(fmsg.wantsReceipt):
key = fmsg.key
try:
fmsg.key.remote_jid
except AttributeError:
key = eval(fmsg.key)
self.conn.sendMessageReceived(key.remote_jid,mtype,key.id);
<stream:error> <xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"> </xml-not-well-formed> </stream:error>
fmsg.setData({"status":0,"content":"","type":1})
fmsg.setData({"status":0,"content":fmsg.content,"type":1})
elif user_img.height() > 600:
elif user_img.height() == user_img.width() and user_img.height() > 600:
if user_img.height() > user_img.width() and user_img.width() > 600: preimg = user_img.scaledToWidth(600, Qt.SmoothTransformation) elif user_img.height() < user_img.width() and user_img.height() > 800: preimg = user_img.scaledToHeight(800, Qt.SmoothTransformation) elif user_img.height() > 600: preimg = user_img.scaled(600, 600, Qt.KeepAspectRatioByExpanding, Qt.SmoothTransformation)