Re: Instant-Preview not working - How to troublecheck
Jan Peters wrote: Hi, i have a problem with instant preview: it simply claims that the latex compilation failed, see below --- despite that I could compile it manually. Does anybody know how to fix this? Thanks, -Jan lyx document header finished command python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6 Interpretted as: python /Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py png /tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex 216 00 faf0e6 /command void BufferView::Pimpl::update(Update::flags)[fitcursor = 1, forceupdate = 0, singlepar = 0] buffer: 0x15264520 ViewMetricsInfo BufferView::Pimpl::metrics(bool) y1: 0 y2: 731 pit1: 0 pit2: 2 npit: 62 singlepar: 0 void BufferView::Pimpl::updateScrollbar() Updating scrollbar: height: 62 curr par: 0 default height 37 verbose dispatch msg (file-open /Volumes/Boudin_HomeDir/Publications/Journals/JMLR/2006/JLMR2006.lyx) latex failed to compile 0lyxpreview.tex PreviewLoader::finishedInProgress(1): processing failed for python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6 When you say could compile it manually, does it refer to the original document or specifically the math inset (0lyxpreview.tex)? Are the paths in the last message above (to lyxpreview2bitmap.py and to 0lyxpreview.tex) valid? And, importantly, is Python installed? (If you open a command prompt in the directory where lyxpreview2bitmap.py lives and execute lyxpreview2bitmap.py, do you get a usage message?) /Paul
Re: Instant-Preview not working - How to troublecheck
Jan Peters wrote: Hi, i have a problem with instant preview: it simply claims that the latex compilation failed, see below --- despite that I could compile it manually. Does anybody know how to fix this? Thanks, -Jan lyx document header finished command python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6 Interpretted as: python /Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py png /tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex 216 00 faf0e6 /command void BufferView::Pimpl::update(Update::flags)[fitcursor = 1, forceupdate = 0, singlepar = 0] buffer: 0x15264520 ViewMetricsInfo BufferView::Pimpl::metrics(bool) y1: 0 y2: 731 pit1: 0 pit2: 2 npit: 62 singlepar: 0 void BufferView::Pimpl::updateScrollbar() Updating scrollbar: height: 62 curr par: 0 default height 37 verbose dispatch msg (file-open /Volumes/Boudin_HomeDir/Publications/Journals/JMLR/2006/JLMR2006.lyx) latex failed to compile 0lyxpreview.tex PreviewLoader::finishedInProgress(1): processing failed for python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6 When you say could compile it manually, does it refer to the original document or specifically the math inset (0lyxpreview.tex)? Are the paths in the last message above (to lyxpreview2bitmap.py and to 0lyxpreview.tex) valid? And, importantly, is Python installed? (If you open a command prompt in the directory where lyxpreview2bitmap.py lives and execute lyxpreview2bitmap.py, do you get a usage message?) /Paul
Re: Instant-Preview not working - How to troublecheck
Jan Peters wrote: Hi, i have a problem with instant preview: it simply claims that the latex compilation failed, see below --- despite that I could compile it manually. Does anybody know how to fix this? Thanks, -Jan lyx document header finished python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6 Interpretted as: python /Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py png /tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex 216 00 faf0e6 void BufferView::Pimpl::update(Update::flags)[fitcursor = 1, forceupdate = 0, singlepar = 0] buffer: 0x15264520 ViewMetricsInfo BufferView::Pimpl::metrics(bool) y1: 0 y2: 731 pit1: 0 pit2: 2 npit: 62 singlepar: 0 void BufferView::Pimpl::updateScrollbar() Updating scrollbar: height: 62 curr par: 0 default height 37 verbose dispatch msg (file-open /Volumes/Boudin_HomeDir/Publications/Journals/JMLR/2006/JLMR2006.lyx) latex failed to compile 0lyxpreview.tex PreviewLoader::finishedInProgress(1): processing failed for python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6 When you say could compile it manually, does "it" refer to the original document or specifically the math inset (0lyxpreview.tex)? Are the paths in the last message above (to lyxpreview2bitmap.py and to 0lyxpreview.tex) valid? And, importantly, is Python installed? (If you open a command prompt in the directory where lyxpreview2bitmap.py lives and execute lyxpreview2bitmap.py, do you get a usage message?) /Paul
Re: Instant-Preview not working - How to troublecheck
Hi, i have a problem with instant preview: it simply claims that the latex compilation failed, see below --- despite that I could compile it manually. Does anybody know how to fix this? Thanks, -Jan lyx document header finished command python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6 Interpretted as: python /Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py png /tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex 216 00 faf0e6 /command void BufferView::Pimpl::update(Update::flags)[fitcursor = 1, forceupdate = 0, singlepar = 0] buffer: 0x15264520 ViewMetricsInfo BufferView::Pimpl::metrics(bool) y1: 0 y2: 731 pit1: 0 pit2: 2 npit: 62 singlepar: 0 void BufferView::Pimpl::updateScrollbar() Updating scrollbar: height: 62 curr par: 0 default height 37 verbose dispatch msg (file-open /Volumes/Boudin_HomeDir/Publications/Journals/JMLR/2006/JLMR2006.lyx) latex failed to compile 0lyxpreview.tex PreviewLoader::finishedInProgress(1): processing failed for python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6
Re: Instant-Preview not working - How to troublecheck
Hi, i have a problem with instant preview: it simply claims that the latex compilation failed, see below --- despite that I could compile it manually. Does anybody know how to fix this? Thanks, -Jan lyx document header finished command python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6 Interpretted as: python /Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py png /tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex 216 00 faf0e6 /command void BufferView::Pimpl::update(Update::flags)[fitcursor = 1, forceupdate = 0, singlepar = 0] buffer: 0x15264520 ViewMetricsInfo BufferView::Pimpl::metrics(bool) y1: 0 y2: 731 pit1: 0 pit2: 2 npit: 62 singlepar: 0 void BufferView::Pimpl::updateScrollbar() Updating scrollbar: height: 62 curr par: 0 default height 37 verbose dispatch msg (file-open /Volumes/Boudin_HomeDir/Publications/Journals/JMLR/2006/JLMR2006.lyx) latex failed to compile 0lyxpreview.tex PreviewLoader::finishedInProgress(1): processing failed for python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6
Re: Instant-Preview not working - How to troublecheck
Hi, i have a problem with instant preview: it simply claims that the latex compilation failed, see below --- despite that I could compile it manually. Does anybody know how to fix this? Thanks, -Jan lyx document header finished python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6 Interpretted as: python /Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py png /tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex 216 00 faf0e6 void BufferView::Pimpl::update(Update::flags)[fitcursor = 1, forceupdate = 0, singlepar = 0] buffer: 0x15264520 ViewMetricsInfo BufferView::Pimpl::metrics(bool) y1: 0 y2: 731 pit1: 0 pit2: 2 npit: 62 singlepar: 0 void BufferView::Pimpl::updateScrollbar() Updating scrollbar: height: 62 curr par: 0 default height 37 verbose dispatch msg (file-open /Volumes/Boudin_HomeDir/Publications/Journals/JMLR/2006/JLMR2006.lyx) latex failed to compile 0lyxpreview.tex PreviewLoader::finishedInProgress(1): processing failed for python '/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py' png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00 faf0e6
Re: Instant-Preview not working - How to troublecheck
[EMAIL PROTECTED] wrote: Hi fellow LyXers, I am sure this must have been discussed here, but I could not find it :-( There've been a few messages about people who could not get preview to work, but this is the first I recall where it worked and then broke. In my LyX 1.4.1 for Windows XP, insert ominous background music here instant preview stopped working. I know it is installed, since I previously used it. I depend on this feature since I use lots of diagrams (xypics etc). In my LyX document, the Tools/Preferences/Graphis/Instant Preview Chooser is set to On ... but nothing happens with my formulae. pdf-generation works without problems, so it appears not to be a LaTeX error. Besides, the old documents which used to look so neat in LyX, are now - well just LaTeX commands - like in ultraedit. Something may have inadvertently deleted or corrupted something. Here are a few initial things to check: 1. If you recently upgraded MiKTeX (assuming you're using MiKTeX), you might try running MiKTeX Options - General - Format files - Update Now. This is a long-shot, but it can't hurt. 2. In C:\Program Files\LyX141\Resources\scripts (assuming you installed to the default directory), make sure that lyxpreview2bitmap.py and lyxpreview_tools.py and .pyc are present. 3. Make sure preview.sty is still installed (for instance, by running 'kpsewhich preview.sty' from a command prompt). 4. Create in LyX a document with a single formula (with Instant Preview turned on). While the document is open, use Windows Explorer to take a look into C:\Documents and Settings\your log in id\Local Settings\Temp\lyx_tmpdirwhatever\lyx_tmpbuf0. You should see files with the name 0lyxpreview and extensions .tex, .log, .dvi, etc. If some of the ones I listed are missing, that will tell us something. If they are all there, we can try further experiments to narrow down the problem. HTH, /Paul
Re: Instant-Preview not working - How to troublecheck
[EMAIL PROTECTED] wrote: Hi fellow LyXers, I am sure this must have been discussed here, but I could not find it :-( There've been a few messages about people who could not get preview to work, but this is the first I recall where it worked and then broke. In my LyX 1.4.1 for Windows XP, insert ominous background music here instant preview stopped working. I know it is installed, since I previously used it. I depend on this feature since I use lots of diagrams (xypics etc). In my LyX document, the Tools/Preferences/Graphis/Instant Preview Chooser is set to On ... but nothing happens with my formulae. pdf-generation works without problems, so it appears not to be a LaTeX error. Besides, the old documents which used to look so neat in LyX, are now - well just LaTeX commands - like in ultraedit. Something may have inadvertently deleted or corrupted something. Here are a few initial things to check: 1. If you recently upgraded MiKTeX (assuming you're using MiKTeX), you might try running MiKTeX Options - General - Format files - Update Now. This is a long-shot, but it can't hurt. 2. In C:\Program Files\LyX141\Resources\scripts (assuming you installed to the default directory), make sure that lyxpreview2bitmap.py and lyxpreview_tools.py and .pyc are present. 3. Make sure preview.sty is still installed (for instance, by running 'kpsewhich preview.sty' from a command prompt). 4. Create in LyX a document with a single formula (with Instant Preview turned on). While the document is open, use Windows Explorer to take a look into C:\Documents and Settings\your log in id\Local Settings\Temp\lyx_tmpdirwhatever\lyx_tmpbuf0. You should see files with the name 0lyxpreview and extensions .tex, .log, .dvi, etc. If some of the ones I listed are missing, that will tell us something. If they are all there, we can try further experiments to narrow down the problem. HTH, /Paul
Re: Instant-Preview not working - How to troublecheck
[EMAIL PROTECTED] wrote: Hi fellow LyXers, I am sure this must have been discussed here, but I could not find it :-( There've been a few messages about people who could not get preview to work, but this is the first I recall where it worked and then broke. In my LyX 1.4.1 for Windows XP, > instant preview stopped working. I know it is installed, since I previously used it. I depend on this feature since I use lots of diagrams (xypics etc). In my LyX document, the Tools/Preferences/Graphis/Instant Preview Chooser is set to "On" ... but nothing happens with my formulae. pdf-generation works without problems, so it appears not to be a LaTeX error. Besides, the old documents which used to look so neat in LyX, are now - well just LaTeX commands - like in ultraedit. Something may have inadvertently deleted or corrupted something. Here are a few initial things to check: 1. If you recently upgraded MiKTeX (assuming you're using MiKTeX), you might try running MiKTeX Options -> General -> Format files -> Update Now. This is a long-shot, but it can't hurt. 2. In C:\Program Files\LyX141\Resources\scripts (assuming you installed to the default directory), make sure that lyxpreview2bitmap.py and lyxpreview_tools.py and .pyc are present. 3. Make sure preview.sty is still installed (for instance, by running 'kpsewhich preview.sty' from a command prompt). 4. Create in LyX a document with a single formula (with Instant Preview turned on). While the document is open, use Windows Explorer to take a look into C:\Documents and Settings\\Local Settings\Temp\lyx_tmpdir\lyx_tmpbuf0. You should see files with the name 0lyxpreview and extensions .tex, .log, .dvi, etc. If some of the ones I listed are missing, that will tell us something. If they are all there, we can try further experiments to narrow down the problem. HTH, /Paul