Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-21-2009, 05:09 PM   #1
myle00
Connoisseur
myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.
 
myle00's Avatar
 
Posts: 71
Karma: 422
Join Date: Jun 2009
Device: Palm Treo
Save to disk error, tagging...

Hi,
First, thanks for calibre, I have been using it now for a month and it's really great!

I have about 150 gb of books on my computer and I have been working to organize them in calibre. Most of the books titles are massed up so they are not a good source for the metadata. However, using Abbyy fine reader and pdftk I converted the files to text and in java I ran through the files and extracted their ISBN and from that got the metadata - in case someone else wants to do this.

The second part, where I need some advice is backing up the files. I don't have enough room on my computer so I have to move the files to DVDs. However there doesn't seem to be a easy way to do this. The main problem is selecting the right files from the library, move and delete them and than knowing on which DVD they are.

What I'm doing now - and I'm wondering if someone has an easier way, is to in java save the metadata through the show_metadata command, than add a tag with the name of the DVD it will be on and than import it back with the set_metadata command. Than I save it and delete the original files in java. So far it's working well except when I do the Save To Disk I get some errors every one in a while. here is the error I get.

Code:
[Error 3] The system cannot find the path specified: u'C:/Books\\G, Ronald & Dunkley & Curran & Joseph), Donald J. (Donald & 1943- & Reid & E., Neal & 1938- & Crippin & Peter & Reid, Neal E. & MacKay & Jock\\Harcourt Mathematics 12 _ Geometry and Discrete Mathematics. Solutions Manual _ Editors, Ronald Dunkley, Don Curran ; Authors, Peter Crippin, Jock MacKay, Neal Reid'
Detailed traceback:
Traceback (most recent call last):
  File "main.py", line 980, in save_to_disk
  File "calibre\gui2\library.pyo", line 214, in save_to_disk
  File "calibre\library\database2.pyo", line 1436, in export_to_dir
WindowsError: [Error 3] The system cannot find the path specified: u'C:/Books\\G, Ronald & Dunkley & Curran & Joseph), Donald J. (Donald & 1943- & Reid & E., Neal & 1938- & Crippin & Peter & Reid, Neal E. & MacKay & Jock\\Harcourt Mathematics 12 _ Geometry and Discrete Mathematics. Solutions Manual _ Editors, Ronald Dunkley, Don Curran ; Authors, Peter Crippin, Jock MacKay, Neal Reid'
To fix it I have to make the title or the Authors list shorter. But it's hard since I don't know on which file it'll get stuck.

My basic question is about the error, if there is an easier way to do all this and finally - I know that even if the file is deleted from the folder I can still change the metadata with no trouble, but I'm worried that it may not work so in a future version and my files won't be in the major dir folder.

b.t.w. I'm still on .5.14 version
Thanks for any help,

M
myle00 is offline   Reply With Quote
Old 06-21-2009, 07:36 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
It sounds like you are running into a path length limitation of Windows or the file system. I'm not 100% sure but I believe the limit is 255 characters.
user_none is offline   Reply With Quote
Advert
Old 06-21-2009, 08:25 PM   #3
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: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah it probably is the path length. You'd be better off putting all that author information into the comments
kovidgoyal is online now   Reply With Quote
Old 06-22-2009, 01:03 AM   #4
myle00
Connoisseur
myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.
 
myle00's Avatar
 
Posts: 71
Karma: 422
Join Date: Jun 2009
Device: Palm Treo
Thanks.
Since I don't manually add the title and author, I would have to go through all the files and change those that seem to big. Would it be possible, when creating the folders, to automatically cut off the title and author so that it doesn't exceed the path length, without having to do this to the data. Or would this make it platform dependent? Because it's hard to know which file will be too long - and I tried doing it by editing any that has column length >, but it's hard. It typically takes at least 10 saves to correct all the files.

Thanks,
M
myle00 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre will not save to disk mrbillb Calibre 0 09-10-2010 06:56 PM
Save to Disk Function Lady Fitzgerald Calibre 8 06-07-2010 10:06 AM
Save to Disk Series Help DoctorOhh Calibre 7 04-21-2010 07:46 AM
Can't SAVE TO DISK Calibre 0.6.24 Rootman Calibre 5 12-06-2009 05:01 AM
Save to disk error Gfinch Calibre 6 08-06-2008 02:15 AM


All times are GMT -4. The time now is 11:29 AM.


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