View Single Post
Old 01-19-2007, 11:50 AM   #2
obelix
Connoisseur
obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.
 
Posts: 65
Karma: 1695
Join Date: Oct 2006
Quote:
Originally Posted by Falstaff
When I try to compile the attached file using MSH_LrsParser, I get an EUnicodeReaderReadError. Lrs2lrf will read the file and create an lrf. So, does anyone have any idea what is wrong with my file?

I made the file from a python program. As far as I can tell, there is not really a Uncode problem.

Falstaff
Your file contains reference to thumbnail file (image):
<CThumbnail file="1984_thumb.jpeg" />


Parser needs this file to compile the LRF, that is why there is an error.
Last version of parser does not require thumbnail image at all, so if you simply remove the above line from lrs, you will get the LRF without any problems. Alternatively, put "1984_thumb.jpeg" to the folder where you run MSH_LRSParser.

P.S. Also there is some unicode error in the file. You can easily fix it by opening the lrs file in the WordPad and saving it back.

Last edited by obelix; 01-19-2007 at 01:28 PM.
obelix is offline   Reply With Quote