Re: Update DVI (lyx v 2.0.6 in Win 7 x64 )

2014-09-28 Thread Josh McSorley
Enrico Forestieri  lyx.org> writes:

> 
> Josh McSorley writes:
> > 
> > Yes I see tons of posts you are right!
> > I am guessing yap locking is my problem.
> > Do you know a solution to this (could not see one in any of the threads I
> > read), or should I simply be using another previewer?
> 
> If you really need dvi output, you are pretty much stuck, unless you
> are willing to try TeXLive and its dvi previewer. Otherwise, I suggest
> using SumatraPDF and previewing the documents as pdf.
> 


OK thanks for the infos Enrico I really appreciate it!
I wish there was a DVI viewer which allowed the refresh in lyx (so it keeps
the current location in the document. Well at least I know not to look further.

Again thanks for letting me know!



Re: Update DVI (lyx v 2.0.6 in Win 7 x64 )

2014-09-28 Thread Enrico Forestieri
Josh McSorley writes:
> 
> Yes I see tons of posts you are right!
> I am guessing yap locking is my problem.
> Do you know a solution to this (could not see one in any of the threads I
> read), or should I simply be using another previewer?

If you really need dvi output, you are pretty much stuck, unless you
are willing to try TeXLive and its dvi previewer. Otherwise, I suggest
using SumatraPDF and previewing the documents as pdf.

-- 
Enrico




Re: Update DVI (lyx v 2.0.6 in Win 7 x64 )

2014-09-25 Thread Josh McSorley
Enrico Forestieri  lyx.org> writes:

> 
> Josh McSorley writes:
> > 
> > Additional note:
> > I do not have spaces in folder or file names so this is not the source of
> > the problem (some folks in earlier trheads have discussed this
> > 
> > If this is known problem with LyX (or MikTex), even if there is no solution
> > (or it requires an update), if someone can let me know that would be great.
> 
> The problem is that yap locks the dvi file and the script cannot access it.
> If you google for "yap locks dvi file" you'll get tons of hits.
> 

Hi Enrico:

Yes I see tons of posts you are right!
I am guessing yap locking is my problem.
Do you know a solution to this (could not see one in any of the threads I
read), or should I simply be using another previewer?




Re: Update DVI (lyx v 2.0.6 in Win 7 x64 )

2014-09-25 Thread Enrico Forestieri
Josh McSorley writes:
> 
> Additional note:
> I do not have spaces in folder or file names so this is not the source of
> the problem (some folks in earlier trheads have discussed this
> 
> If this is known problem with LyX (or MikTex), even if there is no solution
> (or it requires an update), if someone can let me know that would be great.

The problem is that yap locks the dvi file and the script cannot access it.
If you google for "yap locks dvi file" you'll get tons of hits.

-- 
Enrico





Re: Update DVI (lyx v 2.0.6 in Win 7 x64 )

2014-09-25 Thread Josh McSorley
Additional note:
I do not have spaces in folder or file names so this is not the source of
the problem (some folks in earlier trheads have discussed this


If this is known problem with LyX (or MikTex), even if there is no solution
(or it requires an update), if someone can let me know that would be great.



Update DVI (lyx v 2.0.6 in Win 7 x64 )

2014-09-24 Thread Josh McSorley
I am having problem discussed in these threads:
http://comments.gmane.org/gmane.editors.lyx.general/74475
http://comments.gmane.org/gmane.editors.lyx.devel/134251


Essentially when I update a DVI while yap is open I get a pop-up error
(repeated in the linked posts):
lyx cannot convert file an error occurred while running python python -tt ...
I can often get the update to work if I click ok and/or refresh in yap.

If I click in Lyx : View > Messages I get debug messages like:
Running: pplatex "MyFile.tex" > nul
02:01:37.351: pplatex: Process input file MyFile.dvi
02:01:37.352: pplatex: Copy data to MyFile.dvi
02:01:38.036: python -tt "C:/Program Files (x86)/LyX
2.0/Resources/scripts/clean_dvi.py" "MyFile.dvi" "tmpfile.out"
Running: python -tt "C:/Program Files (x86)/LyX
2.0/Resources/scripts/clean_dvi.py" "MyFile.dvi" "tmpfile.out"
..\..\..\src\support\FileName.cpp (254): Could not move file
C:/Users/UserName/AppData/Local/Temp/lyx_tmpdir.p26856/lyx_tmpbuf2/tmpfile.out
to C:/Users/UserName/AppData/Local/Temp/lyx_tmpdir.p26856/lyx_tmpbuf2/MyFile.dvi
Error: Cannot convert file

An error occurred while running:
python -tt "C:/Program Files (x86)/LyX 2.0/Resources/scripts/clean_dvi.py"
"MyFile.dvi" "tmpfile.out"
02:02:04.894: Error while exporting format: dvi
02:02:09.096: (dialog-toggle progress)
02:06:29.359: Automatic save done.
02:08:27.935: (dialog-show aboutlyx)
02:11:29.384: Automatic save done.

I have no problems with a fresh DVI run just the updates.
I have already run Tools > Reconfigure in Lyx as well.

My setup:
lyx v 2.0.6
Win 7 x64 Enterprise


Any suggestions on how to proceed would be most welcome!