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-24-2010, 03:34 AM   #1
solitaire
Connoisseur
solitaire began at the beginning.
 
solitaire's Avatar
 
Posts: 61
Karma: 30
Join Date: Dec 2009
Device: iPad, HTC HD7
TXT->PDB (eReader) conversion error (Fixed in 0.6.36)

Hi I am using Calibre V 0.6.35. In previous versions I had successfully converted from txtx to pdb (ereader) format. However with this version I am getting an "unable to convert" error. I have no problems converting to pdb (doc) and ePub formats. This happens irrespective whether I choose MARKDOWN option or not.

I am not a programmer so I have no clue what to adjust. The log file is pasted here for reference. What an I doing wrong? Thanks.

__________________________________________________ ___
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Flyaway)

Convert book 1 of 1 (Flyaway)
Resolved conversion options
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': 'c:\\users\\rajiv\\appdata\\local\\temp\\calibre_0 .6.35_ox8krh.jpeg',
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_justify': False,
'extra_css': None,
'font_size_mapping': None,
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'format': u'ereader',
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'inline_toc': False,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x04AAAE90>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'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,
'markdown': True,
'markdown_disable_toc': False,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'output_encoding': 'cp1252',
'output_profile': <calibre.customize.profiles.NookOutput object at 0x04AB4270>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': False,
'print_formatted_paras': True,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\users\\rajiv\\appdata\\local\\temp\\calibre_0 .6.35_xm99v_.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'single_line_paras': True,
'tags': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: TXT Input running
on D:\My Documents\My eBooks\Calibre\Desmond Bagley\Flyaway (270)\Flyaway - Desmond Bagley.txt
Reading text from file...
Running text though markdown conversion...
InputFormatPlugin: HTML Input running
on D:\My Documents\My eBooks\Calibre\Desmond Bagley\Flyaway (270)\temp_calibre_txt_input_to_html.html
Language not specified
Creator not specified
Title not specified
Building file list...
Found files...
HTMLFile:0:a:\My Documents\My eBooks\Calibre\Desmond Bagley\Flyaway (270)\temp_calibre_txt_input_to_html.html
Parsing temp_calibre_txt_input_to_html.html ...
Forcing temp_calibre_txt_input_to_html.html into XHTML namespace
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Creating PDB Output...
Converting XHTML to PML markup...
Converting temp_calibre_txt_input_to_html.html to PML markup...
Python function terminated unexpectedly
'NookOutput' object has no attribute 'dont_justify' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 99, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 852, in run
File "site-packages\calibre\ebooks\pdb\output.py", line 58, in convert
File "site-packages\calibre\ebooks\pdb\ereader\writer.py", line 42, in write_content
File "site-packages\calibre\ebooks\pml\pmlml.py", line 93, in extract_content
File "site-packages\calibre\ebooks\pml\pmlml.py", line 101, in pmlmlize_spine
File "site-packages\calibre\ebooks\pml\pmlml.py", line 141, in get_text
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 169, in __init__
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 233, in flatten_rule
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 257, in flatten_style
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 322, in _normalize_text_align
AttributeError: 'NookOutput' object has no attribute 'dont_justify'

Last edited by solitaire; 01-25-2010 at 07:38 PM.
solitaire is offline   Reply With Quote
Old 01-24-2010, 09:31 AM   #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,460
Karma: 986493
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
It will be fixed in the next release. There was a change for justification and the object that handles it was not updated correctly in the PML generation part.
user_none is offline   Reply With Quote
 
Enthusiast
Old 01-24-2010, 08:00 PM   #3
solitaire
Connoisseur
solitaire began at the beginning.
 
solitaire's Avatar
 
Posts: 61
Karma: 30
Join Date: Dec 2009
Device: iPad, HTC HD7
Quote:
Originally Posted by user_none View Post
It will be fixed in the next release. There was a change for justification and the object that handles it was not updated correctly in the PML generation part.
Thanks user_none for a speedy response. I am glad we know the reason; I was getting concerened that I was making a mistake somewhere. Great product, great support.

Now if only the people over at Barnes and Noble could be as responsive............
solitaire is offline   Reply With Quote
Old 01-25-2010, 04:49 PM   #4
starrigger
Jeffrey A. Carver
starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.
 
starrigger's Avatar
 
Posts: 1,352
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Galaxy Tab 10.1, Nook HD+, and Windows Phone
Ah--I just tried converting something to .pdb and had the same problem. Glad to hear it's a temporary, known glitch.

BTW, is the Nook output profile a good choice for general eReader output (e.g., for use on a Palm device)? Or is Default Output Profile better?

Thanks.
starrigger is offline   Reply With Quote
Old 01-25-2010, 06:32 PM   #5
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,460
Karma: 986493
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by starrigger View Post
is the Nook output profile a good choice for general eReader output (e.g., for use on a Palm device)? Or is Default Output Profile better?
It doesn't matter which you choose. PDB output ignores the output profile.
user_none is offline   Reply With Quote
Old 01-25-2010, 07:37 PM   #6
solitaire
Connoisseur
solitaire began at the beginning.
 
solitaire's Avatar
 
Posts: 61
Karma: 30
Join Date: Dec 2009
Device: iPad, HTC HD7
Fixed

Thanks user_none. This is now working in V 0.6.36

If any Mod/admin can modify the title of this thread by adding the suffix (fixed in V0.6.36) it will be helpful.

Last edited by solitaire; 01-25-2010 at 07:41 PM.
solitaire 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
PDB output conversion error silinthar Calibre 6 10-01-2010 02:18 AM
Txt to PDB questions pckopp Calibre 7 07-24-2010 08:51 PM
Calibre 0.6.32 - pdb to epub conversion error niche99 Calibre 4 01-23-2010 12:13 PM
.txt to .pdb? nlaplaca Apple Devices 1 12-21-2008 08:15 PM
ereader pdb to rtf, txt, anything? Dave Berk Reading and Management 11 03-24-2007 07:45 PM


All times are GMT -4. The time now is 12:51 AM.


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