tomboy wont start

Bug #676803 reported by Marcos Roriz
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tomboy (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: tomboy

Tomboy wont start (it crashes), the Ubuntu One sync is enabled.

Here is the output of tomboy --debug:
marcos@Nero:~$ tomboy --debug
** Running Mono with --debug **
[DEBUG 01:25:55.365] NoteManager created with note path "/home/marcos/.local/share/tomboy".
[INFO 01:25:55.904] Initializing Mono.Addins
[DEBUG 01:25:56.022] AddinManager.OnAddinLoaded: Tomboy.Tomboy
[DEBUG 01:25:56.024] Name: Tomboy.Tomboy,0.10
[DEBUG 01:25:56.024] Description:
[DEBUG 01:25:56.025] Namespace: Tomboy
[DEBUG 01:25:56.025] Enabled: True
[DEBUG 01:25:56.025] File: /usr/lib/tomboy/Tomboy.exe
[DEBUG 01:25:57.358] AddinManager.OnAddinLoaded: Tomboy.WebSyncServiceAddin
[DEBUG 01:25:57.359] Name: Web Sync Service Add-in
[DEBUG 01:25:57.359] Description: Synchronize Tomboy Notes with Tomboy Online and other compatible web services
[DEBUG 01:25:57.359] Namespace: Tomboy
[DEBUG 01:25:57.359] Enabled: True
[DEBUG 01:25:57.359] File: /usr/lib/tomboy/addins/WebSyncServiceAddin.dll
[DEBUG 01:25:57.360] AddinManager.OnAddinLoaded: Tomboy.WebDavSyncServiceAddin
[DEBUG 01:25:57.361] Name: WebDav Sync Service Add-in
[DEBUG 01:25:57.361] Description: Synchronize Tomboy Notes to a WebDav URL
[DEBUG 01:25:57.361] Namespace: Tomboy
[DEBUG 01:25:57.361] Enabled: True
[DEBUG 01:25:57.361] File: /usr/lib/tomboy/addins/WebDavSyncService.dll
[DEBUG 01:25:57.365] Unable to locate 'gnomesu' in your PATH
[DEBUG 01:25:57.365] Using '/usr/bin/gksu' as GUI 'su' tool
[DEBUG 01:25:57.365] Successfully found all system tools
[DEBUG 01:25:57.366] Unable to locate 'wdfs' in your PATH
[DEBUG 01:25:57.366] AddinManager.OnAddinLoaded: Tomboy.FileSystemSyncServiceAddin
[DEBUG 01:25:57.367] Name: Local Directory Sync Service Add-in
[DEBUG 01:25:57.367] Description: Synchronize Tomboy Notes to a local file system path
[DEBUG 01:25:57.367] Namespace: Tomboy
[DEBUG 01:25:57.367] Enabled: True
[DEBUG 01:25:57.367] File: /usr/lib/tomboy/addins/FileSystemSyncService.dll
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.IO.IOException: Invalid handle to path "/home/marcos/.local/share/tomboy/dad8b4d4-752c-4309-8b5a-ed69aa13383f.note"
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string,System.Text.Encoding)
  at Tomboy.NoteArchiver.ReadFile (System.String read_file, System.String uri) [0x00000] in <filename unknown>:0
  at Tomboy.NoteArchiver.Read (System.String read_file, System.String uri) [0x00000] in <filename unknown>:0
  at Tomboy.Note.Load (System.String read_file, Tomboy.NoteManager manager) [0x00000] in <filename unknown>:0
  at Tomboy.NoteManager.LoadNotes () [0x00000] in <filename unknown>:0
  at Tomboy.NoteManager.Initialize () [0x00000] in <filename unknown>:0
  at Tomboy.Tomboy+<Main>c__AnonStorey2.<>m__0 () [0x00000] in <filename unknown>:0
  at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Timeout+TimeoutProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at Tomboy.GnomeApplication.StartMainLoop()
   at Tomboy.Application.StartMainLoop()
   at Tomboy.Tomboy.StartTrayIcon()
   at Tomboy.Tomboy.Main(System.String[] args)
marcos@Nero:~$

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: tomboy 1.4.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-23.37-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Thu Nov 18 01:21:20 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 LANG=pt_BR.utf8
 SHELL=/bin/bash
SourcePackage: tomboy

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

System.IO.IOException: Invalid handle to path "/home/marcos/.local/share/tomboy/dad8b4d4-752c-4309-8b5a-ed69aa13383f.note"

That implies that something is wrong with that note file. Can you open it up in gedit or something and tell if it's corrupt?

Delete the file or move it outside of the note directory, and see if Tomboy will start after that.

Revision history for this message
Marcos Roriz (marcosrorizinf) wrote :

Thank you Sandy, your solution worked. I deleted the file, and it now works. However I lost that note :'(. Not a big deal, but I hope that this bug don't happen frequently (otherwise a lot of users might loses their important notes).

Revision history for this message
Sebastien Bacher (seb128) wrote :

setting to incomplete since the bug is not really useful without steps to trigger the issue, it could be a disk issue for example

Changed in tomboy (Ubuntu):
status: New → Incomplete
Revision history for this message
Robert Roth (evfool) wrote :

The same thing was reported in bug #696456, it has happened to another user too, so the chances that this is a disk issue have decreased.

Changed in tomboy (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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