Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-17 Thread Jean-Marc Lasgouttes

Le 17/07/2019 à 19:20, Brian Davis a écrit :
1) Win 10 Enterprise (earlier versions of LyX and MikTeX as reported 
earlier


     a) run as administrator application will generate a pdf of my thesis

     b) Shows article.cls as available

     c) Enterprise is remaining in half (baked) working mode. Sees 
article.cls as available and can generate a pdf, but cannot generate 
thesis unless in admin mode (I literally just verified this)


OK, I just see a run of short and precise sentences, so I dive in. When 
LyX show something as available, it just mean that it could access it 
last time Options>reconfigure was run. So in 3/ above, do you mean that 
you are in non-admin mode, run Option>reconfigure, article.cls is shown 
as available, but then you cannot generate a pdf?


JMarc


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-17 Thread Joel Kulesza
On Wed, Jul 17, 2019 at 11:21 AM Brian Davis  wrote:

>
> Odd, strange, not normal... yes, but not impossible or even improbable
> it is happening.
>
> Insanity Is Doing the Same Thing Over and Over Again and Expecting
> Different Results - Einstein
>
> Einstein obviously never used a computer.  Updates, patches, fixes,
> rolling modifications, BIOS and boot roms, firmware updates... we can be
> doing literally  the same things (steps) when using the software, but
> quite literally the system is changing out from underneath us.  I expect
> different results it's only a matter of time.  I had an argument with a
> fellow software engineer regarding building software is like building,
> as building it can be designed and implemented cleanly,  he argued and I
> have come to agree with the reality that building software is like
> building a sand castle as the waves keep crashing causing pieces to fall
> into the sea in while an impetuous child barks orders (changing
> requirements) on how to build it often changing goals on each new wave.
>

Periodic brief and amusing comments are welcome.  However, including these
lengthy irrelevant remarks obscure the relevant text and waste everyone's
time.  Please be considerate to the volunteers who support LyX and think
twice before including such content in your email.

How do you communicate with professional colleagues?  The same style is
appropriate here.

Thank you,
Joel


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-17 Thread Brian Davis



On 7/17/2019 7:00 AM, Kees Zeelenberg wrote:

Op 14-07-19 om 19:20 schreef Richard Kimberly Heck:

On 7/14/19 12:26 PM, Brian Davis wrote:

without more information. But contrary to what someone said here, MikTeX
has an annoying habit of updating itself in the background and breaking
things. We've seen it time and time again. The list archives are full of
such problems.


I have been using MikTeX for over 15 years (with LyX for over 10 
years), and have never experienced such an automatic update that some 
have ascribed to it. To make sure, I have checked on the MikTeX issue 
tracker, with the following outcome. A user can configure MikTeX to 
install on the fly LaTeX-packages that are required by his/her 
document. But MikTeX does never update automatically its executables 
or packages that have previously been installed; this has to be done 
manually through the MikTeX console. 
(https://github.com/MiKTeX/miktex/issues/342#issuecomment-512218341)


In the past LyX was available in a bundle with MikTeX. During install, 
the LyX-installer did update MikTeX; so it was not MikTeX, but the 
LyX-installer that did the update, and caused problems.



Any reason to think this could be Windows updates not allowing programs 
to reach into other programs such as from some Lyx in C:\Program Files 
(x86) and MikTeX in C:\Program Files but does when run in administrator 
mode (note x86 and not x86 dirs)?


There has got to be some sort of permissions problem, not imagined as I 
certainly don't think I could make it as a science fiction writer, 
though with computers and AI these days my computer(s) could be forming 
a mind(s) of their own.  I also do not think I am part of some 
conspiracy as at least one other has experienced similar and I had no 
prior contact with that person unless on some ethereal plane in a dream 
state that I am unable to remember after waking.  There also could be 
the case that I have been the victim of a post 70's era remote viewing 
scenario conjured up by the CIA where others then report my experience 
on the user forum.  I have thought if I could only master this remote 
viewing skill I could then cancel my Netfix subscription, but that is an 
aside.  I am also not a robot, bot,  or part of a Russian troll farm. 
Though my entrance to the forum did not require reCAPTCHA verification 
only email verify so I cannot be certain I am not a robot.  Surly any or 
all these could be true, but what might be more likely:  I am just a 
pedantic  Biomedical Engineering student working and living in the land 
of cheese (Wisconsin) trying to get LyX to generate my Thesis and 
experiencing, while strange, a very real software issue.  Maybe it is 
time for me to make a YouTube vid on this experience.  Then I might get 
fake news or deep fake or other type of fakery.


I have experienced different behavior when running the application

1) Win 10 Enterprise (earlier versions of LyX and MikTeX as reported earlier

    a) run as administrator application will generate a pdf of my thesis

    b) Shows article.cls as available

    c) Enterprise is remaining in half (baked) working mode. Sees 
article.cls as available and can generate a pdf, but cannot generate 
thesis unless in admin mode (I literally just verified this)


2) Win 10 Pro

    a) run as administrator will generate article.cls

    b) showed article.cls as unavailable until run as administrator 
then it shows as available (with out "unavailable: " preceding it in 
Document->Settings


    c) Literately changed its behavior (possibly due to Dell or Windows 
update) within a day or days (2) to then working (it's current state) 
showing article.cls as available and generating the pdf without having 
to use Administrator mode.  I did not reinstall, update, or modify LyX 
or MikTeX in any way during this event.  Though I believe I may have 
installed a Dell update and possibly Windows updates.


    d) I have not tried to the the win 10 pro box to generate my Thesis 
as it requires addition of files in MikTex and LyX dirs.  I am curious 
to install my files to see if I can generate and whether or not I have 
to enter admin mode to do it.  Could there be a chance that the files I 
install require admin privileges? Sure, but this does not explain the 
article.cls issue.


Odd, strange, not normal... yes, but not impossible or even improbable 
it is happening.


Insanity Is Doing the Same Thing Over and Over Again and Expecting 
Different Results - Einstein


Einstein obviously never used a computer.  Updates, patches, fixes, 
rolling modifications, BIOS and boot roms, firmware updates... we can be 
doing literally  the same things (steps) when using the software, but 
quite literally the system is changing out from underneath us.  I expect 
different results it's only a matter of time.  I had an argument with a 
fellow software engineer regarding building software is like building, 
as building it can be designed and implemented cleanly,  he argued 

Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-17 Thread Jean-Marc Lasgouttes

Le 16/07/2019 à 19:29, Brian Davis a écrit :
Win 10 Enterprise box this morning still requires admin mode to generate 
pdf.  So at least there is stable insanity there.


In this case, does the miktex installation work without being admin? 
IOW, can you compile from command line a simple latex file like the 
following?


\documentclass{article}

\begin{document}
Hello World!
\end{document}


JMarc


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-17 Thread Jean-Marc Lasgouttes

Le 17/07/2019 à 14:00, Kees Zeelenberg a écrit :
I have been using MikTeX for over 15 years (with LyX for over 10 years), 
and have never experienced such an automatic update that some have 
ascribed to it. To make sure, I have checked on the MikTeX issue 
tracker, with the following outcome. A user can configure MikTeX to 
install on the fly LaTeX-packages that are required by his/her document. 
But MikTeX does never update automatically its executables or packages 
that have previously been installed; this has to be done manually 
through the MikTeX console. 
(https://github.com/MiKTeX/miktex/issues/342#issuecomment-512218341)


In the past LyX was available in a bundle with MikTeX. During install, 
the LyX-installer did update MikTeX; so it was not MikTeX, but the 
LyX-installer that did the update, and caused problems.


I checked the relevant bug report that concerned LyX to refresh my 
memory, and you are right indeed. MikTeX did break itself in a non easy 
to fix way, but it was because the update was triggered by our installer.

https://github.com/MiKTeX/miktex/issues/82

JMarc



Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-17 Thread Baris Erkus
On 17-Jul-19 3:00 PM, Kees Zeelenberg wrote:
> Op 14-07-19 om 19:20 schreef Richard Kimberly Heck:
>> On 7/14/19 12:26 PM, Brian Davis wrote:
>>
>> without more information. But contrary to what someone said here, MikTeX
>> has an annoying habit of updating itself in the background and breaking
>> things. We've seen it time and time again. The list archives are full of
>> such problems.
>
> I have been using MikTeX for over 15 years (with LyX for over 10 
> years), and have never experienced such an automatic update that some 
> have ascribed to it. To make sure, I have checked on the MikTeX issue 
> tracker, with the following outcome. A user can configure MikTeX to 
> install on the fly LaTeX-packages that are required by his/her 
> document. But MikTeX does never update automatically its executables 
> or packages that have previously been installed; this has to be done 
> manually through the MikTeX console. 
> (https://github.com/MiKTeX/miktex/issues/342#issuecomment-512218341)
>
> In the past LyX was available in a bundle with MikTeX. During install, 
> the LyX-installer did update MikTeX; so it was not MikTeX, but the 
> LyX-installer that did the update, and caused problems.
>
>
+1

-- 
↓↓
Please bottom-post. Start your reply here:



Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-17 Thread Kees Zeelenberg

Op 14-07-19 om 19:20 schreef Richard Kimberly Heck:

On 7/14/19 12:26 PM, Brian Davis wrote:

without more information. But contrary to what someone said here, MikTeX
has an annoying habit of updating itself in the background and breaking
things. We've seen it time and time again. The list archives are full of
such problems.


I have been using MikTeX for over 15 years (with LyX for over 10 years), 
and have never experienced such an automatic update that some have 
ascribed to it. To make sure, I have checked on the MikTeX issue 
tracker, with the following outcome. A user can configure MikTeX to 
install on the fly LaTeX-packages that are required by his/her document. 
But MikTeX does never update automatically its executables or packages 
that have previously been installed; this has to be done manually 
through the MikTeX console. 
(https://github.com/MiKTeX/miktex/issues/342#issuecomment-512218341)


In the past LyX was available in a bundle with MikTeX. During install, 
the LyX-installer did update MikTeX; so it was not MikTeX, but the 
LyX-installer that did the update, and caused problems.





Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-16 Thread Baris Erkus

On 16-Jul-19 8:29 PM, Brian Davis wrote:
Win 10 Enterprise box this morning still requires admin mode to generate pdf.  
So at least there is stable insanity there.
stable insanity: this one of the best quotes ever. I hope you problems are 
solved before it get to unstable+chaotic insanity... Good Luck!

--
↓↓
Please bottom-post. Start your reply here:


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-16 Thread Brian Davis
User directory: ~\AppData\Roaming\LyX2.3\
>
> Did you check permissions on this directory?
>
Permissions were same on the directory.


> Is it the same user directory whether you run it in administrator mode or
> not?
>
Another trick question? On windows my understanding is ~ is current user
which would remain same user in this case bdavis as Windows does not switch
to Administrator, but only elevates the privileges of current user to
Administrator.  The permissions on the directory do no change as it is the
same directory and permissions do not change on a directory just by
becoming Adminstrator... err well provided the software is actually using
that directory is it?  On Linux I would assume ~ would switch to root.

> Was MikTeX installed for one user or for all users?
>
I always install for all users.


> Same question for LyX. A mismatch between those could cause a problem.
>
Again same. I always install for all users.


Strangely on Win 10 Pro box this morning LyX no longer requires me to run
in Administrator mode to have article.cls show up as available.   Something
is changing out from under the hood on Windows/LyX/MikTeX combo to the
point it could mess with a persons sanity.  A Dell update may have been
applied.

This is one of the most bizarre user experiences I have had.  It's like
owning one of those cars where the insulation of the wires are made from
soybeans and squirrels get all up in under the hood to create havoc chewing
on the wires or like the cars with CAN network issues requiring the use of
the left turn signal to roll down the right rear passenger window.

Win 10 Enterprise box this morning still requires admin mode to generate
pdf.  So at least there is stable insanity there.


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-14 Thread Richard Kimberly Heck
On 7/14/19 3:46 PM, Brian Davis wrote:
>
>
> On Sun, Jul 14, 2019 at 12:22 PM Richard Kimberly Heck
> mailto:rikih...@lyx.org>> wrote:
>
> On 7/14/19 1:10 PM, Brian Davis wrote:
> >
> > I checked the Windows 10 Pro box and ran LyX in:
> >
> > non administrator mode and it reported: "Unavailable" for
> Article.cls
> > administrator mode and it reported Article.cls as available.
>
> Can you check what the user directory is in these two cases? You can
> find that under Help> About LyX. Also check the permissions on that
> directory. Configuration will fail if LyX cannot write to that
> directory.
>
> Riki
>
>
>
> Win 10 Pro box:
>
> LyX Version 2.3.3
>
> (Monday, June 10, 2019)
>
> Library directory: C:\Program Files (x86)\LyX 2.3\Resources\
>
> User directory: ~\AppData\Roaming\LyX2.3\
>
Did you check permissions on this directory? Is it the same user
directory whether you run it in administrator mode or not?

Was MikTeX installed for one user or for all users? Same question for
LyX. A mismatch between those could cause a problem.

Riki




Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-14 Thread Jean-Marc Lasgouttes

Le 14/07/2019 à 20:46, Brian Davis a écrit :
I have had a great deal of experience in trying to convince developers 
of problems.  It is not sarcasm, just statement of fact.  Devs do not 
believe me until I prove it to them or they experience for themselves.


Let's cut to the core of the issue : we have presumably many Windows 
users, but no developer who principally uses windows. We know about the 
problem and are trying to attract some (Jürgen WS, are you readning this ;).


Besides this, I would say that this days the team is composed of 10 
people, who have a variable amount of time to spend for LyX; We can add 
to that 2 or 3 non programmers really committed to help (and who do help).


So, while we do have automated testing to check that code compiles, that 
document import/export works in as many situations as possible, while we 
do run our code though static analysis code to detect bugs, there are 
holes in the racket.


One of this holes is being able to help users when some particular 
situation makes his/her box behave differently from others. And, yes, on 
this front we are pretty much in reactive mode. This is all we can afford.


That's understandable.  Something they might do say if the followed my 
"Schorched Earth" instructions on a Win 10 box with latest updates.  Or 
if they were performing test cases as Win 10 and MikTeX updates rolled 
out.  Likely people do not believe me as my street cred on the internet 
super highway is below some threshold as determined by some AI deep 
inside the bowels of AWS.


It did not cross my mind that people do not believe you. The issue is 
more that your system does not work like other systems work, and we need 
to see what is the point that is different. The fact that you see this 
issue on many different systems where you install suggest to 
possibilities to me:
1/ there is something special at you site (network drives, weird 
proxies, whatever) that lead to the issue

2/ you install in a creative way that does not work

Either way, we have to determine what the actual problem is in order to 
fix it.


JMarc


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-14 Thread Brian Davis
On Sun, Jul 14, 2019 at 12:22 PM Richard Kimberly Heck 
wrote:

> On 7/14/19 1:10 PM, Brian Davis wrote:
> >
> > I checked the Windows 10 Pro box and ran LyX in:
> >
> > non administrator mode and it reported: "Unavailable" for Article.cls
> > administrator mode and it reported Article.cls as available.
>
> Can you check what the user directory is in these two cases? You can
> find that under Help> About LyX. Also check the permissions on that
> directory. Configuration will fail if LyX cannot write to that directory.
>
> Riki
>
>
>
Win 10 Pro box:

LyX Version 2.3.3

(Monday, June 10, 2019)


Library directory: C:\Program Files (x86)\LyX 2.3\Resources\

User directory: ~\AppData\Roaming\LyX2.3\

Qt Version (run-time): 5.11.3

Qt Version (compile-time): 5.11.3



Win Enterprise Box

LyX Version 2.3.2-2

(Sunday, December 30, 2018)


Library directory: C:\Program Files (x86)\LyX 2.3\Resources\

User directory: ~\AppData\Roaming\LyX2.3\

Qt Version (run-time): 5.10.1

Qt Version (compile-time): 5.10.1


Now you got me curious to upgrade the Win 10 Enterprise box to  2.3.3 and
latest MikTeX to see if I can completely break that one.   It is running
basic-miktex-2.9.7031-x64.exe confirmed via MikTeX Console.   It is working
on thesis in admin mode, but does show article.cls  as available in user
mode.  I am experiencing slightly different modes of brokenness between the
two as stated.  Advisors Enterprise box is unknown Versions at this time.


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-14 Thread Brian Davis
> > Any thoughts by Devs on if this is a real problem knowing that us
> > users can't be believed?
>
> What's with the sarcasm? It doesn't tend to get one help.
>
>
I have had a great deal of experience in trying to convince developers of
problems.  It is not sarcasm, just statement of fact.  Devs do not believe
me until I prove it to them or they experience for themselves.  That's
understandable.  Something they might do say if the followed my "Schorched
Earth" instructions on a Win 10 box with latest updates.  Or if they were
performing test cases as Win 10 and MikTeX updates rolled out.  Likely
people do not believe me as my street cred on the internet super highway is
below some threshold as determined by some AI deep inside the bowels of
AWS.  I don't take it personally... recommend do same with my comments.

Then I get I don't have access to a Win 10 box or we can't run test cases
for every potential unknown problem... I get that... alot.  How about for
known problems like say the ones in the list archives are full of, are
there test cases for these?  Are they run and tested... and looked at
before release?

Then in comes that LyX and MikTeX combo and variant use cases are too broad
and all cannot be tested... yep there is certainly a chaos tree fan-out on
the problem of all the ways it can be used and abused.

Yes the exact failure method is unknown. Maybe it is windows update,
possibly MikTeX update or install,  maybe LyX or installer not flipping
some bit to make Windows completely satisfied, could be gremlins, or
planetary alignment.

Say have you tried installing LyX (latest) and MikTeX (Latest) on Windows
10 Pro/Enterprise/Home (latest) and running the crazy use case of compiling
the default article.cls to see if it generates a PDF or article.cls
appearing as "Unavailable" like I have been reporting problems with?  Then
switching LyX to Admin mode as experiencing how it then works?

There is active problem detection and reactive bug detection.  Having just
installed latest on latest windows build I am sensing a reactive approach
to finding problems.  The argument could come... well how are we to know if
a new version of windows or MikTeX breaks the system.  Possible answer:
automated build and test continuous integration system.


> Anyway, yes, permission problems can be an issue on Windows, especially
> with MikTeX, which is part of why we have stopped bundling it with LyX
> itself.
>
>
Well that seemed to solve the permissions problem right?  sigh.  I used
these until the were no longer supported as I though they were more likely
to work as the combo must have been tested together.


> Obviously, if it was working and now isn't, then something changed.
> Whether that had to do with some update involving MikTeX is hard to say
> without more information. But contrary to what someone said here, MikTeX
> has an annoying habit of updating itself in the background and breaking
> things. We've seen it time and time again. The list archives are full of
> such problems.
>

Yes it was working and now it is not.  Likely as I stated due to some
windows update that rolled out best I can tell.

More information?  How about trying a fresh install of latest everything on
a Windows 10 box with all the updates?

I am running latest 1903 on win 10 box and again just checking if LyX can
see article.cls in Document->Settings causes problems.

Agreed on MikTeX

Are "list archive problems" transmogrified into test cases?


>
> It could be something else, too, involving Windows itself. Again, hard
> to know without more information, but one possibility is that the
> environment in which LyX is being run is somehow wrong. We've seen cases
> in which it works when launched from a terminal, but not when launched
> via the icon.
>
>
One could argue that Windows 10 is a wrong environment by definition ;-) ,
but seriously I do think it appears to be win 10 updates breaking LyX and
MikTeX interaction again best I can tell.  That's not meant to imply that
LyX has a problem, but rather the carpet got swiped out from underneath it
by Windows changing or now enforcing permissions or possibly changes by
MikTeX.

I have a work around and I am continuing on with that.  Debugging my
systems via email I would think would be a horribly inefficient way of
finding the problem vs just checking out latest builds on an up-to-date Win
10 box (or VM) of your choosing and seeing if what I am saying is
happening.  There appears at least one other person in this thread to is
experiencing same as I am. We cannot be, for long, isolated cases.


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-14 Thread Richard Kimberly Heck
On 7/14/19 1:10 PM, Brian Davis wrote:
>
> I checked the Windows 10 Pro box and ran LyX in:
>
> non administrator mode and it reported: "Unavailable" for Article.cls
> administrator mode and it reported Article.cls as available.

Can you check what the user directory is in these two cases? You can
find that under Help> About LyX. Also check the permissions on that
directory. Configuration will fail if LyX cannot write to that directory.

Riki




Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-14 Thread Richard Kimberly Heck
On 7/14/19 12:26 PM, Brian Davis wrote:
> Having an epiphany this morning, after a third cup of coffee with the
> grounds at the bottom (the stiff stuff).  I thought what if I try
> running LyX in administrator mode?
>
> I switched back to the Win 10 Enterprise with my UW thesis because
> ultimately that is what I need to get working.  I did try rolling back
> to 5 various versions on the thesis using git and this failed for
> every previous version I tried... versions I am certain worked on the
> version of LyX and MikTeX that have not changed on the  machine.  
> Then I ran LyX in administrator mode and compiled exact version that
> previously failed and it worked (with errors as typical) and showed
> the dialog with "Show Output Anyway" which once clicked as before now
> shows the pdf again.
>
> I think there is a very real problem on Win 10 Pro, Win 10 Enterprise
> of permissions between LyX and MikTeX. 
>
> But hey at least as administrator I can get my Thesis to be generated. 
>
> Any thoughts by Devs on if this is a real problem knowing that us
> users can't be believed?

What's with the sarcasm? It doesn't tend to get one help.

Anyway, yes, permission problems can be an issue on Windows, especially
with MikTeX, which is part of why we have stopped bundling it with LyX
itself.

Obviously, if it was working and now isn't, then something changed.
Whether that had to do with some update involving MikTeX is hard to say
without more information. But contrary to what someone said here, MikTeX
has an annoying habit of updating itself in the background and breaking
things. We've seen it time and time again. The list archives are full of
such problems.

It could be something else, too, involving Windows itself. Again, hard
to know without more information, but one possibility is that the
environment in which LyX is being run is somehow wrong. We've seen cases
in which it works when launched from a terminal, but not when launched
via the icon.

Riki




Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-14 Thread Brian Davis
I checked the Windows 10 Pro box and ran LyX in:

non administrator mode and it reported: "Unavailable" for Article.cls
administrator mode and it reported Article.cls as available.

Something fishy is going on in Windows 10 privileges and folder access
between LyX and MikTeX.


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-14 Thread Brian Davis
@Andrew Parsloe

---
When you reinstalled LyX did you retain your preferences? If so, then try
renaming the file

C:\Users\\AppData\Roaming\LyX2.3

to (say)

C:\Users\\AppData\Roaming\LyX2.3old


and then start LyX. This will create a pristine LyX2.3 folder and
subdirectories.
See if that cures the article.cls problem. I've had occasions when
something has gone wrong in my preferences file and this has done the
trick. If it does solve the problem, then copy back the subdirectories one
by one from LyX2.3old to the new LyX2.3 and start LyX after each copy to
see when the problem re-emerges.
---


Yes specifically:

Zip Lyx user dir stuff in AppData
Uninstall LyX with check box to remove all user data

I did think of that one.

Note that I may have recently figured out that it is a Win 10
Pro/Enterprise and possibly Home (though I cannot verify) permissions
change between folders on Win 10 like between MikTeX and LyX dirs.

Running LyX in Administrator mode now allows me to generate PDF on the Win
10 Enterprise Machine... I will now try the trick on the Win 10 Pro box.


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-14 Thread Brian Davis
Having an epiphany this morning, after a third cup of coffee with the
grounds at the bottom (the stiff stuff).  I thought what if I try running
LyX in administrator mode?

I switched back to the Win 10 Enterprise with my UW thesis because
ultimately that is what I need to get working.  I did try rolling back to 5
various versions on the thesis using git and this failed for every previous
version I tried... versions I am certain worked on the version of LyX and
MikTeX that have not changed on the  machine.   Then I ran LyX in
administrator mode and compiled exact version that previously failed and it
worked (with errors as typical) and showed the dialog with "Show Output
Anyway" which once clicked as before now shows the pdf again.

I think there is a very real problem on Win 10 Pro, Win 10 Enterprise of
permissions between LyX and MikTeX.

But hey at least as administrator I can get my Thesis to be generated.

Any thoughts by Devs on if this is a real problem knowing that us users
can't be believed?


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Andrew Parsloe



On 14/07/2019 5:57 AM, Brian Davis wrote:

Performing operation scorched earth (a play by play):

Zip Lyx user dir stuff in AppData
Uninstall MikTeX
Laugh at MikTex Uninstall
Delete cruft MikTeX leaves behind in C:\Program Files (x86)
Uninstall LyX with check box to remove all user data

Reboot machine.

Install MikTex basic-miktex-2.9.7100-x64.exe
Select Letter
Select Auto install dependencies
Click through

Install LyX LyX-233-Installer-1.exe
Click through
Wait for MikTex LyX to check and download any packages.
Watch paint dry
Count the popcorn on the ceiling
Contemplate the meaning of life
Could we detect life on exoplanets by looking near atmosphere for 
space junk... h?  One persons junk is another persons treasure.

LyX/MikTex still spinning.
Could coronal mass ejections (CME) (millions of tons of matter) be 
redirected towards earth or moon using magneto hydrodynamics and a 
series of satellites  to create the largest 3D Universal (as in solar 
system)  Printer in the universe? Possibly even separate the matter 
stream for various matter types?   Say space mining on steroids?  Hmm 
lets submit that question to GSFC public portal done.

Hey LyX is done installing
Finally
Check Launch LyX

Open my test.lyx
Check for document creation using eyes icon to generate pdf.
Works
Check Document -> Settings
Document Class reads: Unavailable: Article (Standard Class)

Wait... what ... How can it generate a pdf if the cls file cannot be 
found by LyX.

At least now it is generating the pdf file, but how?
What da h#!!?
I even switched the document class to another unavailable Article 
class the one with Extra Font Sizes and received an error about not 
being able to compile the document t yada... yada ...yada and IT STILL 
COMPILES AND GENERATES A PDF... What is going on?


Do I need to post a YouTube vid on this bizarro experience?

I am thoroughly confused.

When you reinstalled LyX did you retain your preferences? If so, then 
try renaming the file


C:\Users\\AppData\Roaming\LyX2.3

to (say)

C:\Users\\AppData\Roaming\LyX2.3old

and then start LyX. This will create a pristine LyX2.3 folder and 
subdirectories. See if that cures the article.cls problem. I've had 
occasions when something has gone wrong in my preferences file and this 
has done the trick. If it does solve the problem, then copy back the 
subdirectories one by one from LyX2.3old to the new LyX2.3 and start LyX 
after each copy to see when the problem re-emerges.


Andrew





Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Brian Davis
Ok I know bottom post, but think I need to inline comment on this


> OK. Here is the thing:
>
> I had similar experiences on my students PCs. The problem maybe related to
> Windows+Miktex as follows:
>
> In the past year Microsoft did some changes to the administrative and
> security bits of Windows.  I do not exactly what it is, but we are
> observing it.
>
> Parallel to these changes in the OS, we also observe how programs such as
> MikTex, SourceTree, VS Code and etc. change their way of installing on the
> PC.
>
Yes this has been my thought as well as possibly install of LyX in
C:\Programs ... and MikTeX in C:\Programs ... where LyX cannot see into
MikTeX possibly with windows updates rolling in.


> My understanding is that programs are installed either for all users or
> for the current user only. If the program is installed for all users, it is
> located under the Program Files folder or a folder you select. If it is
> installed only for one user, it is installed to somewhere under
> C:\Users\*username*\AppData\.
>
I installed both LyX and MikTeX for All Users.



> Depending on where it is installed LyX may have difficulty to access
> properly to MikTeX, even if you may have your files installed properly.
>

Yes!!! This seems like the issue where LyX says it cannot see article.cls
as "Unavailable"  can now generate it when it sends command to MikTeX to
generate after my scorched earth reinstall on Win 10 Pro box.

This is also related to the Windows version you have. I observed these
> problems a lot on Windows 10 home-type, single language kind-of version. My
> students have laptops that come with a preinstalled Windows 10, and this
> version of Windows 10 is not generally a professional version.
>

Personal laptop is Windows 10 Professional now with latest 1903 and
updates.  I upgraded win 10 pro box hoping it would help, it did not.
School laptop is Windows 10 Enterprise image from the school.
Advisor computer is ??, but if managed by school likely Win 10 Enterprise
as well.



> I did not have these issues on my PC, which I have a Windows 10 comes from
> the university and it is professional/enterprise type version.
>
This has been my experience too with Win 10 Enterprise machines working
*mostly* minus the withesis on Advisors laptop and now on my School
laptop.  However I am going to commit my thesis into git roll back and see
if it works with prior version as it could be the convergence of two
problems.  1) Issue described above regarding various flavors of win 10
(Professional versions having issues) and 2) could be something in LyX /
LaTeX stuff being sent to MikTeX causing it to spin to infinity (on Win 10
Enterprise).  I have had this problem on Windows 10 Professional so I can
attest that is likely Win 10 Enterprise that is partially immune for
now!


> So the problem may be related to this. This sort of problem is generally
> fixable. Even it the problem is due to some other issue, It is worth to try
> it some fixes. Here is my suggestion:
>
> *On one of the PCs that you are flexible to try, uninstall all MikTex and
> LyX. Remove all files under the user folders as well. MikTeX put some files
> under C:\Users\*username*\AppData\Local\. LyX puts some files under
> C:\Users\*username*\AppData\Roaming\
>
Ok I did something similar in my Scorched Earth post where I checked the
box to have LyX remove the files in AppData removing my user settings and
custom layout files.


> *Create a new user from Windows. Give full admin privileges to that user.
> Make sure the user name is a single word without spaces. The folder under
> the C:\User for this new account should be single word.
>

Yes my current user is 1 word and and has admin.


> *Login to the new account.
>
> *Start MikTeX setup with right-click "Run as Administrator"
>
Installs always switch to Administrator mode, but I can try the uber
paranoid approach ;-)


> * Install MikTeX to a folder under C:\ or to the root of another drive,
> but not to C:\program files.
>
Ok will try this.


> * Install MikTeX **for all users** --not for a single user-- (very
> important)
>
I always do this.

> * Select the option of install packages on the fly.
>
Yep check.  I always do this as the alternative is not really an option.

> * Highly recommended: install all packages right after the first setup.
> This may take couple of hours.
>

