Thanks for the update. I'll keep an eye on this so that this won't reoccur in 2.x.
Peter On Sunday 19 July 2009 06:38:06 pm Gwern Branwen wrote: > On Sun, Mar 22, 2009 at 3:30 AM, Peter > > Bienstman<[email protected]> wrote: > > On Saturday 21 March 2009 18:15:54 Gwern Branwen wrote: > >> On Fri, Mar 20, 2009 at 2:00 PM, Peter Bienstman > >> <[email protected]> > > > > wrote: > >> > On Friday 20 March 2009 18:41:41 Gwern Branwen wrote: > >> >> A partial copy of my db is attached. (The exporting interface is > >> >> clunky! I couldn't figure out how to select multiple categories > >> >> without the dragging method, and that doesn't allow multiple areas, > >> >> it seems.) > >> > > >> > You can use the standard method of holding down cntrl and shift to > >> > select multiple categories. Note that this is handled by Qt, not by > >> > Mnemosyne itself. > >> > > >> >> Running with a empty .mnemosyne and importing the xml and then trying > >> >> to import the poem.txt seems to manifest the same problem of > >> >> not-importing-but-no-errors (grep turns up nothing, card count > >> >> doesn't change). > >> > > >> > I did exactly that, and tried to import it in the literature category. > >> > The card count jumped from 3718 to 3748, as expected... > >> > > >> > Does the problem also occur when you install Mnemosyne from source, as > >> > opposed to from the Ubuntu package? Perhaps there is an issue with the > >> > package (which is not built by me). > >> > > >> > Peter > >> > >> Using the sourceforge 1.2 tarball, and running in place (after a python > >> build), the problem still manifests: importing to Literature fails, > >> importing to default succeeds. > > > > Well, if I cannot reproduce the problem with the files you sent me, I'm > > afraid it will be next to impossible for me to solve the problem.. > > I think I've finally figured it out; after the issue with searching > using C-d, and either mousing or hitting enter, I became more > sensitive to when I've been clicking on the buttons as opposed to > hitting enter in the appropriate fields. > > Eventually, I noticed that one time an import failed (as observed by > the # of cards failing to increase, since as I said, there are no > errors or anything), it was a time where I had filled in the category > and hit enter. > > When I retried the import (with the same file, category, format, and > reset option) making very sure to click with the mouse the import > button, the import succeeded. This seems to've been true of some later > imports I tried. > > My theory is that, for some reason, bizarrely, Mnemosyne/Qt interprets > an Enter in any of the fields of the import dialogue as a command to > close the dialogue without doing anything. This would explain why > there is no error or message - because Mnemosyne isn't doing anything. > This could be fixed either by fixing the handling of Enter keypresses, > or maybe just by adding a warning similar to when adding questions - > 'you are abandoning an import; this is awesome y/n?' -- ------------------------------------------------ Peter Bienstman Ghent University, Dept. of Information Technology Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium tel: +32 9 264 34 46, fax: +32 9 264 35 93 WWW: http://photonics.intec.UGent.be email: [email protected] ------------------------------------------------ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
