I am having the same problem with 0.9.4. If I revert back to 0.9.3 the problem does not occur. The problem occurs if I change either the Author or Title. For example, as a test I changed the name of "The $100 Startup" to "The 100 Dollar Startup". I get the following error:
Quote:
calibre, version 0.9.4
ERROR: Unhandled exception: <b>WindowsError</b>:[Error 2] The system cannot find the file specified: u'U:\\My eBooks\\CalibreLibraries\\EvaluationLibrary\\Chris Guillebeau\\The 100 Dollar Startup (2362)\\The 100 Dollar Startup - Chris Guillebeau.epub'
Traceback (most recent call last):
File "site-packages\calibre\gui2\metadata\single.py", line 466, in accept
File "site-packages\calibre\gui2\metadata\single.py", line 440, in apply_changes
File "site-packages\calibre\gui2\metadata\basic_widgets.py", line 96, in commit
File "site-packages\calibre\library\database2.py", line 2537, in set_title
File "site-packages\calibre\library\database2.py", line 665, in set_path
File "site-packages\calibre\library\database2.py", line 1520, in add_format
File "genericpath.py", line 49, in getsize
WindowsError: [Error 2] The system cannot find the file specified: u'U:\\My eBooks\\CalibreLibraries\\EvaluationLibrary\\Chris Guillebeau\\The 100 Dollar Startup (2362)\\The 100 Dollar Startup - Chris Guillebeau.epub'
|
After clicking "OK" I get:
Quote:
calibre, version 0.9.4
ERROR: Permission denied: Could not open file. Is it being used by another program?
Traceback (most recent call last):
File "site-packages\calibre\gui2\metadata\basic_widgets.py", line 96, in commit
File "site-packages\calibre\library\database2.py", line 2537, in set_title
File "site-packages\calibre\library\database2.py", line 665, in set_path
File "site-packages\calibre\library\database2.py", line 1519, in add_format
File "site-packages\calibre\library\database2.py", line 1377, in copy_format_to
File "site-packages\calibre\utils\filenames.py", line 308, in copy_path_to
File "site-packages\calibre\startup.py", line 156, in local_open
OSError: [Errno 13] Permission denied
|
The folder is still called
Chris Guillebeau\The $100 Startup (2362)
and the original files
The $100 Startup - Chris Guillebeau.epub
The $100 Startup - Chris Guillebeau.mobi
are joined by the new file
The 100 Dollar Startup - Chris Guillebeau.epub
If I repair the library, the new file is deleted.
When I revert to 0.9.3 and repeat the above procedure there are no erros and the end result is that the folder and files are renamed:
Chris Guillebeau\The 100 Dollar Startup (2362)
The 100 Dollar Startup - Chris Guillebeau.epub
The 100 Dollar Startup - Chris Guillebeau.mobi
and the library does not need repair.
For now I'm sticking with 0.9.3. FYI, I'm not using Dropbox or anything similar.