Tomboy 1.6.1 (Oneiric) won't start from desktop ~ starts from CLI but crashes with "Exception in Gtk# callback delegate" error on activity.

Bug #787506 reported by VinDSL
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomboy (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: tomboy

Tomboy 1.6.1 (Oneiric) will not start from desktop. Tomboy Icon pops up in app indictor, then disappears.

Tomboy will start from the command line, but crashes with a "Exception in Gtk# callback delegate" during most activity.

Here is a sample of command line output (start Tomboy - write and save a new message):

vindsl@Zuul:~$ tomboy --debug
** Running Mono with --debug **
[DEBUG 04:25:49.664] NoteManager created with note path "/home/vindsl/.local/share/tomboy".
[INFO 04:25:50.223] Initializing Mono.Addins
[DEBUG 04:25:50.420] AddinManager.OnAddinLoaded: Tomboy.Tomboy
[DEBUG 04:25:50.423] Name: Tomboy.Tomboy,0.10
[DEBUG 04:25:50.423] Description:
[DEBUG 04:25:50.424] Namespace: Tomboy
[DEBUG 04:25:50.424] Enabled: True
[DEBUG 04:25:50.424] File: /usr/lib/tomboy/Tomboy.exe
[DEBUG 04:25:51.700] AddinManager.OnAddinLoaded: Tomboy.WebDavSyncServiceAddin
[DEBUG 04:25:51.700] Name: WebDav Sync Service Add-in
[DEBUG 04:25:51.701] Description: Synchronize Tomboy Notes to a WebDav URL
[DEBUG 04:25:51.701] Namespace: Tomboy
[DEBUG 04:25:51.701] Enabled: True
[DEBUG 04:25:51.701] File: /usr/lib/tomboy/addins/WebDavSyncService.dll
[DEBUG 04:25:51.707] Unable to locate 'gnomesu' in your PATH
[DEBUG 04:25:51.707] Using '/usr/bin/gksu' as GUI 'su' tool
[DEBUG 04:25:51.708] Successfully found all system tools
[DEBUG 04:25:51.708] Unable to locate 'wdfs' in your PATH
[DEBUG 04:25:51.708] AddinManager.OnAddinLoaded: Tomboy.FileSystemSyncServiceAddin
[DEBUG 04:25:51.708] Name: Local Directory Sync Service Add-in
[DEBUG 04:25:51.709] Description: Synchronize Tomboy Notes to a local file system path
[DEBUG 04:25:51.709] Namespace: Tomboy
[DEBUG 04:25:51.709] Enabled: True
[DEBUG 04:25:51.709] File: /usr/lib/tomboy/addins/FileSystemSyncService.dll
[DEBUG 04:25:51.710] AddinManager.OnAddinLoaded: Tomboy.WebSyncServiceAddin
[DEBUG 04:25:51.711] Name: Web Sync Service Add-in
[DEBUG 04:25:51.711] Description: Synchronize Tomboy Notes with Tomboy Online and other compatible web services
[DEBUG 04:25:51.711] Namespace: Tomboy
[DEBUG 04:25:51.711] Enabled: True
[DEBUG 04:25:51.711] File: /usr/lib/tomboy/addins/WebSyncServiceAddin.dll
[DEBUG 04:25:51.716] Loading notes
[DEBUG 04:25:51.866] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 04:25:51.875] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 04:25:51.876] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 04:25:51.876] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 04:25:51.876] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 04:25:52.015] AddinManager.OnAddinLoaded: Tomboy.PrintNotesAddin
[DEBUG 04:25:52.016] Name: Printing Support
[DEBUG 04:25:52.016] Description: Allows you to print a note.
[DEBUG 04:25:52.016] Namespace: Tomboy
[DEBUG 04:25:52.016] Enabled: True
[DEBUG 04:25:52.016] File: /usr/lib/tomboy/addins/PrintNotes.dll
[DEBUG 04:25:52.017] AddinManager.OnAddinLoaded: Tomboy.FixedWidthAddin
[DEBUG 04:25:52.018] Name: Fixed Width
[DEBUG 04:25:52.018] Description: Adds fixed-width font style.
[DEBUG 04:25:52.018] Namespace: Tomboy
[DEBUG 04:25:52.018] Enabled: True
[DEBUG 04:25:52.018] File: /usr/lib/tomboy/addins/FixedWidth.dll
[DEBUG 04:25:52.020] AddinManager.OnAddinLoaded: Tomboy.ExportToHtmlAddin
[DEBUG 04:25:52.021] Name: Export to HTML
[DEBUG 04:25:52.021] Description: Exports individual notes to HTML.
[DEBUG 04:25:52.021] Namespace: Tomboy
[DEBUG 04:25:52.021] Enabled: True
[DEBUG 04:25:52.021] File: /usr/lib/tomboy/addins/ExportToHtml.dll
[DEBUG 04:25:52.023] AddinManager.OnAddinLoaded: Tomboy.BacklinksAddin
[DEBUG 04:25:52.023] Name: Backlinks
[DEBUG 04:25:52.023] Description: See which notes link to the one you're currently viewing.
[DEBUG 04:25:52.024] Namespace: Tomboy
[DEBUG 04:25:52.024] Enabled: True
[DEBUG 04:25:52.024] File: /usr/lib/tomboy/addins/Backlinks.dll
[DEBUG 04:25:52.025] AddinManager.OnAddinLoaded: Tomboy.StickyNoteImportAddin
[DEBUG 04:25:52.025] Name: Sticky Notes Importer
[DEBUG 04:25:52.025] Description: Import your notes from the Sticky Notes applet.
[DEBUG 04:25:52.025] Namespace: Tomboy
[DEBUG 04:25:52.026] Enabled: True
[DEBUG 04:25:52.026] File: /usr/lib/tomboy/addins/StickyNoteImport.dll
[DEBUG 04:25:52.028] StickyNoteImporter: Sticky Notes XML file does not exist or is invalid!
[DEBUG 04:25:52.028] AddinManager.OnAddinLoaded: Tomboy.EvolutionAddin
[DEBUG 04:25:52.028] Name: Evolution Mail Integration
[DEBUG 04:25:52.029] Description: Allows you to drag an email from Evolution into a Tomboy note. The message subject is added as a link in the note with an envelope icon next to it.
[DEBUG 04:25:52.029] Namespace: Tomboy
[DEBUG 04:25:52.029] Enabled: True
[DEBUG 04:25:52.029] File: /usr/lib/tomboy/addins/Evolution.dll
[DEBUG 04:25:52.134] Unable to locate 'wdfs' in your PATH
[DEBUG 04:25:52.166] Tomboy remote control active.
[DEBUG 04:25:58.976] Creating Buffer for 'New Note 12'...
[DEBUG 04:25:59.237] New Note 12 tags:
[DEBUG 04:25:59.261] Loading notebooks
[DEBUG 04:26:03.481] Saving 'New Note 12'...
[DEBUG 04:26:31.367] Saving 'New Note 12'...
[DEBUG 04:26:35.677] Saving 'New Note 12'...
Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: /usr/lib/tomboy/libtomboy.so
  at (wrapper managed-to-native) Tomboy.ForcedPresentWindow:tomboy_window_present_hardcore (intptr)
  at Tomboy.ForcedPresentWindow.Present () [0x00000] in <filename unknown>:0
  at Tomboy.NoteRecentChanges.Present () [0x00000] in <filename unknown>:0
  at Tomboy.Tomboy.OpenSearchAll (System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Action.gtk_action_activate(IntPtr )
   at Gtk.Action.Activate()
   at Tomboy.TomboyIndicatorTray+<CurrentMenuItems>c__Iterator1.<>m__1D(System.Object o, System.EventArgs a)
   at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
   at System.Delegate.DynamicInvokeImpl(System.Object[] args)
   at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args)
   at System.Delegate.DynamicInvoke(System.Object[] args)
   at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Tomboy.GnomeApplication.StartMainLoop()
   at Tomboy.Application.StartMainLoop()
   at Tomboy.Tomboy.StartTrayIcon()
   at Tomboy.Tomboy.Main(System.String[] args)
