question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while restoring: Unhandled 'error' event

See original GitHub issue

I only opened Chrome and saved the state.

lwsm save
 0x2e00002 has no wmClassName. Win:  { windowId: ' 0x2e00002',
  windowIdDec: 48234498,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
0x2e00005 has no wmClassName. Win:  { windowId: '0x2e00005',
  windowIdDec: 48234501,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
0x2e00008 has no wmClassName. Win:  { windowId: '0x2e00008',
  windowIdDec: 48234504,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
0x2e0000b has no wmClassName. Win:  { windowId: '0x2e0000b',
  windowIdDec: 48234507,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
0x2e0000c has no wmClassName. Win:  { windowId: '0x2e0000c',
  windowIdDec: 48234508,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
SAVED SESSION: DEFAULT

Then I rebooted and tried to restore it:

lwsm restore
 0x2e00002 has no wmClassName. Win:  { windowId: ' 0x2e00002',
  windowIdDec: 48234498,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
0x2e00005 has no wmClassName. Win:  { windowId: '0x2e00005',
  windowIdDec: 48234501,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
0x2e00008 has no wmClassName. Win:  { windowId: '0x2e00008',
  windowIdDec: 48234504,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
0x2e0000b has no wmClassName. Win:  { windowId: '0x2e0000b',
  windowIdDec: 48234507,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
0x2e0000c has no wmClassName. Win:  { windowId: '0x2e0000c',
  windowIdDec: 48234508,
  wmCurrentDesktopNr: 0,
  wmPid: 1704,
  wmType: '_NET_WM_WINDOW_TYPE_DOCK',
  states: 
   [ '_NET_WM_STATE_STICKY',
     '_NET_WM_STATE_SKIP_TASKBAR',
     '_NET_WM_STATE_SKIP_PAGER' ] }
Status: "gnome-terminal-server.Gnome-terminal" is running: true 1 0
Status: "google-chrome.Google-chrome" is running: false 1 0
Starting: "/usr/share/applications/google-chrome.desktop"
Wait for all applications to start
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: spawn "/usr/share/applications/google-chrome.desktop" ENOENT
    at _errnoException (util.js:1024:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
    at onErrorNT (internal/child_process.js:372:16)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Michael

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
johannesjocommented, Dec 13, 2017

Thanks for reporting! I’ll investigate.

1reaction
johannesjocommented, Dec 20, 2017

I added a troubleshooting section to the README.md. Could you please check if the information helps to solve your problem? gnome-sushi is probably something you want to add to the ignore list, while slack really should work. You might have to manually look for the desktop file, or if that fails for the executable path of slack and add it to your configuration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node events.js:167 throw er; // Unhandled 'error' event
I ran into this exact issue as well and found that it is only present with react-scripts@3.0.
Read more >
How to Fix "throw er; // Unhandled 'error' event"?
Simply open the port with port, e.g. localhost:5000 , in your browser. After turning of the application in question or changing your port...
Read more >
Restore Error event id 17066 and 3624 while restoring diff ...
This error can be caused by transient, timing-related errors, or by in-memory or on-disk data corruption. This message also says that the backup ......
Read more >
Troubleshooting for Amazon RDS - AWS Documentation
Amazon RDS insufficient DB instance capacity. The InsufficientDBInstanceCapacity error can be returned when you try to create, start, or modify a DB instance....
Read more >
Excel VBA Error Handling - All You Need to Know!
In the Options dialog box, click on the General tab and make sure that within the 'Error Trapping' group, 'Break on Unhandled Errors'...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found