-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fails to launch > System.Exception: Unable to open the system message bus. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MethodAccessException: Method DBus.BusObject:.ctor ()' is inaccessible from method
org.freedesktop.DBus.IBusProxy:.ctor ()'
#105
Comments
I don't think its likely anyone is going to take on bringing Tomboy up to date. |
Thanks Davo. Which in turn gave to thinking that Tomboy is being maintained as the stable notes package until tomboy-ng becomes ready. |
OK shiznix, things change over time ! A lot of work has been done on tomboy-ng and I "believe" that its now at least as stable as Tomboy. But we can only really find out if other people, on other systems, use it. I test and test but there is no substitute for having other people try it out. Lets be clear, ALL software has bugs ! The question is do they do any harm, are you likely to experience them ? In the case of tomboy-ng, I'd suggest the risk is quite small. Note that tomboy-ng has built in backup and restore capabilities (called snapshots), if you use it, you will be pretty safe in the very unlikely event of finding something I have missed. I am quite surprised you had problems building tomboy-ng. Please report details so I can fix things for you. If people don't report problems, I don't know they have experienced problems. But honestly, you don't need to build it yourself, just down load a ready to run binary ! I'll have a look at the instructions, they are probably as out of date as the ones about tomboy-ng being unsafe ! And finally (sorry I'm taking so long), the reason tomboy-ng exists is because Tomboy has become too hard to maintain. In fact, no one is maintaining it any more. I could speculate its because the GTK people are no longer as interested in getting GTK running on Windows and Mac. And because the Open Source community (perhaps unfairly) are not very happy with Mono. Not just because of its links to Microsoft but more (I suspect) because of its size. |
I'm happy to try tomboy-ng. I use a source based distro so using pre-compiled binaries is not really preferred. tomboy-ng-0.20/tomboy-ng # lazbuild --verbose --lazarusdir=/usr/share/lazarus --cpu="x86_64" --build-mode=Release --os="linux" Tomboy_NG.lpi Unsure how to move forward from here, Lazarus doesn't seem adopted enough by others yet to be able to find any solution using Google :/ |
looks like you have not installed kcontrols to me. |
please have a look at - If I get some free time, I may write a building from the command line IDE how-to. But right now everything assumes a user will work from within the IDE. That is the nature of the beast. Davo |
OK, pretty easy install from scratch. Below is a list of command, not a script ! I realise that shiznix already has most steps done already but whole thing here just so someone can see the directory structure. Note we assume here that fpc 3.0.4 is already installed, its probably easist installed using distro's package manager. In this example we use the fixes_2_0 branch of Lazarus, 1.8.4 similar (but needs a patch). Speaking of patches, kcontrols no longer needs a patch, seems TK has used my patch, just forgot to mention it :-) Oh, and we need subversion installed to get lazarus, we could, of course, use the the distro version of Lazarus but it changes a bit more often than fpc and not all distros keep up .... I cannot workout how to get a default named version of kcontrols, so we have to deal with with its tag name in the file and directories, a real pain.
|
Tomboy still fails to launch as previously mentioned in issues #44 #51 and #87
These issues were all closed with the only resolution being that it started working again after an unknown system update.
Because it didn't magically fix itself for my system I've had to do some digging to find the culprit.
The error occurs because Tomboy building against old dbus-sharp-1.0 and dbus-sharp-glib-1.0, only works if the system is using mono-4.4 (possibly also 4.6?) and lower versions.
If the system has mono-4.8 or higher, then Tomboy must be built using dbus-sharp-2.0 and dbus-sharp-glib-2.0.
Currently, Tomboy will default to use dbus-sharp-1.0 even if both 1.0 and 2.0 versions are present.
Am using the following patch to workaround by explicitly using dbus-sharp-2.0 and dbus-sharp-glib-2.0:
diff -urN tomboy-1.15.9/configure.ac tomboy-1.15.9-patched/configure.ac
--- tomboy-1.15.9/configure.ac 2017-06-03 22:50:05.000000000 +0930
+++ tomboy-1.15.9-patched/configure.ac 2018-12-09 22:04:15.661561631 +1030
@@ -173,9 +173,7 @@
#
# Check for dbus-sharp
#
-PKG_CHECK_MODULES([DBUS], [dbus-sharp-1.0 >= 0.4 dbus-sharp-glib-1.0 >= 0.3],, [
- PKG_CHECK_MODULES([DBUS], [dbus-sharp-2.0 >= 0.4 dbus-sharp-glib-2.0 >= 0.3])
-])
+PKG_CHECK_MODULES([DBUS], [dbus-sharp-2.0 >= 0.4 dbus-sharp-glib-2.0 >= 0.3])
AC_SUBST(DBUS_LIBS)
#
Once this is fixed, Tomboy will still fail to launch but that is due to Mono's bug at mono/mono#6752
Thanks :)
The text was updated successfully, but these errors were encountered: