Re: configure.py crashing with Python 3 [was: LyX v 2.3.x - severe Problems]

2019-08-20 Thread Richard Kimberly Heck
On 8/20/19 1:56 PM, Matthias Görlach wrote:
> Hi Riki,
>
> thank you for this analysis/hint - this was perfect for a "work around":
>
> 0) install python v 2.7.16 (well, will have to deal with things which
> require python 3.X)
> 1) deleted the LyX-2.3 directory (folder) from ~/Library/Application
> Support
> 2) mkdir of an empty Lyx-2.3 dir
> 3) cd into it
> 4) run python -tt
> /Applications/LyX.app/Contents/Resources/configure.py
> --with-version-suffix=-2.3
> --binary-dir=/Applications/LyX.app/Contents/MacOS/
> ==> 5) last lines of terminal output:
> ...
> +checking for package natbib [natbib]... yes
> +Inspection done.
> +Read the file doc/LaTeXConfig.lyx for more information.
>
>
> 6) low & behold: starting LyX 2.3 works fine - no error messages
> anymore (and my templates work again)
>
> Of course it will be better to eventually have LyX 2.3 working with
> the more recent python.

Thanks for confirming that this solves the problem. But yes, LyX is
supposed to work with Python 3, and obviously it does not at the moment.

We'll certainly want to test whatever changes we eventually make to
configure.py. I have created a bug report for this here:

https://www.lyx.org/trac/ticket/11642

If you add yourself (you may have to create an account) in the cc list,
you'll be notified as there are updates. It will be possible to test
this, simply by downloading the new configure.py script and running it
the same way.

Riki




Re: configure.py crashing with Python 3 [was: LyX v 2.3.x - severe Problems]

2019-08-20 Thread Matthias Görlach

Hi Riki,

thank you for this analysis/hint - this was perfect for a "work around":

0) install python v 2.7.16 (well, will have to deal with things which 
require python 3.X)

1) deleted the LyX-2.3 directory (folder) from ~/Library/Application Support
2) mkdir of an empty Lyx-2.3 dir
3) cd into it
4) run python -tt /Applications/LyX.app/Contents/Resources/configure.py 
--with-version-suffix=-2.3 
--binary-dir=/Applications/LyX.app/Contents/MacOS/

==> 5) last lines of terminal output:
...
+checking for package natbib [natbib]... yes
+Inspection done.
+Read the file doc/LaTeXConfig.lyx for more information.


6) low & behold: starting LyX 2.3 works fine - no error messages anymore 
(and my templates work again)


Of course it will be better to eventually have LyX 2.3 working with the 
more recent python.


Let me know if I should test this at some point.

Best

Matthias

On 19.08.19 22:42, Richard Kimberly Heck wrote:

On 8/19/19 4:16 PM, Matthias Görlach wrote:

Hi,

see below

On 19.08.19 22:02, Richard Kimberly Heck wrote:

On 8/19/19 2:41 PM, Matthias Görlach wrote:

To check another thing: there is an automatic upgrade in configure run.
Perhaps it copies some problematic contents from your 2.2 installation.
To circumvent this you may try these commands (no sudo please):
$ mkdir /tmp/LyX
$ cd /tmp/LyX
$ python -tt /Applications/LyX.app/Contents/Resources/configure.py 
--binary-dir=/Applications/LyX.app/Contents/MacOS/

My result (and config.log attached here)
ls -ltr
total 1088
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 ui
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 templates
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 scripts
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 layouts
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 kbd
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 images
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 examples
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 doc
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 clipart
-rw-r--r--  1 mago  staff  99 Aug 19 20:30 chklatex.ltx
-rw-r--r--  1 mago  staff 664 Aug 19 20:30 chklatex.log
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 bind
-rw-r--r--  1 mago  staff   19973 Aug 19 20:30 lyxrc.defaults
-rw-r--r--  1 mago  staff   36766 Aug 19 20:30 clsFiles.lst
-rw-r--r--  1 mago  staff  365181 Aug 19 20:30 styFiles.lst
-rw-r--r--  1 mago  staff   26300 Aug 19 20:30 bstFiles.lst
-rw-r--r--  1 mago  staff    4449 Aug 19 20:30 bibFiles.lst
-rw-r--r--  1 mago  staff 293 Aug 19 20:30 lyxmodules.lst
-rw-r--r--  1 mago  staff   37133 Aug 19 20:30 configure.log
-rw-r--r--  1 mago  staff  26 Aug 19 20:30 chkmodules.tex
-rw-r--r--  1 mago  staff   15685 Aug 19 20:30 cbxFiles.lst
-rw-r--r--  1 mago  staff   17136 Aug 19 20:30 bbxFiles.lst


The configure script looks to be crashing when it tries to process 
the first module file. The fact that chklatex.ltx and chkmodules.txt 
have not been removed indicate that, as does the suspiciously small 
size of your chkmodules.tex.


Can you run the command Stephan gave you from the terminal again, 
but this time copy and paste the end of the output? I'm wondering 
whether Python itself is issuing some kind of error message.



+checking list of modules...
/Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
Traceback (most recent call last):
  File "/Applications/LyX.app/Contents/Resources/configure.py", line 
1892, in 

    checkModulesConfig()
  File "/Applications/LyX.app/Contents/Resources/configure.py", line 
1511, in checkModulesConfig
    retval = processModuleFile(file, filename.encode('ascii'), 
bool_docbook)
  File "/Applications/LyX.app/Contents/Resources/configure.py", line 
1607, in processModuleFile

    % (modname, filename, desc, pkgs, req, excl, catgy))
TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'


Yes, well, there's the crash.

This particular line is from 576b94138. Jürgen?


Can you also check the python version you are using? Run python 
--version.



Python 3.3.7


Mostly, the point is that it's Python 3, though maybe the problem is 
specific to this version. As I said, though, I'm seeing a crash here 
with 3.7.4 that looks similar:


Traceback (most recent call last):
  File "/usr/local/share/lyx/configure.py", line 1896, in 
    ret = checkLatexConfig(lyx_check_config and LATEX != '', bool_docbook)
  File "/usr/local/share/lyx/configure.py", line 1379, in checkLatexConfig
    retval = processLayoutFile(file, bool_docbook)
  File "/usr/local/share/lyx/configure.py", line 1327, in 
processLayoutFile

    % (classname, opt, desc, avai, prereq))