My connection is better than carrier pigeons, but not by much.  More like a
carrier fleet of carrier pigeons all working in unison.


> * Refresh file name database, refresh font maps and update package list.
>
Yes I have done this before


> * If you have a custom class file (e.g. your thesis class file), create a
> localtexmf folder under C:\ and place the custom class files to
> C:\localtexmf\tex\latex\ folder
>

I have not been doing this with my thesis as yet, but have in past as I
have been trying to figure out the article.cls problem, but if it is a
Windows access problem then I can try to continue on.



Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Jean-Marc Lasgouttes

Le 13/07/2019 à 21:05, Brian Davis a écrit :
I tried again to get it to work on my advisors computer this Wednesday 
and failed with same error as I am now seeing on my other two laptops, 
though with varying degrees.


So uhhh yeah you could say I am in a hurry for my thesis at least so I 
can start revisions with my Advisor.


Could LyX be reporting Unavailable when in reality the cls and deps are 
there?  Is this a bug in LyX?


I do not know, do you have a particular setup? This stuff has been 
working for some time. LyX does not check by itself that the files are 
there, it asks LaTeX whether they can be found. So you may be seeing a 
MikTex issue.


You could try to install texlive instead of MikTex, as is officially 
advised these days. Texlive does not have the 'interesting' auto update 
feature that makes life with MikTex more 'lively'.


Good luck,
JMarc


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Brian Davis
>From Baris Erkus

-
Hello, I am following your post and would like to help. I am swamped with a
paper now, are you in hurry for your thesis?
-- 
↓↓
Please bottom-post. Start your reply here:

-

Is that a trick question?

Ok let me frame this.  My advisor has been wanting to see my Thesis for the
past month.  Which I shared through Box and requires syncing to his
computer.  After installing LyX MikTeX a couple of months ago only and
writing a step by step guide to install MikTeX, LyX, and necessary
UW-Madtown withesis to find it not working when we actually tried it.  I
upgraded all the machines to Latest MikTeX and LyX. I then had to update
all the howto docs and get it to work on his computer.  Time then passes
due to 4th.  One machine works(sort of)/worked and it now works for
article.cls as a test, but not when generating the thesis.  It did work.
My personal laptop did not work for article.cls as a test but after
uninstall/reinstall a article.cls dependent .lyx file will generate.  See
prior "Scorched Earth" post. However...  get this LyX still reports it as
Unavailable in Document -> Settings.  The School computer (not Advisors
computer)  reports article.cls as there and can generate.  When using
withesis which did work piror (a couple of weeks ago) no longer compiles
and times out with spinning wheel at bottom of LyX and error screens to
confine and ultimately unable to generate using pdflatex.  I also have my
Thesis tracked in git and will commit an roll back to see if School
machine, the machine that has been most successful of late, can create the
pdf.

I tried again to get it to work on my advisors computer this Wednesday and
failed with same error as I am now seeing on my other two laptops, though
with varying degrees.

So uhhh yeah you could say I am in a hurry for my thesis at least so I can
start revisions with my Advisor.

Could LyX be reporting Unavailable when in reality the cls and deps are
there?  Is this a bug in LyX?


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Brian Davis
>From Andrew:
-
l3backend was the only missing package I was aware of. There are various MiKTeX
log files available. You need to dig deep to find them. On my system
they're at

C:\Users\Andrew\AppData\Local\MiKTeX\2.9\miktex\log


See which ones are getting added to when you try to run LyX (sort them by
date/time)
-

I am the embodiment of the digital age frogman.  Digging deep is what I
do.  Parse it, hex edit, sed, grep, and awk, compile, decompile, debug, and
log...

