Fails to start in OS X 10.6.1 (Snow Leopard)

Bug #478864 reported by Sinky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tagaini Jisho
Fix Released
Undecided
Unassigned

Bug Description

When I start Tagaini Jisho 0.2.3 I receive the following error popup: "Cannot open database: unable to open database file Error opening database".

I have removed the Application Support/tagainijisho folder and reinstalled the application (They were both copied from a OS X 10.5 install) but the problem remains.

However, Tagaini Jisho does start when I run it from the command line as root.

Revision history for this message
Gnurou (gnurou) wrote :

Hi, thanks for reporting this problem - this is not the first time I hear about it, but I don't know what the cause is yet.

Good thing to know that you can still run Tagaini as root - it looks like this is a permission or file lookup problem. If you have time to check a couple of things, that would really help.

First, open your user directory and look for the following file: Library/Application Support/tagainijisho/user.db. This file contains all your user data, including your study list, tags, notes, sets, etc. Please copy it as we will twiddle the settings a little bit and I don't know what will happen.

The first action I would like you to try is to delete this file from your user directory: Library/Preferences/net.tagaini.tagainijisho.plist. This file contains the preferences of the application (nothing important, just stuff you can re-enable by going into the preferences again). After deleting this file, see if Tagaini can start. If it doesn't, please ensure the plist file is deleted and also delete user.db (after making a backup). This will put Tagaini into a completely blank state, just as if you installed it again. In that case, if things do not start, then I don't understand.

Also, could you also check if you can see your user study list, tags, ... when running the program as root?

Thanks!
Alex.

Revision history for this message
Sinky (sinkywinky) wrote :

Hi,

Removing net.tagaini.tagainijisho.plist has solved the problem.

I've looked in the old plist file and the userProfile string is set to "/Volumes/osx/Users/sinky/Library/Application Support/tagainijisho", which is incorrect as my partition is now called 'osxsl'.

The newly created plist file is set to '/Users/sinky/Library/Application Support/tagainijisho'. It still works when I add '/Volumes/osxsl' to the start of it.

Thanks for your help.

Revision history for this message
Gnurou (gnurou) wrote :

Ah, I see - the path to the OSX volume has changed with the update. That explains everything.

Anyway, this userProfile variable is absolutely not necessary, so I'll just remove it. Thanks a lot for your help with solving this, because this is a rather serious issue that affects all mac users.

Gnurou (gnurou)
Changed in tagaini-jisho:
status: New → Fix Released
milestone: none → 0.2.4
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.