TypeError: %b requires a bytes-like object, or an object that 
implements __bytes__, not 'str'


Mine comes from the same commit.

Riki




--
Matthias Görlach
Ebertstr. 4
07743 Jena

*49-0171 1988809



configure.py crashing with Python 3 [was: LyX v 2.3.x - severe Problems]

2019-08-19 Thread Richard Kimberly Heck
On 8/19/19 4:16 PM, Matthias Görlach wrote:
> Hi,
>
> see below
>
> On 19.08.19 22:02, Richard Kimberly Heck wrote:
>> On 8/19/19 2:41 PM, Matthias Görlach wrote:
>>>  
 To check another thing: there is an automatic upgrade in configure run.
 Perhaps it copies some problematic contents from your 2.2 installation.
 To circumvent this you may try these commands (no sudo please):
 $ mkdir /tmp/LyX
 $ cd /tmp/LyX
 $ python -tt /Applications/LyX.app/Contents/Resources/configure.py 
 --binary-dir=/Applications/LyX.app/Contents/MacOS/
>>> My result (and config.log attached here)
>>> ls -ltr
>>> total 1088
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 ui
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 templates
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 scripts
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 layouts
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 kbd
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 images
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 examples
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 doc
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 clipart
>>> -rw-r--r--  1 mago  staff  99 Aug 19 20:30 chklatex.ltx
>>> -rw-r--r--  1 mago  staff 664 Aug 19 20:30 chklatex.log
>>> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 bind
>>> -rw-r--r--  1 mago  staff   19973 Aug 19 20:30 lyxrc.defaults
>>> -rw-r--r--  1 mago  staff   36766 Aug 19 20:30 clsFiles.lst
>>> -rw-r--r--  1 mago  staff  365181 Aug 19 20:30 styFiles.lst
>>> -rw-r--r--  1 mago  staff   26300 Aug 19 20:30 bstFiles.lst
>>> -rw-r--r--  1 mago  staff    4449 Aug 19 20:30 bibFiles.lst
>>> -rw-r--r--  1 mago  staff 293 Aug 19 20:30 lyxmodules.lst
>>> -rw-r--r--  1 mago  staff   37133 Aug 19 20:30 configure.log
>>> -rw-r--r--  1 mago  staff  26 Aug 19 20:30 chkmodules.tex
>>> -rw-r--r--  1 mago  staff   15685 Aug 19 20:30 cbxFiles.lst
>>> -rw-r--r--  1 mago  staff   17136 Aug 19 20:30 bbxFiles.lst
>>
>> The configure script looks to be crashing when it tries to process
>> the first module file. The fact that chklatex.ltx and chkmodules.txt
>> have not been removed indicate that, as does the suspiciously small
>> size of your chkmodules.tex.
>>
>> Can you run the command Stephan gave you from the terminal again, but
>> this time copy and paste the end of the output? I'm wondering whether
>> Python itself is issuing some kind of error message.
>>
> +checking list of modules...
> /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
> Traceback (most recent call last):
>   File "/Applications/LyX.app/Contents/Resources/configure.py", line
> 1892, in 
>     checkModulesConfig()
>   File "/Applications/LyX.app/Contents/Resources/configure.py", line
> 1511, in checkModulesConfig
>     retval = processModuleFile(file, filename.encode('ascii'),
> bool_docbook)
>   File "/Applications/LyX.app/Contents/Resources/configure.py", line
> 1607, in processModuleFile
>     % (modname, filename, desc, pkgs, req, excl, catgy))
> TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'

Yes, well, there's the crash.

This particular line is from 576b94138. Jürgen?


>> Can you also check the python version you are using? Run python
>> --version.
>>
> Python 3.3.7

Mostly, the point is that it's Python 3, though maybe the problem is
specific to this version. As I said, though, I'm seeing a crash here
with 3.7.4 that looks similar:

Traceback (most recent call last):
  File "/usr/local/share/lyx/configure.py", line 1896, in 
    ret = checkLatexConfig(lyx_check_config and LATEX != '', bool_docbook)
  File "/usr/local/share/lyx/configure.py", line 1379, in checkLatexConfig
    retval = processLayoutFile(file, bool_docbook)
  File "/usr/local/share/lyx/configure.py", line 1327, in processLayoutFile
    % (classname, opt, desc, avai, prereq))
TypeError: %b requires a bytes-like object, or an object that implements
__bytes__, not 'str'

Mine comes from the same commit.

Riki




Re: Lyx v 2.3.X - severe Problems

2019-08-19 Thread Matthias Görlach

Hi,

see below

On 19.08.19 22:02, Richard Kimberly Heck wrote:

On 8/19/19 2:41 PM, Matthias Görlach wrote:

To check another thing: there is an automatic upgrade in configure run.
Perhaps it copies some problematic contents from your 2.2 installation.
To circumvent this you may try these commands (no sudo please):
$ mkdir /tmp/LyX
$ cd /tmp/LyX
$ python -tt /Applications/LyX.app/Contents/Resources/configure.py 
--binary-dir=/Applications/LyX.app/Contents/MacOS/

My result (and config.log attached here)
ls -ltr
total 1088
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 ui
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 templates
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 scripts
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 layouts
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 kbd
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 images
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 examples
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 doc
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 clipart
-rw-r--r--  1 mago  staff  99 Aug 19 20:30 chklatex.ltx
-rw-r--r--  1 mago  staff 664 Aug 19 20:30 chklatex.log
drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 bind
-rw-r--r--  1 mago  staff   19973 Aug 19 20:30 lyxrc.defaults
-rw-r--r--  1 mago  staff   36766 Aug 19 20:30 clsFiles.lst
-rw-r--r--  1 mago  staff  365181 Aug 19 20:30 styFiles.lst
-rw-r--r--  1 mago  staff   26300 Aug 19 20:30 bstFiles.lst
-rw-r--r--  1 mago  staff    4449 Aug 19 20:30 bibFiles.lst
-rw-r--r--  1 mago  staff 293 Aug 19 20:30 lyxmodules.lst
-rw-r--r--  1 mago  staff   37133 Aug 19 20:30 configure.log
-rw-r--r--  1 mago  staff  26 Aug 19 20:30 chkmodules.tex
-rw-r--r--  1 mago  staff   15685 Aug 19 20:30 cbxFiles.lst
-rw-r--r--  1 mago  staff   17136 Aug 19 20:30 bbxFiles.lst


