• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Noticing Warning message where there should not be one?

Messages
1,635
Country
unitedstates
I notice when I open a scenProc script it may show some warnings on a certain line of a script, and that is good. I do have a couple of lines that a certain file does not exist. What is strange is after I start the script it will post a few more warnings that a file does not exist.... and they do exist. Not only can I trace the path to make sure the file exist and is spelled correctly, but scenProc is using the script to make calculations, polygons, etc.

Example, here is a script I opened. It says one line 11 and line 40 the files do not exist which is correct. Notice on line 10 there is no mention that a file does not exist for line 10. It does exist so scenProc is working correctly at this point.

opened scenProc script.jpg


So now I run the script and additional warnings appear, particularly Line 10. It now says it does not exist?

opened scenProc script002.jpg


Can you check on this? Reason is not only for the message but I am having issues of scenProc freezing up when it use that particular file on Line 10. I am still investigating/testing for issues but this came to mind. Thx.
 
Update - I ran the same script with a previous version of scenProc - version 3.2.0.0 rc5eff130 9/3/2024. It still gave a warning that Line 10 does not exist, However the script completed. It did not freeze. ??? I ran it twice and it completed. Now I need to go back to the latest version and see if it locks up again.

2nd Update - The version that is "freezing" is v3.2.0.0 r54b0f9ff DEV 11/3/2024. By freezing I mean the app does not crash and there is no warning widow of any type. The progress bar which normally shows progress with some highlight bar running through it (for lack of a better term), is simply frozen. So I thought maybe it is still processing and just takes time. Well, the script normally takes 6.5 minutes to complete in full. The one freezing I will let run up to 30 minutes just to see if anything happens which it does not.

Nothing unique that I can see why it happens to freeze on this line as the line above it is the same type, note below:

CreateAGNPolyVeg|VegType= "sageLC" |{2903412b-69a1-4a63-94c9-a799b91afdbf} ---> This line works fine
CreateAGNPolyVeg|VegType= "scrubLC" |{f2888cee-1a5d-4467-8e4c-2a8f8d18c8b9} ---> this is where scenProc freezes

I tried different GUID but not an issue. and it is a common veg autogen to begin with.
 
Last edited:
Hi,

I can't remember I changed anything that would affect this recently, but let me try to reproduce this. The fact that changing a GUID makes a difference does not make sense, as the GUID is just stored.

Would it be possible for you to share the script and the files so that I can try with the same setup? Else I will have to try to make a similar script.
 
Good morning. Yes, I will share the files and script. It is a pretty lengthy and intricate script so I will see if I can slim it down and still get the same freeze. I'll give you a heads up when ready as I am in the middle of finishing a project and may take a bit to get it uploaded for you.
 
I have uploaded the files for you Arno, to test the scenProc freezing issue I am experiencing. It is a trimmed down version of my script to only show the issue and make the files smaller. Of course you will need to change the paths in my script to match where you will put my files. With this script you can see the blue progression bar moving (my bigger script does not show this), and while you may think it is just processing, this is where it will just sit on line 27... 'CreateAGNPolyVeg|VegType= "scrubLC" |{0533d2b5-2a93-4c4a-9660-069a3f73b921}'. S separate email was sent with the link.

FYI - When I run this script with the previous version of scenProc it takes 1.5 minutes and there are 1474 scrubLC objects created.

Thanks for double-checking my script.
 
I have checked the code and all scenProc does in the validation is checking of a file with that name does exist on your drive. So I am not sure why that can give mixed results.
 
Hi,

I can't reproduce the warnings about the files that do not exist. I changed all folders to the folder where I extracted the file. And I had the change the LC filename, since the file mentioned in the script was not part of the ZIP file (so I changed it to the one in the ZIP).

I can reproduce the issue that it gets stuck on line 27, let me check what is happening there.
 
Hi,

When introducing the improved 3D building logic I did some refactoring of code that is also used in the CreateAGNPolyVeg step, this caused that step to get into an endless loop, so that's why it was stuck. I have modified that logic to work like before again, so now the export works here.

Like I said before, I can't reproduce the file does not exist warnings. And looking at the code I can't see another way for them to appear that the file not existing on your disk.
 
Wow, that was fast! :D Looks like you already have a new release out so I will check 'er out tomorrow. At that time I will check again on those non-file exist warnings and let you know.
 
No, I did not push this fix to the development release.
 
Back
Top