View Single Post
Old 02-08-2022, 12:09 AM   #2668
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by ownedbycats View Post
What does this mean? I got it when reading list tried to upload two books (both fanfics to be updated) to the device:

Code:
calibre, version 5.36.0
ERROR: Error: Error communicating with device

Set changed size during iteration

Traceback (most recent call last):
  File "D:\Documents\git\calibre\src\calibre\gui2\device.py", line 87, in run
  File "D:\Documents\git\calibre\src\calibre\gui2\device.py", line 592, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 416, in upload_books
  File "D:\Documents\git\calibre\src\calibre\devices\kobo\driver.py", line 2171, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 211, in _modify_epub
  File "calibre_plugins.kobotouch_extended.container", line 119, in __init__
  File "calibre_plugins.kobotouch_extended.container", line 375, in __run_async_over_content
  File "calibre_plugins.kobotouch_extended.container", line 368, in __run_async
  File "concurrent\futures\_base.py", line 432, in result
  File "concurrent\futures\_base.py", line 388, in __get_result
  File "concurrent\futures\thread.py", line 57, in run
  File "calibre_plugins.kobotouch_extended.container", line 310, in forced_cleanup
  File "calibre_plugins.kobotouch_extended.container", line 169, in flush_cache
  File "calibre_plugins.kobotouch_extended.container", line 169, in <listcomp>
RuntimeError: Set changed size during iteration
I didn't run into any more issues, and sending them manually worked.
Looking at the code, I can see what is happening, and, in one way, I'm not that surprised. But, it usually works and I can't think of a reason that sending multiple books would trigger an error when sending a single book doesn't. I'll have to think about it. Or hope Joel notices and pops in.
davidfor is offline   Reply With Quote