The configure script looks to be crashing when it tries to process the 
first module file. The fact that chklatex.ltx and chkmodules.txt have 
not been removed indicate that, as does the suspiciously small size of 
your chkmodules.tex.


Can you run the command Stephan gave you from the terminal again, but 
this time copy and paste the end of the output? I'm wondering whether 
Python itself is issuing some kind of error message.



+checking list of modules...
/Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
Traceback (most recent call last):
  File "/Applications/LyX.app/Contents/Resources/configure.py", line 
1892, in 

    checkModulesConfig()
  File "/Applications/LyX.app/Contents/Resources/configure.py", line 
1511, in checkModulesConfig
    retval = processModuleFile(file, filename.encode('ascii'), 
bool_docbook)
  File "/Applications/LyX.app/Contents/Resources/configure.py", line 
1607, in processModuleFile

    % (modname, filename, desc, pkgs, req, excl, catgy))
TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'


Can you also check the python version you are using? Run python --version.


Python 3.3.7
(well, I know its not the most recent)

Best
Matthias


I've just seen that I'm getting a crash with python 3.7.4, though a 
bit later than you are:


+checking list of textclasses...
Traceback (most recent call last):
  File "/usr/local/share/lyx/configure.py", line 1896, in 
    ret = checkLatexConfig(lyx_check_config and LATEX != '', bool_docbook)
  File "/usr/local/share/lyx/configure.py", line 1379, in checkLatexConfig
    retval = processLayoutFile(file, bool_docbook)
  File "/usr/local/share/lyx/configure.py", line 1327, in 
processLayoutFile

    % (classname, opt, desc, avai, prereq))
TypeError: %b requires a bytes-like object, or an object that 
implements __bytes__, not 'str'


Riki

PS CC'ing lyx-devel now, and José.




--
Matthias Görlach
Ebertstr. 4
07743 Jena

*49-0171 1988809



Re: Lyx v 2.3.X - severe Problems

2019-08-19 Thread Richard Kimberly Heck
On 8/19/19 2:41 PM, Matthias Görlach wrote:
>  
>> To check another thing: there is an automatic upgrade in configure run.
>> Perhaps it copies some problematic contents from your 2.2 installation.
>> To circumvent this you may try these commands (no sudo please):
>> $ mkdir /tmp/LyX
>> $ cd /tmp/LyX
>> $ python -tt /Applications/LyX.app/Contents/Resources/configure.py 
>> --binary-dir=/Applications/LyX.app/Contents/MacOS/
> My result (and config.log attached here)
> ls -ltr
> total 1088
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 ui
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 templates
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 scripts
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 layouts
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 kbd
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 images
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 examples
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 doc
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 clipart
> -rw-r--r--  1 mago  staff  99 Aug 19 20:30 chklatex.ltx
> -rw-r--r--  1 mago  staff 664 Aug 19 20:30 chklatex.log
> drwxr-xr-x  2 mago  staff  68 Aug 19 20:30 bind
> -rw-r--r--  1 mago  staff   19973 Aug 19 20:30 lyxrc.defaults
> -rw-r--r--  1 mago  staff   36766 Aug 19 20:30 clsFiles.lst
> -rw-r--r--  1 mago  staff  365181 Aug 19 20:30 styFiles.lst
> -rw-r--r--  1 mago  staff   26300 Aug 19 20:30 bstFiles.lst
> -rw-r--r--  1 mago  staff    4449 Aug 19 20:30 bibFiles.lst
> -rw-r--r--  1 mago  staff 293 Aug 19 20:30 lyxmodules.lst
> -rw-r--r--  1 mago  staff   37133 Aug 19 20:30 configure.log
> -rw-r--r--  1 mago  staff  26 Aug 19 20:30 chkmodules.tex
> -rw-r--r--  1 mago  staff   15685 Aug 19 20:30 cbxFiles.lst
> -rw-r--r--  1 mago  staff   17136 Aug 19 20:30 bbxFiles.lst

The configure script looks to be crashing when it tries to process the
first module file. The fact that chklatex.ltx and chkmodules.txt have
not been removed indicate that, as does the suspiciously small size of
your chkmodules.tex.

Can you run the command Stephan gave you from the terminal again, but
this time copy and paste the end of the output? I'm wondering whether
Python itself is issuing some kind of error message.

Can you also check the python version you are using? Run python --version.

I've just seen that I'm getting a crash with python 3.7.4, though a bit
later than you are:

+checking list of textclasses...
Traceback (most recent call last):
  File "/usr/local/share/lyx/configure.py", line 1896, in 
    ret = checkLatexConfig(lyx_check_config and LATEX != '', bool_docbook)
  File "/usr/local/share/lyx/configure.py", line 1379, in checkLatexConfig
    retval = processLayoutFile(file, bool_docbook)
  File "/usr/local/share/lyx/configure.py", line 1327, in processLayoutFile
    % (classname, opt, desc, avai, prereq))
TypeError: %b requires a bytes-like object, or an object that implements
__bytes__, not 'str'

Riki

PS CC'ing lyx-devel now, and José.




Re: Lyx v 2.3.X - severe Problems

2019-08-19 Thread Matthias Görlach
t;) - here the 
mail meant for you and riki.


Hi Matthias,

the start of the configure run looks normal. But the end is not ok.

Your configure log ends with:
...
INFO: +Indexing TeX files...
INFO: Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
Indexing files of type bib
Indexing files of type bbx
Indexing files of type cbx
INFO:done
DEBUG: Removing file lyxmodules.lst
DEBUG: Removing file chkmodules.tex
INFO: +checking list of modules...
INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
...

Mine has these contents:
...
INFO: +Indexing TeX files...
INFO: Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
Indexing files of type bib
Indexing files of type bbx
Indexing files of type cbx
INFO:done
DEBUG: Removing file lyxmodules.lst
DEBUG: Failed to remove file chkmodules.tex
INFO: +checking list of modules...
INFO: /Applications/LyX.app/Contents/Resources/layouts/fixme.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/pdfform.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/sweave.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/paralist.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/subequations.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/endnotes.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/fixltx2e.module
...
INFO: /Applications/LyX.app/Contents/Resources/layouts/theorems-chap.module
INFO: 
/Applications/LyX.app/Contents/Resources/layouts/theorems-ams-chap-bytype.module
INFO:done
DEBUG: Removing file lyxciteengines.lst
DEBUG: Failed to remove file chkciteengines.tex
INFO: +checking list of cite engines...
INFO: /Applications/LyX.app/Contents/Resources/citeengines/basic.citeengine
INFO: /Applications/LyX.app/Contents/Resources/citeengines/natbib.citeengine
INFO: /Applications/LyX.app/Contents/Resources/citeengines/jurabib.citeengine
INFO: /Applications/LyX.app/Contents/Resources/citeengines/biblatex.citeengine
INFO: 
/Applications/LyX.app/Contents/Resources/citeengines/biblatex-natbib.citeengine
INFO:done
DEBUG: Removing file xtemplates.lst
INFO: +checking list of external templates...
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/gnumeric.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/inkscape.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/chess.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/pdfpages.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/raster_image.xtemplate
INFO: 
/Applications/LyX.app/Contents/Resources/xtemplates/vector_graphics.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/xfig.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/lilypond.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/dia.xtemplate
INFO:done
INFO: checking LaTeX configuration...  auto
DEBUG: Failed to remove file chkconfig.classes
DEBUG: Failed to remove file chkconfig.vars
DEBUG: Failed to remove file chklayouts.tex
DEBUG: Failed to remove file wrap_chkconfig.ltx
INFO: +Inspecting your LaTeX configuration.
INFO: +checking for LaTeX version... 2015/01/01
INFO: +checking for available hyphenation patterns...
INFO: +checking for default encoding (this may take a long time)
INFO: +  checking for ec fonts... yes
INFO: +  checking for ec support in LaTeX format... yes
INFO: +  default encoding will be set to T1
INFO: +checking for package a0poster [a0poster]... no

and so on.

Obviously the result of the configure run on your system is incomplete
and cannot be used by LyX. The got an idea what is going wrong you may
start an explicit configure run in terminal.

The command used by LyX is:

python -tt /Applications/LyX.app/Contents/Resources/configure.py 
--with-version-suffix=-2.3 --binary-dir=/Applications/LyX.app/Contents/MacOS/

Perhaps it makes a difference.

Stephan



best
matthias


 Forwarded Message 
Subject:        Re: Lyx v 2.3.X - severe Problems
Date:   Sat, 17 Aug 2019 11:53:04 +0200
From:   Matthias Görlach


Reply-To:   
matthias.goerl...@t-online.de

CC: Richard Kimberly Heck




Dear Stephan, dear Riki,


I did a new install of 2.3.3 startet Lyx - no error, except the minimal 
functionality etc (asking reconfigure) - attached find the configure log file - 
I renamed it (only for saving it), in case I test a bit more.
Then I tried to open a template (letter with head/address etc; attached also) - 
and then all the errors reappeared:

layout file article not found
cite engine not available
The layout
file:scrlttr2
  could not be found.

Nothing of this happens after reinstall of 2.2.4

I attach here my letter template - just in case...

Also in the config log it says:

INFO: +checking for "libreoffice"...  no
INFO: +checking for "gimp"...  no
INFO: +chec

Re: Lyx v 2.3.X - severe Problems

2019-08-18 Thread Matthias Görlach
s.tex
>>> INFO: +checking list of modules... 
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
>>> ...
>>> 
>>> Mine has these contents:
>>> ...
>>> INFO: +Indexing TeX files... 
>>> INFO: Indexing files of type cls
>>> Indexing files of type sty
>>> Indexing files of type bst
>>> Indexing files of type bib
>>> Indexing files of type bbx
>>> Indexing files of type cbx
>>> INFO:done
>>> DEBUG: Removing file lyxmodules.lst
>>> DEBUG: Failed to remove file chkmodules.tex
>>> INFO: +checking list of modules...
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/fixme.module
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/pdfform.module
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/sweave.module
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/paralist.module
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/subequations.module
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/endnotes.module
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/fixltx2e.module
>>> ...
>>> INFO: /Applications/LyX.app/Contents/Resources/layouts/theorems-chap.module
>>> INFO: 
>>> /Applications/LyX.app/Contents/Resources/layouts/theorems-ams-chap-bytype.module
>>> INFO:done
>>> DEBUG: Removing file lyxciteengines.lst
>>> DEBUG: Failed to remove file chkciteengines.tex
>>> INFO: +checking list of cite engines...
>>> INFO: /Applications/LyX.app/Contents/Resources/citeengines/basic.citeengine
>>> INFO: /Applications/LyX.app/Contents/Resources/citeengines/natbib.citeengine
>>> INFO: 
>>> /Applications/LyX.app/Contents/Resources/citeengines/jurabib.citeengine
>>> INFO: 
>>> /Applications/LyX.app/Contents/Resources/citeengines/biblatex.citeengine
>>> INFO: 
>>> /Applications/LyX.app/Contents/Resources/citeengines/biblatex-natbib.citeengine
>>> INFO:done
>>> DEBUG: Removing file xtemplates.lst
>>> INFO: +checking list of external templates...
>>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/gnumeric.xtemplate
>>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/inkscape.xtemplate
>>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/chess.xtemplate
>>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/pdfpages.xtemplate
>>> INFO: 
>>> /Applications/LyX.app/Contents/Resources/xtemplates/raster_image.xtemplate
>>> INFO: 
>>> /Applications/LyX.app/Contents/Resources/xtemplates/vector_graphics.xtemplate
>>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/xfig.xtemplate
>>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/lilypond.xtemplate
>>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/dia.xtemplate
>>> INFO:done
>>> INFO: checking LaTeX configuration...  auto
>>> DEBUG: Failed to remove file chkconfig.classes
>>> DEBUG: Failed to remove file chkconfig.vars
>>> DEBUG: Failed to remove file chklayouts.tex
>>> DEBUG: Failed to remove file wrap_chkconfig.ltx
>>> INFO: +Inspecting your LaTeX configuration.
>>> INFO: +checking for LaTeX version... 2015/01/01
>>> INFO: +checking for available hyphenation patterns...
>>> INFO: +checking for default encoding (this may take a long time)
>>> INFO: +  checking for ec fonts... yes
>>> INFO: +  checking for ec support in LaTeX format... yes
>>> INFO: +  default encoding will be set to T1
>>> INFO: +checking for package a0poster [a0poster]... no
>>> 
>>> and so on.
>>> 
>>> Obviously the result of the configure run on your system is incomplete
>>> and cannot be used by LyX. The got an idea what is going wrong you may
>>> start an explicit configure run in terminal.
>>> 
>>> The command used by LyX is:
>>> 
>>> python -tt /Applications/LyX.app/Contents/Resources/configure.py 
>>> --with-version-suffix=-2.3 
>>> --binary-dir=/Applications/LyX.app/Contents/MacOS/
>>> 
>>> Perhaps it makes a difference. 
>>> 
>>> Stephan
>>> 
>>> 
>>>> best
>>>> matthias
>>>> 
>>>> 
>>>>  Forwarded Message 
>>>> Subject:Re: Lyx v 2.3.X - severe Problems
>>>> Date:Sat, 17 Aug 2019 11:53:04 +0200
>>

Re: Lyx v 2.3.X - severe Problems

2019-08-18 Thread Stephan Witt
FO: /Applications/LyX.app/Contents/Resources/layouts/paralist.module
>> INFO: /Applications/LyX.app/Contents/Resources/layouts/subequations.module
>> INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
>> INFO: /Applications/LyX.app/Contents/Resources/layouts/endnotes.module
>> INFO: /Applications/LyX.app/Contents/Resources/layouts/fixltx2e.module
>> ...
>> INFO: /Applications/LyX.app/Contents/Resources/layouts/theorems-chap.module
>> INFO: 
>> /Applications/LyX.app/Contents/Resources/layouts/theorems-ams-chap-bytype.module
>> INFO:done
>> DEBUG: Removing file lyxciteengines.lst
>> DEBUG: Failed to remove file chkciteengines.tex
>> INFO: +checking list of cite engines...
>> INFO: /Applications/LyX.app/Contents/Resources/citeengines/basic.citeengine
>> INFO: /Applications/LyX.app/Contents/Resources/citeengines/natbib.citeengine
>> INFO: /Applications/LyX.app/Contents/Resources/citeengines/jurabib.citeengine
>> INFO: 
>> /Applications/LyX.app/Contents/Resources/citeengines/biblatex.citeengine
>> INFO: 
>> /Applications/LyX.app/Contents/Resources/citeengines/biblatex-natbib.citeengine
>> INFO:done
>> DEBUG: Removing file xtemplates.lst
>> INFO: +checking list of external templates...
>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/gnumeric.xtemplate
>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/inkscape.xtemplate
>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/chess.xtemplate
>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/pdfpages.xtemplate
>> INFO: 
>> /Applications/LyX.app/Contents/Resources/xtemplates/raster_image.xtemplate
>> INFO: 
>> /Applications/LyX.app/Contents/Resources/xtemplates/vector_graphics.xtemplate
>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/xfig.xtemplate
>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/lilypond.xtemplate
>> INFO: /Applications/LyX.app/Contents/Resources/xtemplates/dia.xtemplate
>> INFO:done
>> INFO: checking LaTeX configuration...  auto
>> DEBUG: Failed to remove file chkconfig.classes
>> DEBUG: Failed to remove file chkconfig.vars
>> DEBUG: Failed to remove file chklayouts.tex
>> DEBUG: Failed to remove file wrap_chkconfig.ltx
>> INFO: +Inspecting your LaTeX configuration.
>> INFO: +checking for LaTeX version... 2015/01/01
>> INFO: +checking for available hyphenation patterns...
>> INFO: +checking for default encoding (this may take a long time)
>> INFO: +  checking for ec fonts... yes
>> INFO: +  checking for ec support in LaTeX format... yes
>> INFO: +  default encoding will be set to T1
>> INFO: +checking for package a0poster [a0poster]... no
>> 
>> and so on.
>> 
>> Obviously the result of the configure run on your system is incomplete
>> and cannot be used by LyX. The got an idea what is going wrong you may
>> start an explicit configure run in terminal.
>> 
>> The command used by LyX is:
>> 
>> python -tt /Applications/LyX.app/Contents/Resources/configure.py 
>> --with-version-suffix=-2.3 --binary-dir=/Applications/LyX.app/Contents/MacOS/
>> 
>> Perhaps it makes a difference. 
>> 
>> Stephan
>> 
>> 
>>> best
>>> matthias
>>> 
>>> 
>>>  Forwarded Message 
>>> Subject:Re: Lyx v 2.3.X - severe Problems
>>> Date:   Sat, 17 Aug 2019 11:53:04 +0200
>>> From:   Matthias Görlach 
>>> 
>>> 
>>> Reply-To:   
>>> matthias.goerl...@t-online.de
>>> 
>>> CC: Richard Kimberly Heck 
>>> 
>>> 
>>> 
>>> 
>>> Dear Stephan, dear Riki,
>>> 
>>> 
>>> I did a new install of 2.3.3 startet Lyx - no error, except the minimal 
>>> functionality etc (asking reconfigure) - attached find the configure log 
>>> file - I renamed it (only for saving it), in case I test a bit more.
>>> Then I tried to open a template (letter with head/address etc; attached 
>>> also) - and then all the errors reappeared:
>>> 
>>> layout file article not found
>>> cite engine not available
>>> The layout 
>>> file:scrlttr2
>>>  could not be found.
>>> 
>>> Nothing of this happens after reinstall of 2.2.4
>>> 
>>> I attach here my letter template - just in case...
>>> 
>>> Also in the config log it says:
>>> 
>>> INFO: +checking for "libreoffice"...  no
>>> INFO: +checking for "gimp"...  no
>>> INFO: +checking for &q

Re: Lyx v 2.3.X - severe Problems

2019-08-18 Thread Matthias Görlach

Hi,

command line didnt do it.

I sudo-ed your command - it ran through (logfile  attached);
lyx reacts the same as before.

Best

Matthias

On 18.08.19 13:59, Stephan Witt wrote:

Am 18.08.2019 um 09:03 schrieb Matthias Görlach :

sorry, stephan,

not sure if i put you addressee yesterday (only see cc, no "to") - here the 
mail meant for you and riki.

Hi Matthias,

the start of the configure run looks normal. But the end is not ok.

Your configure log ends with:
...
INFO: +Indexing TeX files...
INFO: Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
Indexing files of type bib
Indexing files of type bbx
Indexing files of type cbx
INFO:done
DEBUG: Removing file lyxmodules.lst
DEBUG: Removing file chkmodules.tex
INFO: +checking list of modules...
INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
...

Mine has these contents:
...
INFO: +Indexing TeX files...
INFO: Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
Indexing files of type bib
Indexing files of type bbx
Indexing files of type cbx
INFO:done
DEBUG: Removing file lyxmodules.lst
DEBUG: Failed to remove file chkmodules.tex
INFO: +checking list of modules...
INFO: /Applications/LyX.app/Contents/Resources/layouts/fixme.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/pdfform.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/sweave.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/paralist.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/subequations.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/endnotes.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/fixltx2e.module
...
INFO: /Applications/LyX.app/Contents/Resources/layouts/theorems-chap.module
INFO: 
/Applications/LyX.app/Contents/Resources/layouts/theorems-ams-chap-bytype.module
INFO:done
DEBUG: Removing file lyxciteengines.lst
DEBUG: Failed to remove file chkciteengines.tex
INFO: +checking list of cite engines...
INFO: /Applications/LyX.app/Contents/Resources/citeengines/basic.citeengine
INFO: /Applications/LyX.app/Contents/Resources/citeengines/natbib.citeengine
INFO: /Applications/LyX.app/Contents/Resources/citeengines/jurabib.citeengine
INFO: /Applications/LyX.app/Contents/Resources/citeengines/biblatex.citeengine
INFO: 
/Applications/LyX.app/Contents/Resources/citeengines/biblatex-natbib.citeengine
INFO:done
DEBUG: Removing file xtemplates.lst
INFO: +checking list of external templates...
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/gnumeric.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/inkscape.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/chess.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/pdfpages.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/raster_image.xtemplate
INFO: 
/Applications/LyX.app/Contents/Resources/xtemplates/vector_graphics.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/xfig.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/lilypond.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/dia.xtemplate
INFO:done
INFO: checking LaTeX configuration...  auto
DEBUG: Failed to remove file chkconfig.classes
DEBUG: Failed to remove file chkconfig.vars
DEBUG: Failed to remove file chklayouts.tex
DEBUG: Failed to remove file wrap_chkconfig.ltx
INFO: +Inspecting your LaTeX configuration.
INFO: +checking for LaTeX version... 2015/01/01
INFO: +checking for available hyphenation patterns...
INFO: +checking for default encoding (this may take a long time)
INFO: +  checking for ec fonts... yes
INFO: +  checking for ec support in LaTeX format... yes
INFO: +  default encoding will be set to T1
INFO: +checking for package a0poster [a0poster]... no

and so on.

Obviously the result of the configure run on your system is incomplete
and cannot be used by LyX. The got an idea what is going wrong you may
start an explicit configure run in terminal.

The command used by LyX is:

python -tt /Applications/LyX.app/Contents/Resources/configure.py 
--with-version-suffix=-2.3 --binary-dir=/Applications/LyX.app/Contents/MacOS/

Perhaps it makes a difference.

Stephan


best
matthias


 Forwarded Message 
Subject:        Re: Lyx v 2.3.X - severe Problems
Date:   Sat, 17 Aug 2019 11:53:04 +0200
From:   Matthias Görlach 
Reply-To:   matthias.goerl...@t-online.de
CC: Richard Kimberly Heck 


Dear Stephan, dear Riki,


I did a new install of 2.3.3 startet Lyx - no error, except the minimal 
functionality etc (asking reconfigure) - attached find the configure log file - 
I renamed it (only for saving it), in case I test a bit more.
Then I tried to open a template (letter with head/address etc; attached also) - 
and then all the errors reappeared:

layout file article not 

Re: Lyx v 2.3.X - severe Problems

2019-08-18 Thread Stephan Witt
Am 18.08.2019 um 09:03 schrieb Matthias Görlach :
> 
> sorry, stephan,
> 
> not sure if i put you addressee yesterday (only see cc, no "to") - here the 
> mail meant for you and riki.

Hi Matthias,

the start of the configure run looks normal. But the end is not ok.

Your configure log ends with:
...
INFO: +Indexing TeX files... 
INFO: Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
Indexing files of type bib
Indexing files of type bbx
Indexing files of type cbx
INFO:done
DEBUG: Removing file lyxmodules.lst
DEBUG: Removing file chkmodules.tex
INFO: +checking list of modules... 
INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
...

Mine has these contents:
...
INFO: +Indexing TeX files... 
INFO: Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
Indexing files of type bib
Indexing files of type bbx
Indexing files of type cbx
INFO:done
DEBUG: Removing file lyxmodules.lst
DEBUG: Failed to remove file chkmodules.tex
INFO: +checking list of modules...
INFO: /Applications/LyX.app/Contents/Resources/layouts/fixme.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/pdfform.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/sweave.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/paralist.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/subequations.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/endnotes.module
INFO: /Applications/LyX.app/Contents/Resources/layouts/fixltx2e.module
...
INFO: /Applications/LyX.app/Contents/Resources/layouts/theorems-chap.module
INFO: 
/Applications/LyX.app/Contents/Resources/layouts/theorems-ams-chap-bytype.module
INFO:done
DEBUG: Removing file lyxciteengines.lst
DEBUG: Failed to remove file chkciteengines.tex
INFO: +checking list of cite engines...
INFO: /Applications/LyX.app/Contents/Resources/citeengines/basic.citeengine
INFO: /Applications/LyX.app/Contents/Resources/citeengines/natbib.citeengine
INFO: /Applications/LyX.app/Contents/Resources/citeengines/jurabib.citeengine
INFO: /Applications/LyX.app/Contents/Resources/citeengines/biblatex.citeengine
INFO: 
/Applications/LyX.app/Contents/Resources/citeengines/biblatex-natbib.citeengine
INFO:done
DEBUG: Removing file xtemplates.lst
INFO: +checking list of external templates...
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/gnumeric.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/inkscape.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/chess.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/pdfpages.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/raster_image.xtemplate
INFO: 
/Applications/LyX.app/Contents/Resources/xtemplates/vector_graphics.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/xfig.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/lilypond.xtemplate
INFO: /Applications/LyX.app/Contents/Resources/xtemplates/dia.xtemplate
INFO:done
INFO: checking LaTeX configuration...  auto
DEBUG: Failed to remove file chkconfig.classes
DEBUG: Failed to remove file chkconfig.vars
DEBUG: Failed to remove file chklayouts.tex
DEBUG: Failed to remove file wrap_chkconfig.ltx
INFO: +Inspecting your LaTeX configuration.
INFO: +checking for LaTeX version... 2015/01/01
INFO: +checking for available hyphenation patterns...
INFO: +checking for default encoding (this may take a long time)
INFO: +  checking for ec fonts... yes
INFO: +  checking for ec support in LaTeX format... yes
INFO: +  default encoding will be set to T1
INFO: +checking for package a0poster [a0poster]... no

and so on.

Obviously the result of the configure run on your system is incomplete
and cannot be used by LyX. The got an idea what is going wrong you may
start an explicit configure run in terminal.

The command used by LyX is:

python -tt /Applications/LyX.app/Contents/Resources/configure.py 
--with-version-suffix=-2.3 --binary-dir=/Applications/LyX.app/Contents/MacOS/

Perhaps it makes a difference. 

Stephan

> 
> best
> matthias
> 
> 
>  Forwarded Message ----
> Subject:  Re: Lyx v 2.3.X - severe Problems
> Date: Sat, 17 Aug 2019 11:53:04 +0200
> From: Matthias Görlach 
> Reply-To: matthias.goerl...@t-online.de
> CC:   Richard Kimberly Heck 
> 
> 
> Dear Stephan, dear Riki,
> 
> 
> I did a new install of 2.3.3 startet Lyx - no error, except the minimal 
> functionality etc (asking reconfigure) - attached find the configure log file 
> - I renamed it (only for saving it), in case I test a bit more.
> Then I tried to open a template (letter with head/address etc; attached also) 
> - and then all the errors reappeared:
> 
> layout file article not found
> cite engine not available
> The l

Re: Lyx v 2.3.X - severe Problems

2019-08-17 Thread Stephan Witt
Am 16.08.2019 um 17:04 schrieb Richard Kimberly Heck :
> 
> On 8/16/19 6:01 AM, Stephan Witt wrote:
>> Am 15.08.2019 um 23:00 schrieb Matthias Görlach 
>> :
>>> Hi,
>>> after running and using Lyx for maybe 10 years, I finally tried to upgrade 
>>> from v 2.2.4 to 2.3.2 and 2.3.3.
>>> 
>>> This resulted in unusability or continuously repeated error messages 
>>> relating to "missing document classes", something about "missing library" 
>>> and finally to "LyX will only have minimal functionality because no text 
>>> classes have been found. You can either try to configure LyX normally, try 
>>> to reconfigure without checking your LaTeX installation, or continue."
>>> 
>>> I tried a lot - to no avail - incl newsgroups, Wiki etc etc
>>> Reconfigure didnt do a thing - neither a complete new install of the recent 
>>> MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac 
>>> texmaker) worked flawlessly.
>>> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
>>> (MacBookPro9,2).
>>> 
>>> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 
>>> solved the problem - its running fine.
>>> 
>>> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be 
>>> running fine on my system - so what is the issue???
>>> 
>>> Any hints/help available??
>> Hi Matthias,
>> 
>> as others said already - it should work.
>> 
>> What can be done to diagnose the problem? I would need to know what the LyX 
>> configure run did.
>> 
>> There is a folder in your user directory named ~/Library/Application 
>> Support/LyX-2.3. This is the location to look for the file configure.log. 
>> Please send it to the users list or in a private mail to me.
> 
> I could be wrong, of course, but it smells like a permissions problem.
> We've seen this kind of thing in other cases, where configure.py can't
> write to the relevant folder. If not, the log may not exist.

That would surprise me. On a Unix system and a Mac one should be able
to write to the directories below the home directory. LyX runs with
user privileges on a Mac all the time - permission problems shouldn’t
exist.

Stephan 

Re: Lyx v 2.3.X - severe Problems

2019-08-16 Thread Paul A. Rubin

On 8/16/19 11:04 AM, Richard Kimberly Heck wrote:

On 8/16/19 6:01 AM, Stephan Witt wrote:

Am 15.08.2019 um 23:00 schrieb Matthias Görlach :

Hi,
after running and using Lyx for maybe 10 years, I finally tried to upgrade from 
v 2.2.4 to 2.3.2 and 2.3.3.

This resulted in unusability or continuously repeated error messages relating to "missing document 
classes", something about "missing library" and finally to "LyX will only have minimal 
functionality because no text classes have been found. You can either try to configure LyX normally, try to 
reconfigure without checking your LaTeX installation, or continue."

I tried a lot - to no avail - incl newsgroups, Wiki etc etc
Reconfigure didnt do a thing - neither a complete new install of the recent 
MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac texmaker) 
worked flawlessly.
My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
(MacBookPro9,2).

ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 solved 
the problem - its running fine.

Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be running 
fine on my system - so what is the issue???

Any hints/help available??

Hi Matthias,

as others said already - it should work.

What can be done to diagnose the problem? I would need to know what the LyX 
configure run did.

There is a folder in your user directory named ~/Library/Application 
Support/LyX-2.3. This is the location to look for the file configure.log. 
Please send it to the users list or in a private mail to me.

I could be wrong, of course, but it smells like a permissions problem.
We've seen this kind of thing in other cases, where configure.py can't
write to the relevant folder. If not, the log may not exist.

Riki


If that's the case, running the configuration script in a shell / 
terminal / whatever the Apple term is should indicate as much.


Paul



Re: Lyx v 2.3.X - severe Problems

2019-08-16 Thread Richard Kimberly Heck
On 8/16/19 6:01 AM, Stephan Witt wrote:
> Am 15.08.2019 um 23:00 schrieb Matthias Görlach 
> :
>> Hi,
>> after running and using Lyx for maybe 10 years, I finally tried to upgrade 
>> from v 2.2.4 to 2.3.2 and 2.3.3.
>>
>> This resulted in unusability or continuously repeated error messages 
>> relating to "missing document classes", something about "missing library" 
>> and finally to "LyX will only have minimal functionality because no text 
>> classes have been found. You can either try to configure LyX normally, try 
>> to reconfigure without checking your LaTeX installation, or continue."
>>
>> I tried a lot - to no avail - incl newsgroups, Wiki etc etc
>> Reconfigure didnt do a thing - neither a complete new install of the recent 
>> MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac 
>> texmaker) worked flawlessly.
>> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
>> (MacBookPro9,2).
>>
>> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 solved 
>> the problem - its running fine.
>>
>> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be 
>> running fine on my system - so what is the issue???
>>
>> Any hints/help available??
> Hi Matthias,
>
> as others said already - it should work.
>
> What can be done to diagnose the problem? I would need to know what the LyX 
> configure run did.
>
> There is a folder in your user directory named ~/Library/Application 
> Support/LyX-2.3. This is the location to look for the file configure.log. 
> Please send it to the users list or in a private mail to me.

I could be wrong, of course, but it smells like a permissions problem.
We've seen this kind of thing in other cases, where configure.py can't
write to the relevant folder. If not, the log may not exist.

Riki




Re: Lyx v 2.3.X - severe Problems

2019-08-16 Thread Stephan Witt
Am 15.08.2019 um 23:00 schrieb Matthias Görlach :
> 
> Hi,
> after running and using Lyx for maybe 10 years, I finally tried to upgrade 
> from v 2.2.4 to 2.3.2 and 2.3.3.
> 
> This resulted in unusability or continuously repeated error messages relating 
> to "missing document classes", something about "missing library" and finally 
> to "LyX will only have minimal functionality because no text classes have 
> been found. You can either try to configure LyX normally, try to reconfigure 
> without checking your LaTeX installation, or continue."
> 
> I tried a lot - to no avail - incl newsgroups, Wiki etc etc
> Reconfigure didnt do a thing - neither a complete new install of the recent 
> MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac 
> texmaker) worked flawlessly.
> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
> (MacBookPro9,2).
> 
> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 solved 
> the problem - its running fine.
> 
> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be running 
> fine on my system - so what is the issue???
> 
> Any hints/help available??

Hi Matthias,

as others said already - it should work.

What can be done to diagnose the problem? I would need to know what the LyX 
configure run did.

There is a folder in your user directory named ~/Library/Application 
Support/LyX-2.3. This is the location to look for the file configure.log. 
Please send it to the users list or in a private mail to me.

Stephan

> -- 
> Matthias Görlach
> Ebertstr. 4
> 07743 Jena
> 
> *49-0171 1988809
> 



Re: Lyx v 2.3.X - severe Problems on OSX

2019-08-15 Thread Anders Ekberg
On 2019Aug16, at 05:28, Richard Kimberly Heck  wrote:
> 
> On 8/15/19 5:00 PM, Matthias Görlach wrote:
>> Hi,
>> after running and using Lyx for maybe 10 years, I finally tried to upgrade 
>> from v 2.2.4 to 2.3.2 and 2.3.3.
>> 
>> This resulted in unusability or continuously repeated error messages 
>> relating to "missing document classes", something about "missing library" 
>> and finally to "LyX will only have minimal functionality because no text 
>> classes have been found. You can either try to configure LyX normally, try 
>> to reconfigure without checking your LaTeX installation, or continue." 
>> 
>> 
>> I tried a lot - to no avail - incl newsgroups, Wiki etc etc
>> Reconfigure didnt do a thing - neither a complete new install of the recent 
>> MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac 
>> texmaker) worked flawlessly.
>> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
>> (MacBookPro9,2).
>> 
>> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 solved 
>> the problem - its running fine.
>> 
>> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be 
>> running fine on my system - so what is the issue???
>> 
>> Any hints/help available??
> There are some OSX folks around, so I'm updating the subject and cc'ing our 
> Mac guru. We've not had any other reports of this problem, so we know 2.3.x 
> will run on OSX. Not that that's any help to you!
> 
> Is it possible to install 2.3.x alongside 2.2.4? Possibly as a different 
> user? If so, it'd be interesting to see the output of the reconfiguration 
> script. That might give us some hint what's going wrong.
> Riki
> 
I can’t help much. 2.3.3 is running fine here (High Sierra) and I often have 
multiple versions alongside when I upgrade.
The only thing I can think of that isn’t mentioned is to perform a sudo texhash 
from the Terminal.

Anders



Re: Lyx v 2.3.X - severe Problems on OSX

2019-08-15 Thread Richard Kimberly Heck
On 8/15/19 5:00 PM, Matthias Görlach wrote:
> Hi,
> after running and using Lyx for maybe 10 years, I finally tried to
> upgrade from v 2.2.4 to 2.3.2 and 2.3.3.
>
> This resulted in unusability or continuously repeated error messages
> relating to "missing document classes", something about "missing
> library" and finally to "LyX will only have minimal functionality
> because no */text classes/* have been found. You can either try to
> */configure/* LyX normally, try to reconfigure without checking your
> LaTeX installation, or continue."
> 
>
> I tried a lot - to no avail - incl newsgroups, Wiki etc etc
> Reconfigure didnt do a thing - neither a complete new install of the
> recent MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs
> (e.g. mac texmaker) worked flawlessly.
> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro
> (MacBookPro9,2).
>
> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4
> solved the problem - its running fine.
>
> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be
> running fine on my system - so what is the issue???
>
> Any hints/help available??

There are some OSX folks around, so I'm updating the subject and cc'ing
our Mac guru. We've not had any other reports of this problem, so we
know 2.3.x will run on OSX. Not that that's any help to you!

Is it possible to install 2.3.x alongside 2.2.4? Possibly as a different
user? If so, it'd be interesting to see the output of the
reconfiguration script. That might give us some hint what's going wrong.

Riki




Lyx v 2.3.X - severe Problems

2019-08-15 Thread Matthias Görlach

Hi,
after running and using Lyx for maybe 10 years, I finally tried to 
upgrade from v 2.2.4 to 2.3.2 and 2.3.3.


This resulted in unusability or continuously repeated error messages 
relating to "missing document classes", something about "missing 
library" and finally to "LyX will only have minimal functionality 
because no */text classes/* have been found. You can either try to 
*/configure/* LyX normally, try to reconfigure without checking your 
LaTeX installation, or continue." 



I tried a lot - to no avail - incl newsgroups, Wiki etc etc
Reconfigure didnt do a thing - neither a complete new install of the 
recent MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. 
mac texmaker) worked flawlessly.
My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
(MacBookPro9,2).


ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 
solved the problem - its running fine.


Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be 
running fine on my system - so what is the issue???


Any hints/help available??

--
Matthias Görlach
Ebertstr. 4
07743 Jena

*49-0171 1988809