errno 22

Bug #2064824 reported by karen timmins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

When I launch calibre I get the error message 'OS error (errno22) invalid argument.
calibre 7.10, Windows 11 home 23H2

Log as follows
calibre, version 7.10.0
ERROR: Unhandled exception: <b>OSError</b>:[Errno 22] Invalid argument

calibre 7.10 embedded-python: True
Windows-10-10.0.22635-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22635')
Python 3.11.5
Windows: ('10', '10.0.22635', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Barnes & Noble (1, 5, 4) && Goodreads (1, 8, 1) && Kobo Metadata (1, 5, 0) && Smashwords Metadata (1, 0, 2)
Traceback (most recent call last):
  File "calibre\gui2\library\models.py", line 636, in current_changed
  File "calibre\gui2\library\models.py", line 613, in get_book_display_info
  File "calibre\gui2\library\models.py", line 809, in cover
  File "calibre\db\legacy.py", line 451, in cover
  File "calibre\db\cache.py", line 1152, in cover
  File "calibre\db\cache.py", line 85, in call_func_with_lock
  File "calibre\db\cache.py", line 1187, in copy_cover_to
  File "calibre\db\backend.py", line 1711, in copy_cover_to
  File "shutil.py", line 197, in copyfileobj
OSError: [Errno 22] Invalid argument

Revision history for this message
Kovid Goyal (kovid) wrote :

Something on your machine is interfering with calibre, most likely an
antivirus/security type program. Also make sure that the calibre library
folder is not on a networked drive or being simultaneously synced by a
file sync program like DropBox. Start by rebooting in safe mode, the
error should no longer occur confirming it is something interfering with
calibre.

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.