OpenZWave / ozw-admin

OpenZWave Gui
GNU General Public License v3.0
63 stars 9 forks source link

Needs fixing for Mac OS Big Sur #78

Open yolani opened 3 years ago

yolani commented 3 years ago

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.

fgonza2 commented 3 years ago

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?

MrMxyzptlk commented 3 years ago

Same for me...

yolani commented 3 years ago

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.

eddiezane commented 3 years ago

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 git@github.com:OpenZWave/ozw-admin.git
git clone git@github.com:OpenZWave/qt-openzwave.git
git clone git@github.com: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!

Chr1stian commented 3 years ago

Hope this helps!

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

OverZealous commented 3 years ago

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

fgonza2 commented 3 years ago

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 <notifications@github.com> 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.

yolani commented 3 years ago

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

Fishwaldo commented 3 years ago

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.

yolani commented 3 years ago

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

Anyway thanks for the update.

fgonza2 commented 3 years ago

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

johntdyer commented 3 years ago

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

josh-m-sharpe commented 3 years ago

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}
idyedov commented 3 years ago

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

fgonza2 commented 3 years ago

the real fix here is to fix the VNC resolution

ex-nerd commented 3 years ago

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)

OverZealous commented 3 years ago

@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.

ex-nerd commented 3 years ago

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

Oh, you are totally right. Darn.