Re: Lyx-Miktex problems on Windows 10
Am 09.12.2016 um 17:15 schrieb Cris Fuhrman: Another question: is it mandatory in LyX to run "reconfigure" after updating MikTeX? Updates sometimes cause obsolete packages to be removed and replaced. Could LyX detect this and suggest running "reconfigure"? Only if packages are removed by the MiKTeX update you might reconfigure LyX. Otherwise it is not necessary. It is however mandatory after you used the MiKTeX package manager to install new packages. Otherwise LyX won't be aware of them. Note that if you update LyX e.g. from 2.2.1 to 2.2.2 or if you install the same LyX version over an existing one to repair things, the Windows installer of LyX will automatically reconfigure LyX twice. regards Uwe
Re: Lyx-Miktex problems on Windows 10
Am 09.12.2016 um 05:35 schrieb Scott Kostyshak: I have issues with packages with Lyx 2.2 on Windows 10. I have updated packages on MikTex as admin... Dear Guillermo, as I wrote in my announcement of version 3 of the Windows installer: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg104595.html , MiKTeX made some major refactoring of its package handling. Many users therefore encountered problems. Form most it helped, to run the MiKTeX update program twice, but not for all. before spending hours with fiddling around I therefore recommended, to uninstall MiKTeX and LyX _completely_ and reinstalling LyX using the latest "complete" Windows installer for LyX 2.2.2. This assures that you have a fully functional LyX and MiKTeX. If this fails, please report back that I can have a closer look. regards Uwe
Re: Lyx-Miktex problems on Windows 10
I had a similar problem this morning again. Here's what I think is an example of where LyX doesn't handle well the MikTeX on-the-fly updates in Windows 10: 10:56:36.699: downloading > http://ctan.math.ca/tex-archive/systems/win32/miktex/tm/packages/dvips.tar.lzma. > .. > 10:56:36.701: 32074 bytes, 17.82 KB/Sec > 10:56:36.703: extracting files from dvips.tar.lzma... > 10:56:36.704: > == > 10:56:37.241: The process crashed some time after starting successfully. LyX proceeded, but later failed in the 'pdflatex' command with an error. When I loaded the MikTeX package manager manually, it appeared that dvips.tar.lzma was correctly installed (perhaps the process continued to run even though LyX reported it had crashed). Doing a View (Ctrl-R) again in LyX worked, so the dvips was there the second time. LyX did not try to install it. This may not be so much a LyX problem in Windows 10 as it is a MikTeX updater problem in Windows 10. MikTeX is known for not always clearly giving you errors properly. One of my favorites is this one: http://tex.stackexchange.com/a/254393/17868 (the error is about too many connections from your IP address, but the server is intentionally down). One suggestion might be to have an option for LyX to stop processing (fatal error) when packages don't install properly, with a recommendation of the user to install manually. Another question: is it mandatory in LyX to run "reconfigure" after updating MikTeX? Updates sometimes cause obsolete packages to be removed and replaced. Could LyX detect this and suggest running "reconfigure"? On Fri, Dec 9, 2016 at 2:34 AM, Cris Fuhrmanwrote: > I had a similar problem earlier this week. The cause was the MikTeX mirror > I was using was reporting that versions of LaTeX elements were present, but > when the updater would run from LyX to install missing things, it would > fail. The errors show in LyX message console, but they aren't fatal. I > discovered this by running the update/package manager myself outside of > LyX. > > The short term solution was to choose another LaTeX distribution mirror in > MikTeX updater by running it outside LyX. > > On Thu, Dec 8, 2016, 23:35 Scott Kostyshak wrote: > >> On Sun, Nov 27, 2016 at 04:20:22PM +, Guillermo Cruces wrote: >> > Hi everyone, I have been a Lyx user for years. Awesome program! Every >> version change has been a bit bumpy, but a reconfigure used to work. Not >> now. Here are my issues, just posted on stackexchange too: >> > >> > I have issues with packages with Lyx 2.2 on Windows 10. I have updated >> packages on MikTex as admin, I have changed the option to ask me first >> instead of update packages on the fly (even though I selected ask me first >> during install, it still got set at on the fly), I have updated directories >> on miktex options (admin), I have reconfigured lyx, and nothing. When I >> open a beamer file, it says the beamer.cls (and set space and many others >> are available) and while it asks for downloading them within lyx, they >> don't seem to "stick". >> > >> > I have managed to compile my file by going to the Miktex package >> manager (as admin) and installing manually every package that lyx >> complained was not available. I get a PDF (although it complains the PDF >> viewer is missing...). While it compiles, it still complains that the >> beamer class, xcolor, etc., are not available when opening the file. >> > It seems to me something in the settings/update/confir of Lyx+Miktex is >> not working. Anyone can confirm this? Any solutions? I'll try running Lyx >> as admin just in case... >> >> Hi Guillermo, >> >> I'm CC'ing Uwe, who is our only developer on Windows. Hopefully he has >> an idea of what's going on. >> >> Sorry for the frustration. >> >> Scott >> >
Re: Lyx-Miktex problems on Windows 10
I had a similar problem earlier this week. The cause was the MikTeX mirror I was using was reporting that versions of LaTeX elements were present, but when the updater would run from LyX to install missing things, it would fail. The errors show in LyX message console, but they aren't fatal. I discovered this by running the update/package manager myself outside of LyX. The short term solution was to choose another LaTeX distribution mirror in MikTeX updater by running it outside LyX. On Thu, Dec 8, 2016, 23:35 Scott Kostyshakwrote: > On Sun, Nov 27, 2016 at 04:20:22PM +, Guillermo Cruces wrote: > > Hi everyone, I have been a Lyx user for years. Awesome program! Every > version change has been a bit bumpy, but a reconfigure used to work. Not > now. Here are my issues, just posted on stackexchange too: > > > > I have issues with packages with Lyx 2.2 on Windows 10. I have updated > packages on MikTex as admin, I have changed the option to ask me first > instead of update packages on the fly (even though I selected ask me first > during install, it still got set at on the fly), I have updated directories > on miktex options (admin), I have reconfigured lyx, and nothing. When I > open a beamer file, it says the beamer.cls (and set space and many others > are available) and while it asks for downloading them within lyx, they > don't seem to "stick". > > > > I have managed to compile my file by going to the Miktex package manager > (as admin) and installing manually every package that lyx complained was > not available. I get a PDF (although it complains the PDF viewer is > missing...). While it compiles, it still complains that the beamer class, > xcolor, etc., are not available when opening the file. > > It seems to me something in the settings/update/confir of Lyx+Miktex is > not working. Anyone can confirm this? Any solutions? I'll try running Lyx > as admin just in case... > > Hi Guillermo, > > I'm CC'ing Uwe, who is our only developer on Windows. Hopefully he has > an idea of what's going on. > > Sorry for the frustration. > > Scott >
Re: Lyx-Miktex problems on Windows 10
On Sun, Nov 27, 2016 at 04:20:22PM +, Guillermo Cruces wrote: > Hi everyone, I have been a Lyx user for years. Awesome program! Every version > change has been a bit bumpy, but a reconfigure used to work. Not now. Here > are my issues, just posted on stackexchange too: > > I have issues with packages with Lyx 2.2 on Windows 10. I have updated > packages on MikTex as admin, I have changed the option to ask me first > instead of update packages on the fly (even though I selected ask me first > during install, it still got set at on the fly), I have updated directories > on miktex options (admin), I have reconfigured lyx, and nothing. When I open > a beamer file, it says the beamer.cls (and set space and many others are > available) and while it asks for downloading them within lyx, they don't seem > to "stick". > > I have managed to compile my file by going to the Miktex package manager (as > admin) and installing manually every package that lyx complained was not > available. I get a PDF (although it complains the PDF viewer is missing...). > While it compiles, it still complains that the beamer class, xcolor, etc., > are not available when opening the file. > It seems to me something in the settings/update/confir of Lyx+Miktex is not > working. Anyone can confirm this? Any solutions? I'll try running Lyx as > admin just in case... Hi Guillermo, I'm CC'ing Uwe, who is our only developer on Windows. Hopefully he has an idea of what's going on. Sorry for the frustration. Scott signature.asc Description: PGP signature