Page 1 of 1

Cynical Caché 1.90 Issue

PostPosted: Tue Mar 31, 2020 11:37 am
by chobo
Perry,

Hope you're well. Quick note per your forum post... I updated to Cynical Cache 1.90 and was immediately greeted with the error(s) below. No rush at all on taking a look — downgraded to 1.80 and everything is back to normal. Just thought you might want to know. I'm currently using the plugin with a GC IP2IR and IP2CC.

Thank you!

Code: Select all
Stopping plugin Cynical Caché (pid 751)
   Stopped plugin Cynical Caché
   Upgrading plugin Cynical Caché to newer version 1.9.0 (previous version moved to trash)
   Loading plugin "Cynical Caché 1.9.0"
   Starting plugin "Cynical Caché 1.9.0" (pid 23861)
   Cynical Caché                   API version 2.3
   Cynical Caché                   Python version 2.7.16.final.0
   Started plugin "Cynical Caché 1.9.0"
   Cynical Caché Error             in runConcurrentThread: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 66, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/debugging.py", line 76, in diagnose_call
    return method(*args, **kwargs)
  File ".../Server Plugin/cyin/asynplugin.py", line 64, in runConcurrentThread
    self.run()
  File ".../Server Plugin/asyn/inject.py", line 61, in run
    asyn.Controller.run(self)
  File ".../Server Plugin/asyn/controller.py", line 105, in run
    item._can_read()
  File ".../Server Plugin/asyn/selectable.py", line 244, in _can_read
    self._scan(input)
  File ".../Server Plugin/asyn/scan.py", line 63, in _scan
    if not self.scan.scan(self):
  File ".../Server Plugin/asyn/scan.py", line 139, in scan
    target.callout(ctx, *m.groups())
  File ".../Server Plugin/asyn/core.py", line 152, in callout
    results = [cb(ctx, *args) for cb in list(self._callbacks)]   # latch callback list
  File ".../Server Plugin/ir/gcache/gcnet.py", line 235, in _calldown
    self._create_dev(gcdev.Sensor, addr, type) # configured for input
  File ".../Server Plugin/ir/gcache/gcnet.py", line 302, in _create_dev
    dev = cls(self, address, specific)
  File ".../Server Plugin/ir/gcache/gcdev.py", line 205, in __init__
    self._upd_register()
AttributeError: 'Sensor' object has no attribute '_upd_register'

   Cynical Caché Error             plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Cynical Caché Error             in runConcurrentThread: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 66, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/debugging.py", line 76, in diagnose_call
    return method(*args, **kwargs)
  File ".../Server Plugin/cyin/asynplugin.py", line 64, in runConcurrentThread
    self.run()
  File ".../Server Plugin/asyn/inject.py", line 61, in run
    asyn.Controller.run(self)
  File ".../Server Plugin/asyn/controller.py", line 105, in run
    item._can_read()
  File ".../Server Plugin/asyn/selectable.py", line 244, in _can_read
    self._scan(input)
  File ".../Server Plugin/asyn/scan.py", line 63, in _scan
    if not self.scan.scan(self):
  File ".../Server Plugin/asyn/scan.py", line 139, in scan
    target.callout(ctx, *m.groups())
  File ".../Server Plugin/asyn/core.py", line 152, in callout
    results = [cb(ctx, *args) for cb in list(self._callbacks)]   # latch callback list
  File ".../Server Plugin/ir/gcache/gcnet.py", line 235, in _calldown
    self._create_dev(gcdev.Sensor, addr, type) # configured for input
  File ".../Server Plugin/ir/gcache/gcnet.py", line 302, in _create_dev
    dev = cls(self, address, specific)
  File ".../Server Plugin/ir/gcache/gcdev.py", line 205, in __init__
    self._upd_register()
AttributeError: 'Sensor' object has no attribute '_upd_register'

   Cynical Caché Error             plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Re: Cynical Caché 1.90 Issue

PostPosted: Wed Apr 06, 2022 10:29 am
by screen
Hi, same exact issue here. Downgrade brought things back to working for me.

Re: Cynical Caché 1.90 Issue

PostPosted: Sat May 27, 2023 4:43 pm
by screen
Just tried upgrading to plugin v3.1.4 and still can't startup due to the same error. Using a WF2IR here.

Code: Select all
 Cynical Caché Error             in run_concurrent_thread: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 67, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/debugging.py", line 77, in diagnose_call
    return method(*args, **kwargs)
  File ".../Server Plugin/cyin/asynplugin.py", line 64, in run_concurrent_thread
    self.run()
  File ".../Server Plugin/asyn/inject.py", line 60, in run
    asyn.Controller.run(self)
  File ".../Server Plugin/asyn/controller.py", line 105, in run
    item._can_read()
  File ".../Server Plugin/asyn/selectable.py", line 244, in _can_read
    self._scan(input)
  File ".../Server Plugin/asyn/scan.py", line 67, in _scan
    if not self.scan.scan(self):
  File ".../Server Plugin/asyn/scan.py", line 144, in scan
    target.callout(ctx, *m.groups())
  File ".../Server Plugin/asyn/core.py", line 163, in callout
    results = [cb(ctx, *args) for cb in list(self._callbacks)]   # latch callback list
  File ".../Server Plugin/asyn/core.py", line 163, in <listcomp>
    results = [cb(ctx, *args) for cb in list(self._callbacks)]   # latch callback list
  File ".../Server Plugin/ir/gcache/gcnet.py", line 237, in _calldown
    self._create_dev(gcdev.Sensor, addr, type) # configured for input
  File ".../Server Plugin/ir/gcache/gcnet.py", line 304, in _create_dev
    dev = cls(self, address, specific)
  File ".../Server Plugin/ir/gcache/gcdev.py", line 207, in __init__
    self._upd_register()
AttributeError: 'Sensor' object has no attribute '_upd_register'

Re: Cynical Caché 1.90 Issue

PostPosted: Sun Jun 25, 2023 6:25 pm
by screen
Okay, had some time to dig into this and the issue is simply a typo.

Code: Select all
Contents/Server Plugin/ir/gcache/gcdev.py:         self._upd_register()

this should be changed to

Code: Select all
self._udp_register()

Re: Cynical Caché 1.90 Issue

PostPosted: Fri Aug 18, 2023 5:59 pm
by screen
An update. While the plugin is running and communicating with my gc device, I am not getting sensor notification events in indigo. I can query the sensor via the "Send Status Request" button but am no longer getting automatic sensor updates. Really wish this was working so I don't have to find another way to get these events.

Thanks!