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

BUG? Missing Flights From Time Table Data Import

Messages
32
Country
us-kansas
I am using AIFP Version 3.1.09 which is the latest version as of this posting. I have been creating a AI Flight Plan for Spirit Airlines based on their time table from their site. I got all the Flights from the Time Table Put in and Figured out the Aircraft used from the flightmapper.net data. I used a spread sheet (using Open Office) and converted them into a tab separated Time Table text file. I imported them into my AIFP with the fewest FP option. After I did I checked the Time Table from inside the program and I noticed some missing flights such as from my home Airport of KMCI. I double check my time table data and verified I had a problem. In the original version I had all 3 types of Aircraft in it, so I separated one of the aircraft the A319 into a separate text file. I reran it again with the new single aircraft type time table and I still got missing Flights on my Time Table.

I have uploaded the A319 Aircraft version of my NKS Time Table Data (For help recreating the bug) and some images one showing missing flights on the KMCI Time Table where all flights are the same 319 Aircraft running daily on my time table data but it doesn't import that way into AIFP as you can see in the image and in the 2nd image showing the settings I used to import. I also had sit time program in box 8 but I still get the bug both ways.

I hate having so many missing flights from my Time Table Data, I hope you guys can fix this problem as I want to release this AI Flight Plan of this very popular airline (Those yellow birds do look awesome BTW) out to the public.

Edit deleted the 319 version of the Time Table. If you need it for bug testing send me a Conversation note.
 

Attachments

  • timetable.png
    timetable.png
    32 KB · Views: 519
  • createplans.png
    createplans.png
    46.7 KB · Views: 567
Last edited:
Not sure what you see as the problem. The source data contains 5 arrival and 5 departure legs to/from KMCI. The timetable shows the same..

Don
 
Gadgets,

Yea but it doesn't show all 5 flights as daily as my time table data shows. Such as showing 2 flights for Saturday when it should be 5, and 4 flights for Monday when it should be 5 also. So it should be 5 flights every day of the week.
 
I just discovered another bug here. I did rerun those flights plans with the settings above in that image but I had an 8 in the Sit Time Box and I removed it. But somehow the program thinks it's still there. When I do remove that number in that box it gives me an error saying "Invalid Column Numbere. Must be a positive integer" But it clears the box anyway, however the program still thinks I have a 8 there even though the box is blank. I workaround this by putting up a higher column number that is not on my Time Table Data. When I loaded up the timetable with the new settings it came up just fine for all routes as far as I can tell.

But If I have 8 in the Sit Time box in which I have a 41 minute sit time, then I will have missing flights on my time table data. I will have time table problems where I got missing flights in AIFP. The 41 minute time is based on the test sit time function in which it told me I would have a lean 35 FPs in there with 41 minutes.

On my full time table data file with all I am missing a Sunday Flight for KMCI (and lots others) when I load it up in AIFP. I don't want to post the full time table here but can I email it to ya? It is the same settings as above with out the sit times listed.
 
I'm quite confident the problem has nothing to do with the Timetable. Rather, I suspect the issue stems from the flight plans created from your data. So, I suggest we back up one step and deal with the flight plans.. Please send me either the flight plan file set created from your data or the compiled traffic file. I want to be sure we're looking at the same thing. If I get that/those file(s) data, I'll investigate tomorrow.

Don
 
I have just posted Development release 3.1.09(n) to http://stuff4fs.com. It appears to address your specific problem. I say "appears" because I didn't find any specific cause for it. However, during my investigation I found a potential exception and a couple other areas that needed attention. When I finished that, your issue seems to have disappeared.

Development Release (n) includes some other significant changes, including (as noted in a sticky above) a significantly enhanced Aircraft Editor and an enhanced Timetable function. So, some things may appear a little differently.

Please bear in mind that the success of the Open Timetable Data File feature is very much dependent on the accuracy of the source timetable data. Airline timetables often have gaps in them because aircraft are deadheaded outside the schedule. As well, in the case of your data, there are a few legs that don't appear to connect with other data. AIFP will now identify those legs so that you can address them manually.

I would also point out that the Balanced mode did not (and still does not) appear to have the difficulty you experienced.

Regarding your "invalid column number" report, I'm having difficulty following the sequence of events. If you are able to repeat the problem, please tell me step-by-step what you did and what you observed, leaving out the "program still thinks" stuff.

Don
 
Yes I got it but I hate that you took away the numbered Flight Plans. Now I no longer know how many FPs it produced! That feels like a major downgrade there as it makes it much harder to work with now as I got to manually count them! :(

Also the Test Sit Times Are not displaying correctly in the pop up window when I use that option when creating the Flight Plans from the Time Table Data. A temporary work around is to dump it to note pad and it displays correctly there. I uploaded a picture of that display problem.
 

Attachments

  • testsittimes.png
    testsittimes.png
    48.7 KB · Views: 507
Last edited:
I hate that you took away the numbered Flight Plans
I didn't intentionally take away anything. I was unaware that the FP counts were no longer shown. But, I now see what happened. In specifically identifying the timetable data entry that contains unassigned legs (which I trust you'll agree is an improvement), I inadvertently suppressed the FP count. I will restore it. But, you should know that the FP count is always displayed in the upper left portion of the Main Panel.

the Test Sit Times Are not displaying correctly
You didn't mention that yesterday. I do agree, the data in your screenshot does look a little suspicious. I'll investigate.

What about the sit time entry column problem?

Don
 
I have been able to retest that yet because I can't see the FP Numbers in the Flight Plan List. (So I don't know how many it produced or when I get errors on a certain FP Number I have a hard time Finding it) That was the only way to verify the bug really.

I also ran into an issue as I tried saving it as some of the Dead Head Flights that the settings produced are causing the "The total duration of this flight plan exceeds the selected repeat period" errors

Try running the file with the settings I sent ya with dead head closures and you will see the error.

As for the display bug I encountered it again in the Validation report box.

I attached some files one showing FP#3 where the first of many overlapping repeat period errors I had on my NKS Flight Plans file from the full Time Table Data and the other where I don't see the FP numbers anymore. (Why you take those out? I need those back to debug my Flight Plans really bad.)
 

Attachments

  • deadheadoverlap.png
    deadheadoverlap.png
    98.6 KB · Views: 435
  • aifpnofpnumbers.png
    aifpnofpnumbers.png
    146.9 KB · Views: 510
I also ran into an issue as I tried saving it as some of the Dead Head Flights that the settings produced are causing the "The total duration of this flight plan exceeds the selected repeat period" errors
As I tried to explain yesterday, AIFP can only react to the data its given. If the input data doesn't allow for a closed FP, AIFP will either report that fact or, at your direction, add a deadhead closure leg and tell you. In some cases, this may result in the repeat period being exceeded - especially in the Fewest FPs mode. I realise this is not ideal and I'll add a warning message when this arises. But, for the time being, that's all I can do.

Try running the file with the settings I sent ya with dead head closures and you will see the error
The difficulty is that you are being so cryptic in your reports that I am unable to know exactly what you are telling me. For example "As for the display bug I encountered it again in the Validation report box". What "display bug"? Which FP were you validating? I am happy to attempt to fix any problem that can be described in sufficient detail that I can reproduce it. But, I'm not about to go on a "fishing expedition" guessing at what you mean.

I don't see the FP numbers anymore. (Why you take those out? I need those back to debug my Flight Plans really bad.)
They will be returning

Don
 
The difficulty is that you are being so cryptic in your reports that I am unable to know exactly what you are telling me. For example "As for the display bug I encountered it again in the Validation report box". What "display bug"? Which FP were you validating? I am happy to attempt to fix any problem that can be described in sufficient detail that I can reproduce it. But, I'm not about to go on a "fishing expedition" guessing at what you mean.

Don

A Example of the error is in post 8 above from Version 3.1.09(r) it's virtually the same as the Test Sit Times Window, except This one is the Validation Report Window when I am saving (save file set as function) my flight plan that I imported from the data. I provided a screen shot of the item. This is all from my Spirit Time Table data I sent ya via PM.

Load the Spirit Time Table data with the following settings:

Flight Rules are IFR and ATC Calls are Flight Numbers.

From is Col 1
To is Col 2
Flight Number is Col 3
Departure Time is Col 4
Arrival ETA is Col 5
Days of the week is Col 6 with Mon-Sun week. Mon 1 and Sunday is 7
AC type is Col 7
Wait Time (in which I have on some of my TTs but not this one I am sending ya) is Col 8

Same FN setting is 240

I have Test Sit Times and Close Dead Heads checked.

After loading the Time Table data I did the save file set as function and that's when the Validation Report Window opens because of the close or overlapping connections.

That should reproduce the display error in both the Test Sit Times Window and the Validation Report

As I say the screenshot that I attached in this post shows the Validation Report showing the missing lines in the display and the Dump showing how it's supposed to be. I believe the 2 bugs are related to each other.

hopefully that expalins the way to reproduce the error on the Display for those 2 items.
 

Attachments

  • validationreportwithdump.png
    validationreportwithdump.png
    148.6 KB · Views: 515
I have (I believe) found a way to ensure there is time to complete a deadhead leg if necessary within the repeat period. I'm surprised no one has reported the problem previously. Perhaps it's due to the fact that the issue is much less likely to arise in Balanced mode which, I suspect, most people are using. I am also able to duplicate the "sit-time-test" issue and I hope I'll be able to also duplicate the entry column issue with the added description you sent. Unfortunately, I have some rather heavy other demands on my time right now and that other activity must take precedence. I'll re-release ASAP.

In the meantime, the Balanced mode likely will provide the better results.

Don
 
Development Release 3.1.09(o), just posted to http://stuff4fs.com to fix a critical bug also contains the fix that addresses your deadhead leg problem (i.e., flightplan cannot be completed within repeat period). Please install the development release and see if it resolves that issue for you.

Don
 
Development Release 3.1.09(p), just posted to http://stuff4fs.com addresses the reminder of your issues as I understand them.

You were correct in your assessment that the issues in the validation report and sit-time windows were related. When I imp the alternate line background color in an earlier development release, I inadvertently affected the way in which the items in these two lists were processed. Those issue are, I hope, now behind us.

Don
 
Sorry been gone for awhile I hadn't had a chance to test the newest fix. I got my Programed Updated to the base 3.1.11 and updated to the developer release C and reran everything with the same settings I told ya about before. But I am still getting missing FPs on the same settings and it's causing The Program Crash Box to come up when I am looking at certain airports where there's been missing FPs.

The crash happens when I look at certain airports in the Time Table Data as a result of missing FPs. The affected airports are MHLM, MPTO, SKRG, TNCA. Spirit Airlines has only a few flights to these airports but the program excluded them from my time table data import. So When I highlight those airports I get the following error:

Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OverflowException: Arithmetic operation resulted in an overflow.
   at AIFP_3.Arr_Dep.ShowArrDep()
   at AIFP_3.Arr_Dep.GetData()
   at AIFP_3.Arr_Dep.ConfigureDialog()
   at AIFP_3.Arr_Dep.cbAirports_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ComboBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
AIFP3
    Assembly Version: 3.1.0.6
    Win32 Version: 3.1.0.6
    CodeBase: file:///C:/Users/Victor%20Redtail/Desktop/fsx%20swa/SCENERY/WOAI%20Packages/ai%20fedex/AIFP3107/AIFP3.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

and after this crash occurs it prevents me from seeing the arrivals on the Time Table box.

A few other issues I am noting is that when I am testing sit times I only get one report of the same number of FPs and Fill no matter what sit times are showing in the test sit time function. it shows as:
319 26 FPs, Fill: 0.59
320 28 FPs, Fill: 0.53
321 2 FPs, Fill: 1
for all sit times tested.

I am also still getting overlapping legs as shown in the file attachment of the dump


Also one bug I have been forgetting to report as I keep on working around it is where I edit a FP by using the text editor in the program and saving it. When I do this I can no longer edit that FPs using the Leg Editor as it will gives me an error where a certain airport in the FP is not known to the system and it cannot find it's time zone cannot be determined. The Airports it's tells me that are not in the system would be the last one on the FP list in my case of a test edit it was KORD (And if that Major airport is not in the system then something major is wrong)

To Reproduce the error open any existing flight plans file set or bgl file.

1. Go under "Flight Plan List" and highlight any flight you want to edit.

2. Left Click on the FP you want to edit and Click "Open text Editor"

3. Under the text edit make a small edit like Tail Number, AC Type #, or even a Flight number and save it by clicking the "Replace" button.

4. Close out the Text Editor Window and return to the FP list and highlight the FP you just edited.

5. Left Click on the FP you just edited and Click "Open Leg Editor"

6 The bug/error should show now and you should not be able to use the leg editor properly because of the Airport Data Error.

One more thing I would love to see fixed is that I would like the have the "Deadhead Closure" and "Test Sit Times" boxes keep their settings every time I rerun the "Create Flight Plans from Time Table Data" function just like the other settings I set when I rerun that function. It gets annoying to have to recheck those boxes every time I rerun that function.

Thank You

The Display Error I previously reported has been fixed and I am not seeing issues there and I can now blank out the Sit Time Box on the Time Table Data Import with no errors.
 

Attachments

I am still getting missing FPs on the same settings
Sorry Sawblade, but we're going to have to go back to Square 1 on this. I no longer have your timetable data. Please send it again and be specific as to which legs are missing. From my (admittedly less than exhaustive) analysis after I applied the fixes to address your issues with the previous release, all legs appeared to be present.

it's causing The Program Crash Box to come up when I am looking at certain airports where there's been missing FPs.
I doubt that missing legs are the direct cause of the exception being thrown by the Timetable function. Nonetheless, it's a real problem. Unfortunately, it seems to be data related, i.e., I am unable to duplicate it with data at hand. Looking for the cause without a way to repeat the issue is pretty much like looking for a needle in a haystack. Please send me the flight plan file set or traffic file that caused the issue for you and give me instruction for repeating it.
I only get one report of the same number of FPs and Fill no matter what sit times are showing in the test sit time function.
Just because all the results are the same doesn't make them wrong. It's very data-dependent. Have you confirmed that varying sit times within that range does, in fact, make a difference in the number of flight plans generated?

I am also still getting overlapping legs as shown in the file attachment of the dump
Those messages may be legitimate - but, of course, they may not be. I need the data (which specifies ETA/ETD and the specified sit time) to determine whether or not they are.
Also one bug I have been forgetting to report as I keep on working around it is where I edit a FP by using the text editor in the program and saving it. When I do this I can no longer edit that FPs using the Leg Editor as it will gives me an error where a certain airport in the FP is not known to the system and it cannot find it's time zone cannot be determined.
Confirmed. (Actually, you don't have to make any change with the text editor; you only need open and close it.) It will be fixed. In the meantime, either edit using only one or the other editor or deselect local time.

Don
 
I sent ya the Time Table Data as a text file. Do you happen to have Open Office on your Machine I can send ya the Source in a Spread Sheet Format.
 
What about the balance of my post. Unless I know exactly what you are missing and the settings you used, there's not much I can do.

Don
 
Back
Top