ozw-admin icon indicating copy to clipboard operation
ozw-admin copied to clipboard

Needs fixing for Mac OS Big Sur

Open yolani opened this issue 3 years ago • 18 comments

After upgrading to the newest Mac OS Version ozwadmin doesn't start anymore, it seems to be stuck somewhere. The menu bar still appears but besides that I only get the spinning beach ball.

yolani avatar Nov 18 '20 18:11 yolani

same here. Are there build instructions somewhere? how is this built for mac? maybe we can give it a shot if someone is familiar with the IDE/Compiler used for mac?

fgonza2 avatar Nov 21 '20 18:11 fgonza2

Same for me...

MrMxyzptlk avatar Nov 23 '20 13:11 MrMxyzptlk

Well it seems to be a QTCreator project according to .pri and .pro file in the repository root. If anybody knows how to work with this IDE you might have a chance to compile / link against Big Sur libraries.

yolani avatar Nov 23 '20 13:11 yolani

Knowing nothing about QT I managed to get this compiled on macOS (Catalina) for a different reason. Hope it helps.

brew install qt
export PATH="/usr/local/opt/qt/bin:$PATH"
mkdir /tmp/ozw
cd /tmp/ozw
git clone [email protected]:OpenZWave/ozw-admin.git
git clone [email protected]:OpenZWave/qt-openzwave.git
git clone [email protected]:OpenZWave/open-zwave.git
cd /tmp/ozw/open-zwave
make -j
cd /tmp/ozw/qt-openzwave
qmake -recursive
make -j
cd /tmp/ozw/ozw-admin
qmake -recursive
make -j
open /tmp/ozw/ozw-admin/ozwadmin.app

Hope this helps!

eddiezane avatar Nov 24 '20 19:11 eddiezane

Hope this helps!

It worked, but the program crashes after a few seconds :/

Chr1stian avatar Nov 25 '20 20:11 Chr1stian

Building it locally worked for me! Thank you @eddiezane for the script.

OverZealous avatar Nov 26 '20 04:11 OverZealous

it builds, very unstable and crashes all the time, but i guess it works, better than nothing.  Thanks for the script.    I may go to the VNC version.  Any ideas on how to change the resolution of it, so you can resize the window? (VNC version)thanks

On Wednesday, November 25, 2020, 08:37:19 PM PST, Phil DeJarnett <[email protected]> wrote:  

Building it locally worked for me! Thank you @eddiezane for the script.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

fgonza2 avatar Nov 26 '20 04:11 fgonza2

I also built it, after connecting to ozwdaemon it seems to update some networks data, but crashes a few seconds later.

Here is the stack trace if anyone is interested.

ozwadmin.stack-trace-big-sur.zip

yolani avatar Nov 26 '20 07:11 yolani

For it to be stable on Big Sur we have to wait till the QT Framework releases a update. There are known issues with QT on Big Sur right now so I won't do anything till a new version is released.

Fishwaldo avatar Nov 26 '20 09:11 Fishwaldo

I already thought this might be the issue, but was too lazy to look into QTs release notes.

Anyway thanks for the update.

yolani avatar Nov 26 '20 09:11 yolani

maybe the way to go is to simply fix the VNC embedded client version and improve the resolution beyond 640x480, that way you dont need to use the OS specific client

fgonza2 avatar Dec 02 '20 18:12 fgonza2

@fgonza2 - Yea, I agree... the only reason I use the native client is to get around the horrible vnc resolution

johntdyer avatar Dec 31 '20 14:12 johntdyer

This was working (it's open for ~15 seconds before crashing, but was enough for me to check some things), but today I went to run ozw admin and it wouldn't open. After rebuilding everything, I see this error:

The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=3665, _LSFunction=_LSOpenStuffCallLocal}

josh-m-sharpe avatar Jan 03 '21 05:01 josh-m-sharpe

for tracking purpose, I believe this is the issue on QT side: https://bugreports.qt.io/browse/QTBUG-85546

idyedov avatar Jan 09 '21 06:01 idyedov

the real fix here is to fix the VNC resolution

fgonza2 avatar Jan 09 '21 20:01 fgonza2

FYI you can work around this by using a different VNC client. I can connect successfully with the Mac version of RealVNC (and it lets me resize the window)

ex-nerd avatar Jan 13 '21 17:01 ex-nerd

@ex-nerd As far as I can tell, this just makes the image bigger, but you are still looking at a 640x480 resolution image or something, which is far too small to see all the information within the app.

OverZealous avatar Jan 13 '21 18:01 OverZealous

As far as I can tell, this just makes the image bigger,

Oh, you are totally right. Darn.

ex-nerd avatar Jan 13 '21 18:01 ex-nerd