Had the same error and deleting config.db worked for me! :)
On Thursday, 2 February 2023 at 20:14:16 UTC+1 Peter Bienstman wrote:
> Hi,
>
> Two ways to try and fix this:
>
> - delete config.db (will delete your settings too, unfortunately)
> - upgrade to Mnemosyne 2.10
>
> Cheers,
>
> Peter
>
> On Thursday, 2 February 2023 at 20:12:53 UTC+1 Carl Bolstad wrote:
>
>> 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
>>
>
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mnemosyne-proj-users/a0c26142-0b4a-49b9-b591-af739d0d906an%40googlegroups.com.