Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2022, 01:06 PM   #1
VictorGamerLOL
Junior Member
VictorGamerLOL began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2022
Device: Kindle
Exclamation OSError: [Errno 22] Invalid argument

I tired saving a book after I modified it with the editor and it returned the following error:
Code:
calibre, version 5.36.0
ERROR: Could not save: Saving of the book failed. Click "Show details" for more information. You can try to save a copy to a different location, via File->Save a copy

Traceback (most recent call last):
  File "calibre/gui2/tweak_book/save.py", line 192, in process_save
  File "calibre/gui2/tweak_book/save.py", line 204, in do_save
  File "calibre/gui2/tweak_book/save.py", line 59, in save_container
OSError: [Errno 22] Invalid argument
I debugged the HTML code of the book and all but it still does not work.
I even just tries saving the book after changing 1 minor grammar mistake it did not work.
Applies to both AZW3 and EPUB formats.
Applies to save a copy as well
Am I doing something wrong or is this going on the bug tracker?
VictorGamerLOL is offline   Reply With Quote
Old 02-04-2022, 09:24 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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error indicates trying to change ownership of a file is failing on whatever filesystem you have the file on. Transfer your library to a non-broken filesystem and you will be fine.
kovidgoyal is offline   Reply With Quote
Reply

Tags
calibre 5.36, editor, save


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IOError: [Errno 22] Invalid argument TomSpot Calibre 5 08-04-2018 04:41 PM
OSError: [Errno 13] Permission denied osuhickeys Devices 2 05-05-2014 08:28 PM
[Errno 22] invalid mode ('wb') or filename: u' taratears Devices 2 08-29-2013 01:05 PM
OSError: [Errno 31] Too many links: Boingo Library Management 8 08-14-2013 04:35 PM
IOError: [Errno 22] Invalid argument jkcoder Calibre 5 09-25-2010 09:28 AM


All times are GMT -4. The time now is 12:17 PM.


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