PDA

View Full Version : when isilox meet 0byte jpg


Raymond Leung
08-08-2004, 08:26 PM
I'm using isilox 4.1b4

when I convert document with a .jpg file of 0 byte size
isilox would show a msg box
"One or more errors occurred during conversion"

this happen when I "include images" even without compression or any other image setting.

it is possible for future isilox to skip or ignore these files when converting ?
I know 0 byte file is abnormal , but it seems to be a mistake of the newspaper website ( browser doesn't show 404 so I think the file really "exists" ) :(

Thanks

here is the news (chinese)
http://www1.appledaily.atnext.com/template/apple/art_main.cfm?sec_id=462&showdate=20040809&art_id=4226370
and the 0 byte file
http://www1.appledaily.atnext.com/images/apple-photos/640pix/20040809/Article_ent/09ee2p1.jpg

iSilo
08-15-2004, 10:15 AM
I wasn't able to access that page to test it out specifically, as the site appears to require a subscription for access, but a zero-byte image file should not generate an error message. It would however generate a warning message. So there is probably something else there that is causing the problem. Perhaps you could save the entire set of files (e.g., using Internet Explorer, Save As Web Page complete), zip them up and post them here so that we can try to reproduce the problem.

Raymond Leung
08-15-2004, 11:11 AM
I found the "real" problem :)
sorry for my unclear description before

if isilox converts a "page" (html) with a <img> tag of 0 byte jpg image
eg, "http://xxxxxxx.com/0.html" includes an image "0.jpg"
isilox generates a warning message.

but if isilox convert a link of jpg file. eg, http://xxxxxxx.com/0.jpg
it shows "One or more errors occurred during conversion"

if my explanation is not clear , you may try using the attachment
to convert .html ( include the jpg ) , and convert the .jpg directly

Thank you

Raymond Leung
09-07-2004, 08:54 PM
Please let me know if you don't understand the problem I talk about :(

iSilo
09-07-2004, 09:30 PM
Sorry for missing the reply on that.

Converting that jpg file by itself does indeed generate an error, but that indicates that the file does not appear to be a valid jpg file, so the question then is, why would you want to convert such a file?

Raymond Leung
09-07-2004, 10:07 PM
I don't want to convert this kind of "invalid files" ......
however the newspaper I convert everyday sometimes include those files :(

so I would like to know if isilox can just create a "warning" instead of "error"

Thank you

iSilo
09-07-2004, 11:40 PM
Sorry about not seeing that more clearly.The zip file you sent had an <img> element whose src attribute was to a file named "test.jpg" instead of the "0.jpg" file that you had in the zip, so converting the html file only gave a warning, rather than an error.

A change will be made so that image files with invalid formats will be ignored, allowing conversion to proceed. This will be added to the next update to the current version 4.15 beta, expected to be ready next week for beta2.

Raymond Leung
09-08-2004, 12:04 AM
Sorry for my mistake in the html tag :p

appreciate your help so much ! :D