2013-01-27, 01:36
I found the problem.
JSON parser failed when the string had some whitespace characters before the actual message.
I stripped the chars like this (notification_service.py line 51) and now it works:
Also, the sync doesn't seem to work, it doesn't pass the __name__ == '__main__' condition.
I replaced __main__ with sync_exec and it seems to work. (although I don't really know that means)
JSON parser failed when the string had some whitespace characters before the actual message.
I stripped the chars like this (notification_service.py line 51) and now it works:
Code:
self._notificationBuffer = self._notificationBuffer[offset:].strip(' \t\n\r')
Also, the sync doesn't seem to work, it doesn't pass the __name__ == '__main__' condition.
I replaced __main__ with sync_exec and it seems to work. (although I don't really know that means)