Roon Extension Manager v0.8.1


(Jan Koudijs) #61

Good news, thanks for reporting.


(Milton Krueger) #62

The new version worked for several days, but today it says: Status: Extension query failed.
Suddenly I have no other extensions! I tried forcing another update and restarted Roon, but the result is the same.
This is on a Win7Pro 64 bit system.


(Jan Koudijs) #63

Hi @Milton_Krueger,

Can you provide me the log file?
You can find it in %AppData%\RoonExtensions\roon-extension-manager.log


(Milton Krueger) #64

Here you go:
Err: roon-extension-denon terminated unexpectedly
Err: roon-extension-denon terminated unexpectedly
^C^CErr: roon-extension-harmony terminated unexpectedly
^C2017-10-22T11:29:53.330Z - Err: Terminated: roon-extension-denon (1)
2017-10-23T11:30:07.803Z - Err: Terminated: roon-extension-denon (1)
2017-10-24T09:28:16.179Z - Err: Terminated: roon-extension-denon (1)
2017-10-24T11:30:02.761Z - Err: Terminated: roon-extension-denon (1)
2017-10-25T08:10:32.558Z - Err: Terminated: roon-extension-denon (1)
2017-10-25T09:16:32.195Z - Err: Terminated: roon-extension-denon (1)
Child process already terminated: 5440
2017-10-25T09:17:29.299Z - Err: Terminated: roon-extension-denon (3221225786)
2017-10-25T11:30:11.677Z - Err: Terminated: roon-extension-denon (1)
2017-10-25T11:32:22.463Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441
runner.terminate(name, cb);
^

