Shims unicode errors

Posted on
Sat Jun 04, 2022 3:35 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Shims unicode errors

Finally upgrading plugins to python3 versions and getting this error:
Code: Select all
   MQTT Shims Error                plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   MQTT Shims Error                Error in plugin execution runConcurrentThread:

  File "plugin.py", line 115, in runConcurrentThread
  File "plugin.py", line 142, in processMessages
  File "plugin.py", line 367, in update
type: name 'unicode' is not defined
Quick search on github repo shows another stray unicode reference on line 609

Thanks.

Posted on
Sat Jun 04, 2022 3:52 pm
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Shims unicode errors

New version in store.

Still shaking out the bugs from the Python3 transition.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Jun 04, 2022 4:06 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Shims unicode errors

Not quite:
Code: Select all
MQTT Shims Error                Error in plugin execution InitializeMain:

type: ('unexpected indent', ('plugin.py', 616, 8, '        retList = []\n', 616, -1))

Posted on
Sat Jun 04, 2022 4:14 pm
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Shims unicode errors

My bad. Pushed another fix.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Jun 04, 2022 4:19 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Shims unicode errors

Code: Select all
MQTT Shims Error                plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   MQTT Shims Error                Error in plugin execution runConcurrentThread:

  File "plugin.py", line 114, in runConcurrentThread
  File "plugin.py", line 141, in processMessages
  File "plugin.py", line 366, in update
type: argument of type 'type' is not iterable
Sorry.

Posted on
Sat Jun 04, 2022 4:20 pm
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Shims unicode errors

OK, I won't be able to look at it anymore until tomorrow. Go back to the pre-Python3 version.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Jun 04, 2022 4:24 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Shims unicode errors

It looked like an easy one. Thanks for giving it a quick shake.

Posted on
Sun Jun 05, 2022 7:00 am
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Shims unicode errors

Finally fixed. 2022.0.5 in plugin store.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jun 05, 2022 3:24 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Shims unicode errors

Thanks.

Posted on
Mon Jun 06, 2022 3:19 am
neilk offline
Posts: 715
Joined: Jul 13, 2015
Location: Reading, UK

Re: Shims unicode errors

I think you may have a version mismatch, the plugin store shows 2022.0.5 but the plist in the download is 2022.0.4

Not really an issue but made me double take as it still shows the update being available after install (was doing some housekeeping yesterday)

Neil

Posted on
Mon Jun 06, 2022 5:43 am
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Shims unicode errors

I fixed the store download.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests