Thanks for your help!  It is working now!

On Wednesday, May 25, 2022 at 10:36:40 AM UTC-4 Peter Bienstman wrote:

> 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
>
> On Wed, May 25, 2022 at 3:54 PM Nick Cross <[email protected]> wrote:
>
>> 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
>>
>>
>> On Tuesday, May 24, 2022 at 2:40:16 PM UTC-4 Peter Bienstman wrote:
>>
>>> 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
>>>
>>> On Tue, May 24, 2022 at 6:39 PM Nick Cross <[email protected]> wrote:
>>>
>>>> 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
>>>>
>>>>
>>>> On Tuesday, May 24, 2022 at 12:31:49 PM UTC-4 Nick Cross wrote:
>>>>
>>>>> 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
>>>>>
>>>>> On Tuesday, May 24, 2022 at 9:54:23 AM UTC-4 Peter Bienstman wrote:
>>>>>
>>>>>> For step 4, no need to open a backup, just directly open your 
>>>>>> database default.db, in the data directory.
>>>>>>
>>>>>> Peter
>>>>>>
>>>>>> On Tue, May 24, 2022 at 3:45 PM Nick Cross <[email protected]> wrote:
>>>>>>
>>>>>>> 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
>>>>>>>
>>>>>>> On Tuesday, May 24, 2022 at 8:43:29 AM UTC-4 Peter Bienstman wrote:
>>>>>>>
>>>>>>>> After copying the directory, delete config.db first, that 
>>>>>>>> should help. Also make sure you're using the latest version of 
>>>>>>>> Mnemosyne.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>>
>>>>>>>> Peter
>>>>>>>>
>>>>>>>> On Tue, May 24, 2022 at 2:25 PM Nick Cross <[email protected]> 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> 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!
>>>>>>>>>
>>>>>>>>> On Tuesday, May 24, 2022 at 3:10:53 AM UTC-4 Peter Bienstman wrote:
>>>>>>>>>
>>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>>> On Tue, May 24, 2022 at 2:38 AM Nick Cross <[email protected]> 
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> -- 
>>>>>>>>>>> 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 [email protected].
>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/310f69b0-b8b0-4378-9759-718035717b02n%40googlegroups.com
>>>>>>>>>>>  
>>>>>>>>>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/310f69b0-b8b0-4378-9759-718035717b02n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>> 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 [email protected].
>>>>>>>>>
>>>>>>>> To view this discussion on the web visit 
>>>>>>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/e12a85ed-c058-465a-ac50-99cc6b597600n%40googlegroups.com
>>>>>>>>>  
>>>>>>>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/e12a85ed-c058-465a-ac50-99cc6b597600n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>> .
>>>>>>>>>
>>>>>>>> -- 
>>>>>>> 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 [email protected].
>>>>>>>
>>>>>> To view this discussion on the web visit 
>>>>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/097f1250-0c53-4493-ba72-75628d75089an%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/097f1250-0c53-4493-ba72-75628d75089an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> -- 
>>>> 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 [email protected].
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/7ec7d560-d490-4a4c-b564-be83c17236can%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/7ec7d560-d490-4a4c-b564-be83c17236can%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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 [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/mnemosyne-proj-users/bcf0fd86-bd30-4a11-b124-39a3bf1b2768n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/bcf0fd86-bd30-4a11-b124-39a3bf1b2768n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/34772d25-c288-44e0-95da-dabd2561f9d1n%40googlegroups.com.

Reply via email to