Page 1 of 2
Something nasty has happened...
Posted: 16 Jan 2023 19:18
by oblivion
SessionManager has suddenly stopped working as expected -- since updating to the current beta this morning.
My workflow is lying in a corner, panting... basically, the list of defined sessions is no longer displayed.
I think the last beta I was using was 0412 -- I'm going back to that one and will report back if I'm wrong.

Re: Something nasty has happened...
Posted: 16 Jan 2023 19:26
by oblivion
Yes, 0412 is still OK with SessionManager's session list. I've lost the carefully assigned icons but the basic functionality is back.
Re: Something nasty has happened...
Posted: 16 Jan 2023 19:33
by admin
You should post this in the SessionManager thread...
Re: Something nasty has happened...
Posted: 16 Jan 2023 19:49
by oblivion
Will do - but as it's an issue that's appeared somewhere between beta 412 and 419 I thought you might want to be aware, in case it's an xy issue rather than anything that's specifically down to the script
Re: Something nasty has happened...
Posted: 16 Jan 2023 21:27
by klownboy
Yeah, stopped working for me also. Only the standard menu items appear, no actual sessions. So, I suppose it had to be an XYplorer change that affected it since Flux hasn't touched it for a while.
Re: Something nasty has happened...
Posted: 16 Jan 2023 21:40
by admin
Step through the script... what is stopping you?
Re: Something nasty has happened...
Posted: 16 Jan 2023 21:47
by klownboy
At the moment, nothing stopping me, but running errands and the fact that it's over 4000 lines of code. Later I will.

Re: Something nasty has happened...
Posted: 16 Jan 2023 21:50
by admin
4000 lines of code... uiuiui

Re: Something nasty has happened...
Posted: 17 Jan 2023 23:29
by admin
Would be interesting to know which exact beta version started the trouble.
Re: Something nasty has happened...
Posted: 17 Jan 2023 23:50
by WirlyWirly
The tabsets appear to still load properly using the built-in
tabset() function.
I posted an
example usage of the function in the SessionManagers thread. Works fine, faster even than using the SessionsManager for loading.
Re: Something nasty has happened...
Posted: 18 Jan 2023 01:25
by klownboy
admin wrote: ↑17 Jan 2023 23:29
Would be interesting to know which exact beta version started the trouble.
Don, I would try to pinpoint the beta, but I don't see the betas for 23.90.04XX on the Unofficial XYplorer Archive.
Re: Something nasty has happened...
Posted: 18 Jan 2023 11:05
by admin
For a long time now all betas can be downloaded directly from the beta thread

:
viewtopic.php?p=206625#p206625
Re: Something nasty has happened...
Posted: 18 Jan 2023 12:02
by klownboy
Sorry Don, the last time I went back to retrieve old betas directly from the site, I always got the latest. Good to know. Thanks.
I installed 23.90.4010 through 23.90.0417 and the sessions show for all those betas. It was at beta 23.90.0418 that they stopped appearing on the menu. So possibly the SC listpanel listfolder change? Those older ones were not showing the icons though, but that may be due to some other issue associated with running these older betas.
Re: Something nasty has happened...
Posted: 18 Jan 2023 12:16
by admin
Could be. Set a breakpoint (step;) in the code where "listfolder" or "listpane" are called and see what happens.
Re: Something nasty has happened...
Posted: 18 Jan 2023 12:37
by klownboy
There are no SC listpanel's in Flux's script. He does use SC listfolder. At lie 355 there is this code which is supposed to list the tabsets.
Code: Select all
set $d_xtra;
$l_allTabsets = listfolder(<xydata>."\Panes", , "6");
$l_allTabsets_1 = replace(regexmatches($l_allTabsets, "§1§_[^\|]+", "|"), "§1§_");
$l_allTabsets_2 = replace(regexmatches($l_allTabsets, "§2§_[^\|]+", "|"), "§2§_");
$l_allTabsets comes out empty. He uses the flag 0f "6", 2 and 4, which are no files, no paths. I ran
e listfolder(<xydata>."\Panes", , "6"); and
e listfolder(<xydata>."\Panes"); independently from "Run script" and both came up blank. Empty result on all these attempts...
Code: Select all
e listfolder(<xydata>."\Panes");
e listfolder("<xydata>\Panes");
e listfolder(<xydata>."\Panes")
e listfolder("<xydata>");
e listfolder();