Getting Errors with Cynical Cache

Posted on
Mon Mar 28, 2016 5:26 pm
wikner offline
Posts: 181
Joined: Nov 02, 2003

Getting Errors with Cynical Cache

Recently got an iTach Flex and configured it with an IR Blaster. I successfully got it to work in Indigo with the Cynical Cache plugin using a single command to toggle the power on my TV monitor. However, after a time (about a day) it stops working and I get errors like the following in the log:
Code: Select all
 Cynical Caché Error             in sendIR: 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/irdev.py", line 111, in sendIR
    self.gcdev.emit(symbol, action.count)
  File ".../Server Plugin/ir/gcache/gcdev.py", line 110, in emit
    task.transmit()                        # start transmission
  File ".../Server Plugin/ir/gcache/gcdev.py", line 38, in transmit
    self.seq = self.dev._transmit(self.ir, self.repeat)
  File ".../Server Plugin/ir/gcache/gcdev.py", line 137, in _transmit
    "%d,%d,%d,%d,%s" % (seq, ir.carrier, count, offset, ','.join(map(xlate, pulses))))
  File ".../Server Plugin/ir/gcache/gcdev.py", line 70, in command
    self.hostdev.command(','.join([cmd, self.address] + map(str, args)))
  File ".../Server Plugin/ir/gcache/gcnet.py", line 119, in command
    self.hostdev.write(cmd + '\r')
AttributeError: 'NoneType' object has no attribute 'write'
My Indigo server is running on an old Mac Mini running 10.8.6. Quitting the Indigo Server on the host using Activity Monitor (it seems to restart spontaneously) fixes the problem for a while.
Any idea of how to track this problem down?
3/30/16 Update. After the last restart of Indigo Server the iR device failed (from Indigo) with the same traceback above. I tested the iTach Flex independently by sending the following to it via terminal:
Code: Select all
>>> import requests
>>> rbase = 'http://192.168.15.69/api/v1' ### the IP address of my iTach
>>> r = requests.get(rbase+'/version')
>>> r.text
u'{"make":"GlobalCache","model":"iTachFlexWiFi","host":"iTachFlex","firmwareVersion":"710-2000-16","userName":"","password":"","boardVersion":"10"}'

So the iTach is still functioning.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest