Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

PushBullet plugin (Pako)

Questions and comments specific to a particular plugin should go here.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post 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
You know flattr ? You can Image
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: PushBullet plugin (Pako)

Post by piert »

Thanks Pako, that did the trick for the Tornado error messages.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post by Pako »

It's time to release a new version of the Tornado plugin.
There will no longer be the lib subfolder ...

Pako
You know flattr ? You can Image
izzy
Posts: 22
Joined: Sat May 10, 2014 8:01 am

Re: PushBullet plugin (Pako)

Post 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'
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post 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
You know flattr ? You can Image
izzy
Posts: 22
Joined: Sat May 10, 2014 8:01 am

Re: PushBullet plugin (Pako)

Post 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.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post 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
You know flattr ? You can Image
izzy
Posts: 22
Joined: Sat May 10, 2014 8:01 am

Re: PushBullet plugin (Pako)

Post by izzy »

Sorry. I meant 'no action performed'. No, it's still not working. I've tried everything I can.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post 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
You know flattr ? You can Image
izzy
Posts: 22
Joined: Sat May 10, 2014 8:01 am

Re: PushBullet plugin (Pako)

Post 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"}
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post 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
You know flattr ? You can Image
izzy
Posts: 22
Joined: Sat May 10, 2014 8:01 am

Re: PushBullet plugin (Pako)

Post 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"}
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post 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
You know flattr ? You can Image
izzy
Posts: 22
Joined: Sat May 10, 2014 8:01 am

Re: PushBullet plugin (Pako)

Post 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.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post 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
You know flattr ? You can Image
Post Reply