Page 1 of 1

Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 4:10 am
by GlennNZ
Hi

Was feeling enthusiastic about some GhostXML updates and thought would have a look a why iFindStuff stopped working in Indigo7 and have post fixed/updated version 1.03.05 as below.

Still - does not add 2 factor authentication! (for those that need that)
But if iFindstuff was working well before upgrade to Indigo7 and now get no latitude/longitude and a 'too many queries' error - I believe this will fix.

https://github.com/Ghawken/iFindStuff3. ... ag/1.03.05

Glenn

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 8:23 am
by Sharek326
After the update I am still getting this error ever since I7. Still have to keep IFindstuff off.

iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3634, in runConcurrentThread
UnboundLocalError: local variable 'iUpdateCycle' referenced before assignment

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 8:35 am
by jalves
I don't think the error has anything to do with what version of Indigo you are running. I believe its because of Apple's 2 Factor Identification that some of us have turned on which is causing the error message for this plugin.

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 8:40 am
by Sharek326
I don't use apple 2 step this I believe has to do with TinyDB and the plugin should come with it according to the notes in the forum but is not creating it.

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 2:19 pm
by GlennNZ
Sharek326 wrote:
After the update I am still getting this error ever since I7. Still have to keep IFindstuff off.

iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3634, in runConcurrentThread
UnboundLocalError: local variable 'iUpdateCycle' referenced before assignment

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Hi
Obviously your error is quite unique. Looking at the code it's hard to see how that error could arise without some major issue.
Happy to have a look if you want to turn on debug logging and result.

Mine is now running fine and stable (I don't have 2FA on) since this update.

Glenn

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 2:26 pm
by Sharek326
I have even completely removed the Plugin rebooted and installed new with no result same error

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 2:55 pm
by Sharek326
this is what debug has over and over

iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3634, in runConcurrentThread
UnboundLocalError: local variable 'iUpdateCycle' referenced before assignment

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3634, in runConcurrentThread
UnboundLocalError: local variable 'iUpdateCycle' referenced before assignment

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3634, in runConcurrentThread
UnboundLocalError: local variable 'iUpdateCycle' referenced before assignment

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
iFindStuff Failed to access pluginPrefs for iDebug1 - advise Developer
iFindStuff Failed to access pluginPrefs for key fields - advise Developer
iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3634, in runConcurrentThread
UnboundLocalError: local variable 'iUpdateCycle' referenced before assignment

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
iFindStuff Failed to access pluginPrefs for iDebug1 - advise Developer
iFindStuff Failed to access pluginPrefs for key fields - advise Developer
iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3634, in runConcurrentThread
UnboundLocalError: local variable 'iUpdateCycle' referenced before assignment

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
iFindStuff Failed to access pluginPrefs for iDebug1 - advise Developer
iFindStuff Failed to access pluginPrefs for key fields - advise Developer
iFindStuff Error Error in plugin execution runConcurrentThread:

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 2:58 pm
by GlennNZ
Ok

But the lead up to that error with all the debug options turned on would be helpful
It maybe large and an attachment probably the better idea


Sent from my iPhone using Tapatalk

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 2:59 pm
by Sharek326
Debug was turns on in the above

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 3:03 pm
by Sharek326
I turned on all the debugging I notice it refers to I6 but I am running I7 and there is no I6 folder anymore since I reinstalled OS

Traceback (most recent call last):
File "plugin.py", line 3311, in runConcurrentThread
File "plugin.py", line 171, in errorHandler
IOError: (2, 'No such file or directory', '/Library/Application Support/Perceptive Automation/Indigo 6/Logs/iFindStuffErrors.log')

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3311, in runConcurrentThread
File "plugin.py", line 171, in errorHandler
IOError: (2, 'No such file or directory', '/Library/Application Support/Perceptive Automation/Indigo 6/Logs/iFindStuffErrors.log')

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3311, in runConcurrentThread
File "plugin.py", line 171, in errorHandler
IOError: (2, 'No such file or directory', '/Library/Application Support/Perceptive Automation/Indigo 6/Logs/iFindStuffErrors.log')

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
iFindStuff Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 3311, in runConcurrentThread
File "plugin.py", line 171, in errorHandler
IOError: (2, 'No such file or directory', '/Library/Application Support/Perceptive Automation/Indigo 6/Logs/iFindStuffErrors.log')

iFindStuff Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 3:22 pm
by GlennNZ
It is probably (without looking at code) relating to the logging changes and that missing directory. I'll have a look when can - but meanwhile you could try creating that indigo 6 directory structure and see whether that fixes the error.

Glenn

Re: Version 1.03.05 Fix for Multiple Queries/Non-functioning

PostPosted: Wed Nov 30, 2016 11:40 pm
by GlennNZ
Hi

Was using a non-existent directory to save log files - hence early error. Have added a quick check for Indigo7 and if so changes logging directory

Here:

https://github.com/Ghawken/iFindStuff3. ... ag/1.03.06

Glenn

Re: Version 1.03.06 Fix for Multiple Queries/Non-functioning

PostPosted: Mon Feb 06, 2017 10:11 pm
by goneoffthegrid
I just wanted to post a note saying that I noticed that the lat,lon for my iPhone device was being returned as 0,0 and, hence, iFindStuff was basically "broken" for me.

I noticed this after upgrading to Indigo7 but it may have been broken earlier. In any case, after downloading the 1.03.06 version from GitHib, the problem appears to be resolved. Thank you Glen!