Page 1 of 1

XY won't start

Posted: 19 Dec 2024 11:59
by Daniel0312
hi
Bad surprise today my XY won't start with my usual configuration.
As far as I know, I've changed nothing.
There must be something wrong with my ini file but, I just can't restore the last (or supposed so) working one.
20241219_115355.png
20241219_115355.png (9.92 KiB) Viewed 1378 times
Maybe this screen capture can give a hint as to what went wrong, and hopefully an easy wy to fix it.
Thanks

Re: XY won't start

Posted: 19 Dec 2024 12:26
by admin
The error occurred while initializing custom file icons. Does this give you any idea?

Re: XY won't start

Posted: 19 Dec 2024 12:58
by Daniel0312
Hum... I did indeed do a few changes yesterday in CFI, so it could very well be related.
Shouldn't setting

Code: Select all

EnableCustomFileIcons=0
in off-line ini file enable me to start ? I just tried but no luck, same message.

Re: XY won't start

Posted: 19 Dec 2024 13:15
by Daniel0312
update...
I found another ini file whith a slightly different set of CFI, (mostly I guess the ones before my yesterday changes) replaced the faulty [FileIcons] section, and XY started just fine.
It seems the CFI are read even if they are disabled.

Re: XY won't start

Posted: 19 Dec 2024 13:20
by admin
Send me the corrupt one so I can fix the bug.

Re: XY won't start

Posted: 19 Dec 2024 13:39
by Daniel0312
I was going to edit my last post : I found the reason, not sure if it's a bug or a non-conventional use of things on my part !
I'm using a permanent variable initialized at XY start to the drive letter of one of my drives.

Code: Select all

perm $p_USB = "U:\";
then I use

Code: Select all

<perm p_USBprogs>\>USBprogs.ico
in the CFI definition ยป XY doesn't like.

Using an alias previously defined work though

Code: Select all

<@USB>>USB_box.ico

Re: XY won't start

Posted: 19 Dec 2024 13:41
by Daniel0312
sorry...
second cote is wrong :oops:

Code: Select all

<perm p_USB>>USB_box.ico

Re: XY won't start

Posted: 19 Dec 2024 14:00
by admin
Thanks, got it, bug :bug: , fixed :beer:

Re: XY won't start

Posted: 19 Dec 2024 17:31
by Daniel0312
XYplorer 26.70.0401 started just fine.
Thanks :tup: