Can't get pictures after transferring Mnemosyne back-up to new computer

22 views
Skip to first unread message

Nick Cross

unread,
May 23, 2022, 8:38:52 PMMay 23
to mnemosyne-proj-users
Hello,

Before I begin, I would like to thank you for creating Mnemosyne.  I am an English speaker who struggled with languages and your program changed my life. Using Mnemosyne every day for past 11 years and adding new vocabulary every week for the last five years.  As a result, I now have a very good understanding of French. I am now a bilingual and I lead French-speaking teams!   Thanks!

I looked because I am sure that others have already faced this problem.  Unfortunately, I am not seeing anything.  

Basically, I have a new Windows computer and I have cannot access the pictures for my old cards on the new computer.

The first thing I did was copy all of my pictures to the new Windows computer.  

Next, I downloaded Mnemosyne 2.8 and installed it on the new Windows computer.
Setup put Mnemosyne into the following folder:
C:\Program Files (x86)\Mnemosyne

When I check, my new computer puts the data in this location:
C:\Users\Family\AppData\Roaming\Mnemosyne

My old Windows computer had my data in this location:
C:\Users\David\AppData\Roaming\Mnemosyne

Since this is different.  I copied the most recent back-up to this location:
C:\Users\Family\AppData\Roaming\Mnemosyne

The good news is that I can now access my back-up deck of cards!  Yay!

The bad news is that my cards cannot access the pictures that go with the cards.  I am attaching a screen shot of a single card with 3 pictures on it.

Since my new computer has a different User name.  The location of of my jpg and png files on the new Windows computer is here:  
C:\Users\Family\Pictures\Mnemo
I tried creating a new folder with the same name as the old folder.  I copy everything into the new folder.
C:\Users\David\Pictures\Mnemo

Unfortunately, I am still not able to access the photos.

The workaround could be that I methodically adding the pictures to the cards on the new computer each time they reappear.  Unfortunately, the folder with all of my pictures has is 471MB and contains 10,898 files.  Yikes!  This approach will take me 10 years. 

Is there any easy way to tell Mnemosyne on the new Windows computer where to find the photos?

THANKS
Nick


Error message.pptx

Peter Bienstman

unread,
May 24, 2022, 3:10:53 AMMay 24
to mnemosyne-proj-users
Normally, if you add pictures to Mnemosyne using the built-in method (popup menu after right-click on the card), Mnemosyne copies the files to default.db_media, and only stores a relative link to the image (i.e. the link will read <img src="image.png">, without the full path). That way, just copying your entire data directory (C:\Users\David\AppData\Roaming\Mnemosyne) is enough to get everything working out of the box.

If you manually edited the picture paths, then that's of course a different story.

However, the error message you post has nothing to do with pictures. I suggest you just delete again the data directory ...\AppData\Roaming\Mnemosyne on your new computer, and copy the entire data directory again from your old computer to the new computer. If you haven't manually edited image paths on your old computer, that should work out of the box.

Peter

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/310f69b0-b8b0-4378-9759-718035717b02n%40googlegroups.com.

Nick Cross

unread,
May 24, 2022, 8:25:49 AMMay 24
to mnemosyne-proj-users
Hello,
Thanks for helping me out.

I deleted the data directory on the new computer and copied the data director on the old computer to the new computer.
... \AppData\Roaming\Mnemosyne

When I open Mnemosyne on the new computer, I get a series of error messages.
1) Could not create default ...dba media
2)  Previous drive letter no longer available
3) If you are using a USB key, refer to the instructions on the website so as not to be affected by drive letter changes
4)  It then tries to open the Mnemosyne database from the Program Files (x86) Mnemosyne folder
5) If I cancel, there is an unexpected error message
6) Failed to execute script mnemosyne message

I am attaching the screen shots.  The file is called "Series of Error Messages"

If I try to open at step 5 the most recent back-up  from this folder on the new computer
... \AppData\Roaming\Mnemosyne\backups
I also get error messages.
The file with screen shots is called "Cannot load a backup" .  I get another series of messages
5) When I try to open the Mnemosyne databases, I go the AppData\Roaming\Mnemosyne\ folder
6) I select and open the most recent backup
7) Mnemosyne asks if I want to replace the current database with one restored from this backup?
6) I get the unexpected error message
7) Failed to execute script mnemosyne message

Any ideas?
Thanks!
Can't load a backup.pptx
Series of Error Messages.pptx

Peter Bienstman

unread,
May 24, 2022, 8:43:29 AMMay 24
to mnemosyne-proj-users
After copying the directory, delete config.db first, that should help. Also make sure you're using the latest version of Mnemosyne.

Cheers,

Peter

Nick Cross

unread,
May 24, 2022, 9:45:46 AMMay 24
to mnemosyne-proj-users
Thanks for all of your help!  You are being very generous with your time.

I am using Mnemosyne 2.8 on both computers.  

I deleted the data directory on the new computer and copied the data director on the old computer to the new computer.
... \AppData\Roaming\Mnemosyne

I am attaching screenshots:
1) I delete config.db
2) I open Mnemosyne and I get an "Unable to load file, query failed" message
3) "If you are using a USB key, refer to the instructions on the website so as not to be affected by drive letter changes" message
4)  I open the most recent Mnemosyne database backup from AppData\Roaming\backups folder
5) Mnemosyne asks if I want to replace the current database with one restored from this backup?
6) There is an unexpected error message with a lot of python stuff that I do not understand
7) "Fatal error detected: Failed to execute script mnemosyne"  message

Any ideas?  Am I missing a step?

THANKS
Deleted config file.pptx

Peter Bienstman

unread,
May 24, 2022, 9:54:23 AMMay 24
to mnemosyne-proj-users
For step 4, no need to open a backup, just directly open your database default.db, in the data directory.

Peter

Nick Cross

unread,
May 24, 2022, 12:31:49 PMMay 24
to mnemosyne-proj-users
When I delete the config file, I can open Mnemosyne.
There are no cards.

If I load the most recent back-up with my cards, I get the cards but no pictures.

Any ideas?
Thanks
David

Nick Cross

unread,
May 24, 2022, 12:39:36 PMMay 24
to mnemosyne-proj-users
Sorry, when I delete the default.db file, there are no cards.

If I then load my most recent back-up of my cards, I can get the cards but none of them embedded pictures.

Any ideas,
Thanks

Peter Bienstman

unread,
May 24, 2022, 2:40:16 PMMay 24
to mnemosyne-proj-users
Don't *delete* default.db, rather *open* the original default.db, as opposed to opening the automatic backup taken of default.db. 

The reason is that Mnemosyne behaves slightly differently when you open a file in the backup folder, in a way that clashes when you're transferring notes between computers, as in your case.

Peter

Nick Cross

unread,
May 25, 2022, 9:53:54 AMMay 25
to mnemosyne-proj-users
Hello 

I really, really appreciate all of the time that you are spending to help me.  I know that you have a regular job.

Am I missing a step?  Mnemosyne gives me an error message when I open the original default.db file.
I am using Mnemosyne 2.8 on both computers.   

I am attaching screenshots: 
1) I delete the data directory on the new computer 
2) I copy the data directory on the old computer to the new computer.
3) I delete “config.db” 
4) I open Mnemosyne and I get an "Unable to load file, query failed" error message 
5) "If you are using a USB key, refer to the instructions on the website so as not to be affected by drive letter changes" message appears
4) Mnemosyne wants me to open a database file.  The data directory appears. 
5) I open “default.db” from the data directory 
6) It starts to loop.

THANKS


Am I Missing a Step.pptx

Peter Bienstman

unread,
May 25, 2022, 10:36:40 AMMay 25
to mnemosyne-proj-users
That's really bizarre... I'm afraid that to figure out what's going on, I will need to debug the code locally. Can you send me your data directory privately?

Thanks!

Peter

Nick Cross

unread,
May 26, 2022, 8:13:03 AMMay 26
to mnemosyne-proj-users
Thanks for your help!  It is working now!
Reply all
Reply to author
Forward
0 new messages