PushBullet plugin (Pako)

Questions and comments specific to a particular plugin should go here.
akamiking
Posts: 7
Joined: Tue Sep 12, 2017 6:29 am

Re: PushBullet plugin (Pako)

Post by akamiking » Tue Sep 12, 2017 5:19 pm

Pako wrote:Finally, we get a little further.
Please use another diagnostic version.

Pako

This provided much more. Log below:
12:18:29 ---> Welcome to EventGhost <---
12:18:29 Autostart
12:18:29 Plugin: X10: Generic X10
12:18:29 Error starting plugin: X10 Remote
12:18:29 No X10 receiver found!
12:18:29 Plugin: Zoom Player
12:18:29 Plugin: Winamp
12:18:29 Plugin: Task Create/Switch Events
12:18:29 Enable exclusive: Keyboard Emulation
12:18:29 Plugin: PushBullet
12:18:29 Winamp.Status.Changed.Off
12:18:29 Main.OnInit
12:18:31 ################ Diagnostic message 001 ################
12:18:31 ################ Diagnostic message 002 ################
12:18:31 ################ Diagnostic message 003 ################
12:18:31 ################ Diagnostic message 004 ################
12:18:31 ################ Diagnostic message 008 ################
12:18:31 ################ Diagnostic message 011 ################
12:18:31 ################ Diagnostic message 012 ################
12:18:31 Traceback (most recent call last) (1722):
12:18:31 File "D:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 2770, in connectivity
12:18:31 c.perform()
12:18:31 error: (23, 'Failed writing body (3311 != 7150)')
12:18:31 ################ Diagnostic message 009 ################
12:18:36 ################ Diagnostic message 008 ################
12:18:36 ################ Diagnostic message 011 ################
12:18:36 ################ Diagnostic message 012 ################
12:18:36 Traceback (most recent call last) (1722):
12:18:36 File "D:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 2770, in connectivity
12:18:36 c.perform()
12:18:36 error: (23, 'Failed writing body (3310 != 5720)')
12:18:36 ################ Diagnostic message 009 ################
12:18:41 ################ Diagnostic message 008 ################
12:18:41 ################ Diagnostic message 011 ################
12:18:41 ################ Diagnostic message 012 ################
12:18:41 Traceback (most recent call last) (1722):
12:18:41 File "D:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 2770, in connectivity
12:18:41 c.perform()
12:18:41 error: (23, 'Failed writing body (1880 != 2860)')
12:18:41 ################ Diagnostic message 009 ################
12:18:44 Task.Activated.EventGhost
12:18:46 ################ Diagnostic message 008 ################
12:18:46 ################ Diagnostic message 011 ################
12:18:46 ################ Diagnostic message 012 ################
12:18:46 Traceback (most recent call last) (1722):
12:18:46 File "D:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 2770, in connectivity
12:18:46 c.perform()
12:18:46 error: (23, 'Failed writing body (3310 != 10802)')
12:18:46 ################ Diagnostic message 009 ################
12:18:48 PushBullet: Push to everything: note to Everything
12:18:48 PushBullet: No connectivity, waiting ...

User avatar
Pako
Plugin Developer
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post by Pako » Wed Sep 13, 2017 8:58 am

So it seems that this is a pycurl problem.
Google has helped me find a solution (hopefully).
Please try this test version (0.2.19.3).

Pako
You know flattr ? You can Image

akamiking
Posts: 7
Joined: Tue Sep 12, 2017 6:29 am

Re: PushBullet plugin (Pako)

Post by akamiking » Wed Sep 13, 2017 5:16 pm

Pako wrote:So it seems that this is a pycurl problem.
Google has helped me find a solution (hopefully).
Please try this test version (0.2.19.3).

Pako
Thanks for all your hard work Pako, that seems to get us a bit closer. I can now see EG in the devices, but there is still no connectivity. The log grabbed some data that I am not comfortable sharing in the public forum. May I PM you the log?

akamiking
Posts: 7
Joined: Tue Sep 12, 2017 6:29 am

Re: PushBullet plugin (Pako)

