(De)activate cards crashes

33 views
Skip to first unread message

Carl Bolstad

unread,
Feb 2, 2023, 2:12:53 PM2/2/23
to mnemosyne-proj-users
Hi,

I installed Mnemosyne on Ubuntu linux about a week ago, and it's been working fine, but yesterday I imported some more cards, and today the (De)activate cards function doesn't work at all. It just gives me this error:

An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/main_wdgt.py", line 252, in activate_cards
    self.controller().show_activate_cards_dialog()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/controllers/default_controller.py", line 900, in show_activate_cards_dialog
    self.show_activate_cards_dialog_pre()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/controllers/default_controller.py", line 906, in show_activate_cards_dialog_pre
    self.component_manager.current("activate_cards_dialog")\
  File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/activate_cards_dlg.py", line 61, in __init__
    self.update_saved_sets_pane()
  File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/activate_cards_dlg.py", line 101, in update_saved_sets_pane
    self.splitter.setSizes([0.3* sum(splitter_sizes),
 TypeError: index 0 has type 'float' but 'int' is expected

I'm really hoping there's an easy fix to this, and you can just tell me what I need to do!

Thanks!

Carl Bolstad

Peter Bienstman

unread,
Feb 2, 2023, 2:14:16 PM2/2/23
to mnemosyne-proj-users
Hi,

Two ways to try and fix this:

- delete config.db (will delete your settings too, unfortunately)
- upgrade to Mnemosyne 2.10

Cheers,

Peter

Lucas Eichhorn

unread,
Aug 13, 2023, 9:40:32 AM8/13/23
to mnemosyne-proj-users
Had the same error and deleting config.db worked for me! :)
Reply all
Reply to author
Forward
0 new messages