Open TinaRussell opened 7 years ago
Did you see issue #67? It contains some advice and a fix for a very similar, if not identical, problem to yours.
The fix from issue #67 did not work for me. It just generated new errors:
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NotSupportedException: The invoked member is not supported in a dynamic assembly.
at System.Reflection.Emit.InternalAssemblyBuilder.get_CodeBase()
at Mono.Addins.AddinSessionService.CheckHostAssembly(Assembly asm)
at Mono.Addins.AddinSessionService.ActivateRoots()
at Mono.Addins.AddinSessionService.Initialize()
at Mono.Addins.AddinManager.Initialize(String configDir)
at Tomboy.AddinManager.InitializeMonoAddins(String old_conf_dir) in C:\Projects\tomboy-gnome\Tomboy\AddinManager.cs:line 93
at Tomboy.AddinManager..ctor(String tomboy_conf_dir, String old_tomboy_conf_dir) in C:\Projects\tomboy-gnome\Tomboy\AddinManager.cs:line 45
at Tomboy.NoteManager.Initialize() in C:\Projects\tomboy-gnome\Tomboy\NoteManager.cs:line 138
at Tomboy.Tomboy.<>cDisplayClass4.
Hi, Same thing here, fresh install on W7SP1 (no previous use of Tomboy except under Linux), as per the Wiki.
Debug output is (pardon my French :-):
Exception non gérée : System.DllNotFoundException: Impossible de charger la DLL 'glibsharpglue-2': La procédure spécifiée est introuvable. (Exception de HRESULT : 0x8007007F)
à GLib.ObjectManager.gtksharp_get_type_id(IntPtr raw)
à GLib.ObjectManager.GetTypeOrParent(IntPtr obj)
à GLib.ObjectManager.CreateObject(IntPtr raw)
à GLib.Object.GetObject(IntPtr o, Boolean owned_ref)
à Gtk.IconTheme.get_Default()
à Tomboy.GuiUtils.GetIcon(Assembly asm, String resource_name, Int32 size) dans C:\MyDoc\dev\tomboy\tomboy-github\Tomboy\Utils.cs:ligne 145
à Tomboy.ActionManager..ctor() dans C:\MyDocs\dev\tomboy\tomboy-github\Tomboy\ActionManager.cs:ligne 52
à Tomboy.Application.Initialize(String locale_dir, String display_name, String process_name, String[] args) dans C:\MyDocs\dev\tomboy\tomboy-github\Tomboy\Utils.cs:ligne 1070
à Tomboy.Tomboy.Main(String[] args) dans C:\MyDocs\dev\tomboy\tomboy-github\Tomboy\Tomboy.cs:ligne 82```
> There is only one glibsharpglue-2.dll on the system (from GtkSharp 2.12 fresh install).
Update: on a hunch I tried setting tomboy_path_prefix
as recommended in issue #67.
Although I did accept all installer defaults, and have GTK2 and GtkSharp in the system path, adding this seemed to be enough in my case...
That did not solve it for me.
On Tue, Nov 7, 2017 at 2:02 PM, fpp notifications@github.com wrote:
Update: on a hunch I tried setting tomboy_path_prefix as recommended in issue #67 https://github.com/tomboy-notes/tomboy/issues/67. Although I did accept all installer defaults, and have GTK2 and GtkSharp in the system path, adding this seemed to be enough in my case...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tomboy-notes/tomboy/issues/71#issuecomment-342586825, or mute the thread https://github.com/notifications/unsubscribe-auth/AAV2jMoOq8bWCv3M6-TcJ1zLnIOBWNQMks5s0KkugaJpZM4PYaRo .
I can confirm this issue is still happening on a clean install of Tomboy (1.15.9) (and associated libraries) on Windows 10 (version 1709). I fixed the problem as per the above suggestion in issue #67 by copying the older version of glibsharpglue-2.dll from the Unity thread.
I found a solution at #97
I’m using Windows 7, 32-bit. I installed Tomboy 1.15.7 via Chocolatey, which I use because I’m used to Linux package managers, and the thought of having to keep each program on my computer up to date separately terrifies me. I’ve used Tomboy on this machine just fine until recently. Now, Tomboy crashes immediately after I start it. When run from the shell, Tomboy produces this result:
It seems that Tomboy (or a different Chocolatey package) installed the package for the .NET Framework 4.0, which of course the Tomboy website says is out of date. So, I installed the .NET Framework 4.7 package to see if it would make a difference, then rebooted… no luck, Tomboy still produces the same with the same traceback.
Any help would be appreciated!