Hi there,
I'm attaching a copy of Apple's Cocoa Fundamentals development guide, a book in HTML format (a PDF is available as well, but I'd prefer to get this one working on my PRS500). I've run other files through html2lrf without problems, but this set is causing all kinds of problems!
Code:
html2lrf /Developer/ADC\ Reference\ Library/documentation/Cocoa/Conceptual/CocoaFundamentalIntroduction/chapter_1_section_1.html
Processing chapter_1_section_1.html
Parsing HTML...
Converting to BBeB...
Processing index.html
Parsing HTML...
Converting to BBeB...
An error occurred while processing a table: list index out of range. Ignoring table markup.
Processing index-date.html
Parsing HTML...
Converting to BBeB...
An error occurred while processing a table: list index out of range. Ignoring table markup.
An error occurred while processing a table: Table has cell that is too large. Ignoring table markup.
An error occurred while processing a table: Table has cell that is too large. Ignoring table markup.
Processing index-date0.html
Parsing HTML...
Converting to BBeB...
An error occurred while processing a table: list index out of range. Ignoring table markup.
^CTraceback (most recent call last):
File "/Applications/libprs500.app/Contents/Resources/html2lrf.py", line 9, in <module>
main()
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1590, in main
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1507, in process_file
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 179, in __init__
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 231, in start_on_file
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 469, in process_links
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 231, in start_on_file
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 469, in process_links
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 231, in start_on_file
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 469, in process_links
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 229, in start_on_file
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 332, in parse_file
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 538, in process_children
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1390, in parse_tag
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 538, in process_children
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1390, in parse_tag
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 538, in process_children
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1386, in parse_tag
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 538, in process_children
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1371, in parse_tag
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 538, in process_children
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1376, in parse_tag
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 538, in process_children
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1380, in parse_tag
File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1401, in process_table
File "libprs500/ebooks/lrf/html/table.pyo", line 371, in blocks
File "libprs500/ebooks/lrf/html/table.pyo", line 326, in get_widths
File "libprs500/ebooks/lrf/html/table.pyo", line 267, in preferred_width
File "libprs500/ebooks/lrf/html/table.pyo", line 212, in preferred_width
File "libprs500/ebooks/lrf/html/table.pyo", line 209, in text_block_preferred_width
File "libprs500/ebooks/lrf/html/table.pyo", line 163, in text_block_size
KeyboardInterrupt
The process seems to hang after spitting out a few error messages, and then throws these errors after I do an interrupt (Ctrl-C). Any suggestions on how to proceed?
Thanks,
Aaron.