piero-la-lune/FSE-Planner

Route finder finds routes with invalid assignments.

MarkTwain07 opened this issue · 4 comments

It happens often:

  1. Clear all data.
  2. Load planes, jobs data.
  3. Start route finder.
  4. Click "add to my flight plan".
  5. Invalid Assignment parameter

Sample failing route:
blob:https://fse-planner.piero-la-lune.fr/32e97ae3-0772-4fd6-a927-cd41224141f8

Hi, your example does not load for me, could you share the PDF file instead of a link (I assume this is what you are sharing?).

Have you checked FSE? Do you see the corresponding assignments in FSE (ie the button does not work but the assignments exist), or not (ie invalid assignments).

How long between loading the jobs and running the route finder? Could it be that another user has taken the assignments before you could have the chance to add them to your flight?

Hi, the pdf was from sever https://fse-planner.piero-la-lune.fr/. So, I don't have control overt it.

I seem to run into the same issue a lot of the time now. It seems to find jobs that don't seem to exist at some airports when it generates the route. In the PDF below, if you compare the first starting airport, the small sub 100KG loads do not exist and this was right after a fresh data pull and route generation.

debug.json
FSE Route.pdf

Are you certain the incriminating jobs (those that do not exist) are not in your "My Assignment" queue? When you add jobs to your assignments, FSE Planner now keep those in this queue, until they are marked as flown (or the queue is cleared). They will be used by the Route Finder, so if you have already flown those jobs but did not refresh the data in FSE Planner, you will encounter the issue as the Route Finder will try to make you fly those jobs again.