rgleason / weather_routing_pi

Weather Routing plugin for OpenCPN
GNU General Public License v3.0
11 stars 14 forks source link

BUG : With OpenCPN 5.9.0-0+640a96b (and previous version), crash with export route button #171

Open Gilletarom opened 2 months ago

Gilletarom commented 2 months ago

**Describe the bug Using W10, OpenCPN 5.9.0-0+640a96b, WR, Button "Export results to GPX route file"

To Reproduce Steps to reproduce the behavior:

  1. Run O
  2. Run Grib
  3. Run WR
  4. Choosing a weather-search set
  5. Compile
  6. Use the button "Export results to GPX route file"
  7. If a weather search was successful, the export appears to take place correctly
  8. BUT: OpenCPN crashes if the export reaches a failed route weather search.

Expected behavior Export of weather search traces obtained in the form of a GPX route file Screenshots 2024-05-07 11_20_03-Météo-routage - WeatherRoutingConfiguration xml 2024-05-07 11_32_07-Météo-routage - WeatherRoutingConfiguration xml

Desktop (please complete the following information):

Additional context

  1. The first 7 weather searches are correctly exported
  2. The weather search which causes the crash is the 8th (see the "NA/Barrière zone" line in the second screenshot)