[SOLVED, 0.73-dev3] Formulas in waypoints for stages do not get parsed automatically

Fixed bug reports or reports that won't be fixed
no avatar
Die Batzen
Posts: 10
Joined: 8. June 2019, 10:21

[SOLVED, 0.73-dev3] Formulas in waypoints for stages do not get parsed automatically

13. June 2019, 20:14

If you have waypoints for stages where the coordinates have to be calculated by a formula, those formulas do not get parsed automatically.
On the other hand, this works fine for the final waypoint.

A good example is this multi: Keep on rockin‘ Hegerturmblick - reloaded.
  • send cache to cache solver
  • observe that there are several waypoints for stages where the coordinates have to be calculated
  • go to listing tab, select the N-part of the formula for (e.g.) Stage 2 and click Stage 2 in the following dialog
  • repeat with the E-part
  • switch to Waypoints and Variables tab and have a look at waypoint Stage 2: the coordinates are still shown as 0, i.e. the formula didn't get parsed
If you close the Cache Solver and open again the formula still isn't parsed.
The only way that seems to work is to go into waypoint edit mode and immediately close without changes - then the formulas get parsed.
This holds true for v0.72 and 0.73DEV.

Observations:
  • it works for the final waypoint
  • it works for waypoints that were manually added in the Cache Solver
  • it doesn't work for waypoints that were sent from Locus

User avatar
gawalione
Administrator
Posts: 82
Joined: 7. October 2017, 00:28

Re: Formulas in waypoints for stages do not get parsed automatically

14. June 2019, 07:14

How did you import the cache into Locus?
I tried with PQ and there are only3 stages predefined (Parking, Stage 1 and Final).
What are your settings for the solver?
If i select a formula for Stage 2 and create a standard waypoint the formulas get parsed and the variables show up instantly.

no avatar
Die Batzen
Posts: 10
Joined: 8. June 2019, 10:21

Re: Formulas in waypoints for stages do not get parsed automatically

14. June 2019, 18:39

The cache was imported by Geocaching4Locus add-on, import by GC code.
Then you get all waypoints from the listing in Locus. Those, that do not have valid coordinates get N 00° 00.000' and E 000° 00.000' in Locus.

My settings:
Settings.jpg
If i select a formula for Stage 2 and create a standard waypoint the formulas get parsed and the variables show up instantly.
Exactly - if you create a standard waypoint in the Cache Solver, then the formulas get parsed.
But if you try one of those N 00° 00.000', E 000° 00.000' waypoints sent from Locus, then they do not get parsed.

User avatar
gawalione
Administrator
Posts: 82
Joined: 7. October 2017, 00:28

Re: [SOLVED, 0.73-dev3] Formulas in waypoints for stages do not get parsed automatically

14. June 2019, 20:05

I found the reason for this. Will be fixed in next dev version.

no avatar
Die Batzen
Posts: 10
Joined: 8. June 2019, 10:21

Re: [SOLVED, 0.73-dev3] Formulas in waypoints for stages do not get parsed automatically

20. June 2019, 10:37

Working very well in 0.73-dev3. :)
Thank you for the quick fix!

Post Reply