in Line '1746' has error=''NoneType' object is not iterable'

Posted on
Fri Feb 09, 2018 7:24 pm
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

in Line '1746' has error=''NoneType' object is not iterable'

Code: Select all
   uniFiAP                         in Line '1746' has error=''NoneType' object is not iterable'


Just upgraded. Not sure if this is new since then, or a one off, or something that happens occasionally.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Fri Feb 09, 2018 11:07 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: in Line '1746' has error=''NoneType' object is not itera

which version? could you re-download the latest.

line 1746 in the last 2 version is in the menu section.. never executed if you don't explicitly do a menu command..

7.10.88 is the latest

Karl

here the link to my dropbox, https://www.dropbox.com/s/vv4wbwuhs1vpq6q/uniFiAP-v-7.10.88.zip?dl=1
same in the indigo store https://www.indigodomo.com/pluginstore/73/

Posted on
Sat Feb 10, 2018 7:06 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: in Line '1746' has error=''NoneType' object is not itera

I had just dl'ed .85. I’ll try the latest this morning.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat Feb 10, 2018 9:26 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: in Line '1746' has error=''NoneType' object is not itera

Guess the caffeine hasn't kicked in yet.

I got into an upgrade mess because the download was auto-renamed to unifiap-2 since there was already a unifiap in my dl folder.

I foolishly double clicked it and it installed but then I got
Code: Select all
uniFiAP Error                   --------------------------------------------------------------------------------------------------------------
   uniFiAP Error                   The pluginName is not correct, please reinstall or rename
   uniFiAP Error                   It should be   /Libray/....../Plugins/uniFiAP.indigoPlugin
   uniFiAP Error                   It is: /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/uniFiAP-2.indigoPlugin
   uniFiAP Error                   please check your download folder, delete old *.indigoPlugin files or this will happen again during next update
   uniFiAP Error                   ---------------------------------------------------------------------------------------------------------------
   


Tried various things like renaming the plugin, and now I get
Code: Select all
 Error                           plugin "uniFiAP-2.indigoPlugin" is missing file: /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/uniFiAP-2.indigoPlugin/Contents/Info.plist
   


Things I've tried:

renaming the plugin in the plugin folder.

Renaming the plugin and reinstalling. This gets an "already installed" message.

Disabling and reloading.

Disabling, removing from the plugin folder, reinstalling.

All still generate an error.

OK wait--I just reloaded the misbehaving plugin to see whether or not it was functioning despite these errors, and now it doesn't throw any errors of complaining about the plugin name. Odd.

But, like a bad penny:

Code: Select all
 uniFiAP                         in Line '1775' has error=''NoneType' object is not iterable'

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat Feb 10, 2018 4:17 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

in Line '1746' has error=''NoneType' object is not iterable'

Ok
disable the plugin if not server stop done
Then rename anything like -2 to regular Name or delete.

You might need to stop the server first as the old one is still running

You might have 2 running in parallel
One regular and one with -2

Sent from my iPhone using Tapatalk

Posted on
Sat Feb 10, 2018 5:52 pm
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: in Line '1746' has error=''NoneType' object is not itera

I've done all that delete stuff. I'm 99% certain there's only 1 plugin running. Also, I notice the line number has changed from the original error to the current one.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat Feb 10, 2018 6:12 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: in Line '1746' has error=''NoneType' object is not itera

What’s your version#?
And what error messages are there?


Sent from my iPhone using Tapatalk

ps if you like we can do an online session with teamviewer .. send me your login info .. we should be able to fix this quickly

Posted on
Sat Feb 10, 2018 6:35 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: in Line '1746' has error=''NoneType' object is not itera

ok found it ..


with
xxx = abc()

in abc
return {}
and one just
return

then doing
for a in xxx:

that does not work when xxx is None

This only happens when auto discovery is turn off. That is why I don't see it

will post a fix soon.

Karl

Posted on
Sat Feb 10, 2018 6:51 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: in Line '1746' has error=''NoneType' object is not itera

posted fixed version . .89 @ https://www.indigodomo.com/pluginstore/73/

Karl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron