Mnemosyne doesn't start anymore, on max os x: uncaught exception

106 views
Skip to first unread message

ferdinand...@gmail.com

unread,
Sep 4, 2012, 6:29:05 AM9/4/12
to mnemosyne-...@googlegroups.com
It just appears this message:
Uncaught exception!
Traceback (innermost last):
File "/Applications/Mnemosyne.app/Contents/Resources/__boot__.py", line 309, in <module>
File "/Applications/Mnemosyne.app/Contents/Resources/__boot__.py", line 306, in _run
File "/Applications/Mnemosyne.app/Contents/Resources/Mnemosyne.py", line 147, in <module>
File "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/__init__.py", line 165, in initialise
File "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/__init__.py", line 281, in load_database
File "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/databases/SQLite.py", line 336, in load
File "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/databases/SQLite_media.py", line 35, in create_media_dir_if_needed
File "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/databases/SQLite_media.py", line 32, in media_dir
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 32: ordinal not in range(128)


What should i do?

Peter Bienstman

unread,
Sep 4, 2012, 6:40:27 AM9/4/12
to mnemosyne-...@googlegroups.com
Could you please give some more context? Did it work previously? Do you
have special characters in the filename you last opened or in your user
name?

You can also try removing ~/Library/Mnemosyne/config (this will reset
your configuration settings, though)

Peter

ferdinand...@gmail.com

unread,
Sep 4, 2012, 1:13:12 PM9/4/12
to mnemosyne-...@googlegroups.com
It work
Actually worked previously. I finished a repetition session, i closed it and when i tried to open it up again it didn't work anymore.
By the way i can't find mnemosyne/config in my library

Peter Bienstman

unread,
Sep 4, 2012, 1:42:40 PM9/4/12
to mnemosyne-...@googlegroups.com
Quoting ferdinand...@gmail.com:

> Actually worked previously. I finished a repetition session, i
> closed it and when i tried to open it up again it didn't work anymore.
> By the way i can't find mnemosyne/config in my library

I'm not familiar with Mac, but doesn't Mac have a 'find file'
functionality? That should help you to locate the config file.

Peter


ferdinand...@gmail.com

unread,
Sep 4, 2012, 1:52:53 PM9/4/12
to mnemosyne-...@googlegroups.com
There's only the "content" folder in the application folder. Nothing else.

ferdinand...@gmail.com

unread,
Sep 4, 2012, 1:54:50 PM9/4/12
to mnemosyne-...@googlegroups.com
I tried to uninstall and re-install but the problem is always the same.

Peter Bienstman

unread,
Sep 4, 2012, 1:56:14 PM9/4/12
to mnemosyne-...@googlegroups.com
Quoting ferdinand...@gmail.com:


> There's only the "content" folder in the application folder. Nothing else.

I'm not talking about the application folder, but rather the place
where Mnemosyne stores its data.

Can an OSX user perhaps step in with more concrete instructions on how
to locate ~/Library/Mnemosyne/config and delete it?

Thanks!

Peter


ferdinand...@gmail.com

unread,
Sep 4, 2012, 1:57:34 PM9/4/12
to mnemosyne-...@googlegroups.com, ferdinand...@gmail.com
Actually there's a find file functionality but the folder mnemosyne is in "application" folder and there's no trace of it in library. Moreover there's no trace of "config" folder.
It's strange!

Peter Bienstman

unread,
Sep 4, 2012, 2:02:33 PM9/4/12
to mnemosyne-...@googlegroups.com
Quoting ferdinand...@gmail.com:

> Actually there's a find file functionality but the folder mnemosyne
> is in "application" folder and there's no trace of it in library.
> Moreover there's no trace of "config" folder.
> It's strange!

Try to look for config in your entire hard drive, not just inside a
certain directory.

Alternatively:

Open a command prompt and type

rm ~/Library/Mnemosyne/config

Peter


ferdinand...@gmail.com

unread,
Sep 4, 2012, 2:13:27 PM9/4/12
to mnemosyne-...@googlegroups.com
> Nothing. The directory doesn't exist. Could you tell me a program through wich i can open mnemosyne database files or import them?
>
> rm ~/Library/Mnemosyne/config
>
>
>
> Peter

Peter Bienstman

unread,
Sep 4, 2012, 2:30:28 PM9/4/12
to mnemosyne-...@googlegroups.com
Quoting ferdinand...@gmail.com:

>> Nothing. The directory doesn't exist. Could you tell me a program
>> through wich i can open mnemosyne database files or import them?
>>
>> rm ~/Library/Mnemosyne/config

I'm afraid I don't know enough about Mac's to help you further.
Someone who runs Mnemosyne on a Mac will have to give more concrete
instructions I'm afraid...

Peter


ferdinand...@gmail.com

unread,
Sep 4, 2012, 2:58:35 PM9/4/12
to mnemosyne-...@googlegroups.com
Thanks a lot anyway! :)

George Wade

unread,
Sep 4, 2012, 3:02:17 PM9/4/12
to mnemosyne-...@googlegroups.com
I've got it: give me five minutes to compose directions.

George

George Wade

unread,
Sep 4, 2012, 3:16:20 PM9/4/12
to mnemosyne-...@googlegroups.com
You are right about Apple being so easy that it becomes strange.

I used 'EasyFind' from the App store to do this search:

Screen shot 2012-09-04 at 12.04.57.gif
Screen shot 2012-09-04 at 12.07.47.gif

Oisín

unread,
Sep 6, 2012, 5:06:25 AM9/6/12
to mnemosyne-...@googlegroups.com

Ferdinando, I'm not sure if you ran this command or not. It's easier to be sure about where files are when you use the command prompt (called Terminal on the Mac)

To get a command prompt, press command-space, then type the word "terminal" into the search box. Soon, you should see the icon for the Terminal program, so hit enter or click it.

Then you can run commands like the above and copy/paste the results if need be.
Try:

ls ~/Library/Mnemosyne

If it contains the config directory, you can delete it with:

cd ~/Library/Mnemosyne
rm -rf config

(be careful with that one)

If there is no ~/Library/Mnemosyne, then maybe you can try:

locate -i mnemosyne


Peter


--
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-proj-users@googlegroups.com.
To unsubscribe from this group, send email to mnemosyne-proj-users+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages