With beta v24.30.0113 missing icons and calls to undefined functions

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

With beta v24.30.0113 missing icons and calls to undefined functions

Post by klownboy »

Hi Don , with this last beta, v24.30.0113, when I run some menu type scripts, I randomly get no icons on menus other times they're displayed (50% of the time). I'm also getting numerous errors, "calls to undefined functions" in scripts like FluxTorpedoe's, "SessionManager". I'll try to provide more information when I get more time. Thanks.

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

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Post by admin »

Must be the new speed booster. But I don't have any problems here yet.

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Post by FluxTorpedoe »

Sorry I missed this post…
The function error can be reproduced even with a very small script like the one I posted here (just as-is, no need to add content):
https://www.xyplorer.com/xyfc/viewtopic.php?p=210012#p210012

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

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Post by admin »

I'll upload a new beta soon. Ironically the fix makes it again a little faster. :) (Though this time unnoticeable.)

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Post by FluxTorpedoe »

Hi, thanks for the quick update.
Tried with v24.30.0114, and same behavior:
   — On first run, function works
   — On subsequent runs: “not a valid script command”
   — If another script is loaded, it “resets” and works again once

• Simple script to replicate:

Code: Select all

"Function Test"
	fun();

function fun() {
	msg 1;
}

Horst
Posts: 1400
Joined: 24 Jan 2021 12:27
Location: Germany

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Post by Horst »

I have reported problems with this Speed booster in another thread.
I think such a change should be first tested in a closed beta by a small number of real script writers.
Specialy as a script speed boost will only be seen by a small number of scripts
running on a high amount of data.
Windows 11 Home, Version 25H2 (OS Build 26200.9278)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1423b (x64), Everything Toolbar 3.2, Listary Pro 7.0.0.9 beta

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

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Post by admin »

FluxTorpedoe wrote: 22 Apr 2023 16:58 Hi, thanks for the quick update.
Tried with v24.30.0114, and same behavior:
   — On first run, function works
   — On subsequent runs: “not a valid script command”
   — If another script is loaded, it “resets” and works again once

• Simple script to replicate:

Code: Select all

"Function Test"
	fun();

function fun() {
	msg 1;
}
Cannot reproduce any issues. :? How exactly do you call this script?

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Post by FluxTorpedoe »

 — v24.30.0114 unpacked in “D:\Temp\XYplorer” (nothing else changed)
 — Script "Test.xys" in <xyscript>
 — In Address bar:   ::load "Test.xys" (same if added to UDC)
 > First run > OK: Message “1” displayed
 > Next run > “'fun' is not a valid script command.”

 > Close and reopen XYplorer
 > First run > OK, etc.

klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Post by klownboy »

I'm getting similar behavior with v24.30.0114 as well. With a CTB that loads a script with
load "<xyscripts>\RecentFolders&Favs.xys", "_loadrecent"; load "<xyscripts>\RecentFolders&Favs.xys";. It runs fine on first run but not on subsequent runs unless another script is run first. As you can see, it runs a script label first and then runs the main script. I'll try to provide a simplified example if I can.

Edit: It's with this script that I initially saw the issue in the first post (i.e., the menu icons load on the first run but are not there on subsequent runs unless another script is run first).

klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: With beta v24.30.0113 missing icons and calls to undefined functions

Post by klownboy »

With beta v24.30.0115, both issues reported on the first post have been obliterated. :tup:

Post Reply