I'm new to LWSM. I have a LWSM Session saved (chromium,firefox and some other applications). Trying to restore starts everything as far as I can see. But LWSM ist stuck with this message:
Waiting for all applications to start...
POLL_ALL_MAX_TIMEOUT reached
Actually (I know... sadly very old) Ubuntu 16 Xenial with Unity Desktop.
lwsm save
(after reboot)
lwsm restore
I did not even expect LWSM will not only restore window-positions, but also start all applications. Nice!
But I would expect LWSM is more "error resistent" f.e. if not all applications will start LWSM should anyway try to restore as much as possible and place the window's it finds to their session stored position.
$ lwsm restore
lwsm 4.0.5 --> restore Tue May 23 2023 13:19:13 GMT+0200 (Mitteleurop盲ische Sommerzeit)
DisplayID: 5760x1080
Status: "skype.Skype" is running: true 1 0
Status: "ferdi.Ferdi" is running: true 1 0
Status: "Telegram.TelegramDesktop" is running: true 1 0
Status: "keepass2.KeePass2" is running: true 1 0
Status: "Navigator.firefox-esr-esr102" is running: false 9 0
Status: "Navigator.firefox-esr-esr102" is running: false 9 0
Status: "Navigator.firefox-esr-esr102" is running: false 9 0
Status: "Navigator.firefox-esr-esr102" is running: false 9 0
Status: "Navigator.firefox-esr-esr102" is running: false 9 0
Status: "Navigator.firefox-esr-esr102" is running: false 9 0
Status: "Mail.thunderbird" is running: true 1 0
Status: "FoxitReader.Foxit Reader" is running: true 1 0
Status: "jetbrains-phpstorm.jetbrains-phpstorm" is running: false 3 0
Status: "jetbrains-phpstorm.jetbrains-phpstorm" is running: false 3 0
Status: "jetbrains-phpstorm.jetbrains-phpstorm" is running: false 3 0
Status: "Navigator.firefox-esr-esr102" is running: false 9 0
Status: "gnome-terminal-server.Gnome-terminal" is running: true 1 0
Status: "Navigator.firefox-esr-esr102" is running: false 9 0
Status: "Navigator.firefox-esr-esr102" is running: false 9 0
Status: "nemo.Nemo" is running: true 1 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "brave-browser.Brave-browser" is running: true 1 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Status: "chromium-browser.Chromium-browser" is running: true 38 0
Waiting for all applications to start...
POLL_ALL_MAX_TIMEOUT reached
Unable to start the following apps [
{
windowId: '0x4c0004c',
windowIdDec: 79691852,
executableFile: '/snap/phpstorm/331/jbr/bin/java',
wmCurrentDesktopNr: 0,
wmType: '_NET_WM_WINDOW_TYPE_NORMAL',
states: [ '_NET_WM_STATE_MAXIMIZED_VERT', '_NET_WM_STATE_MAXIMIZED_HORZ' ],
wmPid: 215953,
wmClassName: 'jetbrains-phpstorm.jetbrains-phpstorm',
x: 13505,
y: -1056,
width: 1855,
height: 1056,
simpleName: 'jetbrains-phpstorm',
instancesStarted: 1
},
{
windowId: '0x4c00053',
windowIdDec: 79691859,
executableFile: '/snap/phpstorm/331/jbr/bin/java',
wmCurrentDesktopNr: 0,
wmType: '_NET_WM_WINDOW_TYPE_NORMAL',
states: [ '_NET_WM_STATE_MAXIMIZED_VERT', '_NET_WM_STATE_MAXIMIZED_HORZ' ],
wmPid: 215953,
wmClassName: 'jetbrains-phpstorm.jetbrains-phpstorm',
x: 13505,
y: 24,
width: 1855,
height: 1056,
simpleName: 'jetbrains-phpstorm',
instancesStarted: 1
},
{
windowId: '0x4c0005a',
windowIdDec: 79691866,
executableFile: '/snap/phpstorm/331/jbr/bin/java',
wmCurrentDesktopNr: 0,
wmType: '_NET_WM_WINDOW_TYPE_NORMAL',
states: [ '_NET_WM_STATE_MAXIMIZED_VERT', '_NET_WM_STATE_MAXIMIZED_HORZ' ],
wmPid: 215953,
wmClassName: 'jetbrains-phpstorm.jetbrains-phpstorm',
x: 7745,
y: -1056,
width: 1855,
height: 1056,
simpleName: 'jetbrains-phpstorm',
instancesStarted: 1
}
]
Generic Error in Main Handler POLL_ALL_MAX_TIMEOUT reached undefined
An error occurred POLL_ALL_MAX_TIMEOUT reached
Generic Error in Main Handler POLL_ALL_MAX_TIMEOUT reached undefined
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "POLL_ALL_MAX_TIMEOUT reached".] {
code: 'ERR_UNHANDLED_REJECTION'
}
At first: Thanks for the nice work in this tool!
馃懟 Brief Description
I'm new to LWSM. I have a LWSM Session saved (chromium,firefox and some other applications). Trying to restore starts everything as far as I can see. But LWSM ist stuck with this message:
(full trace see below)
馃 Action version
lwsm 4.0.5
馃帺 workflow configuration
Actually (I know... sadly very old) Ubuntu 16 Xenial with Unity Desktop.
Steps To Reproduce
馃殦 Expected behavior
I did not even expect LWSM will not only restore window-positions, but also start all applications. Nice!
But I would expect LWSM is more "error resistent" f.e. if not all applications will start LWSM should anyway try to restore as much as possible and place the window's it finds to their session stored position.
Full-Trace: