-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't working
Description
sometimes after while, workspace switching stop working and it starting trowing errors like this:
13:56:00.747 ERROR wezterm_gui::overlay::selector > while processing user-defined-29 event: runtime error: ...xersZsresurrectsDswezterm/plugin/resurrect/pane_tree.lua:80: attempt to index a nil value (field 'pane')
stack traceback:
...xersZsresurrectsDswezterm/plugin/resurrect/pane_tree.lua:80: in upvalue 'insert_panes'
...xersZsresurrectsDswezterm/plugin/resurrect/pane_tree.lua:135: in upvalue 'insert_panes'
...xersZsresurrectsDswezterm/plugin/resurrect/pane_tree.lua:140: in function <...xersZsresurrectsDswezterm/plugin/resurrect/pane_tree.lua:75>
(...tail calls...)
...xersZsresurrectsDswezterm/plugin/resurrect/tab_state.lua:74: in function 'resurrect.tab_state.get_tab_state'
...sZsresurrectsDswezterm/plugin/resurrect/window_state.lua:17: in function 'resurrect.window_state.get_window_state'
...resurrectsDswezterm/plugin/resurrect/workspace_state.lua:50: in function 'resurrect.workspace_state.get_workspace_state'
[string "/home/evgeniy/.wezterm.lua"]:191: in function <[string "/home/evgeniy/.wezterm.lua"]:189>
stack traceback:
[C]: in local 'poll'
[string "?"]:4: in function 'wezterm.emit'
...xersZssmart_workspace_switchersDswezterm/plugin/init.lua:174: in function <...xersZssmart_workspace_switchersDswezterm/plugin/init.lua:172>
where .wezterm.lua"]:189 in this case:
189 wezterm.on("smart_workspace_switcher.workspace_switcher.selected", function(window, path, label)
190 local workspace_state = resurrect.workspace_state
191 resurrect.save_state(workspace_state.get_workspace_state())
192 end)
Ans seem if just kill wezterm and resurrect workspaces then it continue to work normally.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working