![]() |
#16 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
@BetterRed, @theducks and @kovidgoyal thank you for your responses.
Here is what I did today: I deleted the whole library. Then, went back to the old PC and used the Calibre Export to export the library into the external HDD. Then connected the external HDD to the new PC and started a Calibre Import from there. Everything went OK. But when I tried to modify a title I got the exact same error: "cover.jpg did not exist when this move operation was started" Then I went on to try @BetterRed's idea. I uninstalled the 64 bit and installed they 32 bit version. And the error was still there: Code:
calibre, version 3.8.0 ERROR: Unhandled exception: <b>ValueError</b>:The file u'C:\\Users\\erenc\\Documents\\Calibre\\<LibraryName>\\<Author>\\<Title> (Id)\\cover.jpg' did not exist when this move operation was started calibre 3.8 embedded-python: True is64bit: False Windows-10-10.0.15063-SP0 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.15063') Python 2.7.12+ Windows: ('10', '10.0.15063', 'SP0', u'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Find Duplicates (1, 6, 2) && Open With (1, 5, 9) Traceback (most recent call last): File "site-packages\calibre\gui2\metadata\single.py", line 604, in accept 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\\<LibraryName>\\<Author>\\<Title> (Id)\\cover.jpg' did not exist when this move operation was started Last edited by canpolat; 09-26-2017 at 03:46 PM. |
![]() |
![]() |
![]() |
#17 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
|
This does not look good. There is definitely something wrong with this library (after the transfer) and I cannot tell what.
I started thinking about adding this whole folder again but that will cost me a huge amount of time if I lose the metadata. I also need to keep the Calibre Id's in addition to the metadata (due to some workflow reason). So I tried the calibredb command line interface. I think if I can keep the Calibre Ids intact, I can try putting together a script to move the metadata from the old database to the new one. But after some testing I noticed that the add_format function does not populate the cover: calibredb --library-path $LibraryPath add_format --duplicates $Id $DocumentPath Few of the PDF files also contain metadata as embedded XMP and the add function did not read the metadata either (when I add the document via GUI, the metadata is populated for those that have embedded metadata). So, before losing all hope, my question is: is there a way to use the add_format function so that it reads the embedded metadata? |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,746
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@canpolat - we x-posted
Quote:
Quote:
Quote:
Last edited by BetterRed; 09-26-2017 at 04:50 PM. |
|||
![]() |
![]() |
![]() |
#19 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Export / Import CREATES a Library. No need to add, it should be ready to go.
Once you are happy, you could combine (merge, AKA Copy to Library) with an existing Library, already on the system |
![]() |
![]() |
![]() |
#20 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,746
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
BR Last edited by BetterRed; 09-26-2017 at 09:18 PM. |
||
![]() |
![]() |
Advert | |
|
![]() |
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 |