4.2 bugs
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: 4.2 bugs
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.
.
Keith
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.
.
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
-
- Posts: 5346
- Joined: Thu Jul 27, 2017 12:22 am
Re: 4.2 bugs
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
Have you seen the log file, is there some bit of track in it ?
Gilles
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: 4.2 bugs
Gilles,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
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.
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'
Code: Select all
canvas_draw(n1_1_mask, function()
_rect(0,0,30,200-(n1_1*10)
_fill("black")
end)
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)
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
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: 4.2 bugs
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.
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
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.
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
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: 4.2 bugs
Ha Ha
I added one instrument to the OPEN_DIRECTORY and now it works 100%
This is the log.txt
I will see if I can find the culprit/s and revert.
Keith
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)
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
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: 4.2 bugs
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
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
Re: 4.2 bugs
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.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: 4.2 bugs
Might be Tony,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.
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
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: 4.2 bugs
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. This is the same string but the format has a 0 in front. Note how there is no white space in front.
Here is the instrument so that you can test. The black dots are dials to change the values.
Keith
@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. This is the same string but the format has a 0 in front. Note how there is no white space in front.
Here is the instrument so that you can test. The black dots are dials to change the values.
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
Re: 4.2 bugs
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.