vindsl@Zuul:~$

Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

Looks like a packaging error. This file is still definitely needed:

/usr/lib/tomboy/libtomboy.so

You might want to try reinstalling just to make sure it's not a hiccup on your end.

Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

According to http://packages.ubuntu.com/oneiric/tomboy , libtomboy.so should be installed in the correct place, fwiw.

Revision history for this message
VinDSL (perfect-pecker) wrote :

Tomboy starting working, after the most recent update.

Thanks! :)

Revision history for this message
VinDSL (perfect-pecker) wrote :
Download full text (6.0 KiB)

BTW, here's the debug output (same process as above, with Ubu One sync) now that Tomboy is fixed...

vindsl@Zuul:~$ tomboy --debug
** Running Mono with --debug **
[DEBUG 20:41:51.543] NoteManager created with note path "/home/vindsl/.local/share/tomboy".
[INFO 20:41:52.097] Initializing Mono.Addins
[DEBUG 20:41:52.292] AddinManager.OnAddinLoaded: Tomboy.Tomboy
[DEBUG 20:41:52.296] Name: Tomboy.Tomboy,0.10
[DEBUG 20:41:52.297] Description:
[DEBUG 20:41:52.297] Namespace: Tomboy
[DEBUG 20:41:52.297] Enabled: True
[DEBUG 20:41:52.298] File: /usr/lib/tomboy/Tomboy.exe
[DEBUG 20:41:53.573] AddinManager.OnAddinLoaded: Tomboy.WebDavSyncServiceAddin
[DEBUG 20:41:53.573] Name: WebDav Sync Service Add-in
[DEBUG 20:41:53.573] Description: Synchronize Tomboy Notes to a WebDav URL
[DEBUG 20:41:53.573] Namespace: Tomboy
[DEBUG 20:41:53.573] Enabled: True
[DEBUG 20:41:53.574] File: /usr/lib/tomboy/addins/WebDavSyncService.dll
[DEBUG 20:41:53.580] Unable to locate 'gnomesu' in your PATH
[DEBUG 20:41:53.580] Using '/usr/bin/gksu' as GUI 'su' tool
[DEBUG 20:41:53.580] Successfully found all system tools
[DEBUG 20:41:53.581] Unable to locate 'wdfs' in your PATH
[DEBUG 20:41:53.581] AddinManager.OnAddinLoaded: Tomboy.FileSystemSyncServiceAddin
[DEBUG 20:41:53.581] Name: Local Directory Sync Service Add-in
[DEBUG 20:41:53.581] Description: Synchronize Tomboy Notes to a local file system path
[DEBUG 20:41:53.582] Namespace: Tomboy
[DEBUG 20:41:53.582] Enabled: True
[DEBUG 20:41:53.582] File: /usr/lib/tomboy/addins/FileSystemSyncService.dll
[DEBUG 20:41:53.583] AddinManager.OnAddinLoaded: Tomboy.WebSyncServiceAddin
[DEBUG 20:41:53.583] Name: Web Sync Service Add-in
[DEBUG 20:41:53.584] Description: Synchronize Tomboy Notes with Tomboy Online and other compatible web services
[DEBUG 20:41:53.584] Namespace: Tomboy
[DEBUG 20:41:53.584] Enabled: True
[DEBUG 20:41:53.584] File: /usr/lib/tomboy/addins/WebSyncServiceAddin.dll
[DEBUG 20:41:53.588] Loading notes
[DEBUG 20:41:53.731] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 20:41:53.740] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 20:41:53.741] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 20:41:53.741] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 20:41:53.741] get_background: Style for GtkTextView came back null! Returning white...
[DEBUG 20:41:53.863] AddinManager.OnAddinLoaded: Tomboy.PrintNotesAddin
[DEBUG 20:41:53.864] Name: Printing Support
[DEBUG 20:41:53.864] Description: Allows you to print a note.
[DEBUG 20:41:53.864] Namespace: Tomboy
[DEBUG 20:41:53.864] Enabled: True
[DEBUG 20:41:53.864] File: /usr/lib/tomboy/addins/PrintNotes.dll
[DEBUG 20:41:53.866] AddinManager.OnAddinLoaded: Tomboy.FixedWidthAddin
[DEBUG 20:41:53.866] Name: Fixed Width
[DEBUG 20:41:53.866] Description: Adds fixed-width font style.
[DEBUG 20:41:53.866] Namespace: Tomboy
[DEBUG 20:41:53.867] Enabled: True
[DEBUG 20:41:53.867] File: /usr/lib/tomboy/...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.