Cynical Behaviors Error on I7

Posted on
Fri Jan 27, 2017 5:26 am
itopota offline
Posts: 11
Joined: Oct 26, 2014

Cynical Behaviors Error on I7

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

Posted on
Mon Oct 09, 2017 8:36 am
eme jota ce offline
Posts: 618
Joined: Jul 09, 2009
Location: SW Florida

Re: Cynical Behaviors Error on I7

Bump.

I see this error, too.

Anyone have advice on this?

Thanks,
mjc

Posted on
Mon Oct 09, 2017 8:55 am
roussell offline
User avatar
Posts: 1108
Joined: Aug 18, 2008
Location: Alabama

Re: Cynical Behaviors Error on I7

Well that unicode (u'\xe8') appears to be this character:
232.png
232.png (2.22 KiB) Viewed 2724 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

Posted on
Mon Oct 09, 2017 1:41 pm
eme jota ce offline
Posts: 618
Joined: Jul 09, 2009
Location: SW Florida

Re: Cynical Behaviors Error on I7

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.

Posted on
Sat Jul 14, 2018 2:32 pm
dduff617 offline
Posts: 658
Joined: Jul 05, 2006
Location: Massachusetts, USA

Re: Cynical Behaviors Error on I7

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.

Posted on
Tue Dec 25, 2018 12:52 am
dduff617 offline
Posts: 658
Joined: Jul 05, 2006
Location: Massachusetts, USA

Re: Cynical Behaviors Error on I7

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)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests