Page 1 of 1
Shims unicode errors
Posted:
Sat Jun 04, 2022 3:35 pm
by kmarkley
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.
Re: Shims unicode errors
Posted:
Sat Jun 04, 2022 3:52 pm
by FlyingDiver
New version in store.
Still shaking out the bugs from the Python3 transition.
Re: Shims unicode errors
Posted:
Sat Jun 04, 2022 4:06 pm
by kmarkley
Not quite:
- Code: Select all
MQTT Shims Error Error in plugin execution InitializeMain:
type: ('unexpected indent', ('plugin.py', 616, 8, ' retList = []\n', 616, -1))
Re: Shims unicode errors
Posted:
Sat Jun 04, 2022 4:14 pm
by FlyingDiver
My bad. Pushed another fix.
Re: Shims unicode errors
Posted:
Sat Jun 04, 2022 4:19 pm
by kmarkley
- 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.
Re: Shims unicode errors
Posted:
Sat Jun 04, 2022 4:20 pm
by FlyingDiver
OK, I won't be able to look at it anymore until tomorrow. Go back to the pre-Python3 version.
Re: Shims unicode errors
Posted:
Sat Jun 04, 2022 4:24 pm
by kmarkley
It looked like an easy one. Thanks for giving it a quick shake.
Re: Shims unicode errors
Posted:
Sun Jun 05, 2022 7:00 am
by FlyingDiver
Finally fixed. 2022.0.5 in plugin store.
Re: Shims unicode errors
Posted:
Sun Jun 05, 2022 3:24 pm
by kmarkley
Thanks.
Re: Shims unicode errors
Posted:
Mon Jun 06, 2022 3:19 am
by neilk
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
Re: Shims unicode errors
Posted:
Mon Jun 06, 2022 5:43 am
by FlyingDiver
I fixed the store download.