Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tried building for macOS, Error executing binary #35

Open
firefinchdev opened this issue May 6, 2020 · 12 comments
Open

Tried building for macOS, Error executing binary #35

firefinchdev opened this issue May 6, 2020 · 12 comments
Assignees
Labels

Comments

@firefinchdev
Copy link

Describe the bug
I build the binary from source for macOS, and got an error on executing the output binary.

To Reproduce
Steps to reproduce the behavior:

  1. Build binary as instructed
  2. Perform ./kdeconnect-chrome-extension -install

Stacktrace

➜ ./kdeconnect-chrome-extension -install
panic: dbus: couldn't determine address of session bus

goroutine 1 [running]:
main.init.0()
	/Users/anirudh/go/src/kdeconnect-chrome-extension/main.go:121 +0x23e

Desktop (please complete the following information):

  • OS/distro/version: macOS 10.15.4
  • Browser/version chrome 81
  • kdeconnect-chrome-extension version [HEAD]

I was running the latest build of kde connect for macos before ./kdeconnect-chrome-extension -install

@firefinchdev
Copy link
Author

@pdf Just in case you dont have macOS available with you, you can instruct me on how/what should I do. I can report back with logs etc.

@pdf
Copy link
Owner

pdf commented May 6, 2020

The error is coming from https://github.com/godbus/dbus which is the dbus library we're using. Looks like there has been some activity in more recent versions of the library around darwin support, so I've updated to the most recent version of the lib.

Try pulling the most recent change from here, running glide install again, and then rebuilding, though I'm not certain whether that library is meant to be functional currently for darwin/macOS.

@firefinchdev
Copy link
Author

Same output as before

➜ ./kdeconnect-chrome-extension -install
panic: dbus: couldn't determine address of session bus

goroutine 1 [running]:
main.init.0()
	/Users/anirudh/go/src/kdeconnect-chrome-extension/main.go:121 +0x23e

@pdf
Copy link
Owner

pdf commented May 7, 2020

Seems like macOS support may not be fully functional in the upstream library. It's very difficult for me to work with them to implement it though, without access to a macOS system running DBUS.

@firefinchdev
Copy link
Author

Can we discuss on Telegram etc? Telegram link: https://t.me/thirrdeye

@pdf
Copy link
Owner

pdf commented May 13, 2020

Best option is probably to file an issue upstream at go-dbus, and work with them to try and get the connection working - if the library works, this application will work. I unfortunately have no idea how DBUS is meant to function on macOS, or whether their code is actually meant to be functional currently, and sitting in the middle without any way to test personally is unlikely to yield results.

@orschiro
Copy link

Is there any news on this regarding using the Chrome extension on Mac OS?

@pdf
Copy link
Owner

pdf commented Dec 10, 2020

Without personal access to OSX, or the assistance of someone on OSX who has the skills to troubleshoot this themselves, my hands are tied.

@firefinchdev
Copy link
Author

I will see if I can work on this. KDE Connect has progressed much more with the macOS version, compared to the time when the issue was raised.

@orschiro
Copy link

orschiro commented Dec 11, 2020 via email

@pdf
Copy link
Owner

pdf commented Dec 11, 2020

The extension requires KDE Connect to function.

@orschiro
Copy link

orschiro commented Dec 11, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants