Tomboy crashes - won't start up

Questions about applications and software
Forum rules
Before you post please read how to get help

Tomboy crashes - won't start up

Postby triwave on Thu Aug 07, 2008 2:23 pm

I've been using Tomboy for a while now - really like it. I run it on a server that I never shut down. Yesterday I shut it down to move it and when I re-booted it an error came up that the panel applet couldn't start. OK, strange, so i tried to start from command line and it crashes and won't start up. mintUpdate runs and may have installed some updates since I last used it successfully but I have no idea what ... anybody know why it might be crashing and how to fix it?

I see an error about not being able to access path /home/user1/.tomboy but checking the permissions everything is RWX for user1 , not sure what would have changed there.

Code: Select all
user1@mintserver:~$ [DEBUG]: NoteManager created with note path "/home/user1/.tomboy".
[INFO]: Initializing Mono.Addins
ERROR: Add-in cache directory could not be created (Access to the path "/home/user1/.tomboy/addin-db-001/addin-data/1511545540" is denied.)
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.Tomboy
[DEBUG]:               Name: Tomboy.Tomboy,0.10
[DEBUG]:        Description:
[DEBUG]:          Namespace: Tomboy
[DEBUG]:            Enabled: True
[DEBUG]:               File: /usr/lib/tomboy/Tomboy.exe

Unhandled Exception: System.NullReferenceException: Object reference not set to                   an instance of an object
  at Mono.Addins.Database.AddinDatabase.Repair (IProgressStatus monitor, System.                  String domain) [0x00000]
  at Mono.Addins.AddinRegistry.Rebuild (IProgressStatus monitor) [0x00000]
  at Tomboy.AddinManager.InitializeMonoAddins () [0x00000]
  at Tomboy.AddinManager..ctor (System.String tomboy_conf_dir) [0x00000]
  at Tomboy.NoteManager.CreateAddinManager () [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory, System.String backup_dir                  ectory) [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory) [0x00000]
  at Tomboy.Tomboy.Main (System.String[] args) [0x00000]
triwave
Level 1
Level 1
 
Posts: 36
Joined: Thu May 29, 2008 12:32 pm

Linux Mint is funded by ads and donations.
 

Re: Tomboy crashes - won't start up

Postby chattr on Sat Aug 09, 2008 12:30 pm

What are the permissions and user/group settings on the directory

/home/user1/.tomboy/addin-db-001/addin-data/1511545540 ?
chattr
Level 2
Level 2
 
Posts: 58
Joined: Thu Jul 03, 2008 2:43 pm

Re: Tomboy crashes - won't start up

Postby triwave on Sat Aug 09, 2008 2:54 pm

That's one of the puzzling things ... that file or directory doesn't exist if I list the contents, but everything else in it is RW for user1. Is the program trying to create that file in this directory??

Code: Select all
user1@mintserver:~/.tomboy/addin-db-000/addin-data$ ls -l
total 48K
-rw-r--r-- 1 user1 user1  963 2008-08-07 11:36 Tomboy.BacklinksAddin,0.1.maddin
-rw-r--r-- 1 user1 user1 1240 2008-08-07 11:36 Tomboy.BugzillaAddin,0.1.maddin
-rw-r--r-- 1 user1 user1 1052 2008-08-07 11:36 Tomboy.EvolutionAddin,0.1.maddin
-rw-r--r-- 1 user1 user1  959 2008-08-07 11:36 Tomboy.ExportToHtmlAddin,0.1.maddin
-rw-r--r-- 1 user1 user1 1047 2008-08-07 11:36 Tomboy.FileSystemSyncServiceAddin,0.1.maddin
-rw-r--r-- 1 user1 user1  946 2008-08-07 11:36 Tomboy.FixedWidthAddin,0.1.maddin
-rw-r--r-- 1 user1 user1 1200 2008-08-07 11:36 Tomboy.NoteOfTheDayAddin,0.1.maddin
-rw-r--r-- 1 user1 user1  959 2008-08-07 11:36 Tomboy.PrintNotesAddin,0.1.maddin
-rw-r--r-- 1 user1 user1 1004 2008-08-07 11:36 Tomboy.SshSyncServiceAddin,0.1.maddin
-rw-r--r-- 1 user1 user1 1000 2008-08-07 11:36 Tomboy.StickyNoteImportAddin,0.1.maddin
-rw-r--r-- 1 user1 user1 3453 2008-08-07 11:36 Tomboy.Tomboy,0.7_ff7b1edf.mroot
-rw-r--r-- 1 user1 user1 1010 2008-08-07 11:36 Tomboy.WebDavSyncServiceAddin,0.1.maddin
user1@mintserver:~/.tomboy/addin-db-000/addin-data$


