Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-25-2017, 12:54 PM   #1
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
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
canpolat is offline   Reply With Quote
Old 09-25-2017, 01:00 PM   #2
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
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.
canpolat is offline   Reply With Quote
Advert
Old 09-25-2017, 01:16 PM   #3
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
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.
canpolat is offline   Reply With Quote
Old 09-25-2017, 01:17 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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
Quote:
Originally Posted by canpolat View Post
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.
What you can do is extract the cover and name it cover.jpg and put it in the eBook's directory.
JSWolf is offline   Reply With Quote
Old 09-25-2017, 01:29 PM   #5
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
Quote:
Originally Posted by JSWolf View Post
What you can do is extract the cover and name it cover.jpg and put it in the eBook's directory.
Thank you for the response JSWolf. The problem is, the file is already there :/
canpolat is offline   Reply With Quote
Advert
Old 09-25-2017, 01:34 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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?
JSWolf is offline   Reply With Quote
Old 09-25-2017, 01:37 PM   #7
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
Quote:
Originally Posted by JSWolf View Post
Are you using some extended characters that could be causing the problem?
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.
canpolat is offline   Reply With Quote
Old 09-25-2017, 01:44 PM   #8
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
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
canpolat is offline   Reply With Quote
Old 09-25-2017, 02:30 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.
JSWolf is offline   Reply With Quote
Old 09-25-2017, 02:34 PM   #10
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
Quote:
Originally Posted by JSWolf View Post
Try running Calibre in Administrator mode and see if it might be a permissions issue.
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.
canpolat is offline   Reply With Quote
Old 09-25-2017, 02:47 PM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.
JSWolf is offline   Reply With Quote
Old 09-25-2017, 03:05 PM   #12
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
Quote:
Originally Posted by JSWolf View Post
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.
2. Did run a "Check Library" and "Database Restore". The first one found and fixed some problems. But did not help with the problem.

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...
canpolat is offline   Reply With Quote
Old 09-25-2017, 04:59 PM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
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
  • calibre is not starting on Windows?
  • calibre freezes/crashes occasionally?
  • Using the viewer or doing any conversions results in a permission denied error on Windows
Especially these suggestions:
  • run in safe mode - could be interference from a third party prog in startup etc
  • turn your AV off - could be it's preventing access
  • install the 32bit version, no need to uninstall the 64bit, it will use the same configuration and libraries - from the FAQ.

    Quote:
    On some 64 bit versions of Windows there are security software/settings that prevent 64-bit calibre from working properly. If you are using the 64-bit version of calibre try switching to the 32-bit version.
    That should probably be "On some 64bit versions installations there are . . ." - I don't think it has ever been tied down to a specific version, it may be a specific patch.
BR
BetterRed is offline   Reply With Quote
Old 09-25-2017, 08:31 PM   #14
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
theducks is offline   Reply With Quote
Old 09-25-2017, 11:00 PM   #15
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: 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
kovidgoyal is offline   Reply With Quote
Reply

Tags
error


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:55 PM.


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