Bug reports will be moved here when the described bug has been fixed
Moderators: Hacker , petermad , Stefan2 , white
Stiltzkin
Member
Posts: 194 Joined: 2004-09-10, 17:15 UTC
Post
by *Stiltzkin » 2021-03-11, 11:58 UTC
steps to reproduce:
windcmd.ini:
Code: Select all
[ReplaceIniLocation]
RedirectSection=%COMMANDER_PATH%\Settings\plugins.ini
plugins.ini:
Code: Select all
[ReplaceIniLocation]
ShellDetails.wdx=%commander_path%\Settings\Plugins\ShellDetails.ini
then select a custom column with ShellDetails columns or even try 'configure custom columns' -> crash without errormsg.
ghisler(Author)
Site Admin
Posts: 50532 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2021-03-11, 13:10 UTC
The [ReplaceIniLocation] function does not support environment variables - I will add it. Can you try with a complete path, please?
Stiltzkin
Member
Posts: 194 Joined: 2004-09-10, 17:15 UTC
Post
by *Stiltzkin » 2021-03-11, 14:24 UTC
it works as intended with a static path, yes:
tested with
Code: Select all
[ReplaceIniLocation]
ShellDetails.wdx=D:\Totalcmd\Settings\Plugins\ShellDetails.ini
davplug.wfx=D:\Totalcmd\Settings\Plugins\tcwebdav.ini
both work. thanks
ghisler(Author)
Site Admin
Posts: 50532 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2021-03-11, 14:26 UTC
Great, then I will just have to replace the environment variables before passing the path to the plugin.
Hurdet
Power Member
Posts: 716 Joined: 2003-05-10, 18:02 UTC
Post
by *Hurdet » 2021-03-12, 18:41 UTC
I have similar problem with 7zip.
Do plugin have to support *SetDefaultParams function?
ghisler(Author)
Site Admin
Posts: 50532 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2021-03-14, 13:57 UTC
ReplaceIniLocation only sends the location to the plugin via SetDefaultParams. It depends on the plugin whether it supports that or not.
Hurdet
Power Member
Posts: 716 Joined: 2003-05-10, 18:02 UTC
Post
by *Hurdet » 2021-03-14, 16:05 UTC
Where to find documentation to update a wcx?
ghisler(Author)
Site Admin
Posts: 50532 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2021-03-15, 18:02 UTC
In the normal CHM for packer plugins available on our plugins page. It has been like this for many years.
Look for the function
PackSetDefaultParams
especially the parameter
DefaultIniName
petermad
Power Member
Posts: 16032 Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:
Post
by *petermad » 2021-03-19, 00:33 UTC
history.txt wrote: 12.03.21 Added: wincmd.ini, section [ReplaceIniLocation]: entries didn't support environment variables like %commander_path% (32/64)
Confirmed fixed in TC 10 b2 :-=