Dragged a task into “Next” and now the “Next” section is broken. Hitting the “n” key doesn’t do anything. Switching to “Next” section gives this error in the console (or log):
[17:57:27.215] [error] TypeError: Cannot read property ‘num_parallel_actions’ of null
at file:///opt/Everdo/resources/app.asar/bundle.js:30:66852
at Array.reduce ()
at o.sequentialNextActions (file:///opt/Everdo/resources/app.asar/bundle.js:30:66805)
at iA.get (file:///opt/Everdo/resources/app.asar/bundle.js:7:21350)
at iA.evaluate (file:///opt/Everdo/resources/app.asar/bundle.js:7:22500)
at o.sequentialNextActions (file:///opt/Everdo/resources/app.asar/bundle.js:7:25692)
at o.groups (file:///opt/Everdo/resources/app.asar/bundle.js:30:56170)
at iA.get (file:///opt/Everdo/resources/app.asar/bundle.js:7:21350)
at iA.evaluate (file:///opt/Everdo/resources/app.asar/bundle.js:7:22500)
at o.groups (file:///opt/Everdo/resources/app.asar/bundle.js:7:25692)
Oh I see. This bug is caused by data inconsistency - some action refers to a project that does not exist. Not sure how this could have happened. But this sqlite script should fix the data for now
update item set parent_id = null
where id in (select i.id from item i where ((select count(*) from item p where p.id = i.parent_id) = 0)
and i.type = 'a'
and i.parent_id is not null);
The same error happend to me (Windows 10 machine). All my items are lost and i cant create new ones. Running the sql command did not change anything (version 1.1.9) and reinstallation also did not help (just running installer again).
[2018-09-19 08:38:49.377] [error] TypeError: Cannot read property 'id' of null at /AppData/Local/Programs/Everdo/resources/app.asar/bundle.js:40:100141 at Array.forEach (<anonymous>) at /AppData/Local/Programs/Everdo/resources/app.asar/bundle.js:40:100117 at Array.forEach (<anonymous>) at t.default (/AppData/Local/Programs/Everdo/resources/app.asar/bundle.js:40:100092) at AppData/Local/Programs/Everdo/resources/app.asar/bundle.js:172:45413 at Array.map (<anonymous>)
Note: i removed file:\\\ prefxi.
I really like the app, but loosing data would kill it for me.