✔ Todo List - Continued deprecated


✔ This mod adds a todo list to the single- and multiplayer game to allow players to synchronize their work. This is the Factorio 2.0 version of the mod.

Utilities
10 months ago
2.0
7.28K

b non-recoverable error.

10 months ago

The mod ✔ Todo List - Continued (20.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Todo-List-Continued::on_gui_click (ID 1)
Todo-List-Continued/todo/features/export_task.lua:6: attempt to index global 'global' (a nil value)
stack traceback:
Todo-List-Continued/todo/features/export_task.lua:6: in function 'update_export_dialog_button_state'
Todo-List-Continued/todo/ui/main_frame.lua:57: in function 'create_maximized_frame'
Todo-List-Continued/todo/features/main_ui.lua:69: in function 'maximize_main_frame'
Todo-List-Continued/todo/features/main_ui.lua:58: in function 'on_maximize_button_click'
Todo-List-Continued/todo/todo.lua:94: in function 'on_gui_click'
Todo-List-Continued/control.lua:20: in function <Todo-List-Continued/control.lua:19>

10 months ago

Just chiming in to say i got the exact same error, it happend when clicking on the quick acces button top left of the screen.
It also seems to happen when trying to open in a different matter and after creating a new task.
It was working fine before so no sure what changed, i had about 2 task marked as completed, about 3 still left open in the list.
I had about 9 other mods loaded, in case that seems related hit me up.
The mod version is 20.0.2
Hope this helps, good luck

10 months ago

Having this error as well, when I hit the "Toggle Todo List" button on the quick access bar. Here is a save that should allow you to replicate the issue: https://mega.nz/file/1GdWwKSR#t9SWtrz-NJ1B4yMO2KCUI_LFtQOpYEx7vYweohpoXW0
Just load the save file (sync mods, probably related to a mod interaction) and just hit the button on the GUI and that should reproduce the crash.

9 months ago

Came to say I'm having the same issue, mod is unusable for me in current state. Great mod tho, I miss it very much

9 months ago

Slightly different error, probably same cause though:

Error while running event Todo-List-Continued::on_lua_shortcut (ID 37)
Todo-List-Continued/todo/features/export_task.lua:6: attempt to index global 'global' (a nil value)
stack traceback:
Todo-List-Continued/todo/features/export_task.lua:6: in function 'update_export_dialog_button_state'
Todo-List-Continued/todo/ui/main_frame.lua:57: in function 'create_maximized_frame'
Todo-List-Continued/todo/features/main_ui.lua:69: in function 'maximize_main_frame'
Todo-List-Continued/todo/features/main_ui.lua:9: in function 'toggle_main_frame'
Todo-List-Continued/todo/todo.lua:222: in function 'on_lua_shortcut'
Todo-List-Continued/control.lua:43: in function <Todo-List-Continued/control.lua:42>

9 months ago

To mattias1172, for a solution to this...

In the 2.0 version of Factorio, the 'global' object was replaced with (or renamed to) 'storage'. In the code, just do a Find & Replace on this, and you should be good. I was able to make the changes locally and get the mod working.

Reach out if you have any questions.

9 months ago
(updated 9 months ago)

Cegreer is right. Idk if it's possible to throw here a modified version of .zip? I didn't find a way to do this (otherwise i could upload mine .zip). But you can
- open .zip (C:\Users\<username>\AppData\Roaming\Factorio\mods.
- extract it somewhere
- open folder with editor which will allow you to replace multiple instances of text.
- replace global with storage everywhere (changelog can stay like it is)
- pack folder back into .zip
- replace original .zip with one you have created.

At least it works for me.
Thanks cegreer :)

P.S. I assume global is some kind of reference to predefined ingame variable or something like this

9 months ago

Cegreer is right. Idk if it's possible to throw here a modified version of .zip? I didn't find a way to do this (otherwise i could upload mine .zip). But you can
- open .zip (C:\Users\<username>\AppData\Roaming\Factorio\mods.
- extract it somewhere
- open folder with editor which will allow you to replace multiple instances of text.
- replace global with storage everywhere (changelog can stay like it is)
- pack folder back into .zip
- replace original .zip with one you have created.

At least it works for me.
Thanks cegreer :)

P.S. I assume global (or storage newly) is some kind of reference to predefined ingame variable or something like this

New response