Hi Guys,
It's my first day trying to write a plugin, so go easy on me..
After I have made changes to the plugins .py file, what's the best way to get it to reload?
Looks like I either have to delete the plugin (along with any actions) from the tree. Or close EG and restart it.
Is there an easier way to just do a reload/refresh?
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.
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.
How do I reload plugin
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: How do I reload plugin
I do not know if it's the easiest way, but I use restart EventGhost from the menu.TheOgre wrote:Is there an easier way to just do a reload/refresh?
It's simple. Just run the program with a command line argument -debug:Pako
Re: How do I reload plugin
thanks. I was having the same problem.
Re: How do I reload plugin
When I try to start it with -debug it just freezes.
Any ideas?
Also I noticed the restartprogram from the debug menu. Is there a way to call that from a python script?
Any ideas?
Also I noticed the restartprogram from the debug menu. Is there a way to call that from a python script?
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: How do I reload plugin
For me as well, I thought I had a local problemWhen I try to start it with -debug it just freezes
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: How do I reload plugin
Figured mine out.
I traced it back to a crappy plugin I threw together.
C:\Users\Carson\AppData\Roaming\EventGhost\Log.txt
Removed the plugin and it worked fine
Also Figured out how to do the restart:
I traced it back to a crappy plugin I threw together.
C:\Users\Carson\AppData\Roaming\EventGhost\Log.txt
Removed the plugin and it worked fine
Also Figured out how to do the restart:
Code: Select all
eg.app.Restart()