bit@bitbucket MINGW64 ~/AppData/Local/MiKTeX/2.9/miktex/log
$ ls -rt * | xargs grep  cls
kpsewhich.log:2019-07-13 11:32:46,821-0500 INFO  kpsewhich - starting with
command line: kpsewhich.exe article.cls
latex.log:2017-11-15 13:33:53,532-0600 INFO  latex - installing package
ieeetran triggered by tex\latex\ieeetran\IEEEtran.cls
latex.log:2017-11-15 13:34:00,298-0600 INFO  latex - installing package
a0poster triggered by tex\latex\a0poster\a0poster.cls
latex.log:2017-11-15 13:34:03,097-0600 INFO  latex - installing package
aastex triggered by tex\latex\aastex\aastex6.cls
latex.log:2017-11-15 13:34:10,346-0600 INFO  latex - installing package
achemso triggered by tex\latex\achemso\achemso.cls
latex.log:2017-11-15 13:34:28,377-0600 INFO  latex - installing package
aguplus triggered by tex\latex\aguplus\aguplus.cls
latex.log:2017-11-15 13:34:31,743-0600 INFO  latex - installing package
apa6 triggered by tex\latex\apa6\apa6.cls
latex.log:2017-11-15 13:34:41,925-0600 INFO  latex - installing package apa
triggered by tex\latex\apa\apa.cls
latex.log:2017-11-15 13:34:44,424-0600 INFO  latex - installing package
arabtex triggered by tex\latex\arabtex\arabart.cls
latex.log:2017-11-15 13:35:05,887-0600 INFO  latex - installing package
ctex triggered by tex\latex\ctex\ctexart.cls
latex.log:2017-11-15 13:35:16,936-0600 INFO  latex - installing package
dinbrief triggered by tex\latex\dinbrief\dinbrief.cls
latex.log:2017-11-15 13:35:23,718-0600 INFO  latex - installing package dtk
triggered by tex\latex\dtk\dtk.cls
latex.log:2017-11-15 13:35:36,352-0600 INFO  latex - installing package
elsarticle triggered by tex\latex\elsarticle\elsarticle.cls
latex.log:2017-11-15 13:35:39,934-0600 INFO  latex - installing package
elsevier triggered by tex\latex\elsevier\elsart.cls
latex.log:2017-11-15 13:35:43,356-0600 INFO  latex - installing package
europasscv triggered by tex\latex\europasscv\europasscv.cls
latex.log:2017-11-15 13:35:59,061-0600 INFO  latex - installing package
europecv triggered by tex\latex\europecv\europecv.cls
latex.log:2017-11-15 13:36:09,248-0600 INFO  latex - installing package
extsizes triggered by tex\latex\extsizes\extarticle.cls
latex.log:2017-11-15 13:36:11,701-0600 INFO  latex - installing package
frletter triggered by tex\latex\frletter\frletter.cls
latex.log:2017-11-15 13:36:13,764-0600 INFO  latex - installing package
g-brief triggered by tex\latex\g-brief\g-brief2.cls
latex.log:2017-11-15 13:36:16,498-0600 INFO  latex - installing package
platex triggered by tex\platex\base\jarticle.cls
latex.log:2017-11-15 13:36:23,716-0600 INFO  latex - installing package
jsclasses triggered by tex\platex\jsclasses\jsarticle.cls
latex.log:2017-11-15 13:36:34,419-0600 INFO  latex - installing package
kluwer triggered by tex\latex\kluwer\kluwer.cls
latex.log:2017-11-15 13:36:37,278-0600 INFO  latex - installing package
lettre triggered by tex\latex\lettre\lettre.cls
latex.log:2017-11-15 13:36:41,169-0600 INFO  latex - installing package
tugboat triggered by tex\latex\tugboat\ltugboat.cls
latex.log:2017-11-15 13:36:44,872-0600 INFO  latex - installing package
memoir triggered by tex\latex\memoir\memoir.cls
latex.log:2017-11-15 13:36:53,574-0600 INFO  latex - installing package
moderncv triggered by tex\latex\moderncv\moderncv.cls
latex.log:2017-11-15 13:37:11,808-0600 INFO  latex - installing package
mwcls triggered by tex\latex\mwcls\mwart.cls
latex.log:2017-11-15 13:37:11,933-0600 INFO  latex - mpm: downloading
ftp://ftp.fernuni-hagen.de/pub/mirrors/www.ctan.org/systems/win32/miktex/tm/packages/mwcls.tar.lzma.
..
latex.log:2017-11-15 13:37:13,745-0600 INFO  latex - mpm: extracting files
from mwcls.tar.lzma...
latex.log:2017-11-15 13:37:15,823-0600 INFO  latex - installing package
paper triggered by tex\latex\paper\paper.cls
latex.log:2017-11-15 13:37:19,948-0600 INFO  latex - installing package
powerdot triggered by tex\latex\powerdot\powerdot.cls
latex.log:2017-11-15 13:37:27,557-0600 INFO  latex - installing package
koma-script triggered by tex\latex\koma-script\scrbook.cls
latex.log:2017-11-15 13:37:49,087-0600 INFO  latex - installing package
revtex triggered by tex\latex\revtex\revtex4-1.cls
latex.log:2017-11-15 13:38:01,604-0600 INFO  latex - installing package
revtex4 triggered by tex\latex\revtex4\revtex4.cls
latex.log:2017-11-15 13:38:05,573-0600 INFO  latex - installing package
sciposter triggered by tex\latex\sciposter\sciposter.cls
latex.log:2017-11-15 13:38:08,683-0600 INFO  latex - installing package
seminar triggered by 

Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Baris Erkus
On 13-Jul-19 8:57 PM, Brian Davis wrote:
> Performing operation scorched earth (a play by play):
>
> Zip Lyx user dir stuff in AppData
> Uninstall MikTeX
> Laugh at MikTex Uninstall
> Delete cruft MikTeX leaves behind in C:\Program Files (x86)
> Uninstall LyX with check box to remove all user data
>
> Reboot machine.
>
> Install MikTex basic-miktex-2.9.7100-x64.exe
> Select Letter
> Select Auto install dependencies
> Click through
>
> Install LyX LyX-233-Installer-1.exe
> Click through
> Wait for MikTex LyX to check and download any packages.
> Watch paint dry
> Count the popcorn on the ceiling
> Contemplate the meaning of life
> Could we detect life on exoplanets by looking near atmosphere for 
> space junk... h?  One persons junk is another persons treasure.
> LyX/MikTex still spinning.
> Could coronal mass ejections (CME) (millions of tons of matter) be 
> redirected towards earth or moon using magneto hydrodynamics and a 
> series of satellites  to create the largest 3D Universal (as in solar 
> system)  Printer in the universe? Possibly even separate the matter 
> stream for various matter types?   Say space mining on steroids?  Hmm 
> lets submit that question to GSFC public portal done.
> Hey LyX is done installing
> Finally
> Check Launch LyX
>
> Open my test.lyx
> Check for document creation using eyes icon to generate pdf.
> Works
> Check Document -> Settings
> Document Class reads: Unavailable: Article (Standard Class)
>
> Wait... what ... How can it generate a pdf if the cls file cannot be 
> found by LyX.
> At least now it is generating the pdf file, but how?
> What da h#!!?
> I even switched the document class to another unavailable Article 
> class the one with Extra Font Sizes and received an error about not 
> being able to compile the document t yada... yada ...yada and IT STILL 
> COMPILES AND GENERATES A PDF... What is going on?
>
> Do I need to post a YouTube vid on this bizarro experience?
>
> I am thoroughly confused.
>
Hello, I am following your post and would like to help. I am swamped with a 
paper now, are you in hurry for your thesis?
-- 
↓↓
Please bottom-post. Start your reply here:



Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Brian Davis
Performing operation scorched earth (a play by play):

Zip Lyx user dir stuff in AppData
Uninstall MikTeX
Laugh at MikTex Uninstall
Delete cruft MikTeX  leaves behind in C:\Program Files (x86)
Uninstall LyX with check box to remove all user data

Reboot machine.

Install MikTex basic-miktex-2.9.7100-x64.exe
Select Letter
Select Auto install dependencies
Click through

Install LyX LyX-233-Installer-1.exe
Click through
Wait for MikTex LyX to check and download any packages.
Watch paint dry
Count the popcorn on the ceiling
Contemplate the meaning of life
Could we detect life on exoplanets by looking near atmosphere for space
junk... h?  One persons junk is another persons treasure.
LyX/MikTex still spinning.
Could coronal mass ejections (CME) (millions of tons of matter) be
redirected towards earth or moon using magneto hydrodynamics and a series
of satellites  to create the largest 3D Universal (as in solar system)
Printer in the universe? Possibly even separate the matter stream for
various matter types?   Say space mining on steroids?  Hmm lets submit that
question to GSFC public portal done.
Hey LyX is done installing
Finally
Check Launch LyX

Open my test.lyx
Check for document creation using eyes icon to generate pdf.
Works
Check Document -> Settings
Document Class reads: Unavailable: Article (Standard Class)

Wait... what ... How can it generate a pdf if the cls file cannot be found
by LyX.
At least now it is generating the pdf file, but how?
What da h#!!?
I even switched the document class to another unavailable Article class the
one with Extra Font Sizes and received an error about not being able to
compile the document t yada... yada ...yada and IT STILL COMPILES AND
GENERATES A PDF... What is going on?

Do I need to post a YouTube vid on this bizarro experience?

I am thoroughly confused.


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Brian Davis



MikTeX comes with its own kpsewhich. You may check whether MikTeX can 
find e.g. article.cls by giving the command (in a command prompt 
window): kpsewhich article.cls


Kees



As suspected MikTeX sees it

c:\Program Files (x86)\MiKTeX 2.9\miktex\bin>kpsewhich.exe article.cls
kpsewhich: warning: running with administrator privileges
C:/Program Files (x86)/MiKTeX 2.9/tex/latex/base/article.cls

LyX not so much

How to check if LyX is "Reconfigured" correctly?

I have never been here with LyX and MikTeX which I am sure is some sort 
of right of passage that all must experience at some point, but it still 
beats Word in referencing, in line notes, equations, tables, figures, 
referencing, tables, figure refs, tables, and did I mention tables.  
Sigh... various versions of word could not even understand it's own 
table format over the years.  I checked the other machine that I said 
was working and it does for article.cls but not for withesis which is 
off UW website and I hacked it in with lyx layout.  The current machine 
I am on can't even find article.cls.  All good fun.  Anyone know of some 
good caves I can scratch my thesis on?







Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Kees Zeelenberg

Op 12-07-19 om 21:36 schreef Brian Davis:

@Andrew Parsloe

I tried installing I3backend and "Reconfigure" / Restart Lyx and no dice.

I also checked for article.cls and MikTeX states Itxbase is installed 
but LyX states it is still unavailable.


Any other packages? that you may have also installed?

Thx
B


MikTeX comes with its own kpsewhich. You may check whether MikTeX can 
find e.g. article.cls by giving the command (in a command prompt 
window): kpsewhich article.cls


Kees




Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-13 Thread Kees Zeelenberg

Op 12-07-19 om 19:29 schreef Richard Kimberly Heck:

On 7/12/19 11:07 AM, Pavel Sanda wrote:


Sounds like MikTeX updated packages in background :)

Sounds like an old and very sad story.

Riki


MikTeX never updates packages by itself (in the background); you must 
always do that actively yourself through the MikTeX console.


Kees



Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-12 Thread Andrew Parsloe

On 13/07/2019 7:36 AM, Brian Davis wrote:

@Andrew Parsloe

I tried installing I3backend and "Reconfigure" / Restart Lyx and no dice.

I also checked for article.cls and MikTeX states Itxbase is installed 
but LyX states it is still unavailable.


Any other packages? that you may have also installed?

Thx
B


l3backend was the only missing package I was aware of. There are various 
MiKTeX log files available. You need to dig deep to find them. On my 
system they're at


C:\Users\Andrew\AppData\Local\MiKTeX\2.9\miktex\log

See which ones are getting added to when you try to run LyX (sort them 
by date/time).


Andrew



Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-12 Thread Brian Davis
 @Andrew Parsloe

I tried installing I3backend and "Reconfigure" / Restart Lyx and no dice.

I also checked for article.cls and MikTeX states Itxbase is installed but
LyX states it is still unavailable.

Any other packages? that you may have also installed?

Thx
B


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-12 Thread Richard Kimberly Heck
On 7/12/19 11:07 AM, Pavel Sanda wrote:
> On Thu, Jul 11, 2019 at 06:21:51PM -0500, Brian Davis wrote:
>> How is it possible to have 3 working versions of LyX/MikTex on three
>> different computers (all Windows) and have them all break within a couple
>> of weeks without doing anything (except allowing Windows Updates)?
> Sounds like MikTeX updated packages in background :)

Sounds like an old and very sad story.

Riki




Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-12 Thread Brian Davis
On Thu, Jul 11, 2019 at 10:41 PM Baris Erkus wrote:

