Cannot browse cards (Ubuntu > Mint migration)

48 views
Skip to first unread message

dan.c....@gmail.com

unread,
May 30, 2019, 1:32:17 PM5/30/19
to mnemosyne-proj-users
I have backed up the folder in home/.config and the two folders in home/.local and changed from Ubuntu 18.04 to Mint 19.1. My cards and statistics are fine, but I cannot browse my cards. The following error appears.
---------------------------------
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/browse_cards_dlg.py", line 263, in paint
style.subElementRect(QtWidgets.QStyle.SE_ItemViewItemText, option)
TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments
---------------------------------
The error does not appear in case I delete my backed up files and start Mnemosyne afresh. Python 3 is up to date and I do not believe that I have messed with some OS configuration. Every time I attempt to browse my cards, I fail and I can only close Mnemosyne by using 'xkill' in the command prompt.

Peter Bienstman

unread,
May 30, 2019, 2:47:19 PM5/30/19
to mnemosyne-proj-users
Just deleting the config.db file should probably be enough.

Cheers,

Peter

Daniel Coimbra

unread,
May 31, 2019, 6:48:29 AM5/31/19
to mnemosyne-proj-users
Thanks for the fast answer! Sadly, it did not work; the same error continues. I tried deleting config.db, config.py, and even the whole ~/.config folder. Nothing worked. Any other ideas? :) Thanks!

On Thursday, May 30, 2019 at 3:47:19 PM UTC-3, Peter Bienstman wrote:
Just deleting the config.db file should probably be enough.

Cheers,

Peter

Peter Bienstman

unread,
May 31, 2019, 11:30:20 PM5/31/19
to mnemosyne-...@googlegroups.com
What happens if you start Mnemosyne afresh, and then import your old default.db file into the new empty database?

Cheers,

Peter



From: Daniel Coimbra <dan.c....@gmail.com>
Sent: Friday, 31 May 2019 12:48
To: mnemosyne-proj-users
Subject: [mnemosyne-proj-users] Re: Cannot browse cards (Ubuntu > Mint migration)

--
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 mnemosyne-proj-u...@googlegroups.com.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/79b9a106-e6bb-4cf7-9fad-c35cfd7a267b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Coimbra

unread,
Jun 1, 2019, 6:39:09 AM6/1/19
to mnemosyne-proj-users
The error comes back, exactly as before! It seems that we have found the problematic file. What do you suggest now?

Thanks,
Dan

On Saturday, June 1, 2019 at 12:30:20 AM UTC-3, Peter Bienstman wrote:
What happens if you start Mnemosyne afresh, and then import your old default.db file into the new empty database?

Cheers,

Peter



From: Daniel Coimbra <dan.c...@gmail.com>

Sent: Friday, 31 May 2019 12:48
To: mnemosyne-proj-users
Subject: [mnemosyne-proj-users] Re: Cannot browse cards (Ubuntu > Mint migration)
Thanks for the fast answer! Sadly, it did not work; the same error continues. I tried deleting config.db, config.py, and even the whole ~/.config folder. Nothing worked. Any other ideas? :) Thanks!

On Thursday, May 30, 2019 at 3:47:19 PM UTC-3, Peter Bienstman wrote:
Just deleting the config.db file should probably be enough.

Cheers,

Peter

On Thursday, 30 May 2019 19:32:17 UTC+2, dan.c...@gmail.com wrote:
I have backed up the folder in home/.config and the two folders in home/.local and changed from Ubuntu 18.04 to Mint 19.1. My cards and statistics are fine, but I cannot browse my cards. The following error appears.
---------------------------------
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/browse_cards_dlg.py", line 263, in paint
    style.subElementRect(QtWidgets.QStyle.SE_ItemViewItemText, option)
 TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments
---------------------------------
The error does not appear in case I delete my backed up files and start Mnemosyne afresh. Python 3 is up to date and I do not believe that I have messed with some OS configuration. Every time I attempt to browse my cards, I fail and I can only close Mnemosyne by using 'xkill' in the command prompt.

--
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 mnemosyne-proj-users+unsub...@googlegroups.com.
To post to this group, send email to mnemosyne...@googlegroups.com.

Peter Bienstman

unread,
Jun 2, 2019, 2:24:06 AM6/2/19
to mnemosyne-...@googlegroups.com
Please send me the database privately, I'll have a look.

Cheers,

Peter



From: Daniel Coimbra <dan.c....@gmail.com>
Sent: Saturday, 1 June 2019 12:39
To: mnemosyne-proj-users
Subject: Re: [mnemosyne-proj-users] Re: Cannot browse cards (Ubuntu > Mint migration)

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/2fd97704-fae9-4085-a599-ad40fffc0912%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages