Plugin does not work with Indigo 2021.1

Posted on
Sat Jun 19, 2021 5:05 am
boekweg offline
Posts: 70
Joined: Oct 02, 2010
Location: Netherlands

Plugin does not work with Indigo 2021.1

Since I updated Indigo to version 2021.1 the Doorbird plugin does not work anymore. It is not possible to create a new doorbird device and the existing one is not available anymore.

Any solution for this?

The eventlog shows

Reloading plugin "DoorBird 1.0.0"
Starting plugin "DoorBird 1.0.0" (pid 43097)
DoorBird Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 10, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/DoorBird.indigoPlugin/Contents/Server Plugin/pysodium/__init__.py", line 33, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 444, in LoadLibrary
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 366, in __init__
OSError: dlopen(libsodium.dylib, 6): no suitable image found. Did find:
libsodium.dylib: mach-o, but wrong architecture
/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/DoorBird.indigoPlugin/Contents/Server Plugin/libsodium.dylib: mach-o, but wrong architecture

Stopping plugin "DoorBird 1.0.0" (pid 43097)
Stopped plugin "DoorBird 1.0.0"

Posted on
Tue Jun 22, 2021 8:30 pm
matt (support) offline
Site Admin
User avatar
Posts: 20613
Joined: Jan 27, 2003
Location: Texas

Re: Plugin does not work with Indigo 2021.1

The libsodium.dylib library that is included with the plugin only supports Intel architecture but needs to support arm64 (M1) to be used with Indigo 2021.1.

You might be able to use Homebrew to install it on your Mac instead. Note if you do that you might have to delete this file out of the plugin so it finds the version homebrew installed instead:

DoorBird.indigoPlugin/Contents/Server Plugin/libsodium.dylib
(then restart the plugin)

Image

Posted on
Sat Jun 26, 2021 7:00 am
tazswe offline
Posts: 149
Joined: Mar 13, 2017
Location: Sweden

Re: Plugin does not work with Indigo 2021.1

Upgraded to 2021.1 and my DoorBird plugin worked without any problems.


Skickat från min iPhone med Tapatalk

Posted on
Sat Jul 03, 2021 1:42 pm
boekweg offline
Posts: 70
Joined: Oct 02, 2010
Location: Netherlands

Re: Plugin does not work with Indigo 2021.1

I guess it runs on a intel mac then? I have a M1 Mac Mini

Posted on
Wed Jul 07, 2021 6:32 pm
rapamatic offline
Posts: 273
Joined: Aug 03, 2015
Location: Glencoe, IL

Re: Plugin does not work with Indigo 2021.1

matt (support) wrote:
The libsodium.dylib library that is included with the plugin only supports Intel architecture but needs to support arm64 (M1) to be used with Indigo 2021.1.

You might be able to use Homebrew to install it on your Mac instead. Note if you do that you might have to delete this file out of the plugin so it finds the version homebrew installed instead:

DoorBird.indigoPlugin/Contents/Server Plugin/libsodium.dylib
(then restart the plugin)


This worked for me - "brew install libsodium" and then I needed to copy libsodium.23.dylib from /opt/homebrew/cellar/libsodium/.... into the plugin contents folder, and rename as libsodium.dylib. For some reason it didn't work just using an alias to that file, but not a big deal to copy it.

Posted on
Wed Jul 07, 2021 6:56 pm
matt (support) offline
Site Admin
User avatar
Posts: 20613
Joined: Jan 27, 2003
Location: Texas

Re: Plugin does not work with Indigo 2021.1

Great – thanks for the report.

Image

Posted on
Wed Jul 28, 2021 12:58 am
kwijibo007 offline
Posts: 312
Joined: Sep 27, 2013
Location: Melbourne, Australia

Re: Plugin does not work with Indigo 2021.1

Apologies for missing this. I'm working out how to integrate the arm and intel version into the plugin.

Posted on
Wed Jul 28, 2021 5:37 am
kwijibo007 offline
Posts: 312
Joined: Sep 27, 2013
Location: Melbourne, Australia

Re: Plugin does not work with Indigo 2021.1

Version 1.1.0 of the plugin has been released and includes support for M1 Macs.

Pete

Posted on
Wed Jul 28, 2021 3:01 pm
matt (support) offline
Site Admin
User avatar
Posts: 20613
Joined: Jan 27, 2003
Location: Texas

Re: Plugin does not work with Indigo 2021.1

Awesome – thanks for the update Pete!

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest