Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2025, 02:48 PM   #1
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Maximum recursion depth exceeded

I was adding files and I got this error caliber, version 8.6.0
Code:
ERROR: Exception not considered: <b>RecursionError</b>:maximum recursion depth exceeded

caliber 8.6 embedded-python: True
Traceback (most recent call last): 
File "calibre/gui2/dialogs/duplicates.py", line 78, in reject 
File "calibre/gui2/dialogs/duplicates.py", line 87, in save_geometry 
File "calibre/gui2/geometry.py", line 95, in save_geometry 
File "calibre/utils/config.py", line 385, in set 
File "calibre/utils/config.py", line 436, in __setitem__ 
File "calibre/utils/config.py", line 402, in commit 
File "caliber/utils/config.py", line 420, in to_raw 
File "calibre/utils/config_base.py", line 108, in json_dumps 
File "json/__init__.py", line 238, in dumps 
File "json/encoder.py", line 200, in encode 
File "json/encoder.py", line 254, in iterencode
RecursionError: maximum recursion depth exceeded
dunhill is offline   Reply With Quote
Old 07-12-2025, 09:53 PM   #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,338
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a very strange error, it indicates there is a reference cycle in the geometry data structure but as far as I can tell that cant happen unless one of the methods of QWidget is overriden to return something weird. Does the error
happen if you run calibre as

calibre --ignore-plugins
kovidgoyal is offline   Reply With Quote
Old 07-12-2025, 09:59 PM   #3
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
I only added blocks of 50 files, after restarting the error did not occur again
dunhill is offline   Reply With Quote
Old 07-12-2025, 10:00 PM   #4
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,338
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I wouldnt worry about it too much then. It's a pretty harmless error.
kovidgoyal is offline   Reply With Quote
Old 07-13-2025, 01:36 PM   #5
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by kovidgoyal View Post
I wouldnt worry about it too much then. It's a pretty harmless error.
Exactly, just to let you know. Thanks, as always, for your answers and solutions.
dunhill is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sporadic virtual library recursion ownedbycats Library Management 7 04-16-2023 06:14 PM
The Economist - Recursion limit reached henders254 Recipes 3 01-06-2017 10:03 PM
RuntimeError: maximum recursion depth exceeded while calling a Python object suecsi Calibre 6 01-24-2011 11:53 PM
Folder recursion when adding books? jamesbeat Calibre 1 06-06-2009 05:41 PM
Recursion error fishfuzz Calibre 2 04-25-2009 04:53 PM


All times are GMT -4. The time now is 03:32 AM.


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