Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2023, 11:26 PM   #1
treequin
Junior Member
treequin began at the beginning.
 
treequin's Avatar
 
Posts: 2
Karma: 10
Join Date: May 2023
Device: Onyx Boox Nova 3
Preferences - ERROR: Unhandled exception

Hello, I was setting up Calibre after formatting my laptop and I ran into a problem. In Preferences, when I click on 'Adding books', 'Saving books to disk', and 'Sending books to devices' I get the following errors:

Adding books:
Spoiler:
Code:
calibre, version 6.11.0
ERROR: Unhandled exception: <b>TypeError</b>:HistoryLineEdit.__init__() got an unexpected keyword argument 'parent'

calibre 6.11  embedded-python: False
Linux-6.2.0-20-generic-x86_64-with-glibc2.37 Linux ('64bit', 'ELF')
('Linux', '6.2.0-20-generic', '#20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  6 07:48:48 UTC 2023')
Python 3.11.2
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 3)
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/preferences/main.py", line 308, in show_plugin
    self.showing_widget = plugin.create_widget(self.scroll_area)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/customize/__init__.py", line 675, in create_widget
    return widget(parent)
           ^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/gui2/preferences/__init__.py", line 267, in __init__
    self.setupUi(self)
  File "/usr/lib/calibre/calibre/gui2/preferences/adding_ui.py", line 149, in setupUi
    self.opt_auto_add_path = HistoryLineEdit(parent=self.tab_4)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  TypeError: HistoryLineEdit.__init__() got an unexpected keyword argument 'parent'

Saving books to disk:
Spoiler:
Code:
calibre, version 6.11.0
ERROR: Unhandled exception: <b>TypeError</b>:SaveTemplate.__init__() got an unexpected keyword argument 'parent'

calibre 6.11  embedded-python: False
Linux-6.2.0-20-generic-x86_64-with-glibc2.37 Linux ('64bit', 'ELF')
('Linux', '6.2.0-20-generic', '#20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  6 07:48:48 UTC 2023')
Python 3.11.2
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 3)
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/preferences/main.py", line 308, in show_plugin
    self.showing_widget = plugin.create_widget(self.scroll_area)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/customize/__init__.py", line 675, in create_widget
    return widget(parent)
           ^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/gui2/preferences/__init__.py", line 267, in __init__
    self.setupUi(self)
  File "/usr/lib/calibre/calibre/gui2/preferences/saving_ui.py", line 46, in setupUi
    self.save_template = SaveTemplate(parent=Form)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: SaveTemplate.__init__() got an unexpected keyword argument 'parent'

Sending books to devices:
Spoiler:
Code:
calibre, version 6.11.0
ERROR: Unhandled exception: <b>TypeError</b>:SaveTemplate.__init__() got an unexpected keyword argument 'parent'

calibre 6.11  embedded-python: False
Linux-6.2.0-20-generic-x86_64-with-glibc2.37 Linux ('64bit', 'ELF')
('Linux', '6.2.0-20-generic', '#20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  6 07:48:48 UTC 2023')
Python 3.11.2
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 3)
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/preferences/main.py", line 308, in show_plugin
    self.showing_widget = plugin.create_widget(self.scroll_area)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/customize/__init__.py", line 675, in create_widget
    return widget(parent)
           ^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/gui2/preferences/__init__.py", line 267, in __init__
    self.setupUi(self)
  File "/usr/lib/calibre/calibre/gui2/preferences/sending_ui.py", line 49, in setupUi
    self.send_template = SaveTemplate(parent=Form)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: SaveTemplate.__init__() got an unexpected keyword argument 'parent'

After dismissing the error message, if I open other Preferences sections there are some weird visual glitches and all the options are unresponsive. Nothing else gave me any issues. I've tried restarting Calibre (nothing changed) and restarting in debug mode (I get the same errors in the logs). Any ideas on how to fix this?
Thank you for your help.

PS. In case it matters, I'm using Kubuntu 23.04 and I installed Calibre through the package manager.
treequin is offline   Reply With Quote
Old 05-13-2023, 06:18 AM   #2
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by treequin View Post
PS. In case it matters, I'm using Kubuntu 23.04 and I installed Calibre through the package manager.
I use Linux Mint 21.1

Only install from Console via https://calibre-ebook.com/download_linux

Some desktop managers can be an issue for QT. I use Mate.
Quoth is offline   Reply With Quote
Advert
Old 05-13-2023, 06:47 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Uninstall
Delete the configuration folder (it may be corrupt)
Use the Linux command line found at the Calibre download page
https://calibre-ebook.com/ (Almost all distros are way outa date or have been fixed )
theducks is offline   Reply With Quote
Old 05-13-2023, 07:17 PM   #4
treequin
Junior Member
treequin began at the beginning.
 
treequin's Avatar
 
Posts: 2
Karma: 10
Join Date: May 2023
Device: Onyx Boox Nova 3
Thank you both very much for your help.
Indeed, reinstalling from the console fixed it. Also, now I'm on version 6.17, before I was on 6.11.
Is there anything I should do now? Do I need to close the thread or mark it as solved? (Sorry, I'm new to MobileRead)
treequin is offline   Reply With Quote
Old 05-13-2023, 08:01 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,191
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by treequin View Post
Is there anything I should do now? Do I need to close the thread or mark it as solved? (Sorry, I'm new to MobileRead)
Basically, the moderators could close the thread but that is generally only done when the thread moves towards behaviour and topics that are not acceptable to the majority of the users.

The good thing is that there is the chance that someone who has a similar issue, will find this thread and solve their problem.
DNSB is offline   Reply With Quote
Advert
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 Error interro Calibre 5 03-17-2020 11:01 PM
Unhandled Exception Error KyBunnies Calibre 21 03-28-2015 03:20 AM
error: Unhandled exception library addict Calibre 4 08-28-2013 06:41 AM
Unhandled Exception Error Mi3ke Calibre 0 06-03-2012 09:43 PM


All times are GMT -4. The time now is 04:51 PM.


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