• 0 Posts
  • 7 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle

  • I have exports of my nutrition and weight info from other apps as csv files, and I’d like to import that data if I can. It looks like Nutritrace can export to csv but not import that. There is the option to import from a json backup though. If I can massage my data into that json format, does it seem reasonable to use that as a way to import my historical data?

    If the answer isn’t “omg don’t do that”, then I have a couple of questions about the json:

    • Does each item in the diary array require a matching foodList/meals/recipes entry? Or could I just generate items in the diary array?
    • How much do I need to worry about IDs? The “import JSON” option says that it merges with existing data; how would it handle ID conflicts (which I assume could happen normally when exporting and importing anyway)?
    • Are there any gotchas you can think of that I should watch out for?


  • I’m seeing “Could not reach server — retry” on the diary page and when going to enter foods. The diagnostics log has

    [14:25:38.821] [ERROR] [diary] loadEntry error: _fetch@http://my.server:3000/assets/index-Dl7TTIk7.js:175:24686
    
    [14:25:41.686] [WARN] [settings] direct push failed for startPage: Server responded 401
    [14:25:41.689] [WARN] [settings] direct push failed for weightUnit: Server responded 401
    [14:25:41.695] [WARN] [settings] direct push failed for heightUnit: Server responded 401
    [14:25:41.699] [WARN] [settings] direct push failed for statsGoalLine: Server responded 401
    [14:25:41.701] [WARN] [settings] direct push failed for lengthUnit: Server responded 401
    [14:25:41.702] [WARN] [settings] direct push failed for distUnit: Server responded 401
    [14:25:41.704] [WARN] [settings] direct push failed for statsYZero: Server responded 401
    [14:25:41.705] [WARN] [settings] direct push failed for tempUnit: Server responded 401
    [14:25:41.705] [WARN] [settings] direct push failed for usdaEnabled: Server responded 401
    [14:25:41.706] [WARN] [settings] direct push failed for statsAvgLine: Server responded 401
    [14:25:41.708] [WARN] [settings] direct push failed for offSearchCountry: Server responded 401
    [14:25:41.708] [WARN] [settings] direct push failed for offUploadCountry: Server responded 401
    [14:25:41.709] [WARN] [settings] direct push failed for offSearchLanguage: Server responded 401
    [14:25:41.710] [WARN] [settings] direct push failed for statsTrendLine: Server responded 401
    [14:25:41.710] [WARN] [settings] direct push failed for statsChartType: Server responded 401