If I got up a level to check the permissions the directory above it is

Code: Select all
drwxr-xr-x 2 user1 user1 4096 2008-07-06 17:26 addin-data


So if Tomboy is trying to create a new file or directory it shouldn't have a problem :?:
triwave
Level 1
Level 1
 
Posts: 36
Joined: Thu May 29, 2008 12:32 pm

Re: Tomboy crashes - won't start up

Postby chattr on Sat Aug 09, 2008 4:19 pm

Try doing in a terminal

Code: Select all
mkdir /home/user1/.tomboy/addin-db-001/addin-data/1511545540

and then in the same terminal do

Code: Select all
tomboy

and if it won't run, post what is outputted.
chattr
Level 2
Level 2
 
Posts: 58
Joined: Thu Jul 03, 2008 2:43 pm

Re: Tomboy crashes - won't start up

Postby triwave on Sat Aug 09, 2008 9:50 pm

logged in as user1 it does the following:

Code: Select all
mkdir: cannot create directory `/home/user1/.tomboy/addin-db-001/addin-data/1511545540': Permission denied


I did not do sudo which I assume would create the directory. Why doesn't user1 have permission to create that directory?? I seems like user1 should
triwave
Level 1
Level 1
 
Posts: 36
Joined: Thu May 29, 2008 12:32 pm

Re: Tomboy crashes - won't start up

Postby chattr on Sun Aug 10, 2008 6:37 am

triwave wrote:logged in as user1 it does the following:

Code: Select all
mkdir: cannot create directory `/home/user1/.tomboy/addin-db-001/addin-data/1511545540': Permission denied


I did not do sudo which I assume would create the directory. Why doesn't user1 have permission to create that directory?? I seems like user1 should

user1 has rwx privileges in the addin-data/ directory, so it has the authority to create a directory there.

Is your system using etx2 or ext3 filesystems? If yes, post here the output of doing in a terminal
Code: Select all
lsattr /home/user1/.tomboy/addin-db-001/addin-data/
chattr
Level 2
Level 2
 
Posts: 58
Joined: Thu Jul 03, 2008 2:43 pm

Re: Tomboy crashes - won't start up

Postby triwave on Sun Aug 10, 2008 12:42 pm

Yes I use ext3 filesystem for the /home partition. If it's relevant, /home is it's own partition but that isn't a recent change or anything ... I set it up like that a long time ago.

In the home directory I used the lsattr command:

Code: Select all
user1@mintserver:~$ lsattr .tomboy/addin-db-001/addin-data/
------------------ .tomboy/addin-db-001/addin-data/1511545540
------------------ .tomboy/addin-db-001/addin-data/1
------------------ .tomboy/addin-db-001/addin-data/global
user1@mintserver:~$


I'm not familiar with this command ... but I guess we should see some attributes there? I used the command on some other directories (that are working properly!) and I still don't see any attributes listed so not sure the expected behavior of that command. What does it mean?
triwave
Level 1
Level 1
 
Posts: 36
Joined: Thu May 29, 2008 12:32 pm

Re: Tomboy crashes - won't start up

Postby chattr on Sun Aug 10, 2008 2:00 pm

triwave wrote:Yes I use ext3 filesystem for the /home partition. If it's relevant, /home is it's own partition but that isn't a recent change or anything ... I set it up like that a long time ago.

In the home directory I used the lsattr command:

Code: Select all
user1@mintserver:~$ lsattr .tomboy/addin-db-001/addin-data/
------------------ .tomboy/addin-db-001/addin-data/1511545540
------------------ .tomboy/addin-db-001/addin-data/1
------------------ .tomboy/addin-db-001/addin-data/global
user1@mintserver:~$


I'm not familiar with this command ... but I guess we should see some attributes there? I used the command on some other directories (that are working properly!) and I still don't see any attributes listed so not sure the expected behavior of that command. What does it mean?

lsattr lists file attributes on ext2 and ext3 filesystems. The listing you posted shows that the immutable flag's not set. If the immutable flag was set, the flag would prevent changes to the file even if the user had privileges to make changes.

It was a shot in the dark guess for what might be preventing tomboy from creating a directory.

You can learn more about lsattr by typing ' man lsattr ' in a terminal.
chattr
Level 2
Level 2
 
Posts: 58
Joined: Thu Jul 03, 2008 2:43 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: DeMus and 22 guests