New install issue

Posted on
Fri Nov 06, 2020 5:35 pm
shapa offline
Posts: 434
Joined: Sep 08, 2014
Location: Swindon

New install issue

Enabling plugin "Announcements 1.0.17"
Starting plugin "Announcements 1.0.17" (pid 20952)
Announcements
Announcements =================================================== Initializing New Plugin Session ===================================================
Announcements Plugin name: Announcements
Announcements Plugin version: 1.0.17
Announcements Plugin ID: com.fogbert.indigoplugin.announcements
Announcements Indigo version: 7.4.1
Announcements Python version: 2.7.16 (default, Jun 5 2020, 22:59:21) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
Announcements Mac OS Version: 10.15.7
Announcements Process ID: 20952
Announcements =======================================================================================================================================
Started plugin "Announcements 1.0.17"
Announcements Error Error in plugin execution startup:

Traceback (most recent call last):
File "plugin.py", line 235, in startup
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 49, in literal_eval
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 37, in parse
SyntaxError: ('unexpected EOF while parsing', ('<unknown>', 0, 0, ''))

Announcements Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 210, in runConcurrentThread
File "plugin.py", line 702, in announcement_update_states
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 49, in literal_eval
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 37, in parse
SyntaxError: unexpected EOF while parsing (<unknown>, line 0)

Announcements Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Z-Wave received "Kitchen Motion Sensor Temperature" sensor update to 25.8 °C
Z-Wave received "Kitchen Motion Sensor Humidity" sensor update to 33%
Z-Wave received "Kitchen Motion Sensor Luminance" sensor update to 3 lux
Z-Wave received "Kitchen Motion Sensor Ultraviolet" sensor update to 0
Announcements Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 210, in runConcurrentThread
File "plugin.py", line 702, in announcement_update_states
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 49, in literal_eval
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 37, in parse
SyntaxError: unexpected EOF while parsing (<unknown>, line 0)

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

Traceback (most recent call last):
File "plugin.py", line 210, in runConcurrentThread
File "plugin.py", line 702, in announcement_update_states
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 49, in literal_eval
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 37, in parse
SyntaxError: unexpected EOF while parsing (<unknown>, line 0)

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

Posted on
Fri Nov 06, 2020 6:14 pm
DaveL17 offline
User avatar
Posts: 5985
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: New install issue

Sorry you're having trouble (and thanks for reporting the error). By new install, does that mean that this is the first time you've ever installed this plugin?

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat Nov 07, 2020 11:45 am
shapa offline
Posts: 434
Joined: Sep 08, 2014
Location: Swindon

Re: New install issue

Yes, second home, clean Indigo install and first time installed the plugin.

Posted on
Sat Nov 07, 2020 1:16 pm
DaveL17 offline
User avatar
Posts: 5985
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: New install issue

Thanks, that will help me troubleshoot. The plugin is supposed to establish a default on first install, but clearly that's not happening properly.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Nov 08, 2020 5:48 am
DaveL17 offline
User avatar
Posts: 5985
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: New install issue

I have posted an update to the plugin that should fix this issue. Please try v1.0.18 which is available in the plugin store. NOTE: before enabling the new version of the plugin, please delete the files below if they exist (adjust the path to refer to your version of Indigo as needed).

Download Announcements Plugin v1.0.18

Code: Select all
Delete these files if they exist:
/Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.fogbert.indigoplugin.announcements.txt
/Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.fogbert.indigoplugin.announcements.indiPref

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Nov 08, 2020 11:12 am
shapa offline
Posts: 434
Joined: Sep 08, 2014
Location: Swindon

Re: New install issue

Hooray! Works now.

Starting plugin "Announcements 1.0.18" (pid 22879)
Announcements
Announcements =================================================== Initializing New Plugin Session ===================================================
Announcements Plugin name: Announcements
Announcements Plugin version: 1.0.18
Announcements Plugin ID: com.fogbert.indigoplugin.announcements
Announcements Indigo version: 7.4.1
Announcements Python version: 2.7.16 (default, Jun 5 2020, 22:59:21) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
Announcements Mac OS Version: 10.15.7
Announcements Process ID: 22879
Announcements =======================================================================================================================================
Started plugin "Announcements 1.0.18"

Posted on
Sun Nov 08, 2020 11:16 am
shapa offline
Posts: 434
Joined: Sep 08, 2014
Location: Swindon

Re: New install issue

OK, another issue. Could not edit the announcement. The text is not editable.

"8 Nov 2020 at 17:14:26
Announcements Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
File "plugin.py", line 1089, in generatorStateOrValue
KeyError: key devVarMenu not found in dict
"
Not able to enter any text here:
Attachments
Screenshot 2020-11-08 at 17.15.48.png
Screenshot 2020-11-08 at 17.15.48.png (292.47 KiB) Viewed 950 times

Posted on
Sun Nov 08, 2020 12:14 pm
DaveL17 offline
User avatar
Posts: 5985
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: New install issue

Sorry about that. That bug didn't show up for me when I was testing changes, but I can reproduce it. I'll get to work on a fix, but in the meantime, it seems that you can select Save for that dialog and then reopen it and you'll be able to go forward.

Sorry in advance if you come across any more bugs! :D

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Nov 08, 2020 12:36 pm
shapa offline
Posts: 434
Joined: Sep 08, 2014
Location: Swindon

Re: New install issue

Save / re-open is not working :)

No worries, I will wait.

Posted on
Sun Nov 08, 2020 12:42 pm
DaveL17 offline
User avatar
Posts: 5985
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: New install issue

I've uploaded a new build that should fix the issue you found. I also stumbled upon another bug that is also fixed. This revised version (v1.0.19) has not yet been uploaded to the plugin store.

https://github.com/DaveL17/Announcements/archive/master.zip

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests