Hi Ale,Any idea when the "Update Batch export... to Batch Processing.... #4223" option will be added to the snap shot builds?
Reference: 3a9620a3d Pass ride context to Python DPs when available (#4214)The above fix doesn't work on importation, as the context (and therefore rideitem) passed to the data processor is for the activity preceding the one being processed (with the rideData), which the following python fix demonstrates:if (GC.activityMetrics()['Device'] == "Garmin FR910XT"):
activity = GC.activity()
GC.setTag("Notes", "Test step1")
if ('heart.rate' in activity.keys()):
GC.setTag("Notes", "Test step2")
Selecting a running watch activity with HR data in GC and running the above script causes "Test Step 2" to be written into the Notes field, so all good.But deleting the activity from GC, setting the script to be run on importation, then running "check for new activities" and re-importing the activity, nothing is written into Notes, and this is because #4214 doesn't address the mis-alignment of the rideitem in the content and rideData, due to the processing in the importationWizard.I rebuilt GC with PR#4236 and retested the delete activity and re-import it as this PR sets out to resolve this issue, and it all works fine, both tests work with "Test Step 2" being written into the notes field.The problem with #4214 is that it passes the context correctly for manually run python fixes, but the importationWizards processing passes the wrong context.
I appreciate that V3.6 is in a pre-delivery phase with the aim of refining and stabilising the build prior to formal delivery and that requires translations & documentation all to updated so lost of work, so big changes aren't a great idea as you wish to minimise the risk.
But if it isn't too much effort, it might be good to create a snapshot build for the more adventurous GC users that include many of the PRs awaiting consideration and review so that the brave beta testers can provide feedback and bug reports on those PRs?
I see the numerous QT6 PRs which I expect would be best tested in a separate Qt6 change only build, assuming GC wants to make the move to QT6.
I'm seeing some odd crashing behavior after upgrading from 3.5 to 3.6. Memory dump, crash log, and screenshot of the "about/version" window are attached, as is the user chart that seems to be causing the error. This is on a clean Windows 10 install, after removing all previous installations (including C++ redistributable) and using the embedded Python installation.Original error: switching to trends view from activity view on a particular athlete (when it was the only athlete open) causes GoldenCheetah to crash. I confirmed that it was limited to this user by switching users, and noticed no crashing behavior. Interestingly, when I have multiple athletes open at once, I am able to switch to the trends view on the user which is crashing without issue, and all of the charts work (at least at first glance) as they did under v3.5.By removing all of my charts and adding them back one at a time, I believe the problematic chart is a custom MeanMax I use for Critical Velocity for running. I'm at a bit of a loss as what's broken here given the difference in behavior when multiple athletes are open. The stack trace in the crash log isn't helpful for me, but some quick searching on error codes suggested it might be from illegal memory access.
Thanks for the reminder to start from File Manager. When I do that, I get the same stack trace in the crash log as you've provided. I was able to get the chart imported again with the multiple-athlete approach I detailed in my previous post, but switching to trend view once I've closed the other athlete (force-close the entire application and restarting), I see the crash again. Crash log for that is attached, which seems like it's hitting the same code path (CPPlot, line 1208).
I recreated the chart from scratch and exported to see if there was a difference in the .gchart file, and it looks like the isRun filter changed slightly.original property (chart from 3.5): "filter":"filter:isRun "updated property (chart from 3.6): "filter":"filter:isRun<>0 "This may or may not be an issue, I don't know what the defaults on parsing the filter name are.