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.
Post Reply
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 »

New version (0.0.20) released.
News:
  • better text wrapping of mirrored notification
  • the ability to copy text from an incoming message in the Reply dialogue
  • disabling / enabling of mirroring for each application works again
Pako
You know flattr ? You can Image
cableghost
Posts: 37
Joined: Thu Oct 10, 2013 9:43 pm

Re: PushBullet plugin (Pako)

Post by cableghost »

When I attempt to add the plugin, EG freezes...I must FC and reopen EG.
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 »

I just now tried to add a plugin into the empty configuration.
No problems here.
What version of EventGhost you have?
You must have version r1669 or later.

Pako
You know flattr ? You can Image
cableghost
Posts: 37
Joined: Thu Oct 10, 2013 9:43 pm

Re: PushBullet plugin (Pako)

Post by cableghost »

Pako wrote:You must have version r1669 or later.
Thanks: I did not have the latest EG installed.
cableghost
Posts: 37
Joined: Thu Oct 10, 2013 9:43 pm

Re: PushBullet plugin (Pako)

Post by cableghost »

I would like to use this plugin to send a Note that a uTorrent download has completed; uTorrent has an option to run a bat/other file.

Input would be appreciated in configuring a EG-based bat to send PB note.
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 »

cableghost wrote: uTorrent has an option to run a bat/other file
So in that case it is very easy.
1) Create a bat file (the path may be different in your case):

Code: Select all

"C:\Program files\EventGhost\EventGhost.exe" -event uTorrentDownloadCompleted
2) Create a macro in the configuration tree:
DownloadCompleted.png
3) Turn on the execution of the bat file when the download is completed

Note:
Perhaps it is unnecessary to use the bat file, if uTorrent can directly execute the same command ...

Pako
You know flattr ? You can Image
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 »

New version (0.0.21) released.
News:
  • checkbox "Disable popping up of mirrored notification" changed to "Enable popping up of mirrored notification"
  • added action "Set popups" (enables, disables or toggles popups)
  • added action "Get states of popups"
  • action Push - added "smart" button "Apply, push and close"
  • an image of the sender (on "Quick-Reply" dialogue) is now better
  • reply buttons are now accompanied by an icon
Pako
Attachments
PB_SetPopups.png
PB_PushSmartButton.png
PB_ReplyButtons.png
You know flattr ? You can Image
shaggy79
Experienced User
Posts: 129
Joined: Sun Jul 13, 2014 4:57 pm

Re: PushBullet plugin (Pako)

Post by shaggy79 »

Please Help.....
I'm new to all this EG and stuff, I have this working from desktop to my phone but can't get it to work through EG ?

I installed the plugin but it asks for "API KEY". I got a key from website but it still don't work ?

Don't know what this means? it comes up in RED on the left payne of EG. I hope you can help ......

wxError1: Can't load image from file 'C:\Program Files\EventGhost\plugins\PushBullet\icons\Note.png': file does not exist.
Traceback (most recent call last) (1669):
File "C:\Program Files\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
self.Configure(*args, **kwargs)
File "C:\Program Files\EventGhost\eg\Classes\ConfigDialog.py", line 165, in Configure
treeItem.Configure(*args)
File "C:\Program Files\EventGhost\eg\Classes\ActionItem.py", line 101, in Configure
return self.executable.Configure(*args)
File "C:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 2408, in Configure
g = grayed(bmp)
File "C:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 253, in grayed
img = bmp.ConvertToImage()
File "wx\_gdi.pyc", line 618, in ConvertToImage
PyAssertionError: C++ assertion "bmp.Ok()" failed at ..\..\src\msw\dib.cpp(148) in wxDIB::Create(): wxDIB::Create(): invalid bitmap
Traceback (most recent call last) (1669):
File "wx\_core.pyc", line 14660, in <lambda>
File "C:\Program Files\EventGhost\eg\Core.py", line 197, in Notify
listener(value)
File "C:\Program Files\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 844, in OnNodeSelected
path = node.GetPath()
File "C:\Program Files\EventGhost\eg\Classes\TreeItem.py", line 377, in GetPath
path.append(parent.childs.index(item))
AttributeError: 'NoneType' object has no attribute 'childs'

Also I get this :-
PushBullet: Chosen nickname "MYPCNAME" is already used for other device, than the "EventGhost" !!!

