![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
cover.jpg did not exist when this move operation was started
Hi,
I started getting this exception when editting the title and author of some of the books in my library. I removed the books and restarted the Calibre, but still get the error. I don't think this is related to the books at all. Has anyone seen this? Any recommendations? Code:
calibre, version 3.8.0 ERROR: Unhandled exception: <b>ValueError</b>:The file u'C:\\Users\\erenc\\Documents\\Calibre\\<Libname>\\<Author>\\<Title> (Id)\\cover.jpg' did not exist when this move operation was started calibre 3.8 [64bit] embedded-python: True is64bit: True Windows-10-10.0.15063-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.15063') Python 2.7.12+ Windows: ('10', '10.0.15063', 'SP0', u'Multiprocessor Free') Interface language: None Traceback (most recent call last): File "site-packages\calibre\gui2\metadata\single.py", line 647, in next_clicked File "site-packages\calibre\gui2\metadata\single.py", line 579, in apply_changes File "site-packages\calibre\gui2\metadata\basic_widgets.py", line 220, in commit File "site-packages\calibre\db\legacy.py", line 824, in func File "site-packages\calibre\db\cache.py", line 62, in call_func_with_lock File "site-packages\calibre\db\cache.py", line 1095, in set_field File "site-packages\calibre\db\cache.py", line 1109, in update_path File "site-packages\calibre\db\backend.py", line 1561, in update_path File "site-packages\calibre\db\backend.py", line 1347, in copy_cover_to File "site-packages\calibre\utils\filenames.py", line 419, in copy_path_to ValueError: The file u'C:\\Users\\erenc\\Documents\\Calibre\\<Libname>\\<Author>\\<Title> (Id)\\cover.jpg' did not exist when this move operation was started |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
Actually, I can now confirm that I cannot perform any Title/Author modifications. Or, more accurately, the changes take place in the library, but the files are not moved.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
Installed 3.7.0 instead of 3.8.0 and the problem persists. This happens on a library that was transferred from a Linux PC (copied the library folder to an external HDD and then transferred it to this Windows machine). So, perhaps the problem is not directly related to Calibre. But since this is a relatively big database I don't want to import all the files from scratch. Any input would be appreciated.
Note: When Calibre said "The file u'blabla\\cover.jpg' did not exist when this move operation was started", the file was there and this is a book that is added on the Windows machine after the move. |
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,417
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What you can do is extract the cover and name it cover.jpg and put it in the eBook's directory.
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,417
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Are you using some extended characters that could be causing the problem?
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
No. There are no visible special characters. I think the problem is due to the fact that this library folder is transferred from Linux to Windows (as explained in an earlier post). But I cannot find what may be the problem.
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
I see that a similar problem was reported by a user who was using a NAS: https://www.mobileread.com/forums/sh...d.php?t=195982
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,417
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Try running Calibre in Administrator mode and see if it might be a permissions issue.
|
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
That was a good point and I was really excited, but it did not work. I still get the same error. It feels like the whole folder is haunted. I can add new books (drag & drop) so, somehow, Calibre can write into that folder. But when it comes to moving those created folders (even the ones created after the move), it cannot access the files. Peculiar.
Last edited by canpolat; 09-25-2017 at 02:36 PM. |
![]() |
![]() |
![]() |
#11 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,417
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I have two more ideas,
1. Try copying the entire library to a different folder and see if Windows can maybe fix whatever the problem is. 2. Click on the library icon in the toolbar and select Library maintenance and then Check library. If that works, select Yes from the Success requester. Then go from there based on what comes up. |
![]() |
![]() |
![]() |
#12 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
Quote:
1. The folder is very very big. I don't have enough disk space on this PC to duplicate the folder. I can try to move it back to a external HDD and move back, but that would take some hours. My user has "Full Control" over the folder and its sub-folders. Perhaps I can try moving the folder back and forth to see anything changes. Thank you for your support JSWolf. I think I will log off now. Will report back tomorrow... |
|
![]() |
![]() |
![]() |
#13 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@canpolat - some further ideas
Have a look in FAQ and see if anything might apply. Problems often manifest themselves in different ways. In particular these three items from FAQ - Miscellaneous
|
|
![]() |
![]() |
![]() |
#14 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Linux -> Windows has case issues if attempting to overwrite a previous Library
(this is usually needed going the other way) Quality Check plugin: Fix: Check and rename Book Paths |
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates either that some other process is writing to the calibre library folders at the same time as calibre, or the filesystem you have the library on is broken. Make sure the filesystem is a local disk formatted with NTFS.
And if you want to move a library from one OS to another robustly you can use the import/export tool to do it. https://manual.calibre-ebook.com/faq...ter-to-another |
![]() |
![]() |
![]() |
Tags |
error |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Weird problem with jpg cover | AlexBell | Workshop | 4 | 02-03-2014 12:26 AM |
Cover.jpg creation | sjfwhite | Calibre | 2 | 10-21-2013 02:35 PM |
Error message: The file did not exist when this move operation was started | Sternchen | Calibre | 12 | 11-24-2012 08:11 PM |
Using the book name for the cover.jpg | Bigo2 | Calibre | 7 | 12-31-2011 09:06 PM |
Can't update cover if file cover.jpg is already in the directory ? | q345 | Calibre | 14 | 06-08-2010 06:23 AM |