Post by akamiking » Wed Sep 13, 2017 5:20 pm

Possessed wrote: 00:46:00 Exception in thread Thread-5:
00:46:00 Traceback (most recent call last):
00:46:00 File "threading.pyc", line 532, in __bootstrap_inner
00:46:00 File "threading.pyc", line 484, in run
00:46:00 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1604, in start
00:46:00 http_proxy_auth = auth
00:46:00 TypeError: run_forever() got an unexpected keyword argument 'http_proxy_auth'
00:46:00

replaced with:

self.run_forever()
Pako,

I followed Possessed instructions from his previous post and now it seems to be working. I will do some testing and let you know if run into issues. Thanks again for your attention and hard work!

-Akami

akamiking
Posts: 7
Joined: Tue Sep 12, 2017 6:29 am

Re: PushBullet plugin (Pako)

Post by akamiking » Wed Sep 13, 2017 7:02 pm

Pako,

I have great news! My testing was successful. I am able to send and receive pushes. Thanks so much for your help with this and keep up the amazing work!

-Akami

projazz
Posts: 5
Joined: Thu Sep 07, 2017 12:46 am

Re: PushBullet plugin (Pako)

Post by projazz » Thu Sep 14, 2017 1:28 am

Pako - Super awesome work. Love this plugin for feeding commands from Alexa to my PC!!! Works well now. Thank you for your patience and persistence!!!

I followed Possessed instructions also. Thanks akamiking!!

Every 30 seconds I see "20:22:20 PushBullet: WebSocket message: {u'type': u'nop'}" in the log but it doesn't seem to effect functionality.

Great work!
Andrew

User avatar
Pako
Plugin Developer
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post by Pako » Thu Sep 14, 2017 11:08 am

projazz wrote:Every 30 seconds I see "20:22:20 PushBullet: WebSocket message: {u'type': u'nop'}" in the log but it doesn't seem to effect functionality.
This is normal - it is checking whether the heart beats (check the connection).
This can be hidden when you select a logging level of less than 5.
akamiking wrote:I followed Possessed instructions from his previous post and now it seems to be working.
This bug was removed (by installing a new version of the websocket client).
You probably did not proceed exactly according to the old installation instructions.
To avoid this in the future, I have simplified these instructions.
Please install a new version 0.2.20 according to the new instructions.
This should work, including proxy settings (which you have deleted).

Pako
You know flattr ? You can Image

projazz
Posts: 5
Joined: Thu Sep 07, 2017 12:46 am

Re: PushBullet plugin (Pako)

Post by projazz » Thu Sep 14, 2017 2:02 pm

Thanks Pako!

0.2.20 works great!

-Andrew

akamiking
Posts: 7
Joined: Tue Sep 12, 2017 6:29 am

Re: PushBullet plugin (Pako)

Post by akamiking » Sat Sep 16, 2017 6:42 pm

Been on the new version now and it's working wonderfully!

Thanks for all the hard work on this Pako!

jachin99
Experienced User
Posts: 219
Joined: Sat Feb 13, 2016 8:39 pm

Re: PushBullet plugin (Pako)

Post by jachin99 » Wed Sep 20, 2017 3:33 pm

Pako, I'm getting this in my log while trying to install your plugin on EG 5 RC 4 on both WIn 10 and 7.
Error loading plugin file: C:\Program Files (x86)\EventGhost\plugins\PushBullet

Traceback (most recent call last) (0.5.0-rc4):
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 290, in <module>
from ImageGrab import grab, grabclipboard
ImportError: No module named ImageGrab

How should I start troubleshooting this?

User avatar
Pako
Plugin Developer
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post by Pako » Thu Sep 21, 2017 5:08 am

Unfortunately, I can not provide support for the 0.5.0 version for now. Please write your post here: Beta Version Bug Reports.

Pako

jachin99
Experienced User
Posts: 219
Joined: Sat Feb 13, 2016 8:39 pm

Re: PushBullet plugin (Pako)

Post by jachin99 » Thu Sep 21, 2017 2:53 pm

I just posted about it over there so we'll see what happens

Post Reply