FileIOError

Posted on
Mon May 17, 2021 2:41 pm
vvrangler offline
Posts: 38
Joined: Sep 01, 2014

Re: FileIOError

Jay,

It appears that everything is running along normal and then a "FileIOError -- cannot create file path" pops up and then from that point on, for every trigger that tries to run an external script, the log says "TriggerAction() caught exception: FileIOError -- cannot create file path" and the trigger action doesn't happen, (see error log snippet below).

None of the scripts called by these triggers have actions/scripts that write anything to a file, and as far as I can tell the triggers that do not have external scripts in their actions do continue to work.

Code: Select all
2021-05-16 23:02:32.347   Script Debug   192.168.1.160 - MM Update End: 2021-05-16 23:02:32.346393 (2 updates  0 errors)
2021-05-16 23:02:34.030   Script   Indigo Solar Check (logout)
2021-05-16 23:02:34.030   Script   Indigo Solar Check (stoplistening)
2021-05-16 23:02:34.030   Script   Indigo Solar Check (stop)
2021-05-16 23:02:34.030   Script Debug   Indigo Solar Check End: 2021-05-16 23:02:34 029788
2021-05-16 23:02:36.256   Script Debug   192.168.1.160 - MM Update End: 2021-05-16 23:02:36.256057 (1 updates  0 errors)
2021-05-16 23:02:46.228   Script Debug   192.168.1.160 - MM Update End: 2021-05-16 23:02:46.227639 (1 updates  0 errors)
2021-05-16 23:03:01.330   Script Debug   Indigo Solar Check Start: 2021-05-16 23:03:01 329688
2021-05-16 23:03:01.372   Error   FileIOError -- cannot create file path
2021-05-16 23:03:01.505   Script   {"spotacpower": 0, "total": 40064292, "string2": 0, "today": 39686, "string1": 0}
2021-05-16 23:03:02.392   Error   FileIOError -- cannot create file path
2021-05-16 23:03:03.525   Script Debug   192.168.1.160 - MM Update End: 2021-05-16 23:03:03.524941 (4 updates  0 errors)
2021-05-16 23:03:03.528   Error   FileIOError -- cannot create file path
2021-05-16 23:03:03.857   Error   FileIOError -- cannot create file path
2021-05-16 23:03:04.338   Script   Indigo Solar Check (logout)
2021-05-16 23:03:04.338   Script   Indigo Solar Check (stoplistening)
2021-05-16 23:03:04.339   Script   Indigo Solar Check (stop)
2021-05-16 23:03:04.339   Script Debug   Indigo Solar Check End: 2021-05-16 23:03:04 338228
2021-05-16 23:03:05.563   Error   TriggerAction() caught exception: FileIOError -- cannot create file path
2021-05-16 23:03:10.564   Error   TriggerAction() caught exception: FileIOError -- cannot create file path
2021-05-16 23:03:15.561   Error   TriggerAction() caught exception: FileIOError -- cannot create file path
2021-05-16 23:03:15.561   Error   TriggerAction() caught exception: FileIOError -- cannot create file path
2021-05-16 23:03:20.562   Error   TriggerAction() caught exception: FileIOError -- cannot create file path
2021-05-16 23:03:25.563   Error   TriggerAction() caught exception: FileIOError -- cannot create file path
2021-05-16 23:15:29.823   Error   _DispatchProcessThread() caught exception: FileIOError -- cannot create file path

Posted on
Mon May 17, 2021 3:17 pm
jay (support) offline
Site Admin
User avatar
Posts: 18201
Joined: Mar 19, 2008
Location: Austin, Texas

Re: FileIOError

Can you email us (support@indigodomo.com) the script that's generating this log line:

Code: Select all
2021-05-16 23:02:36.256   Script Debug   192.168.1.160 - MM Update End: 2021-05-16 23:02:36.256057 (1 updates  0 errors)


Add a link to this post so we know what it goes with.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon May 17, 2021 8:56 pm
vvrangler offline
Posts: 38
Joined: Sep 01, 2014

Re: FileIOError

I emailed you the requested script

Thanks!

Posted on
Tue May 18, 2021 9:23 am
jay (support) offline
Site Admin
User avatar
Posts: 18201
Joined: Mar 19, 2008
Location: Austin, Texas

Re: FileIOError

Got it. Here's what I think is happening: urlopen() creates a file descriptor like object that's returned. Your script is opening a TON of them. Those are OS-level descriptors and after a certain amount of time and probably with some other environmental things, the OS is running out (it has a finite amount of file descriptors available) and that's why you're seeing the FileIOError.

Things you might try: every time you use urlopen, read the response:

Code: Select all
response = urlopen()
response.read()


I don't think there's an explicit close() method on the response object, but perhaps by reading it it will automatically close it and free up the file descriptor faster.

Another idea would be to put some slight delays in the script so that it would give the Python GC more time to purge those response objects out before making new ones.

