Thanks Peter, thanks for thinking straight for me. :) Yes that is the easiest 
solution just move the media and reimport. 

Will look at the other API as well.

Thanks again
Ray
On Friday, November 23, 2012 3:15:32 PM UTC+8, Peter Bienstman wrote:
> On 11/22/2012 11:56 PM, [email protected] wrote:
> 
> > Hi Peter et. all,
> 
> >
> 
> > Importing a 1.x file alerted me that some media were missing. Some 
> > questions:
> 
> >
> 
> > 1) SRC to SRC_Missing change
> 
> >
> 
> > My problem is that I moved my media directory, if the src is not changed I 
> > can just move files back and everything should work again. However, since 
> > it automatically tagged it and changed it to "src_missing", I think I know 
> > need to manually edit it. My DB has 900 cards and about 200 had this 
> > problem so this is bit painful to fix by hand. Would it make more sense to 
> > just tag it instead of changing "src" to "src_missing" as well?
> 
> 
> 
> The reason is that otherwise the sync protocol will not get triggered if 
> 
> you just move files around.
> 
> 
> 
> > 2) SQLite/Sync architecture
> 
> >
> 
> > I tried to fix this via Sqlite, I think the DB file itself is changed yet 
> > this is not reflected in Mnemosyne. I am guessing maybe manual fix to the 
> > DB file is not synced with the server? Is there a doc on the proper way to 
> > fix database level problems in the new architecture?
> 
> 
> 
> The proper way to do this is via the libmnemosyne python api. Check out 
> 
> the source from bazaar, and look at example_scripts/find_and_replace.
> 
> 
> 
> However, it might be a lot simpler to just delete the 1.x imported 
> 
> cards, copy the media files such that 1.x sees them just fine, and then 
> 
> import into 2.x.
> 
> 
> 
> Cheers,
> 
> 
> 
> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msg/mnemosyne-proj-users/-/4sdfBH2xmD0J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to