Error in Cynical Caché plugin

Posted on
Sun Jun 19, 2022 11:12 am
cesarvog offline
User avatar
Posts: 155
Joined: Aug 13, 2016
Location: Brazil

Error in Cynical Caché plugin

Good Afternoon,

I recently noticed the following error in my Indigo (2022.1) Log:

19 Jun 2022 14:01:08
Reloading plugin "Cynical Caché 3.0.0" using API v3.0.0
Stopping plugin "Cynical Caché 3.0.0" (pid 37602)
Stopped plugin "Cynical Caché 3.0.0"
Starting plugin "Cynical Caché 3.0.0" (pid 37638)
Cynical Caché API version 3.0
Cynical Caché Python version 3.10.2.final.0
Started plugin "Cynical Caché 3.0.0"
Cynical Caché Error in filter EmitterFilter: Traceback (most recent call last):
File ".../Server Plugin/cyin/debugging.py", line 67, in diagnostic_log
yield
File ".../Server Plugin/cyin/plug.py", line 618, in menufilter
menu = filter._evaluate()
File ".../Server Plugin/cyin/filter.py", line 77, in _evaluate
menu = self.evaluate()
File "plugin.py", line 49, in evaluate
return _dev_menu(ir.gcache.IREmitter)
File "plugin.py", line 36, in _dev_menu
menu = [("%d@%s" % (dev.id, addr), "%s @ %s" % (dev.name, addr))
File "plugin.py", line 36, in <listcomp>
menu = [("%d@%s" % (dev.id, addr), "%s @ %s" % (dev.name, addr))
File ".../Server Plugin/netdev.py", line 89, in all_devices
for gcdev in net.gcnet.all_type(devclass):
File ".../Server Plugin/ir/gcache/gcnet.py", line 147, in all_type
for dev in self.devmap.itervalues():
AttributeError: 'dict' object has no attribute 'itervalues'

It first started happening when I tried changing the IR port of one of my Itach Flex devices, which resulted in the "Configure IR Emiter" Address list being empty (please see screen grabs below)

Screen Shot 2022-06-19 at 14.09.27.png
Screen Shot 2022-06-19 at 14.09.27.png (182.89 KiB) Viewed 1469 times

Screen Shot 2022-06-19 at 14.07.38.png
Screen Shot 2022-06-19 at 14.07.38.png (111.17 KiB) Viewed 1469 times


I suppose it has something related to the recent update to Python 3 and I only noticed it when trying to edit the properties of a previously existing IR emitter, but I suppose if I would start defining devices from scratch the list would be empty as well.

Thanks in advance

Posted on
Fri Jul 08, 2022 12:41 am
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Error in Cynical Caché plugin

Fixed (3.1.2). Give it a whirl. And be on the lookout for more "missed improvements". :-)

Cheers
-- perry

Posted on
Fri Jul 08, 2022 9:22 am
cesarvog offline
User avatar
Posts: 155
Joined: Aug 13, 2016
Location: Brazil

Re: Error in Cynical Caché plugin

Hi Perry,

I can confirm the new version fixed de problem.

Many Thanks

Cesar

Posted on
Thu Jul 21, 2022 2:55 pm
Vig offline
Posts: 111
Joined: Oct 06, 2015

Re: Error in Cynical Caché plugin

I am getting the attached error with 3.1.3 running on MacOS 12.0.1
Attachments
Screen Shot 2022-07-21 at 4.53.31 PM.png
Screen Shot 2022-07-21 at 4.53.31 PM.png (450.32 KiB) Viewed 1359 times

Posted on
Thu Jul 21, 2022 11:19 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Error in Cynical Caché plugin

I never knew Python 3 was going to be so much fun. :-)

I fixed that immediate problem. But I also realized that I don't have any IR receiver hardware anymore to test this with - my house isn't using IR anymore, and the box with the receiver device has somehow gone into hiding. So give 3.1.4 a try and let me know how it goes.

Cheers
-- perry

Posted on
Fri Jul 22, 2022 4:24 pm
Vig offline
Posts: 111
Joined: Oct 06, 2015

Re: Error in Cynical Caché plugin

That worked! Thank you.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests