[bug??] cm_UnloadPlugins doesn't work anymore

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

[bug??] cm_UnloadPlugins doesn't work anymore

Post by *StickyNomad »

After years of using TC I recently used this command the first time ever for testing purposes. The very first time I invoked this command, it did what I expected. But since then this command simply doesn't work anymore and all plugins stay active, even after restarting the System :?

Maybe the cause is some crude configuration hassle on my machine, but before doing a detailled search for the possible cause I'd like to know if anybody can reproduce this...

WinXP SP2, tested with TC6.53 & 6.54pb2
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Please use Unlocker to test which process lock the plugins and if something changes after cm_unloadplugins:
http://ccollomb.free.fr/unlocker/

Icfu
This account is for sale
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

Thanks, I'll check that.
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

Hm, I tried unlocker (nice tool as always, btw!) and here you can see its output after right clicking my plugins folder. Actually I don't know if those TC locks on Imagine and Synplus are normal or not.

I disabled these two plugins in TCPlugMan to see if TC would unload the remaining ones, and
also tried 'unlock all', but cm_unloadplugins still refuses to work.

I'm wondering what could be the reason for this strange behaviour. A solution is not mandatory though, as I usually don't use that feature, it's mainly curiosity that drives me...
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2StickyNomad
[OT] It that avatar your creation? Someone in a hungarian forum is using the same... ;-)
I switched to Linux, bye and thanks for all the fish!
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3300
Joined: 2003-05-06, 11:46 UTC

Re: [bug??] cm_UnloadPlugins doesn't work anymore

Post by *Sir_SiLvA »

StickyNomad wrote:WinXP SP2, tested with TC6.53 & 6.54pb2
Cant confirm that - just used that command with pb2 yesterday and it worked as ever.
Hoecker sie sind raus!
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

2StickyNomad :

Just a hint:
Make sure you have closed every Lister window and Quickview pane before performing cm_unloadplugins !
You can unload idle plugins only ...
#5767 Personal license
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Re: [bug??] cm_UnloadPlugins doesn't work anymore

Post by *Sheepdog »

StickyNomad wrote:Maybe the cause is some crude configuration hassle on my machine, but before doing a detailled search for the possible cause I'd like to know if anybody can reproduce this...

WinXP SP2, tested with TC6.53 & 6.54pb2
How do you check if the plugin is unloaded or still loaded?

sheepdog
Last edited by Sheepdog on 2006-01-20, 14:49 UTC, edited 1 time in total.
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

Thanks all for your answers!

2sqa_wizard
Thanks, I tried that already.

2Sheepdog
How do you check if the plugin is unloaded or still loaded?
Oh, damn! This brings mo to a point I didn't think about until now:
To test if a plugin is still active I just hit F3 on some plugin-supported file (image, sourcecode, whatever) and wondered why the plugin still opened after having invoked cm_unloadplugins before.
I assumed that all plugins would be permanently disabled for the actual TC session. Am I totally wrong with that and every plugin is reloaded again automatically when invoked after unloading?

If that's the case, a big bunch of shame on me for creating this hassle :oops:

2SanskritFritz
My sig is taken from Douglas Adams' great dictionary 'The deeper meaning of liff'.
Too bad someone uses it already, maybe I'll search for a new one, there are many funny entries in that book :D I can really recommend this if you like Adams.
Last edited by StickyNomad on 2006-01-20, 14:34 UTC, edited 1 time in total.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Am I totally wrong with that and every plugin is reloaded automatically when invoked?
Exactly. cm_UnloadPlugins is only useful for unloading the DLLs so you can for example upgrade a plugin without restarting TC.

Icfu
This account is for sale
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

:oops: Dang! Thanks for your help and sorry again. I simply totally misunderstood this functionality :oops:

Seems I've been the victim of a...
Quenby (n.)
A stubborn spot on a window which you spend twenty minutes trying to clean it off before discovering that it's on the other side if the window.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Thou shalt be forgiven! ;)

Icfu
This account is for sale
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

StickyNomad wrote::oops: Dang! Thanks for your help and sorry again. I simply totally misunderstood this functionality :oops:
To view files in Lister without any plugin use [Alt]+[Shift]+[F3].

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2Sheepdog
Thanks, I know that. The reason for me trying this out is I just wanted to create an Autohotkey Script as a workaround for this user's problem in a german thread and tried to be smart and let the script unload all plugins first to prevent the delayed opening of the find dialog stated by th user...

Now that I know a little more I can play around and maybe I can assemble a quite usable solution (at least if I'm faster than the AHK Gurus around here :wink: )
Post Reply