On Thursday, December 22, 2011 01:51:05 PM Dougie Nisbet wrote:
> On 22/12/2011 13:02, Peter Bienstman wrote:
> > 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.
> 
> yes. happens in both Windows and Linux.

Are we talking about 'true' missing files here, or about the long filename 
issue? in other words, do you get a dialog with a friendly error message, or 
one with a hairy stack trace? In the latter case, what is the exact stack 
trace? The other one you showed was only for the sync process.

BTW, the reason your long filenames worked on 1.x under Windows is probably 
because the standard location of the datadir is now a longer string in 2.0...

> netbook, laptop or desktop. After importing into 2.x I notice that when
> editting individual cards that the HEIGHT= is still there, but I can
> presumably only modify them on a card-by-card basis as the database is
> no longer stored in a flat ASCII file, but in an SQL database. 

In theory, you should be able to do everything what you did on txt files either 
by using libmnemosyne's API to modify cards, or by directly modifying the SQL 
database (although the latter has the disadvantage that the sync process does 
not know that a card has been changed.)

Or, even better and easier, you can write a filter plugin which at run time 
adds the correct height tags depending on the machine you are on :-) Look at 
'mnemosyne/example_plugins/filter.py' and change the 'run' method to a method 
which adds the height tag.

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.

Reply via email to