12-22-2012, 05:36 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2012
Device: MSI Netbook
|
Cannot edit metadata
Hello everyone,
I have a huge problem with Calbre on Windows 7. I recently upgraded my MSi U160 netbook to Win 7 and since then I can't edit book metadata, like titles or tags, individually or in groups. This happens on books I could edit on Win XP. I get the following error message: calibre, version 0.9.11 ERROR: Failed to set data: Could not set data, click Show Details to see why. Traceback (most recent call last): File "site-packages\calibre\gui2\library\models.py", line 909, in setData File "site-packages\calibre\gui2\library\models.py", line 983, in _set_data File "site-packages\calibre\library\database2.py", line 2224, in set File "site-packages\calibre\library\database2.py", line 2558, in set_title File "site-packages\calibre\library\database2.py", line 2494, in windows_check_if_files_in_use File "site-packages\calibre\utils\filenames.py", line 290, in __init__ error: (123, 'CreateFile', 'The filename, directory name, or volume label syntax is incorrect.') Oddly enough I managed to edit a few but since then this error always shows up. I reinstalled Calibre but that didn't change anything. I transferred my library from the standard Documents folder to my Google Drive folder but that didn't change anything. I Googled extensively for this error but no one else seems to get it... |
12-22-2012, 11:05 PM | #2 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates that calibre is unable to open the ebook files to check if they are in use. I've never seen it before so I dont know what could cause it, but most likely culprit is the path to the file in question is too long. Try moving your library to some place with a short path, like c:\library or c:\users\shortname\library
|
Advert | |
|
12-23-2012, 04:25 AM | #3 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2012
Device: MSI Netbook
|
Quote:
Strange that it would not work with the default folder... |
|
12-23-2012, 05:38 AM | #4 |
Wizard
Posts: 1,479
Karma: 3846231
Join Date: Apr 2009
Location: Edinburgh, Scotland
Device: Kindle 3, Samsung Galaxy
|
I've seen a similar problem with other applications. Often, the root of the problem is that the user's files (the Calibre library in this case) are in a directory below the Program Files directory. Windows Vista and above by default disallow programs to write in Program Files. I suspect that is what was happening in this case, which explains why moving the library somewhere else solved it. It also explain why the problem didn't arise in XP.
Mike |
12-23-2012, 08:24 AM | #5 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2012
Device: MSI Netbook
|
Quote:
However, even the C:\Google Drive\Library format didn't work. Currently, only C:\Library works. A minor disappointment since I wanted my library up on Google Drive as well, but I guess I have no choice. |
|
Advert | |
|
12-23-2012, 09:11 AM | #6 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
12-23-2012, 11:00 AM | #7 |
Wizard
Posts: 1,479
Karma: 3846231
Join Date: Apr 2009
Location: Edinburgh, Scotland
Device: Kindle 3, Samsung Galaxy
|
You might try using Dropbox instead of Google Drive, as suggested in the thread that Chaley referenced. There is a clearly a problem with using Google Drive for any situation where you are sharing files under software control on different computers.
Mike |
12-23-2012, 11:33 AM | #8 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2012
Device: MSI Netbook
|
Quote:
Good thing I have a Dropbox account. Thanks |
|
12-26-2012, 09:34 AM | #9 |
Guru
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
|
BTW, Windows has a limit of about 250 characters for a file's path and filename. So that is why Kovid mentioned moving the Library's location. Keep that in mind when placing your Libraries.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
series_index gets reset to [1] using "edit metadata in bulk, basic metadata" | Boekenworm | Library Management | 4 | 11-25-2013 06:51 PM |
Edit metadata on K3? | niceboy | Amazon Kindle | 8 | 07-03-2011 05:34 PM |
trying to edit metadata | tponzo | Library Management | 10 | 02-02-2011 01:23 AM |
edit metadata | mufc | Recipes | 2 | 01-23-2011 11:25 AM |
Edit metadata? | nprnncbl | enTourage Archive | 2 | 07-01-2010 10:49 AM |