On Thursday, December 22, 2011 11:05:31 AM Dougie Nisbet wrote: > When I run 2.x for the first time and it imports the 1.x database it > produces lots (about 50+) import errors with a window pop-up 'media not > found'. This is a slight nuisance as I have to hit the space-bar to > acknowledge each message.
Is this with the latest beta? I thought this was fixed to only show a single error message in situations like these. > As it happens, the filename mentioned *does* actually exist (I had > expected it not to), and my hunch is that, at 206 characters long, the > filename, plus the pathname, probably exceeds 255 characters (although I > haven't checked), and therefore becomes an illegal filename under windows. Thanks for spotting this, this is a corner case I would never have found out about myself! > Regardless of the reason it does look like the sync was proceeding but > that mnemosyne has treated it as a FATAL error and has aborted the > import/sync. That's indeed what's happened. I will change the code to detect this particular case and give a more useful error message. I still believe that this should be a fatal error, since Windows will never be able to use these image files anyhow. When you fix this, first change the filename in the OS, and only then the card content in Mnemosyne, as doing it the other way around will probably result in Mnemosyne overzealously deleting that file. (I will change this for the next beta, such that orphaned media files will no longer be automatically deleted, but require an explicit command to do so by the user.) > (I am making a possibly erroneous assumption here, that I > can shortcut the import process by synching a newly installed Windows > setup by simply synching with a server). Indeed. 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en.
