Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
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
Old 09-06-2023, 08:00 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is offline   Reply With Quote
Advert
Old 09-06-2023, 08:25 AM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.
JSWolf is offline   Reply With Quote
Old 09-08-2023, 08:31 AM   #4
BertMv
Member
BertMv began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2023
Device: Kobo Clara HD
Thank you. This did indeed solve my problems
BertMv is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:21 AM.


MobileRead.com is a privately owned, operated and funded community.