Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2014, 05:12 PM   #1
Raymond Batkin
Junior Member
Raymond Batkin began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite
AZW3 to Word

I'm completely new to Calibre so don't have a lot of confidence in doing things at this point.
However I have a book (in French) that I am translating. I have a Paperwhite. The book is poorly set out for translating purposes (footnotes all over the place and within text). The format is AZW3. If I can convert to Word I will be able to edit to make reference & translation easier.

Trying to convert from AZW3 to any other format with Calibre throws up a 'cannot convert this format' message. I'm sure there must be a way to do this but I haven't the foggiest idea where to look. Can anyone throw me a lifeline - thanks
Raymond Batkin is offline   Reply With Quote
Old 10-01-2014, 05:32 PM   #2
jgaiser
Omnivorous
jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.
 
jgaiser's Avatar
 
Posts: 3,281
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
Nope.. Calibre doesn't do Word. RTF might work for you or possibly ODT if you want to install LibreOffice for Windows.
jgaiser is offline   Reply With Quote
Old 10-01-2014, 06:42 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
You can convert to EPUB and use Toxaris' MS Word addin to open the EPUB in Word.

Unfortunately, it seems you have bigger problems... What exactly is this error message when you try to convert? Can you post the conversion log?
eschwartz is offline   Reply With Quote
Old 10-01-2014, 07:19 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: 73,932
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
My guess is the AZW3 may have DRM.
JSWolf is online now   Reply With Quote
Old 10-02-2014, 05:28 AM   #5
Raymond Batkin
Junior Member
Raymond Batkin began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite
Thanks very much for responding...

The message I get is :

'Failed : Convert book 1 of 1 <book title name> BOOM1MW7S8)

The log is :
Spoiler:

>>>>>>>>>>>>>>>>>>>>
Convert book 1 of 1 (Rudolf Stallmann Rodolfe lemoine (French Edition) B00M1MW7S8)
Resolved conversion options
calibre version: 2.1.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x033F7730>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_file_type': u'old',
'mobi_ignore_margins': False,
'mobi_keep_original_images': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindlePaperWhiteOutp ut object at 0x033F7AD0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\User\\AppData\\Local\\Temp\\calibre_c a_k7g\\ew8ne2.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\User\AppData\Local\Temp\calibre_ca_k7g\7d xmz8.azw3
Python function terminated unexpectedly
unpack requires a string argument of length 4 (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1041, in run
File "site-packages\calibre\customize\conversion.py", line 241, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\mobi_in put.py", line 33, in convert
File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 103, in __init__
File "site-packages\calibre\ebooks\mobi\reader\headers.py", line 175, in __init__
struct.error: unpack requires a string argument of length 4

>>>>>>>>>>>>>>>>>>>>>>>>>>


RTF would be OK though

I suspect it has a DRM padlock applied. I've had a look at DRM removal tools but some of them throw up a lot of malware threats (that AVG blocks) - so would rather trust forum input than a Google-induced query.

Last edited by theducks; 10-02-2014 at 11:29 AM. Reason: Wrapped long paste in Spoiler
Raymond Batkin is offline   Reply With Quote
Old 10-02-2014, 08:58 AM   #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: 73,932
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The official Apprentice Alf sanctioned DRM removal Tools version 6.0.9 do not have any sort of malware. If AVG says it does, then AVG is tossing out a false positive.
JSWolf is online now   Reply With Quote
Old 10-02-2014, 11:45 AM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
One thing to look out for though is the download site has ads which try to get you to download random junk -- the correct download is a zipfile.
http://Adblockplus.org is your friend.

But this error message does not imply a DRM lock. Usually DRM results in a "DRMError".

Sounds like the book is malformed/corrupted or has weird code. I am sure Kovid will come by and explain the error message with hopefully a fix. EDIT: Yep.

Last edited by eschwartz; 10-02-2014 at 11:50 AM.
eschwartz is offline   Reply With Quote
Old 10-02-2014, 11:48 AM   #8
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,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a corrupted file. Most likely you accidentally have some other file in your calibre library than the actual book file.
kovidgoyal is offline   Reply With Quote
Old 10-02-2014, 03:28 PM   #9
Raymond Batkin
Junior Member
Raymond Batkin began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite
Kovid

Thanks for pointing that out - though I would not know!

The file on my Kindle contains :

AssetDownloadMetadata.meta (META File)
B00M1MW7S8.mf (MF File)
EndActions.data.B00M1MW7S8.asc (ASC file)
Rudolf Stallmann_Rodolfe lemoine (French Edition)_B00M1MW7S8 (AZ3F File)
Rudolf Stallmann_Rodolfe lemoine (French Edition)_B00M1MW7S8 (AZ3R File)

On the Kindle all is OK - copying them to the pc results in the error/log file I mentioned

I just noted I mentioned AZW3 originally whereas the file list is AZ3R in fact.
Does this difference in file format explain anything further?
Raymond Batkin is offline   Reply With Quote
Old 10-02-2014, 03:40 PM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
.azw3r and .azw3f are not ebooks. They are additional metadata files containing annotations, including bookmarks, highlights, and how far you got in the book.

If the file in calibre is an AZW3R then it isn't a book, the Kindle will usually have all of these plus the AZW3.

According to the log, you have an AZW3 in your library, but suppose it is possible you renamed an AZW3R and added it anyway?
eschwartz is offline   Reply With Quote
Old 10-02-2014, 05:01 PM   #11
Raymond Batkin
Junior Member
Raymond Batkin began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite
eschwartz

Many thanks for that!
Indeed - there was an azw3 file - but it was outside the folder I was looking at.
Once this was loaded into Calibre the rest was easy -
> rtf and from that to .doc

Sorry for my dense input, gentlemen!
You do learn something new every day. Thanks to everyone who responded.
Raymond Batkin is offline   Reply With Quote
Reply

Tags
azw3, pdf, word


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert Epub or AZW3 to Word? mkhuebner Conversion 5 01-13-2014 09:45 AM


All times are GMT -4. The time now is 05:14 AM.


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