Refreshing library edits without restarting managers?

Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
TBURKE2
Posts:15
Joined: Tue Jun 02, 2015 6:08 pm

Refreshing library edits without restarting managers?

Post by TBURKE2 »

Quick question - I'm doing a lot of work editing small bits and pieces of library files, but in order to have the changes I make go into affect, I have to restart all the managers. Is there a single manager I can switch off and on to prevent closing and reopening the whole project, or a way to simply refresh the libraries so they take effect immediately?

Thanks.

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Refreshing library edits without restarting managers?

Post by Gertjan van Schijndel »

When a library is used by multiple managers, they all have to load the library. The loaded library is not shared thru an interprocess communication.
So you would only need to restart the manager, which uses the library. I never restart the whole project for a library change. In the Gedi you could use the 'Reload CTRL Libs' option from the 'Edit' menu, if it is not already automatically reloaded.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Refreshing library edits without restarting managers?

Post by leoknipp »

Hello,

reloading the library in the UI by the option to reload the libraries in Gedi is only possible if the library is not in use.
You have to close the Vision modules where panels are loaded which are using the library you have modified.

In rare cases this does not work, then you have to restart the manager. E.g. I had this problem when modifying the aes.ctl library.

Best Regards
Leopold Knipp
Senior Support Specialist

TBURKE2
Posts:15
Joined: Tue Jun 02, 2015 6:08 pm

Re: Refreshing library edits without restarting managers?

Post by TBURKE2 »

That was the manager I was changing as well, which explains why I had to fully restart the manager to get changes to take effect.

Oh well, I guess I'll keep doing what I'm doing.

Thanks!

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Refreshing library edits without restarting managers?

Post by mkoller »

Hint: on Linux, you can send a CTRL Manager the signal SIGUSR1 (from a shell) to let it reload all scripts and libs
(it will stop all scripts, reload all, restart scripts)

5 posts • Page 1 of 1