Exception thrown in 'edit deck' mode

14 views
Skip to first unread message

Trond Nilsen

unread,
Jul 20, 2012, 12:36:47 PM7/20/12
to mnemosyne-...@googlegroups.com
Not sure if this is the right place to report bugs, but I couldn't see links to a bug-tracker, so here goes..

Got an exception thrown while in the edit deck mode. Had altered the list of viewed cards to show only cards from one category, opened a card to look at / edit it (though I didn't change it), then closed it in order to make a new one. Hit Ctrl-A next, somewhat automatically, as that seemed like the old short-cut to add a card. Not sure if that was what triggered it, as when nothing happened, I clicked on the card to open it again, and then noticed it wasn't responding. A few seconds later, the exception dialog pops up. Trying again now shows that Ctrl-A should select all; that didn't happen last time.

Uncaught exception!
Traceback (innermost last):
File "mnemosyne\pyqt_ui\browse_cards_dlg.pyo", line 221, in paint
File "mnemosyne\pyqt_ui\browse_cards_dlg.pyo", line 184, in card
File "mnemosyne\lib_mnemosyne\component.pyo", line 111, in card_type_with_id
KeyError: u"

Clicking OK on the dialog makes it go away, and I get a few more seconds of responsiveness, but then it happens again. My guess is that I've put something in an inconsistent state that's causing it to throw an error whenever it re-paints the UI.

I'm running Win7 64, with the Mnemosyne 2.0 version that was posted to the thread about Windows hangs as an attempt at fixing things. 

Unfortunately, I can't reproduce the error following my notes above, so I'm not sure how helpful this will be. Mnemosyne seems to be functioning OK after ending the process and re-starting.

Trond.

Peter Bienstman

unread,
Jul 20, 2012, 1:30:43 PM7/20/12
to mnemosyne-...@googlegroups.com
I cannot reproduce this either, so it will be difficult to track down.

Let me know if it pops up again...

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 mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mnemosyne-proj-users/-/gNRupQqTiVwJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



Trond Nilsen

unread,
Jul 20, 2012, 2:05:13 PM7/20/12
to mnemosyne-...@googlegroups.com
On Fri, Jul 20, 2012 at 10:30 AM, Peter Bienstman
<Peter.B...@ugent.be> wrote:
> I cannot reproduce this either, so it will be difficult to track down.
>
> Let me know if it pops up again...

Will do.

Out of curiosity, how painful is it to set up a build environment for
Mnemosyne in Windows? I'm not that familiar with Python environments
on Windows, though I'm fairly familiar with the language, and fairly
familiar with build environments for other languages. I've played with
PyDev a little, but that's about it.

I get the same irregular crashes that others are reporting, and I'm
wondering if it's worth me trying to reproduce those in a debug
environment.

--
Thanks!

-------------------------------------------------------------------------------
Trond Nilsen
PhD Student
Dept of Industrial & Systems Engineering
University of Washington

US Cell: [+1] (206) 414 8883
NZ Cell: [+64] 027 634 2593
http://www.meme-hazard.org
-------------------------------------------------------------------------------

Peter Bienstman

unread,
Jul 20, 2012, 2:53:41 PM7/20/12
to mnemosyne-...@googlegroups.com
Hi,

If you follow the instructions for the so-called multi-step installer,
you get a Mnemosyne install which you can access from your python
environment (libmnemosyne is installed in the site-packages). You
should also be able to debug it from a python debugger that way.

Looking forward to anything you might find!

Peter

Quoting "Trond Nilsen" <xor...@gmail.com>:

> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages