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 01-18-2010, 12:25 PM   #1
scruffy
Enthusiast
scruffy has a complete set of Star Wars action figures.scruffy has a complete set of Star Wars action figures.scruffy has a complete set of Star Wars action figures.scruffy has a complete set of Star Wars action figures.
 
Posts: 29
Karma: 324
Join Date: Mar 2008
Device: ebookwise, n800, tablet, etc
64bit unclean?

Ok, something's a problem:

Code:
>ebook-meta "Book Title - Author Name.pdf"
Title               : Author Name
Author(s)           : Book Title
(yes, it's reversed, this is one reason I wanted to automate this...
also, I have books not imported into Calibre yet, with no meta info but correct titles, and I wanted to make it easier both for importing and other meta usages)

Code:
>ebook-meta "Book Title - Author Name.pdf" -a "Author Name"

Original metadata::
Title               : Author Name
Author(s)           : Book Title

Changed metadata::
u'\tTitle               : Author Nam\uf256\n\tAuthor(s)           : Author  Nam\uf256'
Hmm, weird, ok, maybe it's a command line issue...

Code:
>ebook-meta "Book Title - Author Name.pdf" --to-opf=test.opf
u'\tTitle               : Author Nam\uf256\n\tAuthor(s)           : Author  Nam\uf256'
OPF created in test.opf
Ok, edit opf file, fix the bad info... and now use it...

Code:
>ebook-meta "Book Title - Author Name.pdf" --from-opf=test.opf
Original metadata::
u'\tTitle               : Author Nam\uf256\n\tAuthor(s)           : Author  Nam\uf256'

Changed metadata::
u'\tTitle               : Book Titl\uef6e\n\tAuthor(s)           : Author Nam\uef78\n\tBook Producer       : calibre (0.6.34) [http://calibre.kovidgoyal.ne
t\ub542'
Ok, try again, exact same opf file:

Code:
>ebook-meta "Book Title - Author Name.pdf" --from-opf=test.opf
Original metadata::
u'\tTitle               : Book Titl\uef6e\n\tAuthor(s)           : Author Nam\uef78\n\t

Changed metadata::
u'\tTitle               : Book Titl\uab73\n\tAuthor(s)           : Author Nam\uab65\n\tBook Producer       : calibre (0.6.34) [http://calibre.kovidgoyal.ne
t\u0385'
Ideas? This is Windows 7 64bit Home Premium. Looks like a problem on the last character in each entry... (filename/author/title changed to protect the innocent)

Unicode? UTF issues? 64bit issue?

Added to trac: http://bugs.calibre-ebook.com/ticket/4599

Kovid pointed out it's a duplication of http://bugs.calibre-ebook.com/ticket/4378

Followup: the file in question had an empty password, but a password nonetheless.
Something to look out for... removing password, the metadata worked fine. Not 64bit or unicode issue, this is a bug due to password protection weirdness.

Last edited by scruffy; 01-18-2010 at 12:55 PM. Reason: Added trac ticket id
scruffy 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
PRS-500 Reader not recognised on 64bit Win7 PC hansl Sony Reader 2 07-20-2010 11:34 AM
Migrate Library to Windows 7 64bit tulsa Calibre 4 05-10-2010 02:01 PM
Error in script on 0.4.113 - 64bit Ubuntu CaptOzone Calibre 10 02-12-2009 05:27 PM
64bit Windows support? corflame Sony Reader 5 09-09-2007 09:14 PM
Vista 64bit minty Sony Reader 19 07-22-2007 06:35 PM


All times are GMT -4. The time now is 04:08 AM.


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