[texworks] "memory could not be read" error

Iwan Setyawan isetyawan at gmail.com
Mon Oct 26 07:15:10 CET 2009


I didn't know that you can drop a PDF onto TeXworks will open it! I'm also
on OS X but it never occured to me to do this. I'll try it later today.
Thanks for the info!

- Iwan

On Mon, Oct 26, 2009 at 10:55 AM, Bruno Voisin <bvoisin at me.com> wrote:

> Le 26 oct. 2009 ŕ 00:48, Iwan Setyawan a écrit :
>
>
>  What do you mean by "the program crash when it tries to open the pdf
>> file"? Are you trying to open a PDF file using TeXworks? AFAIK, you cannot
>> do this. That is, I don't think you can use TeXworks as a PDF viewer.
>>
>
> Strange. Are you sure TeXworks can't be used as PDF file viewer? On OS X it
> can, I just tried (ie dropping a random PDF file onto it). There are some
> warnings issued to the console, but they're harmless and the user doesn't
> see them, I only saw them because I opened Console.app to check:
>
> 26/10/09 04:36:30       [0x0-0x42042].org.tug.texworks[519]
> QFileSystemWatcher::removePaths: list is empty
> 26/10/09 04:36:56       [0x0-0x42042].org.tug.texworks[519]     SyncTeX
> ERROR: gzread error (-2:0,)
> 26/10/09 04:36:56       [0x0-0x42042].org.tug.texworks[519]     SyncTeX
> ERROR: SyncTeX Error: Bad preamble
> 26/10/09 04:36:56       [0x0-0x42042].org.tug.texworks[519]
> QFileSystemWatcher::removePaths: list is empty
> 26/10/09 04:36:58       [0x0-0x42042].org.tug.texworks[519]     SyncTeX
> ERROR: SyncTeX Error: Bad preamble
> 26/10/09 04:37:25       [0x0-0x42042].org.tug.texworks[519]     SyncTeX
> ERROR: gzread error (-2:0,)
> 26/10/09 04:37:25       [0x0-0x42042].org.tug.texworks[519]     SyncTeX
> ERROR: SyncTeX Error: Bad preamble
> 26/10/09 04:37:25       [0x0-0x42042].org.tug.texworks[519]
> QFileSystemWatcher::removePaths: list is empty
> 26/10/09 04:37:27       [0x0-0x42042].org.tug.texworks[519]     SyncTeX
> ERROR: SyncTeX Error: Bad preamble
> 26/10/09 04:37:58       [0x0-0x42042].org.tug.texworks[519]     SyncTeX
> ERROR: gzread error (-2:0,)
> 26/10/09 04:37:58       [0x0-0x42042].org.tug.texworks[519]     SyncTeX
> ERROR: SyncTeX Error: Bad preamble
> 26/10/09 04:37:58       [0x0-0x42042].org.tug.texworks[519]
> QFileSystemWatcher::removePaths: list is empty
> 26/10/09 04:38:00       [0x0-0x42042].org.tug.texworks[519]     SyncTeX
> ERROR: SyncTeX Error: Bad preamble
>
> That said, the original poster's request was different and mentioned
> compiling (a .tex input file in the Source window most likely), generating
> PDF output and then attempting to open this output (in the Preview window
> most likely):
>
>  On Oct 25, 2009, at 8:54 PM, zhangdenis wrote:
>>
>>  I try to use texworks in levono x200t with winxp2. However I meet "memory
>>> could not be read" error. Texworks compiles correctly, and can generate the
>>> pdf file. The program crash when it tries to open the pdf file.
>>>
>>
> Though not 100% sure, I would interpret this as normal TeXworks operation:
> open an input file in the Source window, typeset it and then view the result
> in the Preview window. And interpret the bug report as "memory could not be
> read" error, followed by program crash, when the Preview window is opened.
>
> Bruno Voisin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20091026/6dbd3b43/attachment.html>


More information about the texworks mailing list