Cynical Behaviors Error on I7
Posted:
Fri Jan 27, 2017 5:26 am
by itopota
Hello,
when I start indigo or reload the plugin, Cynical Behaviors give me this error
Cynical Behaviors Error error:
File ".../Server Plugin/cyin/plug.py", line 261, in deviceStartComm
iom.start_object(io, io.deviceTypeId)
File ".../Server Plugin/cyin/iom.py", line 183, in start_object
iom.start()
File "plugin.py", line 443, in start
self.activity()
File "plugin.py", line 607, in activity
self.inactive = self.makeList(devices, self.expressTime)
File ".../Server Plugin/cyin/attr.py", line 311, in __set__
value = self.untype(value)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 13: ordinal not in range(128)
how can I resolve it?
I have version 1.1.0 of the plugin
thanks
Enrico
Re: Cynical Behaviors Error on I7
Posted:
Mon Oct 09, 2017 8:36 am
by eme jota ce
Bump.
I see this error, too.
Anyone have advice on this?
Thanks,
mjc
Re: Cynical Behaviors Error on I7
Posted:
Mon Oct 09, 2017 8:55 am
by roussell
Well that unicode (u'\xe8') appears to be this character:
- 232.png (2.22 KiB) Viewed 2797 times
Are you guys using that? If so a possible work around would be to use "standard" characters (below ASCII 128) until Perry can get a fix in. Just a thought, hope it helps.
Terry
Re: Cynical Behaviors Error on I7
Posted:
Mon Oct 09, 2017 1:41 pm
by eme jota ce
roussell wrote:Well that unicode (u'\xe8') appears to be this character:
232.png
Are you guys using that? If so a possible work around would be to use "standard" characters (below ASCII 128) until Perry can get a fix in. Just a thought, hope it helps.
Terry
Thanks for the suggestion, Terry.
Don't think I'm using the è.
Searched for è in in the Search Bar of Indigo: Devices, Triggers, Schedules, Action Groups, and Control Pages. No hits. Also looked closely at all the Cynical Behaviors devices, which are easy to locate because I keep them in their own Indigo Devices folder. Nothing that I could find.
Re: Cynical Behaviors Error on I7
Posted:
Sat Jul 14, 2018 2:32 pm
by dduff617
i'm having the same error. i use nonbreaking space (u'\xa0') at the start of some of my devices (to influence how they appear when lists are sorted by name).
unfortunately, it means i can't use inactivity-watch device.
i was trying to use this device to notify me when insteon motion sensors either go dead due to battery w/o sending the report that they're supposed to send or when they go into "zombie" mode where they don't respond until you push their button, then they wake up and resume working.
Re: Cynical Behaviors Error on I7
Posted:
Tue Dec 25, 2018 12:52 am
by dduff617
Here's a another manifestation of what I suspect may be the same bug showing up for me now in in a different location:
Cynical Behaviors Error in runConcurrentThread: Traceback (most recent call last):
File ".../Server Plugin/cyin/debugging.py", line 58, in diagnostic_log
yield
File ".../Server Plugin/cyin/debugging.py", line 68, 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 109, in run
self._dispatch()
File ".../Server Plugin/asyn/controller.py", line 247, in _dispatch
top.callout(Ctx('TIMER', sched=top, control=self, when=top.when, now=now))
File ".../Server Plugin/asyn/core.py", line 152, in callout
results = [cb(ctx, *args) for cb in list(self._callbacks)] # latch callback list
File "plugin.py", line 450, in timeout
self.activity()
File "plugin.py", line 607, in activity
self.inactive = self.makeList(devices, self.expressTime)
File ".../Server Plugin/cyin/attr.py", line 311, in __set__
value = self.untype(value)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 126: ordinal not in range(128)
Cynical Behaviors Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)