Something nasty has happened...

Discuss and share scripts and script files...
oblivion
Posts: 142
Joined: 13 Apr 2011 11:35

Something nasty has happened...

Post 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. :)
-- bests, Tim

...This space unintentionally left blank.

oblivion
Posts: 142
Joined: 13 Apr 2011 11:35

Re: Something nasty has happened...

Post 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.
-- bests, Tim

...This space unintentionally left blank.

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Something nasty has happened...

Post by admin »

You should post this in the SessionManager thread...

oblivion
Posts: 142
Joined: 13 Apr 2011 11:35

Re: Something nasty has happened...

Post 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
-- bests, Tim

...This space unintentionally left blank.

klownboy
Posts: 4140
Joined: 28 Feb 2012 19:27

Re: Something nasty has happened...

Post 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.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Something nasty has happened...

Post by admin »

Step through the script... what is stopping you?

klownboy
Posts: 4140
Joined: 28 Feb 2012 19:27

Re: Something nasty has happened...

Post 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. :)
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Something nasty has happened...

Post by admin »

4000 lines of code... uiuiui :whistle:

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Something nasty has happened...

Post by admin »

Would be interesting to know which exact beta version started the trouble.

WirlyWirly
Posts: 195
Joined: 21 Oct 2020 23:33
Location: Through the Looking-Glass

Re: Something nasty has happened...

Post 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.

klownboy
Posts: 4140
Joined: 28 Feb 2012 19:27

Re: Something nasty has happened...

Post 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.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Something nasty has happened...

Post by admin »

For a long time now all betas can be downloaded directly from the beta thread :whistle: : viewtopic.php?p=206625#p206625

klownboy
Posts: 4140
Joined: 28 Feb 2012 19:27

Re: Something nasty has happened...

Post 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.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Something nasty has happened...

Post by admin »

Could be. Set a breakpoint (step;) in the code where "listfolder" or "listpane" are called and see what happens.

klownboy
Posts: 4140
Joined: 28 Feb 2012 19:27

Re: Something nasty has happened...

Post 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();
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

Post Reply