Thanks Paul.
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 »

shaggy79 wrote:Can't load image from file 'C:\Program Files\EventGhost\plugins\PushBullet\icons\Note.png': file does not exist.
It appears that you have not properly installed plugin.
You have followed the instructions?

Pako
You know flattr ? You can Image
shaggy79
Experienced User
Posts: 129
Joined: Sun Jul 13, 2014 4:57 pm

Re: PushBullet plugin (Pako)

Post by shaggy79 »

I will delete it and start again...........
shaggy79
Experienced User
Posts: 129
Joined: Sun Jul 13, 2014 4:57 pm

Re: PushBullet plugin (Pako)

Post by shaggy79 »

Pako wrote:
shaggy79 wrote:Can't load image from file 'C:\Program Files\EventGhost\plugins\PushBullet\icons\Note.png': file does not exist.
It appears that you have not properly installed plugin.
You have followed the instructions?

Pako

:oops: woops I just downloaded the -init- file :oops:

I got it sorted now well sort of lol
Thanks Pako
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: PushBullet plugin (Pako)

Post by piert »

Pako,

I am really enjoying your Pushbullet plugin, thanks for this great contribution.

Your plugin requires latest Eventghost version, so I want to upgrade Eventghost now.
I don't want to mess anything up, so I was looking at the exact upgrade procedure for Eventghost, but I could not find it anywhere?
I came up with the following list of questions that I hope you can help me with.

1. When upgrading, do we need to first uninstall the previous version of Eventghost, or is this automatically taken care of when executing the installer .exe file?
2. When doing an automatic or manual upgrade, do we need to make back-ups of any files first?
3. If back-ups are needed, where do we need to look for these files and what are they?
4. If back-ups are needed, can the backed up files be placed back at the same locations they came from after the upgrade is completed?
5. I have noticed that for the upgrading of some plugins, all related existing actions/macros in Eventghost must be deleted first. Is this the case for the Puhbullet plugin as well? (that procedure is very painful if there are many macros using such a plugin; is there an alternative to manually looking for each instance and deleting them and maybe an easy way to back-up the codes for replacing them after upgrading the plugin?)

Thanks and best regards,
Perry
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 »

1.) You do not need to uninstall the older version. It will be automatically overwritten by new files.
2.) Backup is always good (xml file), you do not know what can happen. But if all goes normally, it is not required.
3.) -
4.) -
5.) No special procedure is required. However, I can not guarantee that a problem may occur. Then it would be enough to remove the problematic action and then re-add and configure.

Note: At the moment, there is one exception. After the upgrade you need to open the plugin and set the "Enable popping up of mirrored notification" (it was changed to the inverse).

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, the new Pushbullet now works on my test rig.
I do have two non-Pushbullet error messages that I will post in another thread regarding the latest Eventghost version.

Regards,
Perry
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: PushBullet plugin (Pako)

Post by piert »

Oops, spoke too soon, got the following error in the logs after a few minutes:

Code: Select all

14:55:49   WARNING:tornado.general:SSL Error on 1748 ('173.255.112.173', 443): [Errno 1] _ssl.c:480: error:04077068:rsa routines:RSA_verify:bad signature
14:55:49   PushBullet: WebSocket closed
14:55:49   Exception in thread Thread-12:
14:55:49   Traceback (most recent call last):
14:55:49     File "threading.pyc", line 532, in __bootstrap_inner
14:55:49     File "threading.pyc", line 484, in run
14:55:49     File "C:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 1353, in startWsc
14:55:49       wsc.start()
14:55:49     File "C:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 482, in start
14:55:49       self.io_loop.start()
14:55:49     File "C:\Program Files\EventGhost\lib26\site-packages\tornado\ioloop.py", line 696, in start
14:55:49       self.handle_callback_exception(self._handlers.get(fd))
14:55:49     File "C:\Program Files\EventGhost\lib26\site-packages\tornado\ioloop.py", line 491, in handle_callback_exception
14:55:49       app_log.error("Exception in callback %r", callback, exc_info=True)
14:55:49   TypeError: error() got an unexpected keyword argument 'exc_info'
14:55:49   

This happens immediately after the Tornado error message, which I also don't know what it is...

Edit: for information: using version 0.4.1 r. 1669 dated 9 June 2014 and followed the procedures at the beginning of this thread.
Post Reply