Perry The Cynic wrote:File ".../Server Plugin/denon/avr.py", line 150, in radio_filter
assert radio == self.radio_type
AssertionError
...
I haven't had a chance to debug it yet; Any ideas ?
You've hit a safety check that suggests that your receiver claims to both operate an HD radio and a "normal" one. I wrote the code to expect either one or the other. Interesting. (Of course, I don't
have your model, so I was working from general assumptions.)
In the plugin settings, in the
Debug Modules field enter the string
denon.avr. Reload the plugin; it should now log all messages sent to and from the receiver. Take the whole output and send it to me. That'll help me figure out what your receiver is saying.
If you just want to take your chances, you can remove the assertion (in line 150 of denon/avr.py) and see how far that gets you. It may only affect the radio function.
Cheers
-- perry
Enabling plugin "Cynical Denon 1.0.0b4"
Starting plugin "Cynical Denon 1.0.0b4" (pid 79739)
Plugin "Cynical Denon" connected
Cynical Denon module denon.avr enabled debugging
Plugin "Cynical Denon 1.0.0b4" started
Cynical Denon mapping device "Denon in TV Room" 82496423(avreceiver)
Cynical Denon Denon in TV Room starting
Cynical Denon Denon in TV Room connecting to host
Cynical Denon plugin starting asyn operation
Cynical Denon Denon in TV Room is now exploring
Cynical Denon AVR -> TFHD?
Cynical Denon AVR <- <Ctx:<attr:tuner_frequency>> HD 008750
Cynical Denon AVR <- <Ctx:unknown> TFHDMCA
Cynical Denon AVR -> TFAN?
Cynical Denon AVR -> Z2?
Cynical Denon AVR <- <Ctx:<attr:tuner_frequency>> AN 052000
Cynical Denon Error in runConcurrentThread: Traceback (most recent call last):
File ".../Server Plugin/cyin/debugging.py", line 46, in diagnostic_log
yield
File ".../Server Plugin/cyin/debugging.py", line 56, in diagnose_call
return method(*args, **kwargs)
File ".../Server Plugin/cyin/asynplugin.py", line 51, in runConcurrentThread
self.run()
File ".../Server Plugin/asyn/inject.py", line 49, in run
asyn.Controller.run(self)
File ".../Server Plugin/asyn/controller.py", line 88, in run
item._can_read()
File ".../Server Plugin/asyn/selectable.py", line 227, in _can_read
result = scan(self._rbuf, self.callout)
File ".../Server Plugin/asyn/scan.py", line 68, in scan
callout(ctx, *m.groups())
File ".../Server Plugin/asyn/core.py", line 140, in callout
results = [cb(ctx, *args) for cb in list(self._callbacks)] # latch callback list
File ".../Server Plugin/denon/avr.py", line 313, in _event
args = filter(self, args)
File ".../Server Plugin/denon/avr.py", line 150, in radio_filter
assert radio == self.radio_type
AssertionError
Cynical Denon Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Cynical Denon plugin starting asyn operation
Cynical Denon AVR -> Z3?
Cynical Denon AVR <- <Ctx:<attr:tuner_frequency>> AN 052000
Cynical Denon Error in runConcurrentThread: Traceback (most recent call last):
File ".../Server Plugin/cyin/debugging.py", line 46, in diagnostic_log
yield
File ".../Server Plugin/cyin/debugging.py", line 56, in diagnose_call
return method(*args, **kwargs)
File ".../Server Plugin/cyin/asynplugin.py", line 51, in runConcurrentThread
self.run()
File ".../Server Plugin/asyn/inject.py", line 49, in run
asyn.Controller.run(self)
File ".../Server Plugin/asyn/controller.py", line 88, in run
item._can_read()
File ".../Server Plugin/asyn/selectable.py", line 227, in _can_read
result = scan(self._rbuf, self.callout)
File ".../Server Plugin/asyn/scan.py", line 68, in scan
callout(ctx, *m.groups())
File ".../Server Plugin/asyn/core.py", line 140, in callout
results = [cb(ctx, *args) for cb in list(self._callbacks)] # latch callback list
File ".../Server Plugin/denon/avr.py", line 313, in _event
args = filter(self, args)
File ".../Server Plugin/denon/avr.py", line 150, in radio_filter
assert radio == self.radio_type
AssertionError
Cynical Denon Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Cynical Denon plugin starting asyn operation
Cynical Denon AVR -> Z4?
Cynical Denon AVR <- <Ctx:<attr:tuner_frequency>> AN 052000
Cynical Denon Error in runConcurrentThread: Traceback (most recent call last):
File ".../Server Plugin/cyin/debugging.py", line 46, in diagnostic_log
yield
File ".../Server Plugin/cyin/debugging.py", line 56, in diagnose_call
return method(*args, **kwargs)
File ".../Server Plugin/cyin/asynplugin.py", line 51, in runConcurrentThread
self.run()
File ".../Server Plugin/asyn/inject.py", line 49, in run
asyn.Controller.run(self)
File ".../Server Plugin/asyn/controller.py", line 88, in run
item._can_read()
File ".../Server Plugin/asyn/selectable.py", line 227, in _can_read
result = scan(self._rbuf, self.callout)
File ".../Server Plugin/asyn/scan.py", line 68, in scan
callout(ctx, *m.groups())
File ".../Server Plugin/asyn/core.py", line 140, in callout
results = [cb(ctx, *args) for cb in list(self._callbacks)] # latch callback list
File ".../Server Plugin/denon/avr.py", line 313, in _event
args = filter(self, args)
File ".../Server Plugin/denon/avr.py", line 150, in radio_filter
assert radio == self.radio_type
AssertionError
Cynical Denon Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Disabling plugin "Cynical Denon 1.0.0b4"
Stopping plugin "Cynical Denon 1.0.0b4" (pid 79739)
Plugin "Cynical Denon" disconnected