View Single Post
Old 09-06-2023, 04:56 AM   #1
BertMv
Member
BertMv began at the beginning.
 
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)?
BertMv is offline   Reply With Quote