I have noticed that after suspending my computer for long periods of time (haven't really tested the timeframe, but I leave it suspended overnight) all the widgets close themselves, and they automatically close if I try to reload eww. This keeps happening even after a reboot. When running eww logs
I get the following:
2023-08-18T10:34:44.761Z INFO eww > Initializing Eww server. (/run/user/1000/eww-server_7881c540cb393c3f)
Run `eww logs` to see any errors while editing your configuration.
2023-08-18T10:34:44.761Z INFO eww::server > Loading paths: config-dir: /home/spendice/.config/eww, ipc-socket: /run/user/1000/eww-server_7881c540cb393c3f, log-file: /home/spendice/.cache/eww_7881c540cb393c3f.log
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃Initializing eww daemon┃
┗━━━━━━━━━━━━━━━━━━━━━━━┛
2023-08-18T10:34:44.861Z DEBUG eww::server > Initializing script var handler🬖🬥🬔🬗
2023-08-18T10:34:44.949Z INFO eww::ipc_server > IPC server initialized
2023-08-18T10:34:50.371Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:50.371Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:50.371Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:50.371Z DEBUG eww::ipc_server > received command from IPC: GetVar { name: "open_powerview" }
2023-08-18T10:34:50.371Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:50.371Z DEBUG eww::app > Handling event: GetVar { name: "open_powerview", sender: DaemonResponseSender(UnboundedSender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7f321c0015d0, tail_position: 0 }, semaphore: 0, rx_waker: AtomicWaker, tx_count: 1, rx_fields: "..." } } }) }
2023-08-18T10:34:50.398Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:50.398Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:50.398Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:50.399Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:50.399Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:50.399Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:50.399Z DEBUG eww::ipc_server > received command from IPC: OpenWindow { window_name: "powerview", screen: None, pos: None, size: None, anchor: None, should_toggle: false }
2023-08-18T10:34:50.399Z DEBUG eww::ipc_server > received command from IPC: Update { mappings: [("overview_hover_name", "{"class":"LMB: Focus | MMB: Close | RMB: Select/Move","title":"Powerview","workspace":{"id":0,"name":"0"},"icon": "/usr/share/icons/breeze-dark/actions/16/window.svg", "size": [0,0], "at": [0,0]}")] }
2023-08-18T10:34:50.399Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:50.399Z DEBUG eww::app > Handling event: OpenWindow { window_name: "powerview", pos: None, size: None, anchor: None, screen: None, should_toggle: false, sender: DaemonResponseSender(UnboundedSender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7f3208001e00, tail_position: 0 }, semaphore: 0, rx_waker: AtomicWaker, tx_count: 1, rx_fields: "..." } } }) }
2023-08-18T10:34:50.399Z INFO eww::app > Opening window powerview
2023-08-18T10:34:50.403Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:50.404Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:50.404Z DEBUG eww::ipc_server > received command from IPC: Update { mappings: [("overview_query", "")] }
2023-08-18T10:34:50.475Z DEBUG eww::app > Handling event: UpdateVars([("overview_hover_name", "{"class":"LMB: Focus | MMB: Close | RMB: Select/Move","title":"Powerview","workspace":{"id":0,"name":"0"},"icon": "/usr/share/icons/breeze-dark/actions/16/window.svg", "size": [0,0], "at": [0,0]}")])
2023-08-18T10:34:50.475Z DEBUG eww::script_var_handler > starting poll var RES_HEIGHT
2023-08-18T10:34:50.475Z DEBUG eww::script_var_handler > starting listen-var wsjsona
2023-08-18T10:34:50.475Z DEBUG eww::script_var_handler > starting listen-var ICON_GET
2023-08-18T10:34:50.475Z DEBUG eww::config::script_var > Running command: xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f2
2023-08-18T10:34:50.475Z DEBUG eww::script_var_handler > starting listen-var activews
2023-08-18T10:34:50.475Z DEBUG eww::script_var_handler > starting poll var coloraccent
2023-08-18T10:34:50.475Z DEBUG eww::script_var_handler > starting poll var RES_WIDTH
2023-08-18T10:34:50.477Z DEBUG eww::config::script_var > Running command: cat css/_iconcolor.txt | head -1
2023-08-18T10:34:50.481Z DEBUG eww::script_var_handler > starting listen-var wsjsonb
2023-08-18T10:34:50.481Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:50.481Z DEBUG eww::app > Handling event: UpdateVars([("overview_query", "")])
2023-08-18T10:34:50.485Z DEBUG eww::config::script_var > Running command: xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f1
2023-08-18T10:34:50.513Z DEBUG eww::app > Handling event: UpdateVars([("RES_HEIGHT", "1080")])
2023-08-18T10:34:50.517Z DEBUG eww::app > Handling event: UpdateVars([("coloraccent", "#c9f089")])
2023-08-18T10:34:50.519Z DEBUG eww::app > Handling event: UpdateVars([("activews", "1")])
2023-08-18T10:34:50.528Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:50.528Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:50.528Z DEBUG eww::ipc_server > received command from IPC: Update { mappings: [("open_powerview", "true")] }
2023-08-18T10:34:50.536Z DEBUG eww::app > Handling event: UpdateVars([("wsjsona", "[[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"1","workspace":{"id":1,"name":"1"}},{"address":"0x55e5d3b70de0","at":[966,573],"class":"firefox","icon":"/usr/share/icons/Qogir/scalable/apps/firefox.svg","size":[947,499],"title":"Ejercicio Nº 1:Calcular V20,2 , V8,5 , P7 , C8,5 , C8,8 - TP FIE Proba y Est 2022.pdf — Mozilla Firefox","workspace":{"id":1,"name":"1"}},{"address":"0x55e5d3b6e400","at":[7,62],"class":"firefox","icon":"/usr/share/icons/Qogir/scalable/apps/firefox.svg","size":[947,1011],"title":"WhatsApp — Mozilla Firefox","workspace":{"id":1,"name":"1"}},{"address":"0x55e5d3a6c3f0","at":[966,62],"class":"foot","icon":"/usr/share/icons/hicolor/48x48/apps/foot.png","size":[947,499],"title":"~","workspace":{"id":1,"name":"1"}}],[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"2","workspace":{"id":2,"name":"2"}}],[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"3","workspace":{"id":3,"name":"3"}}],[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"4","workspace":{"id":4,"name":"4"}}],[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"5","workspace":{"id":5,"name":"5"}}]]")])
2023-08-18T10:34:50.559Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:50.559Z DEBUG eww::app > Handling event: UpdateVars([("RES_WIDTH", "1920")])
2023-08-18T10:34:50.559Z ERROR eww::error_handling_ctx > Error while updating UI after state change
Caused by:
Couldn't upgrade reference, widget got deallocated
2023-08-18T10:34:50.559Z ERROR eww::error_handling_ctx > Error while updating UI after state change
Caused by:
Couldn't upgrade reference, widget got deallocated
2023-08-18T10:34:50.559Z ERROR eww::error_handling_ctx > Error while updating UI after state change
Caused by:
Couldn't upgrade reference, widget got deallocated
2023-08-18T10:34:50.559Z ERROR eww::error_handling_ctx > Error while updating UI after state change
Caused by:
Couldn't upgrade reference, widget got deallocated
2023-08-18T10:34:50.559Z ERROR eww::error_handling_ctx > Error while updating UI after state change
Caused by:
Couldn't upgrade reference, widget got deallocated
2023-08-18T10:34:50.559Z ERROR eww::error_handling_ctx > Error while updating UI after state change
Caused by:
Couldn't upgrade reference, widget got deallocated
2023-08-18T10:34:50.559Z ERROR eww::error_handling_ctx > Error while updating UI after state change
Caused by:
Couldn't upgrade reference, widget got deallocated
2023-08-18T10:34:50.559Z ERROR eww::error_handling_ctx > Error while updating UI after state change
Caused by:
Couldn't upgrade reference, widget got deallocated
2023-08-18T10:34:50.560Z DEBUG eww::app > Handling event: UpdateVars([("open_powerview", "true")])
2023-08-18T10:34:50.560Z DEBUG eww::app > Handling event: UpdateVars([("wsjsonb", "[[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"6","workspace":{"id":6,"name":"6"}}],[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"7","workspace":{"id":7,"name":"7"}}],[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"8","workspace":{"id":8,"name":"8"}}],[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"9","workspace":{"id":9,"name":"9"}}],[{"address":"_none","at":[0,0],"class":"workspace","size":[1920,1080],"title":"10","workspace":{"id":10,"name":"10"}}]]")])
2023-08-18T10:34:51.845Z DEBUG eww::widgets > Running command from widget: "/usr/bin/eww" --config "/home/spendice/.config/eww" update overview_query=">" && "/usr/bin/eww" --config "/home/spendice/.config/eww" update overview_results="$(scripts/appsearch '>')" &
2023-08-18T10:34:51.897Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:51.898Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:51.898Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:51.898Z DEBUG eww::ipc_server > received command from IPC: Update { mappings: [("overview_query", ">")] }
2023-08-18T10:34:51.898Z DEBUG eww::app > Handling event: UpdateVars([("overview_query", ">")])
2023-08-18T10:34:51.926Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:51.926Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:51.926Z DEBUG eww::ipc_server > received command from IPC: Update { mappings: [("overview_results", "[]")] }
2023-08-18T10:34:51.928Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:51.928Z DEBUG eww::app > Handling event: UpdateVars([("overview_results", "[]")])
2023-08-18T10:34:52.227Z DEBUG eww::widgets > Running command from widget: "/usr/bin/eww" --config "/home/spendice/.config/eww" update overview_query=">r" && "/usr/bin/eww" --config "/home/spendice/.config/eww" update overview_results="$(scripts/appsearch '>r')" &
2023-08-18T10:34:52.278Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:52.278Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:52.278Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:52.278Z DEBUG eww::ipc_server > received command from IPC: Update { mappings: [("overview_query", ">r")] }
2023-08-18T10:34:52.278Z DEBUG eww::app > Handling event: UpdateVars([("overview_query", ">r")])
2023-08-18T10:34:52.305Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:52.305Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:52.305Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:52.305Z DEBUG eww::ipc_server > received command from IPC: Update { mappings: [("overview_results", "[]")] }
2023-08-18T10:34:52.306Z DEBUG eww::app > Handling event: UpdateVars([("overview_results", "[]")])
2023-08-18T10:34:52.589Z DEBUG eww::widgets > Running command from widget: scripts/launchapp '>r' &
2023-08-18T10:34:52.648Z DEBUG eww::ipc_server > received command from IPC: Ping
2023-08-18T10:34:52.648Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:52.648Z DEBUG eww::app > Handling event: NoOp
2023-08-18T10:34:52.648Z DEBUG eww::ipc_server > received command from IPC: GetVar { name: "open_powerview" }
2023-08-18T10:34:52.648Z DEBUG eww::ipc_server > Waiting for response for IPC client
2023-08-18T10:34:52.648Z DEBUG eww::app > Handling event: GetVar { name: "open_powerview", sender: DaemonResponseSender(UnboundedSender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7f3208001510, tail_position: 0 }, semaphore: 0, rx_waker: AtomicWaker, tx_count: 1, rx_fields: "..." } } }) }
2023-08-18T10:34:52.653Z INFO eww::server > Shutting down eww daemon...
2023-08-18T10:34:52.653Z DEBUG eww::server > Forward task received exit event
2023-08-18T10:34:52.654Z DEBUG eww::script_var_handler > Killing process with id 6752
2023-08-18T10:34:52.654Z DEBUG eww::script_var_handler > Killing process with id 6758
2023-08-18T10:34:52.654Z DEBUG eww::script_var_handler > Killing process with id 6761
2023-08-18T10:34:52.654Z DEBUG eww::script_var_handler > Killing process with id 6756
2023-08-18T10:34:52.655Z DEBUG eww::app > Handling event: KillServer
2023-08-18T10:34:52.655Z INFO eww::app > Received kill command, stopping server!
2023-08-18T10:34:52.655Z INFO eww::app > Closing gtk window powerview
2023-08-18T10:34:52.655Z INFO eww::server > main application thread finished
2023-08-18T10:34:52.692Z INFO eww > Initializing Eww server. (/run/user/1000/eww-server_7881c540cb393c3f)
Run `eww logs` to see any errors while editing your configuration.
2023-08-18T10:34:52.692Z INFO eww::server > Loading paths: config-dir: /home/spendice/.config/eww, ipc-socket: /run/user/1000/eww-server_7881c540cb393c3f, log-file: /home/spendice/.cache/eww_7881c540cb393c3f.log
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃Initializing eww daemon┃
┗━━━━━━━━━━━━━━━━━━━━━━━┛
2023-08-18T10:34:52.846Z INFO eww::ipc_server > IPC server initialized
Action failed with error: Tried to close window named 'powerview', but no such window was open
2023-08-18T10:34:52.952Z INFO eww::app > Opening window bar
2023-08-18T10:34:53.097Z ERROR eww::error_handling_ctx > sending response from main thread
Caused by:
0: Failed to send success response from application thread
1: channel closed
2023-08-18T10:34:53.168Z WARN eww::script_var_handler > stderr of `notifications`: Error: name already taken on the bus
2023-08-18T10:34:53.291Z WARN eww::script_var_handler > stderr of `memory`: scripts/memory: line 21: printf: 13.79600000000000000000: invalid number
2023-08-18T10:34:53.302Z WARN eww::script_var_handler > stderr of `memory`: scripts/memory: line 22: printf: 17.0308: invalid number
error: Failed to turn `{ "total": "16G", "used": "2,8G", "free": "13,0G", "swaptotal": "0B", "swapused": "0B", "swappercentage": 0,0, "swapfree": "0,0G", "percentage": 17,0 }` into a value of type json-value
┌─ ./modules/system.yuck:76:21
│
76 │ :value {memory.percentage}
│ ──────
error: Failed to turn `{ "total": "16G", "used": "2,8G", "free": "13,0G", "swaptotal": "0B", "swapused": "0B", "swappercentage": 0,0, "swapfree": "0,0G", "percentage": 17,0 }` into a value of type json-value
┌─ ./modules/system.yuck:88:21
│
88 │ :value {memory.swappercentage}
│ ──────
error: Failed to turn `{ "total": "16G", "used": "2,8G", "free": "13,0G", "swaptotal": "0B", "swapused": "0B", "swappercentage": 0,0, "swapfree": "0,0G", "percentage": 17,0 }` into a value of type json-value
┌─ ./modules/system.yuck:76:21
│
76 │ :value {memory.percentage}
│ ──────
error: Failed to turn `{ "total": "16G", "used": "2,8G", "free": "13,0G", "swaptotal": "0B", "swapused": "0B", "swappercentage": 0,0, "swapfree": "0,0G", "percentage": 17,0 }` into a value of type json-value
┌─ ./modules/system.yuck:88:21
│
88 │ :value {memory.swappercentage}
│ ──────
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: BoolError { message: "property 'value' of type 'CircProg' can't be set from given value, it is invalid or out of range", filename: "/home/main-builder/.cargo/registry/src/github.com-1ecc6299db9ec823/glib-0.15.12/src/object.rs", function: "glib::object", line: 3393 }', /home/main-builder/.cargo/registry/src/github.com-1ecc6299db9ec823/glib-0.15.12/src/object.rs:2238:53