Open Ypnose opened 3 months ago
I tried adding glib and swt. It helps, but it still fails for me:
$ ./result/bin/ApacheDirectoryStudio
SWT WebKitGDBus: error creating DBus server Error binding to address (GUnixSocketAddress): No such file or directory
SWT WebKit: error initializing DBus server, dBusServer == 0
(Apache Directory Studio:339942): GLib-GIO-CRITICAL **: 10:52:18.805: g_dbus_server_get_client_address: assertion 'G_IS_DBUS_SERVER (server)' failed
[...some more output before exiting...]
I looked a bit at strace output but haven't found the root cause.
I ran mkdir /tmp/SWT-GDBusServer/
and now it works. Hm...
/tmp/SWT-GDBusServer/
Searching for this path lead to this interesting comment: https://github.com/adoptium/adoptium-support/issues/785#issuecomment-1866680133
Thanks for taking the time to take a look. It sounds sketchy. What could we do ?
I looked at upgrading swt, but got stuck.
We can add swt and glib and use a/the wrapper to create the temporary directory. But other programs using swt will still have the bug.
Are you using a Wayland compositor ? On sway
, I was able to reproduce what you said. But on X11 with i3
, apache-directory-studio
starts without issue here.
Yes, I'm using Wayland (in GNOME desktop).
Creating a wrapper would do the trick, isn't it ? I am thinking about creating a local apache-directory-studio
with a wrapper.
Creating a wrapper would do the trick, isn't it ?
Yes.
I am thinking about creating a local
apache-directory-studio
with a wrapper.
What? Where? Just create the directory /tmp/SWT-GDBusServer/
and it'll work.
I was talking about the local apache-directory-studio
because you didn't merge the lib.makeLibraryPath
and swt
lines we discussed earlier. I do not want to be a bore.
I face the same issue on unstable under Cosmic (Wayland).
Describe the bug
apache-directory-studio
can't be launched. I have this error :Steps To Reproduce
Steps to reproduce the behavior:
apache-directory-studio
as usualExpected behavior
The GUI should start.
Additional context
apache-directory-studio
is installed withhome-manager
. It was working since October 2023.Fix
swt
should be added to this line :And adding lines in this block does the trick :
Notify maintainers
@bjornfor
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.