Re: [mnemosyne-proj-users] Error on startup

77 views
Skip to first unread message

Peter Bienstman

unread,
Jan 23, 2013, 3:03:53 AM1/23/13
to mnemosyne-...@googlegroups.com
It seems Mnemosyne is unable to open your database anymore.

Did it work previously with this version of Mnemosyne?

I suggest you first backup / move to another location your Mnemosyne
data directory (typically ~/Library/Mnemosyne and this directory
contains default.db)

Then, remove ~/Library/Mnemosyne, try to start again, and see if you can
open a backup from with the old databir ( in Mnemosyne/Backups).

Good luck!

Peter

On 01/23/2013 07:02 AM, bedu...@gmail.com wrote:
> Hey guys!
>
>
> I get the following error when I try to start the latest version of
> Mnemosyne on Mac OS X 10.8.2:
>
> An unexpected error has occurred.
>
> Please forward the following info to the developers:
>
> Traceback (innermost last):
>
> File
> "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/pyqt_ui/main_wdgt.py",
> line 186, in add_cards
>
> File
> "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/controllers/default_controller.py",
> line 75, in show_add_cards_dialog
>
> File
> "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/pyqt_ui/add_cards_dlg.py",
> line 192, in __init__
>
> File
> "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/pyqt_ui/add_cards_dlg.py",
> line 109, in update_tags_combobox
>
> File
> "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/databases/SQLite.py",
> line 722, in tags
>
> File
> "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/databases/SQLite.py",
> line 254, in con
>
> File
> "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/databases/_sqlite3.py",
> line 52, in __init__
>
> OperationalError: unable to open database file
>
>
>
> After I click OK, I can choose from "Open console" or "Terminate".
> Terminate leads to application quit.
>
> What can I do?
>
>
> Best regards
>
> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mnemosyne-proj-users/-/drEE5FG4Od8J.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
Peter Bienstman
Ghent University, Dept. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 46, fax: +32 9 264 35 93
WWW: http://photonics.intec.UGent.be
email: Peter.B...@UGent.be

Peter Bienstman

unread,
Jan 28, 2013, 4:05:27 AM1/28/13
to mnemosyne-...@googlegroups.com, jlre...@gmail.com
If you have errors on Windows 7 (as opposed to OSX), first make sure you are running the latest version (2.2a), and if necessary delete C:\users\jrle\Application Data\Roaming\Mnemosyne\config

'config' could be in another, similar directory too.

Cheers,

Peter

On Monday, 28 January 2013 09:40:21 UTC+1, jlre...@gmail.com wrote:
I'm having a similar problem on Windows 7. the solution suggested below did not work.

Reply all
Reply to author
Forward
0 new messages