Edited Intervals Vanish (OTW)

Issue #79 resolved
Michael McGuirk created an issue

Something weird is happening with the Interval Editor with OTW workouts. Edit intervals seems to work ok but, after editing and saving, if you go back to the interval editor, they have disappeared. Don't know if it's related but after doing the geeky stuff and completing the power calculation, when you select the OTW Power Plot button, you get the please wait icon but nothing ever happens.

Comments (16)

  1. Sander Roosendaal repo owner

    This is a workout recorded with CrewNerd, right? Could you attach two files?

    1. The TCX or CSV that you uploaded
    2. The CSV that you get from the site

    I also presume that you tried the interval editor after you did some other things to the workout? Or did you go to the Interval Editor immediately after uploading?

    I think something may be wrong in the way crewnerd files are processed, which prevent the site from updating the intervals.

    The interval edit part of the software is written such that it "tries" to update the intervals, but if anything goes wrong, it restores the original. That is nice for the users because they don;t get scrambled workouts or Error 500 pages, but it also means that it will be hard to pin down the bug.

  2. Michael McGuirk reporter
    • Yes, it was a CrewNerd workout.
    • TCX that I uploaded is attached.
    • CSV created by rowsandall.com is also attached.
    • If I remember correctly, I uploaded the TCX and then did the Geeky (power) Stuff before doing intervals. I may also have edited the Duration and Distance and exported to C2 before doing intervals.
    • X-country skiing with family takes precedence over this issue - please.
  3. Michael McGuirk reporter

    Uploaded the CN CSV file from the same workout to see if it would have the same problem as the TCX. Tried to recreate the steps that I used on the TCX including doing the Geeky Stuff. Had no issues. But, after being notified that the power calculations were done (some 20+ minutes later), I went back to the workout Edit page, saw that the power data in the summary table was still the same number as had been calculated from the csv file (I expected it to be different after the Geeky power calculations), hit Update Summary to hopefully bring in the newly calculated data and the summary table interval data disappeared. Re-did the intervals, went to Advanced and asked for a Power Plot. Went back to the Interval Editor and intervals had disappeared again. So both the TCX and the CSV are exhibiting the same issue.

  4. Sander Roosendaal repo owner

    Mike, I reviewed the code. There may be a problem with the asynchronous task. We need to test the following scenario, which should work:

    Scenario 1 1. Upload CSV file 2. Run the geeky stuff 3. Wait for the geeky stuff to complete 4. Edit intervals 5. Save

    Scenario 2 1. Upload CSV 2. Edit Intervals. 3. Save Intervals. 4. Run geeky stuff 5. Wait for geeky stuff to complete

    S

  5. Michael McGuirk reporter

    35 minutes later, the physics department offered up their power solution. I did all kind of things to the resultant data and could not break the intervals. Only glitch that still exists is that I can't create an OTW Power Plot. It has been about 20 minutes and still nothing.

  6. Sander Roosendaal repo owner

    I have fixed a bug in the OTW Power Plot. The plot will start working again soon. Can I declare the issue "resolved"?

  7. Log in to comment