4.2 bugs

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Message
Author
User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: 4.2 bugs

#161 Post by Keith Baxter »

Hi @Corjan

When AM 4.2 beta7 caused the CTD I did a backup of my original AM4.2 beta6 OPEN_DIRECTORY folder.

Today I copied that folder that was working in AM4.2 beta6 back to AM4.2 beta8 and there are issues.

Am try's to load then refuses to show/open on the screen. The icon shows on the bottom of the screen like in the image but clicking on the page to open produces nothing.
Removed the OPED_DIRECTORY folder and replace with another one and all works fine.
This old folder is the one that had the empty UUID folder instruments in it and the other one/"s that were causing CTD

Any ideas?

I will not be around tomorrow but will be back on Monday. If you have any questions.


.
IMG_5619.png
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: 4.2 bugs

#162 Post by SimPassion »

Hi Keith, I guess, there's still some empty folders, sub-folders, or improper instrument configuration in it, so AM is unable to start properly
Have you seen the log file, is there some bit of track in it ?

Gilles

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: 4.2 bugs

#163 Post by Keith Baxter »

SimPassion wrote: Sat Feb 25, 2023 10:41 pm Hi Keith, I guess, there's still some empty folders, sub-folders, or improper instrument configuration in it, so AM is unable to start properly
Have you seen the log file, is there some bit of track in it ?

Gilles
Gilles,
I will take a look at the errors in the log file this evening. I am going out for the day.

@Corjan Looks like AM4.2 cannot handle some errors.
log.txt
(4.47 KiB) Downloaded 44 times
Keith

EDIT: Had a quick look at one of the offending code...

Code: Select all

2023-02-26 07:03:07 ERROR InstrumentScanner - test notepad - wave CLONE2: Error loading instrument script: [string "logic.lua"]:16: ')' expected (to close '(' at line 15) near '_fill'
Sure enough I had a bracket missing. Not sure this is the issue though.

Code: Select all

    canvas_draw(n1_1_mask, function()
        _rect(0,0,30,200-(n1_1*10)
        _fill("black")
    end)
I will have a look at this one tonight. Looks like something amiss with the charts

Code: Select all

2023-02-26 07:03:08 ERROR SiFile - Failed to open path 'C:\Users\Keith/Air Manager BETA/instruments/OPEN_DIRECTORY/e7238dec-4a07-4398-81a6-fc5c0d9cdd2b/lib/charts' (Permission denied)
OK with this one the chart images folder was in the lib folder and not the resources folder. How that happened I do not know. Strange.
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: 4.2 bugs

#164 Post by Keith Baxter »

Hi @Corjan

I removed all the faulty instruments so that no were showing in the log.txt. This did not help.

I completely emptied the OPEN_DIRECTORY folder. Now when I start AM It opens like so.
ice_screenshot_20230227-103712.png
However I cannot resize it by dragging the edges nor can I move it
I can get it full screen by right clicking on the task bar and selecting maximize.

I do not mind doing a few re-installs and spending some time trying to find the cause but thought you might want to take a look before I go and do re_installs.

Please let me know if you want to. I know you are extremely busy and I don't mind waiting a few days for when you have a spare moment

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: 4.2 bugs

#165 Post by Keith Baxter »

Ha Ha

I added one instrument to the OPEN_DIRECTORY and now it works 100%
This is the log.txt

Code: Select all

2023-02-27 10:27:34 INFO  System - Initializing
2023-02-27 10:27:34 INFO  System - HW id = 1ba52b50c47f72c9a3cbccff82b82b48
2023-02-27 10:27:34 INFO  EntityManager - Starting Air Manager Home Use 4.2.8 (Home Use, Activated) (JAVA=17.0.4.1)
I will see if I can find the culprit/s and revert.

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: 4.2 bugs

#166 Post by Keith Baxter »

Hi,

I don't know what to say. Copied all the instruments back and AM4.2 beta8 working OK. Do not know what caused the issue as I only added the contents of the backup OPEN_DIRECTORY folder.

I will keep an eye on it and if if happens again will revert.

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Sling
Posts: 5242
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: 4.2 bugs

#167 Post by Sling »

Keith when you take them all out and put them back it later are you letting AM create a new folder structure. Only reason I ask this is sometimes the config can get corrupted and letting it recreate the AM folder structure and then re-loading just the instruments/panels will fix it. I wonder if this is what you are seeing.

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: 4.2 bugs

#168 Post by Keith Baxter »

Sling wrote: Tue Feb 28, 2023 7:50 am Keith when you take them all out and put them back it later are you letting AM create a new folder structure. Only reason I ask this is sometimes the config can get corrupted and letting it recreate the AM folder structure and then re-loading just the instruments/panels will fix it. I wonder if this is what you are seeing.
Might be Tony,

However I did do a few computer restarts to make sure the folders had updated correct.

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: 4.2 bugs

#169 Post by Keith Baxter »

Hi,
@Corjan The <hw_chr_display_add()> is broken in AM4.2 beta8. Many things do not work.

I wrote this instrument to demonstrate string formatting on the 8 digit MAX7219. This highlighted a few ""BUGS"" I think. This has nothing to do with the max. just a string format issue.

This image shows a string with a format. As far as I understand there should only be 9 items and there should not be a white space at the beginning.
ice_screenshot_20230318-091021.png
This is the same string but the format has a 0 in front. Note how there is no white space in front.
ice_screenshot_20230318-091052.png
Here is the instrument so that you can test. The black dots are dials to change the values.
Tool - Text Formater.siff
(2.88 KiB) Downloaded 40 times
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Ralph
Posts: 7933
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: 4.2 bugs

#170 Post by Ralph »

String.format is a Lua thing, not Air Manager. But yes, a space in front moves everything to the left, just as a space behind would move everything to the left. The zero gets discarded by string.format.

Post Reply