Version 2.0.8 errors/ bugs

Posted on
Wed Dec 25, 2019 7:57 am
CrazyFin offline
Posts: 381
Joined: Jan 08, 2015
Location: Stockholm, SWEDEN

Version 2.0.8 errors/ bugs

I tested version 2.0.8 and it seems to have more errors causing it to be unusable (I'll roll back to 2.0.7):

Following error when installation of 2.0.8 is finished and plugin is reloaded:
Code: Select all
2019-12-25 14:49:42.708   Application   Loading plugin "Verisure v2 2.0.8"
2019-12-25 14:49:42.715   Application   Starting plugin "Verisure v2 2.0.8" (pid 95888)
2019-12-25 14:49:44.350   Application   Started plugin "Verisure v2 2.0.8"
2019-12-25 14:49:48.874   Verisure v2 Error   Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 331, in runConcurrentThread
  File "plugin.py", line 255, in refreshData
KeyError: 'key currentLockState not found in dict'

2019-12-25 14:49:48.877   Verisure v2 Error   plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


and
Code: Select all
2019-12-25 14:49:58.875   Verisure v2 Error   Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 326, in runConcurrentThread
AttributeError: 'Plugin' object has no attribute 'login'

2019-12-25 14:49:58.875   Verisure v2 Error   plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Following error when closing configuration panel:
Code: Select all
   Verisure v2 Error               Error in plugin execution UiClosed1:

Traceback (most recent call last):
  File "plugin.py", line 76, in closedPrefsConfigUi
  File "plugin.py", line 152, in doLogin
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/VerisureV2.indigoPlugin/Contents/Server Plugin/verisure/session.py", line 101, in login
OSError: (2, 'No such file or directory', '/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/VerisureV2.indigoPlugin/Contents/Server Plugin/verisure/.verisure-cookie')

Posted on
Sun Jan 19, 2020 3:49 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Version 2.0.8 errors/ bugs

Try https://github.com/howartp84/Verisure/r ... /tag/2.0.9

It fixes the "currentLockState" and "Plugin object has no attribute 'login'"issues

I think the cookie error was fixed in 2.0.8 but didn't work because of the login issue above.

Peter

Posted on
Sun Jan 19, 2020 5:17 pm
CrazyFin offline
Posts: 381
Joined: Jan 08, 2015
Location: Stockholm, SWEDEN

Re: Version 2.0.8 errors/ bugs

Cool!

I am now running version 2.0.9 with 5 sec update interval.
I'll report back in few days (earlier if I see an error).

Posted on
Mon Jan 20, 2020 3:22 pm
tazswe offline
Posts: 211
Joined: Mar 13, 2017
Location: Sweden

Re: Version 2.0.8 errors/ bugs

Tried the 2.09 today and got the following error, tried to reload it and got the same error every time except the second time.

Error attempt 1,3,4,5


Verisure v2 Error Error in plugin execution UiClosed1:

Traceback (most recent call last):
File "plugin.py", line 76, in closedPrefsConfigUi
File "plugin.py", line 152, in doLogin
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/VerisureV2-2.indigoPlugin/Contents/Server Plugin/verisure/session.py", line 96, in login
IOError: [Errno 2] No such file or directory: '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/VerisureV2.indigoPlugin/Contents/Server Plugin/verisure/.verisure-cookie'

Got this error on the second attempt.


Verisure v2 Error Error in plugin execution UiClosed1:

Traceback (most recent call last):
File "plugin.py", line 76, in closedPrefsConfigUi
File "plugin.py", line 152, in doLogin
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/VerisureV2-2.indigoPlugin/Contents/Server Plugin/verisure/session.py", line 96, in login
IOError: [Errno 2] No such file or directory: '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/VerisureV2.indigoPlugin/Contents/Server Plugin/verisure/.verisure-cookie'

Version 2.07 was running good for me but I only locks.


Skickat från min iPad med Tapatalk

Posted on
Tue Jan 21, 2020 1:53 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Version 2.0.8 errors/ bugs

I’m confused because if that’s the same line I looked at, it says:

If(cookie exists) then delete it.

Then it promptly fails to delete it as it doesn’t exist.

I’ll have another look.


Sent from my iPhone using Tapatalk Pro

Posted on
Wed Jan 22, 2020 5:17 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Version 2.0.8 errors/ bugs

tazswe wrote:
Traceback (most recent call last):
File "plugin.py", line 76, in closedPrefsConfigUi
File "plugin.py", line 152, in doLogin
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/VerisureV2-2.indigoPlugin/Contents/Server Plugin/verisure/session.py", line 96, in login
IOError: [Errno 2] No such file or directory: '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/VerisureV2.indigoPlugin/Contents/Server Plugin/verisure/.verisure-cookie'


Aha....!

Your indigo plugin filename is wrong, and therefore it can't write the cookie when logging in.

Can you rename the plugin file and restart Indigo?

Peter.

Posted on
Thu Jan 23, 2020 1:50 am
tazswe offline
Posts: 211
Joined: Mar 13, 2017
Location: Sweden

Re: Version 2.0.8 errors/ bugs

Hi Peter,

Did as you suggested. Got the following bug.


23 Jan 2020 at 08:13:39
Error plugin "VerisureV2-2.indigoPlugin" is missing file: /Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/VerisureV2-2.indigoPlugin/Contents/Info.plist

After that I downgraded it to 2.0.8 to see if it would install the missing file, and it did.

Have now upgrade to 2.0.9 and it seems to work . :)





Skickat från min iPad med Tapatalk

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron