![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2023
Device: Kobo Clara HD
|
Unhandled Exception when Switching library
I am currently making the switch from Windows to Linux (Ubuntu). After launching Calibre the first time, it created an empty library in my home directory, but I wanted my existing library somewhere else. So I copied over my library from my Windows-drive to the location I wanted it and clicked the 'switch library' button. Then I get this error:
``` calibre 6.11 embedded-python: False Linux-6.2.0-32-generic-x86_64-with-glibc2.37 Linux ('64bit', 'ELF') ('Linux', '6.2.0-32-generic', '#32-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 14 10:03:50 UTC 2023') Python 3.11.4 Interface language: None Traceback (most recent call last): File "/usr/lib/calibre/calibre/gui2/actions/choose_library.py", line 770, in choose_library c = ChooseLibrary(db, self.choose_library_callback, self.gui) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ File "/usr/lib/calibre/calibre/gui2/dialogs/choose_library.py", line 47, in __init__ self.setupUi(self) File "/usr/lib/calibre/calibre/gui2/dialogs/choose_library_ui.py", line 59, in setupUi self.location = HistoryLineEdit(parent=Dialog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: HistoryLineEdit.__init__() got an unexpected keyword argument 'parent' ``` Anyone know how to fix this (aka, what am I doing wrong)? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Uninstall the distribution provided calibre and install the official binary from https://calibre-ebook.com/download_linux that will fix your issue
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Also, the version of calibre you have is not the current version.
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2023
Device: Kobo Clara HD
|
Thank you. This did indeed solve my problems
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre, version 5.32.0 ERROR: Unhandled exception: <b>Exception</b>:File dialog fail | andylambert1954 | Library Management | 1 | 11-12-2021 08:16 PM |
Unhandled exception during Check library | Ricky56 | Library Management | 2 | 05-18-2021 09:47 AM |
Unhandled Exception Error | interro | Calibre | 5 | 03-17-2020 11:01 PM |
Unhandled Exception | Duke9700 | Devices | 6 | 09-08-2015 05:14 PM |
Unhandled Exception | theducks | Editor | 3 | 01-27-2014 03:11 PM |