Page 1 of 1

Error in plugin execution

PostPosted: Fri Jan 04, 2019 1:16 pm
by PETStech
Just noticed this morning that plugins for Alexa-Hue Bride, utilities, and Echo 2 and Echo Dot 2 have stopped working. I stopped/restarted the server and reloaded the plugins, but the problem persists. Before this morning, Alexa commands were working, without incident, but now, for example, Alexa responds, to "Alexa, turn on the Hall Lights" with "Hall Lights isn't responding; please check its connection and power supply."

Here's what I find in the log:

INSTEON Commands Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 23, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 256, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 171, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 64, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 911, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 941, in _open
IOError: (13, 'Permission denied', u'/Library/Application Support/Perceptive Automation/Indigo 7.2/Logs/indigoplugin.InsteonCommands/plugin.log')

Stopping interface "INSTEON Commands 2.2.1" (pid 1942)
Action Collection Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 53, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 256, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 171, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 64, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 911, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 941, in _open
IOError: (13, 'Permission denied', u'/Library/Application Support/Perceptive Automation/Indigo 7.2/Logs/indigoplugin.ActionCollection/plugin.log')

Stopping plugin "Action Collection 2.1.1" (pid 1941)
Alexa-Hue Bridge Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 36, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 256, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 171, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 64, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 911, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 941, in _open
IOError: (13, 'Permission denied', u'/Library/Application Support/Perceptive Automation/Indigo 7.2/Logs/opensource.alexa-hue-bridge/plugin.log')

Stopping plugin "Alexa-Hue Bridge 3.0.29" (pid 1943)
utilities Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 47, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 256, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 171, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 64, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 911, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 941, in _open
IOError: (13, 'Permission denied', u'/Library/Application Support/Perceptive Automation/Indigo 7.2/Logs/com.karlwachs.utilities/plugin.log')

Stopping plugin "utilities 1.18.22" (pid 1944)
WebServer client connected
WebServer started on port 8176 -- digest authentication enabled
Stopped plugin "utilities 1.18.22"
Stopped plugin "Alexa-Hue Bridge 3.0.29"
Stopped plugin "Action Collection 2.1.1"
Stopped interface "INSTEON Commands 2.2.1"

Jan 4, 2019, 9:34:48 AM
Connected to PowerLinc 2413U interface on port usbserial-AL02YD15
PowerLinc address 48.EE.C1, firmware version 9.14

Jan 4, 2019, 9:35:09 AM
Reloading plugin "Alexa-Hue Bridge 3.0.29"
Starting plugin "Alexa-Hue Bridge 3.0.29" (pid 1954)
Alexa-Hue Bridge Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 36, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 256, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 171, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 64, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 911, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 941, in _open
IOError: (13, 'Permission denied', u'/Library/Application Support/Perceptive Automation/Indigo 7.2/Logs/opensource.alexa-hue-bridge/plugin.log')

Stopping plugin "Alexa-Hue Bridge 3.0.29" (pid 1954)
Stopped plugin "Alexa-Hue Bridge 3.0.29"
Reloading plugin "utilities 1.18.22"
Starting plugin "utilities 1.18.22" (pid 1963)
utilities Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 47, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 256, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 171, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 64, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 911, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 941, in _open
IOError: (13, 'Permission denied', u'/Library/Application Support/Perceptive Automation/Indigo 7.2/Logs/com.karlwachs.utilities/plugin.log')

Stopping plugin "utilities 1.18.22" (pid 1963)
Stopped plugin "utilities 1.18.22"

Re: Error in plugin execution

PostPosted: Fri Jan 04, 2019 2:37 pm
by jay (support)
Unfortunately, rogue installers can overwrite permissions so if you've installed anything recently (or recovered via Time Machine) then rerunning the installer should solve those issues.

Re: Error in plugin execution

PostPosted: Fri Jan 04, 2019 2:47 pm
by PETStech
Thanks. The suggestion resolved the problem and the comments regarding Time Machine are relevant, for yesterday I had just finished redoing my TM backups for my old and new MBAs and the Mac mini on which Indigo was running.