> On 12-Jul-19 2:21 AM, Brian Davis wrote:
>
> How is it possible to have 3 working versions of LyX/MikTex on three
> different computers (all Windows) and have them all break within a couple
> of weeks without doing anything (except allowing Windows Updates)?
>
> I have been receiving errors after latest windows updates on 3 different
> machines all were running successfully LyX and MikTex and stopped working
> out of the blue with the following type errors:
>
> The process latex icon bottom right just spins for minutes then:
>
> LyX: Stop command?
>
> The command pdflatex "test.txt" has not completed.
>
> Do you want to stop it?
>
> Stop it Let it run
>
> If Let it run:
>
> Does not matter which it will still fail either way.
>
> LyX: LaTeX failed:
>
> The external program
>
> pdflatex
>
> finished with an error. It is recommended you fix the cause of the
> external program's error (check the logs)
>
> And right about now I certainly wish LyX would make the error text boxes
> where the text can be copied an pasted into an email sigh.
>
> I currently upgraded to latest Lyx and MikTex and performed the typical
> LyX -> Reconfigure and restart Lyx only to still find Unavailable: Article
> (Standard Class) and still above errors as though LyX cannot find MikTex
> even though Tools->TeX Information finds .cls files in the MikTex 2.9
> directory in Program Files (x86)
>
> basic-miktex-2.9.7100-x64.exe
>
> LyX Version 2.3.3
>
> (Monday, June 10, 2019)
>
> Library directory: C:\Program Files (x86)\LyX 2.3\Resources\
>
> User directory: ~\AppData\Roaming\LyX2.3\
>
> Qt Version (run-time): 5.11.3
>
> Qt Version (compile-time): 5.11.3
>
> Anyone else experience this?
> It is super-awesome!
>
>
>
> I have latest version of Windows 10: 1903 and just yesterday there was a
> set of updates for 1903 itself. I have latest version of MikTeX, LaTex
> packages (updated just now) and LyX (2.3.3). LyX works just fine on my PC.
>
> If your problem is a matter of a missing package, I have to tell you that
> I have *full* install of LaTeX packages. I highly recommend to do that if
> you have enough space on your PC, since LyX uses many packages that you are
> now aware of. If they are not available in the current MikTeX installation,
> LyX will try to install them by itself. However, recent changes in the
> MikTeX setup (setup for a specific user and for the all users, allow on the
> fly installs or not and etc...) may cause issues installing these missing
> packages resulting LyX does not work properly. This happened to several of
> my students' LyX.
>
> Again, this is the case if you have missing packages. You problem may be
> very well related to another issue.
>
> --
> ↓↓
> Please bottom-post. Start your reply here:
>
>


So I found out it works on 1 of the three machines so 2 (on personal laptop
and other advisors laptop - you can imagine my frustration there) of 3 are
not working after having been working which I find very odd.  I am trying
to determine why it works on the one and not the other 2.

Ah yes the missing package... Lets just say I NEVER allow MikTex to Ask...
and ask... and ask and ask again and again and again for missing packages
as it becomes a full time job just to click the install button.  Not sure
why this is a "feature"  of MikTex.   So MikTex has free range to install
what it wants on the 1TB SSD primary disk.  Data I keep on the other 1TB
Mech disk so its got plenty of space.  Do you know if there is a disk hog
check box in MikTex or install world setting?

It does almost seem like LyX either cannot talk to MikTex, MikTex is
missing something like article class (never seen this before) and some
basics, or just runs off in the forest and times out after getting lost.
Where does LyX go and why does it need to be stooped or let it run (off in
the forest).  I am all for free range so if LyX wants to run... I let
it be free ... be free LyX.  sigh.

I checked MikTex for article class and it is found in:

C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls


Why would article.cls be in MikTex, but LyX reports "Unavailable: Article
(Standard Class)" in Document->Settings after repeated "Reconfigure" and
restarts of LyX?


Is there a way to start verifying what LyX can see.  I have looked at TeX
information and article.cls does not appear there even after
Tools->Reconfigure and restart LyX.  Should it.  Be nice if the TeX
Information was searchable not that I mind paging through 4 pgs of cls
files... programmers do know about search boxes these days right?  I would
settle for a lyx file generation like Help->LaTeX Configuration which I can
then search.  Or maybe a diagnostics lyx file showing all the broken bits.
Like maybe it could say... I (LyX) have tried to contact MikText N times
for 4 

Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-12 Thread Pavel Sanda
On Thu, Jul 11, 2019 at 06:21:51PM -0500, Brian Davis wrote:
> How is it possible to have 3 working versions of LyX/MikTex on three
> different computers (all Windows) and have them all break within a couple
> of weeks without doing anything (except allowing Windows Updates)?

Sounds like MikTeX updated packages in background :)
Pavel


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-11 Thread Andrew Parsloe

On 12/07/2019 11:21 AM, Brian Davis wrote:


How is it possible to have 3 working versions of LyX/MikTex on three 
different computers (all Windows) and have them all break within a 
couple of weeks without doing anything (except allowing Windows Updates)?


I have been receiving errors after latest windows updates on 3 
different machines all were running successfully LyX and MikTex and 
stopped working out of the blue with the following type errors:


The process latex icon bottom right just spins for minutes then:

LyX: Stop command?

The command pdflatex "test.txt" has not completed.

Do you want to stop it?

Stop it Let it run

If Let it run:

Does not matter which it will still fail either way.

LyX: LaTeX failed:

The external program

pdflatex

finished with an error. It is recommended you fix the cause of the 
external program's error (check the logs)


And right about now I certainly wish LyX would make the error text 
boxes where the text can be copied an pasted into an email sigh.


I currently upgraded to latest Lyx and MikTex and performed the 
typical LyX -> Reconfigure and restart Lyx only to still find 
Unavailable: Article (Standard Class) and still above errors as though 
LyX cannot find MikTex even though Tools->TeX Information finds .cls 
files in the MikTex 2.9 directory in Program Files (x86)


basic-miktex-2.9.7100-x64.exe

LyX Version 2.3.3

(Monday, June 10, 2019)

Library directory: C:\Program Files (x86)\LyX 2.3\Resources\

User directory: ~\AppData\Roaming\LyX2.3\

Qt Version (run-time): 5.11.3

Qt Version (compile-time): 5.11.3

Anyone else experience this?
It is super-awesome!


I'm running LyX 2.3.3  with MiKTeX 2.9 on windows 10 without problems. 
However, after a MiKTeX update a week (or two? -- memory fades) ago I 
had a problem compiling documents which previously compiled 
successfully. There was a pdflatex error, the little circling busy sign 
continuing endlessly. The problem was the absence of the LaTeX3 package 
l3backend which is a new package required for the working of expl3.sty 
which LyX requires. Check whether you have l3backend installed.


Andrew



Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-11 Thread Brian Davis
How is it possible to have 3 working versions of LyX/MikTex on three
different computers (all Windows) and have them all break within a couple
of weeks without doing anything (except allowing Windows Updates)?


I have been receiving errors after latest windows updates on 3 different
machines all were running successfully LyX and MikTex and stopped working
out of the blue with the following type errors:


The process latex icon bottom right just spins for minutes then:


LyX: Stop command?

The command pdflatex "test.txt" has not completed.

Do you want to stop it?

Stop it Let it run


If Let it run:



Does not matter which it will still fail either way.


LyX: LaTeX failed:

The external program

pdflatex

finished with an error. It is recommended you fix the cause of the external
program's error (check the logs)


And right about now I certainly wish LyX would make the error text boxes
where the text can be copied an pasted into an email sigh.



I currently upgraded to latest Lyx and MikTex and performed the typical LyX
-> Reconfigure and restart Lyx only to still find Unavailable: Article
(Standard Class) and still above errors as though LyX cannot find MikTex
even though Tools->TeX Information finds .cls files in the MikTex 2.9
directory in Program Files (x86)


basic-miktex-2.9.7100-x64.exe


LyX Version 2.3.3

(Monday, June 10, 2019)


Library directory: C:\Program Files (x86)\LyX 2.3\Resources\

User directory: ~\AppData\Roaming\LyX2.3\

Qt Version (run-time): 5.11.3

Qt Version (compile-time): 5.11.3


Anyone else experience this?
It is super-awesome!