What I would do would be to switch to the requests library - I suspect that it takes care of any low-level issues like this and may solve the problem (though that's a guess). The requests library is included with Indigo and it is really much easier to deal with than the various built-in methods in Python (particularly Python 2.7).

If that doesn't work, then you may have to go with a more radical redesign such that only when a device/variable gets updated would you push the change out to openhab. This could be done outside of a plugin but would probably be more maintainable if you did it in a plugin.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue May 18, 2021 9:49 am
vvrangler offline
Posts: 38
Joined: Sep 01, 2014

Re: FileIOError

Thank you for the suggestions Jay, I did already add code so that the updates only happen when the values change from what was last stored, and on average only about 3-6 of the url open() calls happen during a single call of the script.

I will give these a try and if it still happens will try and switch to the requests option.

Thanks again fo the help!

Posted on
Sun May 23, 2021 10:18 am
Jason G. offline
User avatar
Posts: 54
Joined: Mar 21, 2018

Re: FileIOError

Hi - this has been happening for me a few more times now, and I'm not using urlopen in any of my scripts.

Since I last posted in January it has happened to me 5 times... once when I didn't write anything down, but then again on 4/14, 5/9, 5/12 and again today on 5/23.

I haven't materially changed any of my scripts since November, so I'm not sure why I was averaging one error every 2 months, then accelerated up to one error every week or two. Maybe macOS upgrades make the underlying issue more exposed?

This morning when I noticed it, I ran a few commands to try and troubleshoot... I pasted in the results below. (It doesn't look like there is any sensitive info in the output, but let me know if there is and I can edit the info out...)

You can see my script is running as process 31529, and it has about 40 lines for open file descriptors, about the same as the other processes.

The only thing that might be mildly unusual for Indigo is that I use imports in my code - e.g., "import config" to read in a config.py file, so that I don't have to repeat code in each of my scripts.

Relevant details - I reboot my mac about once a week, so it's not sitting around with a long uptime with tons of open file descriptors. The rest of the system is fine, all I have to do is restart the Indigo Server and Indigo is happy and my scripts run again. No other apps are affected.

Sidebar - is there a way to catch when this is throwing errors and notify myself somehow? E.g., email me that I need to come restart the server... otherwise I basically am constantly watching for when my light switch behavior doesn't match what it is supposed to... a tad frustrating.

Any thoughts on what might be wrong, or how I can try to improve the behavior?

Thanks,
Jason

Code: Select all
$ ps -eaf | grep -i indigo
  UID   PID  PPID   C STIME   TTY           TIME CMD
  501   702     1   0 Wed09AM ??        10:17.10 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoServer.app/Contents/MacOS/IndigoServer
  501   715   702   0 Wed09AM ??         4:46.05 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -fVirtual Devices.indigoPlugin
  501   716   702   0 Wed09AM ??         4:37.13 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -f.INSTEON Commands.indigoPlugin
  501   717   702   0 Wed09AM ??         4:50.44 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -f.Action Collection.indigoPlugin
  501   718   702   0 Wed09AM ??        10:30.99 /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoWebServer/IndigoWebServer.py -i1176 -w8176 -cfn
  501   749   702   0 Wed09AM ??        17:19.96 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -fAlexa-Hue Bridge.indigoPlugin
  501 31529   702   0 11:10PM ??         0:37.44 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -x/Library/Application Support/Perceptive Automation/Scripts/reconcile.py
  501 73964     1   0 11:44AM ??         0:01.77 /Applications/Indigo 7.5.app/Contents/MacOS/Indigo 7.5
  501 73994 81093   0 11:45AM ttys000    0:00.00 /bin/bash ./indigo-debug.sh
  501 73997 73994   0 11:45AM ttys000    0:00.00 grep -i indigo

$ lsof -c IndigoServer
COMMAND   PID  USER   FD      TYPE             DEVICE SIZE/OFF                NODE NAME
IndigoSer 702 jason  cwd       DIR                1,4      640                   2 /
IndigoSer 702 jason  txt       REG                1,4  4086848          9023336637 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoServer.app/Contents/MacOS/IndigoServer
IndigoSer 702 jason  txt       REG                1,4   476656          9023336856 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoServer.app/Contents/Frameworks/Pantomime.framework/Versions/A/Pantomime
IndigoSer 702 jason  txt       REG                1,4  3145968 1152921500312295861 /System/Library/Frameworks/Python.framework/Versions/2.7/Python
IndigoSer 702 jason  txt       REG                1,4    36564          9079046912 /Library/Preferences/Logging/.plist-cache.J5AOlhwI
IndigoSer 702 jason  txt       REG                1,4 31085200 1152921500312789427 /usr/share/icu/icudt66l.dat
IndigoSer 702 jason  txt       REG                1,4   240512          9042025845 /private/var/db/timezone/tz/2021a.1.0/icutz/icutz44l.dat
IndigoSer 702 jason  txt       REG                1,4   136152 1152921500312198778 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
IndigoSer 702 jason  txt       REG                1,4  6380584 1152921500312198744 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car
IndigoSer 702 jason  txt       REG                1,4  1950120 1152921500312198768 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car
IndigoSer 702 jason  txt       REG                1,4  4746856 1152921500312198790 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car
IndigoSer 702 jason  txt       REG                1,4  1488256 1152921500312299905 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/unicodedata.so
IndigoSer 702 jason  txt       REG                1,4    64926          9080238177 /private/var/db/analyticsd/events.whitelist
IndigoSer 702 jason  txt       REG                1,4   140032 1152921500312713931 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
IndigoSer 702 jason  txt       REG                1,4   139216 1152921500312299815 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
IndigoSer 702 jason  txt       REG                1,4  2580592 1152921500312778087 /usr/lib/dyld
IndigoSer 702 jason  txt       REG                1,4   209760 1152921500312299859 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
IndigoSer 702 jason  txt       REG                1,4   233696          9023336829 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoServer.app/Contents/Resources/PlugIns/sa_main.so
IndigoSer 702 jason  txt       REG                1,4   141824 1152921500312299833 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
IndigoSer 702 jason  txt       REG                1,4   139408 1152921500312299897 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
IndigoSer 702 jason  txt       REG                1,4   138480 1152921500312299845 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
IndigoSer 702 jason  txt       REG                1,4   139088 1152921500312299803 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
IndigoSer 702 jason  txt       REG                1,4   140848 1152921500312299805 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
IndigoSer 702 jason  txt       REG                1,4   173888 1152921500312299813 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
IndigoSer 702 jason  txt       REG                1,4   140080 1152921500312299903 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
IndigoSer 702 jason  txt       REG                1,4   139392 1152921500312299853 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
IndigoSer 702 jason  txt       REG                1,4   141456 1152921500312299789 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
IndigoSer 702 jason  txt       REG                1,4   142688 1152921500312299885 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
IndigoSer 702 jason  txt       REG                1,4   190320 1152921500312299877 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
IndigoSer 702 jason  txt       REG                1,4   138240 1152921500312299807 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
IndigoSer 702 jason  txt       REG                1,4   227136 1152921500312299827 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
IndigoSer 702 jason  txt       REG                1,4   235680 1152921500312299831 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
IndigoSer 702 jason  txt       REG                1,4   228640 1152921500312299851 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
IndigoSer 702 jason  txt       REG                1,4   140304 1152921500312299895 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
IndigoSer 702 jason  txt       REG                1,4   348096 1152921500312299811 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
IndigoSer 702 jason  txt       REG                1,4   140656 1152921500312299879 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
IndigoSer 702 jason  txt       REG                1,4   139408 1152921500312299823 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
IndigoSer 702 jason  txt       REG                1,4   138448 1152921500312299865 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
IndigoSer 702 jason  txt       REG                1,4   139552 1152921500312299825 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_scproxy.so
IndigoSer 702 jason  txt       REG                1,4   283808 1152921500312299793 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
IndigoSer 702 jason  txt       REG                1,4   139280 1152921500312299907 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/zlib.so
IndigoSer 702 jason  txt       REG                1,4   141568 1152921500312299849 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/bz2.so
IndigoSer 702 jason  txt       REG                1,4   138224 1152921500312299871 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/grp.so
IndigoSer 702 jason  txt       REG                1,4   160512          9023336729 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoServer.app/Contents/Resources/PlugIns/sa_geturl.so
IndigoSer 702 jason  txt       REG                1,4   175248 1152921500312299839 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
IndigoSer 702 jason  txt       REG                1,4   137792 1152921500312299775 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
IndigoSer 702 jason  txt       REG                1,4    88400          9023336833 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoServer.app/Contents/Resources/PlugIns/utilfuncs.so
IndigoSer 702 jason  txt       REG                1,4    32768          8620314554 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db-shm
IndigoSer 702 jason    0r      CHR                3,2      0t0                 317 /dev/null
IndigoSer 702 jason    1u      CHR                3,2      0t0                 317 /dev/null
IndigoSer 702 jason    2u      CHR                3,2 0t395578                 317 /dev/null
IndigoSer 702 jason    3r      REG                1,4   229766          9023336639 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoServer.app/Contents/Resources/IndigoServer.rsrc
IndigoSer 702 jason    4r      REG                1,4   144580 1152921500312251659 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
IndigoSer 702 jason    5r      REG                1,4   490410 1152921500312251558 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
IndigoSer 702 jason    6u     IPv4 0x4bbe03dfac763f6f      0t0                 TCP localhost:indigo-server->localhost:59622 (ESTABLISHED)
IndigoSer 702 jason    7u     IPv4 0x4bbe03dfaa3dab1f      0t0                 TCP *:indigo-server (LISTEN)
IndigoSer 702 jason    8u     unix 0x4bbe03dfa9ee1b5f      0t0                     ->0x4bbe03dfa9ee1c27
IndigoSer 702 jason    9u      REG                1,4   274432          8620314550 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db
IndigoSer 702 jason   10r      CHR               14,1   0t2500                 593 /dev/urandom
IndigoSer 702 jason   11u     IPv4 0x4bbe03dfa9a773bf      0t0                 TCP localhost:indigo-server->localhost:49351 (ESTABLISHED)
IndigoSer 702 jason   12u     IPv4 0x4bbe03dfa9a72ca7      0t0                 TCP localhost:indigo-server->localhost:49352 (ESTABLISHED)
IndigoSer 702 jason   13u     IPv4 0x4bbe03dfa971cde7      0t0                 TCP localhost:indigo-server->localhost:49353 (ESTABLISHED)
IndigoSer 702 jason   14   NPOLICY                                                 
IndigoSer 702 jason   15u     IPv4 0x4bbe03dfab273ca7      0t0                 TCP localhost:indigo-server->localhost:49437 (ESTABLISHED)
IndigoSer 702 jason   16u      REG                1,4   403792          8620314553 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db-wal
IndigoSer 702 jason   17u      REG                1,4    32768          8620314554 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db-shm
IndigoSer 702 jason   18u      REG                1,4   274432          8620314550 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db
IndigoSer 702 jason   19u      REG                1,4   403792          8620314553 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db-wal
IndigoSer 702 jason   20u     IPv4 0x4bbe03dfaac7e0f7      0t0                 TCP localhost:indigo-server->localhost:49375 (ESTABLISHED)
IndigoSer 702 jason   21u      CHR               22,1 0t258462                 715 /dev/cu.usbserial-A906XMKP
IndigoSer 702 jason   22u    systm 0x4bbe03ec62c641e7      0t0                     [ctl com.apple.netsrc id 6 unit 31]
IndigoSer 702 jason   23u     unix 0x4bbe03dfab4e7717      0t0                     ->0x4bbe03dfab4e65e7
IndigoSer 702 jason   24u     IPv4 0x4bbe03dfabc9380f      0t0                 TCP localhost:indigo-server->localhost:63534 (ESTABLISHED)

$ lsof -c IndigoWebServer
[ there was no output ]

$ lsof -c IndigoPluginHost
COMMAND     PID  USER   FD      TYPE             DEVICE SIZE/OFF                NODE NAME
IndigoPlu   715 jason  cwd       DIR                1,4      192          9023338780 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/Virtual Devices.indigoPlugin/Contents/Server Plugin
IndigoPlu   715 jason  txt       REG                1,4  4300432          9023337887 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost
IndigoPlu   715 jason  txt       REG                1,4  3145968 1152921500312295861 /System/Library/Frameworks/Python.framework/Versions/2.7/Python
IndigoPlu   715 jason  txt       REG                1,4    36564          9079046912 /Library/Preferences/Logging/.plist-cache.J5AOlhwI
IndigoPlu   715 jason  txt       REG                1,4 31085200 1152921500312789427 /usr/share/icu/icudt66l.dat
IndigoPlu   715 jason  txt       REG                1,4   240512          9042025845 /private/var/db/timezone/tz/2021a.1.0/icutz/icutz44l.dat
IndigoPlu   715 jason  txt       REG                1,4   136152 1152921500312198778 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
IndigoPlu   715 jason  txt       REG                1,4  6380584 1152921500312198744 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car
IndigoPlu   715 jason  txt       REG                1,4  1950120 1152921500312198768 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car
IndigoPlu   715 jason  txt       REG                1,4  4746856 1152921500312198790 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car
IndigoPlu   715 jason  txt       REG                1,4   140032 1152921500312713931 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
IndigoPlu   715 jason  txt       REG                1,4   139216 1152921500312299815 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
IndigoPlu   715 jason  txt       REG                1,4   209760 1152921500312299859 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
IndigoPlu   715 jason  txt       REG                1,4   141824 1152921500312299833 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
IndigoPlu   715 jason  txt       REG                1,4   173888 1152921500312299813 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
IndigoPlu   715 jason  txt       REG                1,4   140080 1152921500312299903 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
IndigoPlu   715 jason  txt       REG                1,4   139392 1152921500312299853 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
IndigoPlu   715 jason  txt       REG                1,4   141456 1152921500312299789 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
IndigoPlu   715 jason  txt       REG                1,4   142688 1152921500312299885 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
IndigoPlu   715 jason  txt       REG                1,4   190320 1152921500312299877 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
IndigoPlu   715 jason  txt       REG                1,4   138240 1152921500312299807 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
IndigoPlu   715 jason  txt       REG                1,4   227136 1152921500312299827 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
IndigoPlu   715 jason  txt       REG                1,4   139088 1152921500312299803 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
IndigoPlu   715 jason  txt       REG                1,4    38880          9023338781 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/Virtual Devices.indigoPlugin/Contents/Server Plugin/plugin.so
IndigoPlu   715 jason  txt       REG                1,4   235680 1152921500312299831 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
IndigoPlu   715 jason  txt       REG                1,4   228640 1152921500312299851 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
IndigoPlu   715 jason  txt       REG                1,4   140304 1152921500312299895 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
IndigoPlu   715 jason  txt       REG                1,4  2580592 1152921500312778087 /usr/lib/dyld
IndigoPlu   715 jason  txt       REG                1,4   139408 1152921500312299897 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
IndigoPlu   715 jason  txt       REG                1,4   175312 1152921500312299801 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_elementtree.so
IndigoPlu   715 jason  txt       REG                1,4   178080 1152921500312299889 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so
IndigoPlu   715 jason  txt       REG                1,4   142576 1152921500312299891 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
IndigoPlu   715 jason  txt       REG                1,4   348096 1152921500312299811 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
IndigoPlu   715 jason  txt       REG                1,4   138448 1152921500312299865 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
IndigoPlu   715 jason  txt       REG                1,4   138976 1152921500312299901 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
IndigoPlu   715 jason  txt       REG                1,4   175248 1152921500312299839 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
IndigoPlu   715 jason  txt       REG                1,4   141568 1152921500312299849 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/bz2.so
IndigoPlu   715 jason  txt       REG                1,4   138480 1152921500312299845 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
IndigoPlu   715 jason  txt       REG                1,4    64926          9080238177 /private/var/db/analyticsd/events.whitelist
IndigoPlu   715 jason    0r      CHR                3,2      0t0                 317 /dev/null
IndigoPlu   715 jason    1u      CHR                3,2      0t0                 317 /dev/null
IndigoPlu   715 jason    2u      CHR                3,2 0t395578                 317 /dev/null
IndigoPlu   715 jason    3u     IPv4 0x4bbe03dfa971d80f      0t0                 TCP localhost:49353->localhost:indigo-server (ESTABLISHED)
IndigoPlu   715 jason    4w      REG                1,4     4959          9080316922 /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/indigoplugin.devicecollection/plugin.log
IndigoPlu   715 jason    5      PIPE 0x2853dc7ed5ba8f56    16384                     ->0x1af4acdd7d50e452
IndigoPlu   715 jason    6      PIPE 0x1af4acdd7d50e452    16384                     ->0x2853dc7ed5ba8f56
IndigoPlu   716 jason  cwd       DIR                1,4      160          9023338829 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/.INSTEON Commands.indigoPlugin/Contents/Server Plugin
IndigoPlu   716 jason  txt       REG                1,4  4300432          9023337887 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost
IndigoPlu   716 jason  txt       REG                1,4  3145968 1152921500312295861 /System/Library/Frameworks/Python.framework/Versions/2.7/Python
IndigoPlu   716 jason  txt       REG                1,4    36564          9079046912 /Library/Preferences/Logging/.plist-cache.J5AOlhwI
IndigoPlu   716 jason  txt       REG                1,4   240512          9042025845 /private/var/db/timezone/tz/2021a.1.0/icutz/icutz44l.dat
IndigoPlu   716 jason  txt       REG                1,4   136152 1152921500312198778 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
IndigoPlu   716 jason  txt       REG                1,4  6380584 1152921500312198744 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car
IndigoPlu   716 jason  txt       REG                1,4  1950120 1152921500312198768 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car
IndigoPlu   716 jason  txt       REG                1,4  4746856 1152921500312198790 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car
IndigoPlu   716 jason  txt       REG                1,4    64926          9080238177 /private/var/db/analyticsd/events.whitelist
IndigoPlu   716 jason  txt       REG                1,4   140032 1152921500312713931 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
IndigoPlu   716 jason  txt       REG                1,4   139216 1152921500312299815 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
IndigoPlu   716 jason  txt       REG                1,4   209760 1152921500312299859 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
IndigoPlu   716 jason  txt       REG                1,4   141824 1152921500312299833 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
IndigoPlu   716 jason  txt       REG                1,4   173888 1152921500312299813 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
IndigoPlu   716 jason  txt       REG                1,4   140080 1152921500312299903 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
IndigoPlu   716 jason  txt       REG                1,4   139392 1152921500312299853 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
IndigoPlu   716 jason  txt       REG                1,4   141456 1152921500312299789 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
IndigoPlu   716 jason  txt       REG                1,4   142688 1152921500312299885 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
IndigoPlu   716 jason  txt       REG                1,4   190320 1152921500312299877 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
IndigoPlu   716 jason  txt       REG                1,4   138240 1152921500312299807 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
IndigoPlu   716 jason  txt       REG                1,4   227136 1152921500312299827 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
IndigoPlu   716 jason  txt       REG                1,4   139088 1152921500312299803 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
IndigoPlu   716 jason  txt       REG                1,4   235680 1152921500312299831 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
IndigoPlu   716 jason  txt       REG                1,4   228640 1152921500312299851 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
IndigoPlu   716 jason  txt       REG                1,4   140304 1152921500312299895 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
IndigoPlu   716 jason  txt       REG                1,4   139408 1152921500312299897 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
IndigoPlu   716 jason  txt       REG                1,4   175312 1152921500312299801 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_elementtree.so
IndigoPlu   716 jason  txt       REG                1,4   178080 1152921500312299889 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so
IndigoPlu   716 jason  txt       REG                1,4   142576 1152921500312299891 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
IndigoPlu   716 jason  txt       REG                1,4   348096 1152921500312299811 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
IndigoPlu   716 jason  txt       REG                1,4   138448 1152921500312299865 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
IndigoPlu   716 jason  txt       REG                1,4   138976 1152921500312299901 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
IndigoPlu   716 jason  txt       REG                1,4   175248 1152921500312299839 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
IndigoPlu   716 jason  txt       REG                1,4  2580592 1152921500312778087 /usr/lib/dyld
IndigoPlu   716 jason  txt       REG                1,4 31085200 1152921500312789427 /usr/share/icu/icudt66l.dat
IndigoPlu   716 jason    0r      CHR                3,2      0t0                 317 /dev/null
IndigoPlu   716 jason    1u      CHR                3,2      0t0                 317 /dev/null
IndigoPlu   716 jason    2u      CHR                3,2 0t395578                 317 /dev/null
IndigoPlu   716 jason    3u     IPv4 0x4bbe03dfa9a75f6f      0t0                 TCP localhost:49351->localhost:indigo-server (ESTABLISHED)
IndigoPlu   716 jason    4w      REG                1,4      149          9080238753 /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/indigoplugin.InsteonCommands/plugin.log
IndigoPlu   716 jason    5      PIPE  0xde9ca9fd61bbc39    16384                     ->0x5f0f7a4a9612871a
IndigoPlu   716 jason    6      PIPE 0x5f0f7a4a9612871a    16384                     ->0xde9ca9fd61bbc39
IndigoPlu   717 jason  cwd       DIR                1,4      320          9023338857 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/.Action Collection.indigoPlugin/Contents/Server Plugin
IndigoPlu   717 jason  txt       REG                1,4  4300432          9023337887 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost
IndigoPlu   717 jason  txt       REG                1,4  3145968 1152921500312295861 /System/Library/Frameworks/Python.framework/Versions/2.7/Python
IndigoPlu   717 jason  txt       REG                1,4    36564          9079046912 /Library/Preferences/Logging/.plist-cache.J5AOlhwI
IndigoPlu   717 jason  txt       REG                1,4   240512          9042025845 /private/var/db/timezone/tz/2021a.1.0/icutz/icutz44l.dat
IndigoPlu   717 jason  txt       REG                1,4   136152 1152921500312198778 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
IndigoPlu   717 jason  txt       REG                1,4  1950120 1152921500312198768 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car
IndigoPlu   717 jason  txt       REG                1,4   140032 1152921500312713931 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
IndigoPlu   717 jason  txt       REG                1,4   139216 1152921500312299815 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
IndigoPlu   717 jason  txt       REG                1,4   209760 1152921500312299859 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
IndigoPlu   717 jason  txt       REG                1,4   141824 1152921500312299833 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
IndigoPlu   717 jason  txt       REG                1,4   173888 1152921500312299813 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
IndigoPlu   717 jason  txt       REG                1,4   140080 1152921500312299903 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
IndigoPlu   717 jason  txt       REG                1,4   139392 1152921500312299853 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
IndigoPlu   717 jason  txt       REG                1,4   141456 1152921500312299789 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
IndigoPlu   717 jason  txt       REG                1,4   142688 1152921500312299885 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
IndigoPlu   717 jason  txt       REG                1,4   190320 1152921500312299877 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
IndigoPlu   717 jason  txt       REG                1,4   138240 1152921500312299807 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
IndigoPlu   717 jason  txt       REG                1,4   227136 1152921500312299827 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
IndigoPlu   717 jason  txt       REG                1,4   139088 1152921500312299803 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
IndigoPlu   717 jason  txt       REG                1,4    43024          9023338858 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/.Action Collection.indigoPlugin/Contents/Server Plugin/plugin.so
IndigoPlu   717 jason  txt       REG                1,4   235680 1152921500312299831 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
IndigoPlu   717 jason  txt       REG                1,4   228640 1152921500312299851 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
IndigoPlu   717 jason  txt       REG                1,4 31085200 1152921500312789427 /usr/share/icu/icudt66l.dat
IndigoPlu   717 jason  txt       REG                1,4  6380584 1152921500312198744 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car
IndigoPlu   717 jason  txt       REG                1,4  4746856 1152921500312198790 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car
IndigoPlu   717 jason  txt       REG                1,4    38848          9023338863 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/.Action Collection.indigoPlugin/Contents/Server Plugin/zooz.so
IndigoPlu   717 jason  txt       REG                1,4    64926          9080238177 /private/var/db/analyticsd/events.whitelist
IndigoPlu   717 jason  txt       REG                1,4   140304 1152921500312299895 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
IndigoPlu   717 jason  txt       REG                1,4   139408 1152921500312299897 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
IndigoPlu   717 jason  txt       REG                1,4   175312 1152921500312299801 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_elementtree.so
IndigoPlu   717 jason  txt       REG                1,4    34768          9023338862 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/.Action Collection.indigoPlugin/Contents/Server Plugin/control_rgbw.so
IndigoPlu   717 jason  txt       REG                1,4   178080 1152921500312299889 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so
IndigoPlu   717 jason  txt       REG                1,4   142576 1152921500312299891 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
IndigoPlu   717 jason  txt       REG                1,4   348096 1152921500312299811 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
IndigoPlu   717 jason  txt       REG                1,4   138448 1152921500312299865 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
IndigoPlu   717 jason  txt       REG                1,4   138976 1152921500312299901 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
IndigoPlu   717 jason  txt       REG                1,4   175248 1152921500312299839 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
IndigoPlu   717 jason  txt       REG                1,4    34736          9023338865 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/.Action Collection.indigoPlugin/Contents/Server Plugin/utilfuncs.so
IndigoPlu   717 jason  txt       REG                1,4   141568 1152921500312299849 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/bz2.so
IndigoPlu   717 jason  txt       REG                1,4   138480 1152921500312299845 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
IndigoPlu   717 jason  txt       REG                1,4    38880          9023338864 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/.Action Collection.indigoPlugin/Contents/Server Plugin/homeseer.so
IndigoPlu   717 jason  txt       REG                1,4    38880          9023338860 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/.Action Collection.indigoPlugin/Contents/Server Plugin/inovelli.so
IndigoPlu   717 jason  txt       REG                1,4  2580592 1152921500312778087 /usr/lib/dyld
IndigoPlu   717 jason    0r      CHR                3,2      0t0                 317 /dev/null
IndigoPlu   717 jason    1u      CHR                3,2      0t0                 317 /dev/null
IndigoPlu   717 jason    2u      CHR                3,2 0t395578                 317 /dev/null
IndigoPlu   717 jason    3u     IPv4 0x4bbe03dfa9a736cf      0t0                 TCP localhost:49352->localhost:indigo-server (ESTABLISHED)
IndigoPlu   717 jason    4w      REG                1,4       87          9079046824 /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/indigoplugin.ActionCollection/plugin.log
IndigoPlu   717 jason    5      PIPE 0x78f2965bea3bb5be    16384                     ->0x30d10b0092443a68
IndigoPlu   717 jason    6      PIPE 0x30d10b0092443a68    16384                     ->0x78f2965bea3bb5be
IndigoPlu   749 jason  cwd       DIR                1,4      544          9023338954 /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin
IndigoPlu   749 jason  txt       REG                1,4  4300432          9023337887 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost
IndigoPlu   749 jason  txt       REG                1,4  3145968 1152921500312295861 /System/Library/Frameworks/Python.framework/Versions/2.7/Python
IndigoPlu   749 jason  txt       REG                1,4    36564          9079046912 /Library/Preferences/Logging/.plist-cache.J5AOlhwI
IndigoPlu   749 jason  txt       REG                1,4   240512          9042025845 /private/var/db/timezone/tz/2021a.1.0/icutz/icutz44l.dat
IndigoPlu   749 jason  txt       REG                1,4   136152 1152921500312198778 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
IndigoPlu   749 jason  txt       REG                1,4  1950120 1152921500312198768 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car
IndigoPlu   749 jason  txt       REG                1,4   140032 1152921500312713931 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
IndigoPlu   749 jason  txt       REG                1,4   139216 1152921500312299815 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
IndigoPlu   749 jason  txt       REG                1,4   209760 1152921500312299859 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
IndigoPlu   749 jason  txt       REG                1,4   141824 1152921500312299833 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
IndigoPlu   749 jason  txt       REG                1,4   173888 1152921500312299813 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
IndigoPlu   749 jason  txt       REG                1,4   140080 1152921500312299903 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
IndigoPlu   749 jason  txt       REG                1,4   139392 1152921500312299853 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
IndigoPlu   749 jason  txt       REG                1,4   141456 1152921500312299789 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
IndigoPlu   749 jason  txt       REG                1,4   142688 1152921500312299885 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
IndigoPlu   749 jason  txt       REG                1,4   190320 1152921500312299877 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
IndigoPlu   749 jason  txt       REG                1,4   138240 1152921500312299807 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
IndigoPlu   749 jason  txt       REG                1,4   227136 1152921500312299827 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
IndigoPlu   749 jason  txt       REG                1,4   139088 1152921500312299803 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
IndigoPlu   749 jason  txt       REG                1,4  6380584 1152921500312198744 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car
IndigoPlu   749 jason  txt       REG                1,4  4746856 1152921500312198790 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car
IndigoPlu   749 jason  txt       REG                1,4    64926          9080238177 /private/var/db/analyticsd/events.whitelist
IndigoPlu   749 jason  txt       REG                1,4   235680 1152921500312299831 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
IndigoPlu   749 jason  txt       REG                1,4   228640 1152921500312299851 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
IndigoPlu   749 jason  txt       REG                1,4   140304 1152921500312299895 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
IndigoPlu   749 jason  txt       REG                1,4   139408 1152921500312299897 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
IndigoPlu   749 jason  txt       REG                1,4   175312 1152921500312299801 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_elementtree.so
IndigoPlu   749 jason  txt       REG                1,4   178080 1152921500312299889 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so
IndigoPlu   749 jason  txt       REG                1,4   142576 1152921500312299891 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
IndigoPlu   749 jason  txt       REG                1,4   348096 1152921500312299811 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
IndigoPlu   749 jason  txt       REG                1,4   138448 1152921500312299865 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
IndigoPlu   749 jason  txt       REG                1,4   138976 1152921500312299901 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
IndigoPlu   749 jason  txt       REG                1,4   175248 1152921500312299839 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
IndigoPlu   749 jason  txt       REG                1,4   140848 1152921500312299805 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
IndigoPlu   749 jason  txt       REG                1,4   283808 1152921500312299793 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
IndigoPlu   749 jason  txt       REG                1,4   138480 1152921500312299845 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
IndigoPlu   749 jason  txt       REG                1,4   140656 1152921500312299879 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
IndigoPlu   749 jason  txt       REG                1,4   139408 1152921500312299823 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
IndigoPlu   749 jason  txt       REG                1,4   139552 1152921500312299825 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_scproxy.so
IndigoPlu   749 jason  txt       REG                1,4  1488256 1152921500312299905 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/unicodedata.so
IndigoPlu   749 jason  txt       REG                1,4  2580592 1152921500312778087 /usr/lib/dyld
IndigoPlu   749 jason  txt       REG                1,4 31085200 1152921500312789427 /usr/share/icu/icudt66l.dat
IndigoPlu   749 jason    0r      CHR                3,2      0t0                 317 /dev/null
IndigoPlu   749 jason    1u      CHR                3,2      0t0                 317 /dev/null
IndigoPlu   749 jason    2u      CHR                3,2 0t395578                 317 /dev/null
IndigoPlu   749 jason    3u     IPv4 0x4bbe03dfab2746cf      0t0                 TCP localhost:49437->localhost:indigo-server (ESTABLISHED)
IndigoPlu   749 jason    4w      REG                1,4     1805          9079046821 /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/opensource.alexa-hue-bridge/plugin.log
IndigoPlu   749 jason    5      PIPE 0x28fc754fe5241238    16384                     ->0x1a6fe850f90284f1
IndigoPlu   749 jason    6      PIPE 0x1a6fe850f90284f1    16384                     ->0x28fc754fe5241238
IndigoPlu   749 jason    7r      CHR               14,1   0t2500                 593 /dev/urandom
IndigoPlu   749 jason    8u     IPv4 0x4bbe03dfab277997      0t0                 TCP jmac.slateblue:8179 (LISTEN)
IndigoPlu   749 jason   11u    systm 0x4bbe03ec62cbd667      0t0                     [ctl com.apple.netsrc id 6 unit 29]
IndigoPlu   749 jason   12u     unix 0x4bbe03dfab4e73f7      0t0                     ->0x4bbe03dfab4e764f
IndigoPlu   749 jason   13   NPOLICY                                                 
IndigoPlu 31529 jason  cwd       DIR                1,4       96          9023338360 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/Resources/PlugIns/ScriptExecutor.indigoPlugin/Contents/Server Plugin
IndigoPlu 31529 jason  txt       REG                1,4  4300432          9023337887 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost
IndigoPlu 31529 jason  txt       REG                1,4  3145968 1152921500312295861 /System/Library/Frameworks/Python.framework/Versions/2.7/Python
IndigoPlu 31529 jason  txt       REG                1,4    36564          9079046912 /Library/Preferences/Logging/.plist-cache.J5AOlhwI
IndigoPlu 31529 jason  txt       REG                1,4   240512          9042025845 /private/var/db/timezone/tz/2021a.1.0/icutz/icutz44l.dat
IndigoPlu 31529 jason  txt       REG                1,4    64926          9080238177 /private/var/db/analyticsd/events.whitelist
IndigoPlu 31529 jason  txt       REG                1,4   136152 1152921500312198778 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
IndigoPlu 31529 jason  txt       REG                1,4   140032 1152921500312713931 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
IndigoPlu 31529 jason  txt       REG                1,4 31085200 1152921500312789427 /usr/share/icu/icudt66l.dat
IndigoPlu 31529 jason  txt       REG                1,4  1950120 1152921500312198768 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car
IndigoPlu 31529 jason  txt       REG                1,4   139216 1152921500312299815 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
IndigoPlu 31529 jason  txt       REG                1,4   209760 1152921500312299859 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
IndigoPlu 31529 jason  txt       REG                1,4   141824 1152921500312299833 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
IndigoPlu 31529 jason  txt       REG                1,4  2580592 1152921500312778087 /usr/lib/dyld
IndigoPlu 31529 jason  txt       REG                1,4  6380584 1152921500312198744 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car
IndigoPlu 31529 jason  txt       REG                1,4  4746856 1152921500312198790 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car
IndigoPlu 31529 jason  txt       REG                1,4   173888 1152921500312299813 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
IndigoPlu 31529 jason  txt       REG                1,4   140080 1152921500312299903 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
IndigoPlu 31529 jason  txt       REG                1,4   139392 1152921500312299853 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
IndigoPlu 31529 jason  txt       REG                1,4   141456 1152921500312299789 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
IndigoPlu 31529 jason  txt       REG                1,4   142688 1152921500312299885 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
IndigoPlu 31529 jason  txt       REG                1,4   190320 1152921500312299877 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
IndigoPlu 31529 jason  txt       REG                1,4   138240 1152921500312299807 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
IndigoPlu 31529 jason  txt       REG                1,4   227136 1152921500312299827 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
IndigoPlu 31529 jason  txt       REG                1,4   139088 1152921500312299803 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
IndigoPlu 31529 jason  txt       REG                1,4   235680 1152921500312299831 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
IndigoPlu 31529 jason  txt       REG                1,4   228640 1152921500312299851 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
IndigoPlu 31529 jason  txt       REG                1,4   140304 1152921500312299895 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
IndigoPlu 31529 jason  txt       REG                1,4   139408 1152921500312299897 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
IndigoPlu 31529 jason  txt       REG                1,4   175312 1152921500312299801 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_elementtree.so
IndigoPlu 31529 jason  txt       REG                1,4   178080 1152921500312299889 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so
IndigoPlu 31529 jason  txt       REG                1,4   142576 1152921500312299891 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
IndigoPlu 31529 jason  txt       REG                1,4   348096 1152921500312299811 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
IndigoPlu 31529 jason  txt       REG                1,4   138448 1152921500312299865 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
IndigoPlu 31529 jason  txt       REG                1,4   138976 1152921500312299901 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
IndigoPlu 31529 jason  txt       REG                1,4   175248 1152921500312299839 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
IndigoPlu 31529 jason    0r      CHR                3,2      0t0                 317 /dev/null
IndigoPlu 31529 jason    1u      CHR                3,2      0t0                 317 /dev/null
IndigoPlu 31529 jason    2u      CHR                3,2 0t395578                 317 /dev/null
IndigoPlu 31529 jason    3u     IPv4 0x4bbe03dfb1139547      0t0                 TCP localhost:63534->localhost:indigo-server (ESTABLISHED)


Posted on
Sun May 23, 2021 4:42 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: FileIOError

Hi Jason,

Your reconcile.py script is the one you run every 15 seconds? I suspect that is where the problem is occurring, mainly since that script is custom/specific to your setup and you are using pretty popular plugins that would result in more widespread reporting of the problem if they were the cause.

The next time it gets into a bad state try force killing the IndigoPluginHost process that is running that script. In your above example that would be 31529, but of course that will change so you'll have to determine which one it is after it gets into a bad state. Indigo will automatically restart the IndigoPluginHost for running scripts the next time it needs to (likely when your reconcile.py needs to be executed again). If we can at least identify that script as the culprit then we can dive into guessing how to tweak it to hopefully avoid the problem.

Image

Posted on
Mon May 24, 2021 7:11 am
Jason G. offline
User avatar
Posts: 54
Joined: Mar 21, 2018

Re: FileIOError

Yes - reconcile.py is what runs every 15 seconds.

Sounds good - I'll come back here if/when it happens again with the additional info.

Posted on
Sun May 30, 2021 4:54 pm
vvrangler offline
Posts: 38
Joined: Sep 01, 2014

Re: FileIOError

I too am still having this issue, even after trying both the response.read() when using urlopen() and then finally changing them all over to the requests library.

It does seem to happen more when I have heavier trigger activity such as when in "away" mode and the security triggers end up firing actions. Not to say those are the only trigger activity that happens when this error occurs, other times it happened even when home.

I am in the process of trying to identify any patterns of triggers that happen just prior to the error to see if I can narrow anything down further.

Any other suggestions on best methods for finding and recording that data would be appreciated.

Thanks!

Richard

Posted on
Mon May 31, 2021 5:47 pm
vvrangler offline
Posts: 38
Joined: Sep 01, 2014

Re: FileIOError

Should I have this many connections normally or do you think this could be part of my issue?

Code: Select all
lsof -c IndigoServer -i 4 -a
COMMAND     PID      USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
IndigoSer 78523 vvrangler    7u  IPv4 0xbf0422d8ccfbe963      0t0  TCP *:indigo-server (LISTEN)
IndigoSer 78523 vvrangler    9u  IPv4 0xbf0422d8dfc90963      0t0  TCP localhost:indigo-server->localhost:50309 (ESTABLISHED)
IndigoSer 78523 vvrangler   11u  IPv4 0xbf0422d8f550900b      0t0  TCP localhost:indigo-server->localhost:50300 (ESTABLISHED)
IndigoSer 78523 vvrangler   13u  IPv4 0xbf0422d8df8591c3      0t0  TCP localhost:indigo-server->localhost:50310 (ESTABLISHED)
IndigoSer 78523 vvrangler   19u  IPv4 0xbf0422d8df29300b      0t0  TCP localhost:indigo-server->localhost:50311 (ESTABLISHED)
IndigoSer 78523 vvrangler   21u  IPv4 0xbf0422d8dccabbdb      0t0  TCP localhost:indigo-server->localhost:50307 (ESTABLISHED)
IndigoSer 78523 vvrangler   22u  IPv4 0xbf0422d8dddcca23      0t0  TCP localhost:indigo-server->localhost:50312 (ESTABLISHED)
IndigoSer 78523 vvrangler   23u  IPv4 0xbf0422d8dd1f85f3      0t0  TCP localhost:indigo-server->localhost:50313 (ESTABLISHED)
IndigoSer 78523 vvrangler   24u  IPv4 0xbf0422d8f54fed93      0t0  TCP localhost:indigo-server->localhost:50322 (ESTABLISHED)
IndigoSer 78523 vvrangler   25u  IPv4 0xbf0422d8d975f5f3      0t0  TCP localhost:indigo-server->localhost:50314 (ESTABLISHED)
IndigoSer 78523 vvrangler   26u  IPv4 0xbf0422d8de30e37b      0t0  TCP localhost:indigo-server->localhost:50315 (ESTABLISHED)
IndigoSer 78523 vvrangler   27u  IPv4 0xbf0422d8f54dad93      0t0  TCP localhost:indigo-server->localhost:50316 (ESTABLISHED)
IndigoSer 78523 vvrangler   28u  IPv4 0xbf0422d8dddc6533      0t0  TCP localhost:indigo-server->localhost:50317 (ESTABLISHED)
IndigoSer 78523 vvrangler   29u  IPv4 0xbf0422d8d98d97ab      0t0  TCP localhost:indigo-server->localhost:50318 (ESTABLISHED)
IndigoSer 78523 vvrangler   30u  IPv4 0xbf0422d8de30ed93      0t0  TCP localhost:indigo-server->localhost:50319 (ESTABLISHED)
IndigoSer 78523 vvrangler   31u  IPv4 0xbf0422d8f54e6533      0t0  TCP localhost:indigo-server->localhost:50320 (ESTABLISHED)
IndigoSer 78523 vvrangler   32u  IPv4 0xbf0422d8d513f1c3      0t0  TCP localhost:indigo-server->localhost:50321 (ESTABLISHED)
IndigoSer 78523 vvrangler   33u  IPv4 0xbf0422d8dcf62a23      0t0  TCP localhost:indigo-server->localhost:50323 (ESTABLISHED)
IndigoSer 78523 vvrangler   34u  IPv4 0xbf0422d8dddcc00b      0t0  TCP localhost:indigo-server->localhost:50324 (ESTABLISHED)
IndigoSer 78523 vvrangler   35u  IPv4 0xbf0422d8f3007963      0t0  TCP localhost:indigo-server->localhost:50325 (ESTABLISHED)
IndigoSer 78523 vvrangler   36u  IPv4 0xbf0422d8dfe60533      0t0  TCP localhost:indigo-server->localhost:50326 (ESTABLISHED)
IndigoSer 78523 vvrangler   37u  IPv4 0xbf0422d8dfe60f4b      0t0  TCP localhost:indigo-server->localhost:50327 (ESTABLISHED)
IndigoSer 78523 vvrangler   38u  IPv4 0xbf0422d8e10d600b      0t0  TCP localhost:indigo-server->localhost:50328 (ESTABLISHED)
IndigoSer 78523 vvrangler   39u  IPv4 0xbf0422d8d9760a23      0t0  TCP localhost:indigo-server->localhost:53211 (ESTABLISHED)
IndigoSer 78523 vvrangler   40u  IPv4 0xbf0422d8dddc8d93      0t0  TCP localhost:indigo-server->localhost:50330 (ESTABLISHED)
IndigoSer 78523 vvrangler   41u  IPv4 0xbf0422d8f2ff737b      0t0  TCP localhost:indigo-server->localhost:50331 (ESTABLISHED)
IndigoSer 78523 vvrangler   42u  IPv4 0xbf0422d8dd1f4963      0t0  TCP localhost:indigo-server->localhost:50332 (ESTABLISHED)
IndigoSer 78523 vvrangler   43u  IPv4 0xbf0422d8f54db7ab      0t0  TCP localhost:indigo-server->localhost:50333 (ESTABLISHED)
IndigoSer 78523 vvrangler   44u  IPv4 0xbf0422d8df291bdb      0t0  TCP localhost:indigo-server->localhost:51535 (ESTABLISHED)
IndigoSer 78523 vvrangler   45u  IPv4 0xbf0422d8da915a23      0t0  TCP localhost:indigo-server->localhost:50335 (ESTABLISHED)
IndigoSer 78523 vvrangler   46u  IPv4 0xbf0422d8dd1f71c3      0t0  TCP localhost:indigo-server->localhost:50336 (ESTABLISHED)
IndigoSer 78523 vvrangler   48u  IPv4 0xbf0422d8df857d93      0t0  TCP localhost:indigo-server->localhost:50504 (ESTABLISHED)

Posted on
Mon May 31, 2021 7:04 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: FileIOError

That looks reasonable. I got a similar result – not quite as many but not too far off and my dev machine doesn't have many plugins installed at the moment.

I'll think about this some more and run a few experiments to see if I can reproduce the problem with by frequently executing an Indigo script.

Image

Posted on
Tue Jun 01, 2021 1:19 pm
vvrangler offline
Posts: 38
Joined: Sep 01, 2014

Re: FileIOError

Great, thanks Matt!

Posted on
Sun Jun 06, 2021 4:16 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: FileIOError

No luck reproducing the problem here. I created a very truncated version of your script that just does:

Code: Select all
try: # Python 3
    from urllib.parse import urlencode, quote, quote_plus, pathname2url
    from urllib.request import Request, urlopen
except: # Python 2
    from urllib import urlencode, quote, quote_plus, pathname2url
    from urllib2 import Request, urlopen
import datetime
import json
from math import cos, asin, sqrt
import logging
indigo.server.log("success (internal/external script)")


And had it executed every second for hours, both as an embedded (pasted into Action panel UI) script and an external file script. From this I don't think the problem is caused by Indigo executing python scripts frequently, and is either related to something else occurring in the script that I removed (the URL requests) or something else completely.

To get it working again correctly, above Jason says he can just stop and restart the Indigo Server (not the Mac itself). Is the same true for you?

Also the next time it occurs try manually killing the process that is running the script to see if that gets it "unstuck" and prevents the errors from occurring the next time the script is run. To find the process ID to kill try:

Code: Select all
ps -eaf | grep -i IndigoPluginHost

And look for the process that has a format like this which includes the path to your script file on the end:
Code: Select all
  501 31529   702   0 11:10PM ??         0:12.34 /Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -x/PATH_TO_YOUR_SCRIPT_FILE_HERE.py

I'd be curious to see the Terminal result for that process to see how many seconds it was running (once it is in the bad state), then kill the process (kill -9 PID) and see if that clears up the problem or not. If it doesn't, then stop and restart the Indigo Server to see if that gets it working or if a complete macOS reboot is needed.

Image

Posted on
Sun Nov 14, 2021 11:01 am
Jason G. offline
User avatar
Posts: 54
Joined: Mar 21, 2018

Re: FileIOError

Hello again - this was running fine for 6 months now, but it finally happened again. In this instance, my reconcile.py script was not in the list of running processes. (Per the recommendation from May, I was going to troubleshoot by starting with killing the plugin that was running my script.)

I went through and killed each of the InidigoPluginHost processes one-by-one - as I killed each process I watched in the Indigo log viewer as the app noticed the plugin unexpectedly stopped, and then restarted the plugin after 5 seconds. As each one was restarted, it threw the same FileIO error for that plugin.

After I went through all the plugins, I eventually killed the IndigoServer process... which I guess is the internal server? The GUI app immediately switched to the dialog where I could choose to start a local server or connect to a remote one. I started the local server and everything started up properly again.

Code: Select all
$ ps -eaf | grep -i indigo
  501 18063     1   0 Tue01PM ??        14:20.53 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoServer.app/Contents/MacOS/IndigoServer
  501 18078 18063   0 Tue01PM ??         3:38.40 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -fVirtual Devices.indigoPlugin
  501 18079 18063   0 Tue01PM ??         6:52.54 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -f.Web Server.indigoPlugin
  501 18080 18063   0 Tue01PM ??         2:40.15 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -f.INSTEON Commands.indigoPlugin
  501 18081 18063   0 Tue01PM ??         3:23.21 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -f.Action Collection.indigoPlugin
  501 18082 18063   0 Tue01PM ??         3:47.00 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -fEmail+.indigoPlugin
  501 18083 18063   0 Tue01PM ??        10:04.24 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost -p1176 -fAlexa-Hue Bridge.indigoPlugin
  501 78101     1   0 Fri09AM ??        32:06.73 /Applications/Indigo 2021.1.app/Contents/MacOS/Indigo 2021.1
  501 61565 60996   0 11:01AM ttys000    0:00.00 grep -i indigo
jMac:indigo jason$ kill -9 18078
jMac:indigo jason$ kill -9 18079
jMac:indigo jason$ kill -9 18080
jMac:indigo jason$ kill -9 18081
jMac:indigo jason$ kill -9 18082
jMac:indigo jason$ kill -9 18083
jMac:indigo jason$ kill -9 18063


I did do an lsof on the IndigoServer before I started killing off the plugin processes:

Code: Select all
$ lsof -c IndigoServer
COMMAND     PID  USER   FD      TYPE             DEVICE SIZE/OFF                NODE NAME
IndigoSer 18063 jason  cwd       DIR                1,4      640                   2 /
IndigoSer 18063 jason  txt       REG                1,4  6319680          9144466254 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoServer.app/Contents/MacOS/IndigoServer
IndigoSer 18063 jason  txt       REG                1,4  3145968 1152921500312295927 /System/Library/Frameworks/Python.framework/Versions/2.7/Python
IndigoSer 18063 jason  txt       REG                1,4    36772          9144448602 /Library/Preferences/Logging/.plist-cache.nqoKOlct
IndigoSer 18063 jason  txt       REG                1,4   242128          9142101792 /private/var/db/timezone/tz/2021a.3.0/icutz/icutz44l.dat
IndigoSer 18063 jason  txt       REG                1,4   136152 1152921500312198341 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
IndigoSer 18063 jason  txt       REG                1,4   140032 1152921500312702466 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
IndigoSer 18063 jason  txt       REG                1,4 33154432 1152921500312778382 /usr/share/icu/icudt66l.dat
IndigoSer 18063 jason  txt       REG                1,4    85522          9145060141 /private/var/db/analyticsd/events.whitelist
IndigoSer 18063 jason  txt       REG                1,4  6380584 1152921500312198307 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car
IndigoSer 18063 jason  txt       REG                1,4  1950120 1152921500312198331 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car
IndigoSer 18063 jason  txt       REG                1,4  4746856 1152921500312198353 /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car
IndigoSer 18063 jason  txt       REG                1,4   139216 1152921500312299881 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
IndigoSer 18063 jason  txt       REG                1,4   209760 1152921500312299925 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
IndigoSer 18063 jason  txt       REG                1,4   523456          9144466446 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoServer.app/Contents/Resources/PlugIns/sa_main.so
IndigoSer 18063 jason  txt       REG                1,4   141824 1152921500312299899 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
IndigoSer 18063 jason  txt       REG                1,4   139408 1152921500312299963 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
IndigoSer 18063 jason  txt       REG                1,4   138480 1152921500312299911 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
IndigoSer 18063 jason  txt       REG                1,4   139088 1152921500312299869 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
IndigoSer 18063 jason  txt       REG                1,4   140848 1152921500312299871 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
IndigoSer 18063 jason  txt       REG                1,4   173888 1152921500312299879 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
IndigoSer 18063 jason  txt       REG                1,4   140080 1152921500312299969 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
IndigoSer 18063 jason  txt       REG                1,4   139392 1152921500312299919 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
IndigoSer 18063 jason  txt       REG                1,4   141456 1152921500312299855 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
IndigoSer 18063 jason  txt       REG                1,4   142688 1152921500312299951 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
IndigoSer 18063 jason  txt       REG                1,4   190320 1152921500312299943 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
IndigoSer 18063 jason  txt       REG                1,4   138240 1152921500312299873 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
IndigoSer 18063 jason  txt       REG                1,4   227136 1152921500312299893 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
IndigoSer 18063 jason  txt       REG                1,4   235680 1152921500312299897 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
IndigoSer 18063 jason  txt       REG                1,4   228640 1152921500312299917 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
IndigoSer 18063 jason  txt       REG                1,4   140304 1152921500312299961 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
IndigoSer 18063 jason  txt       REG                1,4   348096 1152921500312299877 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
IndigoSer 18063 jason  txt       REG                1,4   140656 1152921500312299945 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
IndigoSer 18063 jason  txt       REG                1,4   139408 1152921500312299889 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
IndigoSer 18063 jason  txt       REG                1,4   138448 1152921500312299931 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
IndigoSer 18063 jason  txt       REG                1,4   139552 1152921500312299891 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_scproxy.so
IndigoSer 18063 jason  txt       REG                1,4   283808 1152921500312299859 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
IndigoSer 18063 jason  txt       REG                1,4   139280 1152921500312299973 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/zlib.so
IndigoSer 18063 jason  txt       REG                1,4   141568 1152921500312299915 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/bz2.so
IndigoSer 18063 jason  txt       REG                1,4   138224 1152921500312299937 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/grp.so
IndigoSer 18063 jason  txt       REG                1,4   372832          9144466346 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoServer.app/Contents/Resources/PlugIns/sa_geturl.so
IndigoSer 18063 jason  txt       REG                1,4   175248 1152921500312299905 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
IndigoSer 18063 jason  txt       REG                1,4   137792 1152921500312299841 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
IndigoSer 18063 jason  txt       REG                1,4   247824          9144466450 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoServer.app/Contents/Resources/PlugIns/utilfuncs.so
IndigoSer 18063 jason  txt       REG                1,4    32768          8620314554 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db-shm
IndigoSer 18063 jason  txt       REG                1,4  1488256 1152921500312299971 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/unicodedata.so
IndigoSer 18063 jason  txt       REG                1,4  2547856 1152921500312767023 /usr/lib/dyld
IndigoSer 18063 jason    0r      CHR                3,2      0t0                 317 /dev/null
IndigoSer 18063 jason    1u      CHR                3,2      0t0                 317 /dev/null
IndigoSer 18063 jason    2u      CHR                3,2 0t459931                 317 /dev/null
IndigoSer 18063 jason    3r      REG                1,4   237228          9144466256 /Library/Application Support/Perceptive Automation/Indigo 2021.1/IndigoServer.app/Contents/Resources/IndigoServer.rsrc
IndigoSer 18063 jason    4r      REG                1,4   144580 1152921500312251401 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
IndigoSer 18063 jason    5r      REG                1,4   490410 1152921500312251300 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
IndigoSer 18063 jason    7u     IPv4 0x85ab550bb0b7f90b      0t0                 TCP *:indigo-server (LISTEN)
IndigoSer 18063 jason    8u     IPv4 0x85ab550bb2b74ee3      0t0                 TCP localhost:indigo-server->localhost:59791 (ESTABLISHED)
IndigoSer 18063 jason    9   NPOLICY                                                 
IndigoSer 18063 jason   10r      CHR               14,1   0t2500                 593 /dev/urandom
IndigoSer 18063 jason   11u     IPv4 0x85ab550b9a8ff333      0t0                 TCP localhost:indigo-server->localhost:59614 (ESTABLISHED)
IndigoSer 18063 jason   12u      REG                1,4   274432          8620314550 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db
IndigoSer 18063 jason   13u      REG                1,4  1479112          8620314553 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db-wal
IndigoSer 18063 jason   14u      REG                1,4    32768          8620314554 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db-shm
IndigoSer 18063 jason   15u      REG                1,4   274432          8620314550 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db
IndigoSer 18063 jason   16u      REG                1,4  1479112          8620314553 /Users/jason/Library/Caches/com.perceptiveautomation.indigo-server/Cache.db-wal
IndigoSer 18063 jason   17u    systm 0x85ab55186348c9db      0t0                     [ctl com.apple.netsrc id 6 unit 40]
IndigoSer 18063 jason   18u     unix 0x85ab550ba40367b3      0t0                     ->0x85ab550ba403687b
IndigoSer 18063 jason   19u     IPv4 0x85ab550bb0b7e4bb      0t0                 TCP localhost:indigo-server->localhost:59615 (ESTABLISHED)
IndigoSer 18063 jason   20u     IPv4 0x85ab550bb0baf1ab      0t0                 TCP localhost:indigo-server->localhost:59616 (ESTABLISHED)
IndigoSer 18063 jason   21u     IPv4 0x85ab550baceb2643      0t0                 TCP localhost:indigo-server->localhost:59617 (ESTABLISHED)
IndigoSer 18063 jason   22u     IPv4 0x85ab550bab497333      0t0                 TCP localhost:indigo-server->localhost:59618 (ESTABLISHED)
IndigoSer 18063 jason   23u     IPv4 0x85ab550bab3f3ee3      0t0                 TCP localhost:indigo-server->localhost:59619 (ESTABLISHED)
IndigoSer 18063 jason   24u     IPv4 0x85ab550bab75590b      0t0                 TCP localhost:indigo-server->localhost:59625 (ESTABLISHED)
IndigoSer 18063 jason   25u     unix 0x85ab550ba4038f8b      0t0                     ->0x85ab550ba4039053
IndigoSer 18063 jason   26u      CHR               22,1 0t328975                 655 /dev/cu.usbserial-A906XMKP


So it seems like this FileIO error Bad Thing happened in the IndigoServer process somewhere?

For context today - my iMac was last rebooted 5 days ago. There wasn't anything special running when the errors started - Chrome, the Indigo app, Parallels, Photos.. Maybe TimeMachine was running a backup. And several menu bar utilities - Arq, TextExpander, Dropbox, Global Protect (VPN Client - VPN was not connected), PasteBot, Divvy, Synergy (as a client), 1Password, MacUpdater, Notefile, SoundSource, iStat Menus.

Indigo is version 2021.1.2
Mac is an intel iMac running macOS Big Sur 11.6.1

Let me know if I can provide any other info that might help troubleshoot.

Posted on
Sun Nov 14, 2021 2:40 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: FileIOError

This one has me puzzled. I just added to Indigo Server more detailed logging around when FileIOError -- cannot create file path occurs which will tell us the specific file path or filename that is trying to be accessed, along with possibly some additional macOS level error information. My guess has been that once the process (which appears to be Indigo Server and not a plugin) gets into this state all referencing of files is failing, but the new logging will help detail that, and hopefully provide some additional clues. The more verbose logging of this error will be in the next Indigo release.

Image

Who is online

Users browsing this forum: No registered users and 1 guest