Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-03-2013, 08:50 AM   #1
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
ADE 2.0 crashes?

-- edit: solved. probably best to move this to ADE bugs?

<td style="vertical-align:bottom; text-decoration:underline;"> breaks ADE. removing text-decoration:underline; fixed it. ie:

Breaks ADE:
Code:
<td style="vertical-align:bottom; text-decoration:underline;">
        <p>Text</p>
      </td>
    </tr>
Doesn't break ADE:
Code:
<td style="vertical-align:bottom;">
        <p style="text-decoration:underline;">Text</p>
      </td>
    </tr>
-----

not sure if this is better in the ADE bugs thread, but it's more of a problem with a specific book it seems.

so - i've got an epub of about 1000+ pages, lots of tables, some lists, 4 level TOC. ADE 2.0 renders everything well up until a particular chapter, and then consistently crashes.

originally this chapter was about 400kb so i kept breaking it up in sigil to currently 9 or 10 separate files, but it still crashes at approximately the same place. thought there might be a validation problem so i ran it through epubcheck 3.0b5 but it's fine.

i'm at the point where i'm narrowing down the issue, trying to break up large tables into smaller ones in the hopes that this might help. if anyone's had experience with something like this any advice would be appreciated.

can't post code, unfortunately.

thanks!

--- update:

found the table that's making it crash, if that even makes sense.

there are 3 tables in the chapter, all almost identical. when i remove a specific one of them ADE renders the chapter fine, but continues to crash even when i remove everything but that one table. it passes W3C validation. don't know what's up, but here's some anonymized code in case anyone has an idea:

Bad table:

Code:
<table class="border_none">
    <tr>
        <td>
            <p>
                Text
            </p>
        </td>
        <td colspan="2">
            <p>
                Text
            </p>
        </td>
    </tr>
    <tr>
        <td>
            <p>
                Text
            </p>
        </td>
        <td colspan="2">
            <p>
                Text
            </p>
        </td>
    </tr>
    <tr>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text <span style="font-style:italic;">Text</span> Text
            </p>
        </td>
    </tr>
    <tr>
        <td>
            Text
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
    </tr>
    <tr>
        <td>
            Text
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text <span style="font-style:italic;">Text</span> Text
            </p>
        </td>
    </tr>
    <tr>
        <td>
            Text
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
    </tr>
    <tr>
        <td>
            Text
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom; text-decoration:underline;">
            <p>
                Text
            </p>
        </td>
    </tr>
    <tr class="border_bottom">
        <td style="border:0;">
            Text
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text <span style="font-style:italic;">Text</span> Text
            </p>
        </td>
    </tr>
</table>
OK table:

Code:
<table class="border_none">
    <tr>
        <td>
            <p>
                Text
            </p>
        </td>
        <td colspan="2">
            <p>
                Text
            </p>
        </td>
    </tr>
    <tr>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td colspan="2">
            <p>
                Text
            </p>
        </td>
    </tr>
    <tr>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text <span style="font-style:italic;">Text</span> Text
            </p>
        </td>
    </tr>
    <tr>
        <td>
            Text
        </td>
        <td>
            <p>
                Text
            </p>
        </td>
        <td>
            <p>
                Text
            </p>
        </td>
    </tr>
    <tr>
        <td>
            Text
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text <span style="font-style:italic;">Text</span> Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
    </tr>
    <tr>
        <td>
            Text
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:bottom;">
            <p>
                Text <span style="font-style:italic;">Text</span> Text
            </p>
        </td>
    </tr>
    <tr class="border_bottom">
        <td style="border:0;">
            Text
        </td>
        <td style="vertical-align:middle;">
            <p>
                Text
            </p>
        </td>
        <td style="vertical-align:middle;">
            <p>
                Text <span style="font-style:italic;">Text</span> Text
            </p>
        </td>
    </tr>
</table>

Last edited by mzmm; 02-03-2013 at 09:38 AM.
mzmm is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacks and Crashes Bobthewelder enTourage eDGe 0 10-02-2011 10:36 AM
Calibre Crashes mosugs Calibre 4 08-02-2011 11:11 PM
Looking for source of crashes ... emellaich Astak EZReader 8 10-27-2009 10:01 AM
Constant crashes Horribleman Calibre 4 10-05-2009 01:19 PM
Opus Opus crashes? mjmcleod Bookeen 60 09-21-2009 08:54 AM


All times are GMT -4. The time now is 02:27 AM.


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