Quote:
Originally Posted by CaraRae
Looking for some simple language help fixing my Kobo Utilities plugin.
When trying to set it up and backup my database (which I'm in the process of rebuilding as the previous one was corrupted) I came across the following errors which prevent me from continuing.
When I try to 'View library preferences...' an error pops up...
ERROR: Unhandled exception (AttributeError: 'QTextEdit' object has no attribute 'setTabStopWidth').
Also, when I try to 'Backup device database' I get the following error...
ERROR: Unhandled exception (AttributeError:type object 'QFileDialogue' has no attribute 'AnyFile').
I have tried removing the Kobo Utilities plugin, restarting Calibre, reinstalling plugin. I have tried uninstalling and reinstalling Calibre.
I'm at a loss as to how to fix these errors so I can use the plugin properly and googling didn't give me any suggestions at all. Any help would be greatly appreciated.
|
As @chaley has commented, these are Qt6 migration issues. Both of those functions are things I don't use very often myself and haven't explicitly tested them. I'll get them fixed as soon as possible.
And for my curiosity, why are you looking at the first one? It is only there as an aid to debugging things. The only reason I would use it is as a quick way to see or clear some preferences.
For the database backup, I would recommend setting up the automatic backup. That will backup the database when the device is connected without any extra prompting. There are options for exactly how frequently it is done and how many copies of the backup are kept.
Also, from the point of view of reporting errors, it helps to see the full error. The dialog with these errors should have "Copy" and "Details" buttons on it. Pressing the "Copy" button copies the full error to the clipboard. Pressing the "Details" shows the full error details the copy button copies. Once you have copied the details, you can paste it into an error report.