Page 8 of 34
Re: PushBullet plugin (Pako)
Posted: Thu Jul 24, 2014 1:26 pm
by Pako
piert wrote:Oops, spoke too soon, got the following error in the logs after a few minutes:
This is perhaps because now you have two different versions of the libraries Tornado.
Try the following (as workaround):
1.) Remove the contents of the folder
...\EventGhost\plugins\Tornado\lib (rather move somewhere as a backup)
2.) From the folder
...\EventGhost\lib26\site-packages copy folders
backports and
tornado into the folder
...\EventGhost\plugins\Tornado\lib
3.) Restart EventGhost
Pako
Re: PushBullet plugin (Pako)
Posted: Thu Jul 24, 2014 2:50 pm
by piert
Thanks Pako, that did the trick for the Tornado error messages.
Re: PushBullet plugin (Pako)
Posted: Thu Jul 24, 2014 3:08 pm
by Pako
It's time to release a new version of the Tornado plugin.
There will no longer be the lib subfolder ...
Pako
Re: PushBullet plugin (Pako)
Posted: Thu Jul 31, 2014 6:07 pm
by izzy
Pako wrote:It's time to release a new version of the Tornado plugin.
There will no longer be the lib subfolder ...
Pako
Sorry, so is this no longer working? It does not work for me.
Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1728, in requestPushes
self.processPush(push)
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1596, in processPush
part3 = push[u'body']
KeyError: u'body'
Re: PushBullet plugin (Pako)
Posted: Fri Aug 01, 2014 5:32 am
by Pako
izzy wrote:Pako wrote:It's time to release a new version of the Tornado plugin.
There will no longer be the lib subfolder ...
Pako
This actually is not related to PushBullet plugin.
izzy wrote:Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1728, in requestPushes
self.processPush(push)
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1596, in processPush
part3 = push[u'body']
KeyError: u'body'
This is entire error message?
In what circumstances does this happen?
Pako
Re: PushBullet plugin (Pako)
Posted: Fri Aug 01, 2014 6:20 am
by izzy
That was the entire error message. And today I can't seem to replicate that message.
It gave me that error when a push was sent to the system. No action was performed. Today, no error message shown, no performed.
Re: PushBullet plugin (Pako)
Posted: Fri Aug 01, 2014 6:42 am
by Pako
izzy wrote:Today, no error message shown, no performed.
I am a little confused.
Today it functions normally, or any problem persist ?
Pako
Re: PushBullet plugin (Pako)
Posted: Fri Aug 01, 2014 6:45 am
by izzy
Sorry. I meant 'no action performed'. No, it's still not working. I've tried everything I can.
Re: PushBullet plugin (Pako)
Posted: Fri Aug 01, 2014 10:23 am
by Pako
izzy wrote:No, it's still not working.
If you have not set log level 5, please set the log level 5
and then you attach here a piece of your log please.
Pako
Re: PushBullet plugin (Pako)
Posted: Sat Aug 02, 2014 4:40 am
by izzy
PushBullet: WebSocket message: {"type":"tickle","subtype":"push"}
PushBullet: Getting pushes, modified_after = 1406954300.6206801
PushBullet: Response = {u'pushes': [{u'iden': u'ujDxoZjtLKCpjAgPfavc96', u'title': u'lightson', u'receiver_email': u'****@gmail.com', u'created': 1406954332.83972, u'sender_email_normalized': u'****@gmail.com', u'dismissed': False, u'target_device_iden': u'ujDxoZjtLKCdjz1Mck4hbg', u'sender_email': u'****@gmail.com', u'modified': 1406954332.83973, u'active': True, u'receiver_iden': u'ujDxoZjtLKC', u'sender_iden': u'ujDxoZjtLKC', u'type': u'note', u'receiver_email_normalized': u'****@gmail.com'}]}
PushBullet: modified_after updated: 1406954332.8397300
Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1728, in requestPushes
self.processPush(push)
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1596, in processPush
part3 = push[u'body']
KeyError: u'body'
PushBullet: WebSocket message: {"type": "nop"}
Re: PushBullet plugin (Pako)
Posted: Sat Aug 02, 2014 3:35 pm
by Pako
It was a bug.
I have never met a case that the 'body' parameter is missing.
You can download the
patched version (0.0.22).
Thank you for reporting.
Pako
Re: PushBullet plugin (Pako)
Posted: Sat Aug 02, 2014 3:45 pm
by izzy
Thanks, I'm still trying to get it to work. I no longer get an error message but the actions are not being executed.
Here is a level 5 log when a push is received.
PushBullet: WebSocket message: {"type":"tickle","subtype":"push"}
PushBullet: Getting pushes, modified_after = 1407033595.9940000
PushBullet: Response = {u'pushes': []}
PushBullet: WebSocket message: {"type": "nop"}
Re: PushBullet plugin (Pako)
Posted: Sat Aug 02, 2014 4:26 pm
by Pako
And it's always the same?
Even if you send a note to myself (from EventGhost to EventGhost or from smartphone to EventGhost) ?
Pako
Re: PushBullet plugin (Pako)
Posted: Sat Aug 02, 2014 4:33 pm
by izzy
Pako wrote:And it's always the same?
Even if you send a note to myself (from EventGhost to EventGhost or from smartphone to EventGhost) ?
Pako
Yes its the same.
Re: PushBullet plugin (Pako)
Posted: Sat Aug 02, 2014 4:53 pm
by Pako
Please - restart EventGhost and then
1.) attach here a piece of log, where EventGhost sends a Note to myself (including the part where we can see sending).
2.) attach here a piece of log, where EventGhost sends a Note to everything (Action "Push to everything"), again including the part where we can see sending.
Pako