TypeError: Cannot read property ‘terminate’ of undefined
at _stop (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441:19)
at _update (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:309:13)
at _perform_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:480:21)
at _queue_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:456:9)
at _queue_updates (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:495:13)
at exec (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:585:17)
at ChildProcess.exithandler (child_process.js:195:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
2017-10-26T11:30:22.726Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441
runner.terminate(name, cb);
^

TypeError: Cannot read property ‘terminate’ of undefined
at _stop (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441:19)
at _update (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:309:13)
at _perform_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:480:21)
at _queue_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:456:9)
at _queue_updates (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:495:13)
at exec (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:585:17)
at ChildProcess.exithandler (child_process.js:195:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
2017-10-27T11:30:18.731Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441
runner.terminate(name, cb);
^

TypeError: Cannot read property ‘terminate’ of undefined
at _stop (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441:19)
at _update (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:309:13)
at _perform_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:480:21)
at _queue_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:456:9)
at _queue_updates (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:495:13)
at exec (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:585:17)
at ChildProcess.exithandler (child_process.js:195:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
2017-10-28T11:30:13.496Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441
runner.terminate(name, cb);
^

TypeError: Cannot read property ‘terminate’ of undefined
at _stop (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441:19)
at _update (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:309:13)
at _perform_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:480:21)
at _queue_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:456:9)
at _queue_updates (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:495:13)
at exec (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:585:17)
at ChildProcess.exithandler (child_process.js:195:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
2017-10-29T11:30:15.802Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441
runner.terminate(name, cb);
^

TypeError: Cannot read property ‘terminate’ of undefined
at _stop (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441:19)
at _update (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:309:13)
at _perform_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:480:21)
at _queue_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:456:9)
at _queue_updates (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:495:13)
at exec (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:585:17)
at ChildProcess.exithandler (child_process.js:195:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
2017-10-30T11:30:15.321Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441
runner.terminate(name, cb);
^

TypeError: Cannot read property ‘terminate’ of undefined
at _stop (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441:19)
at _update (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:309:13)
at _perform_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:480:21)
at _queue_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:456:9)
at _queue_updates (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:495:13)
at exec (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:585:17)
at ChildProcess.exithandler (child_process.js:195:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
2017-10-31T11:30:20.054Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441
runner.terminate(name, cb);
^

TypeError: Cannot read property ‘terminate’ of undefined
at _stop (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441:19)
at _update (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:309:13)
at _perform_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:480:21)
at _queue_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:456:9)
at _queue_updates (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:495:13)
at exec (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:585:17)
at ChildProcess.exithandler (child_process.js:195:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
2017-10-31T20:18:11.493Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

2017-10-31T20:19:30.933Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441
runner.terminate(name, cb);
^

TypeError: Cannot read property ‘terminate’ of undefined
at _stop (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:441:19)
at _update (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:309:13)
at _perform_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:480:21)
at _queue_action (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:456:9)
at _queue_updates (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:495:13)
at exec (C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-manager\node_modules\node-api-extension-installer\lib.js:585:17)
at ChildProcess.exithandler (child_process.js:195:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
2017-10-31T20:24:08.139Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

2017-10-31T20:40:39.543Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify

^C2017-10-31T20:44:29.400Z - Err: Extension query failed
npm ERR! extraneous: fast-json-stable-stringify@2.0.0 C:\Users\Milton\AppData\Roaming\RoonExtensions\node_modules\roon-extension-harmony\node_modules\fast-json-stable-stringify


(Jan Koudijs) #65

Can you try the following and see if it becomes operational again?

  • Type ‘services’ in the Windows search bar and open the Services application
  • Select the Roon Extension Manager in the list and stop it
  • Delete the extension manager log file
  • Type ‘cmd’ in the Windows search bar and open the Command Prompt application
  • Uninstall the harmony extension: npm uninstall -g roon-extension-harmony
  • Start the extension manager service again

In case these steps fix the query issue then I suggest to keep the Harmony extension uninstalled for at least a couple of days and see if all remains working and no errors are added to the log. I will then get in contact with the author of the Harmony extension and see if we can fix this.


(Milton Krueger) #66

That worked, the Denon/Marantz extension is back & working. I’ll leave harmony out of the mix for now.
Thanks, Jan


#67

Haven’t been able to get the extension to auto-update on Mac OS. Have changed the update time on a number of occasions but nothing occurs.


(Jan Koudijs) #68

Hi @Astr0b0y,

How do you start the extension manager? Do you use the start.js script?

Can you capture the console messages after setting the auto update time a few minutes ahead of actual time? (Keep capturing till the set time has passed). If you upload the result somewhere I will have a look at it.


(Milton Krueger) #69

Still working fine, no errors in log. Looks like it’s time to get @Boris_Pruessmann involved.


#70

Okay, I got a working setup with Extension Manager, Harmony & Denon extension running here. Will need to keep it running for a while, I guess. One thing to note though: I don’t have access to a Windows system, so if the problem is something specific to that platform, it’ll be hard for me to debug.


#71

Which version of npm are you running? Does your log show something along the lines of Updates query failed?


(Milton Krueger) #72

Working fine through several cycles of on & off & source change. No errors in log file.
Thanks, Boris.


(simon arnold) #73

Mines still ok. Not sure if it’s autoupdating though. I’m on Linux based OS so not windows.


(Milton Krueger) #74

Okay, so I spoke too soon. On my Android phone the “0/1” button on the volume popup changes color as it should, but pressing it has no effect. So I can’t turn off the system from there. It works fine on my Windows core machine.
Edit: Tried it again & it works now, maybe the button is too small to hit reliably?


(simon arnold) #75

Spoke to soon myself. I had not switched back on the auto updates. I turned it on last night and low and behold it all broke again this morning with no extensions working and the extension manager errored. Unintalling the Harmony extension and reinstalling got it back up and running. Turned auto updates off again.


(Milton Krueger) #76

Auto update worked fine for me last night on Windows7. It loaded the new Denon/Marantz version & everything is working.


#77

I did change a few minor things last week (or the week before) and have been running both the Harmony and Denon extension inside Extension Manager for quite a while now.

Denon is v0.0.4, Harmony v0.0.5. Please check if you have those versions running. If not, please reinstall.


#78

I installed Extension manager with the instructions here and after following all the terminal commands I saw the Extension manager in Roon. But seems every time I reboot or restart the app (not sure which), it disappears. Is that normal or any ideas how I can fix? My main interest is to use the Logitech Harmony extension.


(Jan Koudijs) #79

Hi @Occamsrazor,

A restart of the Roon Core should be taken care off, but when following the basic instructions you have the start the Extension Manager manually after a system restart.

What OS are you running? There might be a better solution.


#80

Hi Jan,

Thanks for your reply. So you mean I would manually have to run the terminal commands on each restart of the mac? That would be a little inconvenient for me as I turn it off each night.

I’m running Mac OSX 10.12.6…

One question… I’m not really clear about how the Extension Manager framework works… If I have extensions installed for example Logitech Harmony or Alarm Clock, does Extension Manager have to be running for those extensions to work? Or does it only need to be running for installing/removing/updating extensions?

Thanks…