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.

Can I really be this Dense?

If you have a question or need help, this is the place to be.
Post Reply
robpar
Posts: 4
Joined: Tue May 18, 2010 7:06 pm

Can I really be this Dense?

Post by robpar »

I am a nooby here and I am trying to get started with Event Ghost

I am running version 0.3.7.r1462 on Win XP
I have been going through the tutorial and have written the sample plugin and the
tutorial says "Start EventGhost, add your plugin to the tree and fire up the AddActionDialog"

I have been trying for several hours and I have not been able to add the Plugin to the tree let alone fire up the AddActionDialog.

I did search the site here but could not find anything that mentions how to do this. I am sorry for being this stupid but if someone could aim me in the right direction I would be very happy.

Bob Parry
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Can I really be this Dense?

Post by jonib »

You saved the plugin in EventGhost\Plugin\(Name of plugin)? and started/restarted EventGhost? then you should be able to add the plugin in EventGhost with Add Plugin menu.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
robpar
Posts: 4
Joined: Tue May 18, 2010 7:06 pm

Re: Can I really be this Dense?

Post by robpar »

That is what I did, but nothing shows up under "Other".

Is there something special about the name I gave it, Bobs_try, ?
Everything else was copied from the tutorial.

Bob Parry
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Can I really be this Dense?

Post by jonib »

robpar wrote:Is there something special about the name I gave it, Bobs_try, ?
The filename needs to be __init__.py, the directory name could be anything.

Attach your plugin and I'll see if it works for me. I used the tutorial when I did my XBMCRepeat plugin, so I know it works.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
robpar
Posts: 4
Joined: Tue May 18, 2010 7:06 pm

Re: Can I really be this Dense?

Post by robpar »

I noticed that in the other folders there is a compiled Python file that mine does not have.

I have attached the plugin I am working with.

Thank you for all your help.

Bob Parry
Attachments
_init_.py
(392 Bytes) Downloaded 53 times
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Can I really be this Dense?

Post by stottle »

The file needs double underscores before/after init: "__init__.py", not "_init_.py".

You only have single underscores. After struggling with that for so long, I'm sure you'll never make that mistake again!

Brett
Post Reply