View Single Post
Old 01-30-2024, 12:19 AM   #1
Bertrand
Zealot
Bertrand began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
FileNotFoundError (Windows)

Windows 11 pro, calibre 7.4.0
The library is on an external SSD drive, and as usual, everything was working fine... until now.

For the past few days, I have this problem : "FileNotFoundError".
I drag and drop epubs in the main interface, edit metadata, and when I click Ok I have now this error.


So what can I do ?
Thanks for your help.

Spoiler:

Code:
calibre, version 7.4.0
ERREUR : Exception non gérée: <b>FileNotFoundError</b>:[WinError 3] Le chemin d’accès spécifié est introuvable: 'I:\\Calibre\\Andre Helena\\Les voyageurs du vendredi (22647)'

calibre 7.4  embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.11.5
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 9) && Action Chains (1, 19, 3) && Comments Cleaner (1, 12, 1) && Count Pages (1, 13, 4) && Diaps Editing Toolbag (0, 4, 0) && Editor Chains (1, 1, 4) && EpubCheck (0, 2, 5) && Extract ISBN (1, 6, 0) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 8) && Kobo Books (1, 10, 2) && Kobo Utilities (2, 16, 13) && KoboTouchExtended (3, 6, 7) && Modify ePub (1, 8, 2) && Open With (1, 8, 1) && Quality Check (1, 13, 8) && SmartEject (2, 5, 0) && View Manager (1, 10, 2) && Walk Search History (1, 5, 3)
Traceback (most recent call last):
  File "calibre\utils\copy_files.py", line 286, in copy_tree
  File "shutil.py", line 759, in rmtree
  File "shutil.py", line 603, in _rmtree_unsafe
  File "shutil.py", line 600, in _rmtree_unsafe
FileNotFoundError: [WinError 3] Le chemin d’accès spécifié est introuvable: 'I:\\Calibre\\Andre Helena\\Les voyageurs du vendredi (22647)'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\gui2\metadata\single.py", line 637, in accept
  File "calibre\gui2\metadata\single.py", line 620, in apply_changes
  File "calibre\gui2\metadata\basic_widgets.py", line 429, in commit
  File "calibre\db\legacy.py", line 920, in func
  File "calibre\db\cache.py", line 88, in call_func_with_lock
  File "calibre\db\cache.py", line 1645, in set_field
  File "calibre\db\cache.py", line 1659, in update_path
  File "calibre\db\backend.py", line 1975, in update_path
  File "calibre\utils\copy_files.py", line 290, in copy_tree
  File "shutil.py", line 759, in rmtree
  File "shutil.py", line 603, in _rmtree_unsafe
  File "shutil.py", line 600, in _rmtree_unsafe
FileNotFoundError: [WinError 3] Le chemin d’accès spécifié est introuvable: 'I:\\Calibre\\Andre Helena\\Les voyageurs du vendredi (22647)'
Bertrand is offline   Reply With Quote