question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Cannot load model. Version to load is newer than local (7.11.5)

See original GitHub issue

Steps to Reproduce

I opened the android app, it got updated, after that i closed from phone and opened on pc (synchronization enabled) and it threw the mentioned error

  1. Have SP 7.11.5.0 installed on windows with synchronization enabled and auto backup
  2. Open the Android App from phone.
  3. Accept the update request from phone (at the end of the update it was on 7.11.5).
  4. Start working from phone, add some tasks and have them done
  5. Exit the app from phone to start working from windows
  6. Open the Windows SP App
  7. Get the error: “Cannot load model. Version to load is newer than local. Please close the app and update your local productivity version first, before importing the data” which continues appearing. 2022-06-02 09_33_07-Super Productivity

Error Log (Desktop only)

Console Output

Stacktrace

Error: Cannot load model. Version to load is newer than local
    at _n (file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:1333263)
    at zd (file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:1510343)
    at file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:1512207
    at file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:184167
    at file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:173718
    at file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:172885
    at file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:3627428
    at file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:3625808
    at file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:173172
    at o.X [as accumulator] (file:///C:/Users/FRCABALL/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.0b14eb60dae60b557008.js:1:175383)

Meta Info

META: SP7.6.0 Electron – en-US – Win32 – Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/7.6.0 Chrome/91.0.4472.124 Electron/13.1.7 Safari/537.36

Actions Before Error

1654126479794: [Tag] Update Work End for Tag 
1654126479798: [Persistence] Save to DB (3) 
1654126480783: [Task] Add time spent 
1654126480785: [Project] Update Work End 
1654126480791: [Tag] Update Work End for Tag 
1654126480796: [Persistence] Save to DB (3) 
1654126481782: [Task] Add time spent 
1654126481785: [Project] Update Work End 
1654126481789: [Tag] Update Work End for Tag 
1654126481793: [Persistence] Save to DB (3) 
1654126482782: [Task] Add time spent 
1654126482783: [Project] Update Work End 
1654126482790: [Tag] Update Work End for Tag 
1654126482796: [Persistence] Save to DB (3) 
1654126483784: [Task] Add time spent 
1654126483787: [Project] Update Work End 
1654126483799: [Tag] Update Work End for Tag 
1654126483811: [Persistence] Save to DB (3) 
1654126484209: [Task] SetSelectedTask 
1654126484218: [Task] UnsetCurrentTask 
1654126484219: [Pomodoro] Pause Pomodoro 
1654126486717: [Task] Move to archive 
1654126486727: [Persistence] Save to DB (3) 
1654126486727: [Task] UnsetCurrentTask 
1654126486728: [Pomodoro] Pause Pomodoro 
1654126486781: [Persistence] Save to DB 
1654179534168: [SP_ALL] Load(import) all data 
1654179534174: [SP_ALL] All Data was loaded 
1654179535873: [Persistence] Save to DB (17) 
1654179535995: [SP_ALL] Load(import) all data

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
johannesjocommented, Jun 15, 2022

Hey @aguscaba ! I am very sorry, I got confused. Actually data export is currently disabled for the android version, since it is not working (it just wasn’t for my mobiles android version, which was an older one).

You might be able to access the data directly from your sync providers file system. From there you might be able to import it again in the webapp (https://app.super-productivity.com) from where you can use the privacy data export (which obfuscates all private data). In case importing and exporting works from the webapp, you might also be able to import that data in your windows app.

1reaction
johannesjocommented, Jun 3, 2022

Hm this is very odd! Could you maybe provide a data export (from the mobile app)? It might be that for some reason a bit of your data got into an invalid state that I didn’t account for and that I can’t reproduce. It would be great if you could share a copy of your data to contact@super-productivity.com, so I can debug this on my computer. You can create an export by navigating to “Settings” and then to “Import/Export” or you can use the “Export data” button from the error Dialog (there is also a button there which will anonymize the data before exporting).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Cannot load model - Microsoft Power BI Community
Beginning yesterday, I'm getting an error "We couldn't connect to your DirectQuery data source or internal model. Double-check that your server and database ......
Read more >
Failed to load config "react" to extend from - Stack Overflow
I have tried installing all the dependencies and have spent hours googling an answer, but I can't seem to figure out the problem....
Read more >
Operating Instructions NewClassic Balances MS Semi-Micro ...
These models have a fix fine (semi-micro) range between 0 g and "Maximum load, fine range". In this fine range the balance shows...
Read more >
Release notes | U.S. Web Design System (USWDS) - Digital.gov
Here you'll find our release notes — summaries of bug fixes, new features, ... This means faster load times, better scores in performance...
Read more >
7 Running Integration Processes - Oracle Help Center
Executing Mappings, Procedures, Packages and Model Operations ... A Load Plan cannot be executed using the ODI Studio built-in agent called Local (No...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found