check the logs
Wolfgang Engelmann
engelmann at uni-tuebingen.de
Wed Jul 27 16:00:08 UTC 2022
Am 27.07.22 um 17:55 schrieb Wolfgang Engelmann:
>
>
> Am 27.07.22 um 17:39 schrieb Kornel Benko:
>> Am Wed, 27 Jul 2022 17:31:30 +0200
>> schrieb Wolfgang Engelmann <engelmann at uni-tuebingen.de>:
>>
>>> Am 27.07.22 um 17:22 schrieb Kornel Benko:
>>>> Am Wed, 27 Jul 2022 17:06:10 +0200
>>>> schrieb Wolfgang Engelmann <engelmann at uni-tuebingen.de>:
>>>>> Am 27.07.22 um 16:34 schrieb Kornel Benko:
>>>>>> Am Wed, 27 Jul 2022 16:16:46 +0200
>>>>>> schrieb Wolfgang Engelmann <engelmann at uni-tuebingen.de>:
>>>>>>> Am 27.07.22 um 16:12 schrieb Kornel Benko:
>>>>>>>> Am Wed, 27 Jul 2022 16:09:54 +0200
>>>>>>>> schrieb Wolfgang Engelmann <engelmann at uni-tuebingen.de>:
>>>>>>>>> Am 27.07.22 um 16:04 schrieb Kornel Benko:
>>>>>>>>>> Am Wed, 27 Jul 2022 15:48:16 +0200
>>>>>>>>>> schrieb Wolfgang Engelmann <engelmann at uni-tuebingen.de>:
>>>>>>>>>>> I worked today on a document and tried to export is as pdf
>>>>>>>>>>> (Lua-TeX).
>>>>>>>>>>> I got this message:
>>>>>>>>>>>
>>>>>>>>>>> The external program
>>>>>>>>>>> lualatex
>>>>>>>>>>> finished with an error. It is recommended you fix the cause
>>>>>>>>>>> of the
>>>>>>>>>>> external program's error (check the logs).
>>>>>>>>>>>
>>>>>>>>>>> So I went back to the version of yesterday, in which the
>>>>>>>>>>> export worked.
>>>>>>>>>>>
>>>>>>>>>>> However, I get the same error.
>>>>>>>>>>>
>>>>>>>>>>> Very strange!
>>>>>>>>>>>
>>>>>>>>>>> Where do I find the log file?
>>>>>>>>>>
>>>>>>>>>> The log-file is in the lyx-temp-directory (this changes with
>>>>>>>>>> each session, so do
>>>>>>>>>> not exit lyx)
>>>>>>>>>>
>>>>>>>>>> Use
>>>>>>>>>> Document->LaTeX Log->Open Containing Directory
>>>>>>>>>> from within LyX. You should get some file manager open this dir.
>>>>>>>>>>> I use
>>>>>>>>>>>
>>>>>>>>>>> Version 2.4.0dev (not released yet)
>>>>>>>>>>> Built from git commit hash 53ed3dc0
>>>>>>>>>>> Qt Version (run-time): 5.15.2 on platform xcb
>>>>>>>>>>> Qt Version (compile-time): 5.15.2
>>>>>>>>>>> Python detected: python3 -tt
>>>>>>>>>>>
>>>>>>>>>>> Wolfgang
>>>>>>>>>>
>>>>>>>>>> Kornel
>>>>>>>>>>
>>>>>>>>> Thanks, Kornel, but Document->LaTeX Log
>>>>>>>>> is greyed out
>>>>>>>>> Wolfgang
>>>>>>>>
>>>>>>>> You have to Export (or View) first.
>>>>>>>>
>>>>>>>> Kornel
>>>>>>>>
>>>>>>> Yes, I did export or view. In both cases I get immediately
>>>>>>>
>>>>>>> The external program
>>>>>>> pdflatex
>>>>>>> finished with an error. It is recommended you fix the cause of the
>>>>>>> external program's error (check the logs).
>>>>>>
>>>>>> You can try to use different latex executable.
>>>>>> Also maybe your path to working latex execs is wrong.
>>>>>> In any case, you could use option '-dbg files' to get a hint about
>>>>>> used dirs.
>>>>>>
>>>>>> (Search for 'Temporary file ` something ' created'
>>>>>> there should be a directory 'lyx_tmpbuf0', this is what we are
>>>>>> after)
>>>>>>
>>>>>> Kornel
>>>>>>
>>>>> In /tmp/lyx_tmpdir.iglaCqHuYdHi
>>>>> are
>>>>> /lyx_tmpbuf2
>>>>> containing A-SP-Jul26.tex
>>>>> with tex stuff
>>>>>
>>>>> and A-SP-Jul26.tex.dep-pdf
>>>>> with this content:
>>>>> 2038071327 1658933632
>>>>> /tmp/lyx_tmpdir.iglaCqHuYdHi/lyx_tmpbuf2/A-SP-Jul26.tex
>>>>> and
>>>>> lyxsocket
>>>>>
>>>>> There is no log file
>>>>>
>>>>> Wolfgang
>>>>
>>>> Of course not. Log is created by your latex executable, and, as you
>>>> mentioned
>>>> in other mail, there was no compilation start.
>>>>
>>>> You may check for working
>> first.
>>>> Try
>>>> $ kpsewhich -var-value=TEXMFROOT
>>>> gives here '/usr9/local/texlive/2022'
>>>>
>>>> Kornel
>>>>
>>> kpsewhich -var-value=TEXMFROOT
>>> returns nothing.
>>> I tried it also root, home, wolfgang
>>> no return
>>>
>>> Wolfgang
>>
>> So, you do not have a working texlive. How should we now be able to help?
>> Check for the path of kpsewhich
>> $ which kpsewhich tlmgr
>> /usr/local/texlive/2022/bin/x86_64-linux/kpsewhich
>> /usr/local/texlive/2022/bin/x86_64-linux/tlmgr
>>
>> If this is OK, then you may try
>> $ tlmgr update --repository ctan --all --reinstall-forcibly-removed
>>
>> Kornel
>>
>>
> Thanks again, Kornel,
>
> this is what I got>>>
>
> which kpsewhich tlmgr
> /usr/local/texlive/2022/bin/x86_64-linux/kpsewhich
> /usr/local/texlive/2022/bin/x86_64-linux/tlmgr
>
> wolfgang at Fuji:~/Dokumente/PUBLIKATIONEN-EIGENE/A-SP-2022$ tlmgr update
> --repository ctan --all --reinstall-forcibly-removed
>
> Could not determine directory of tlmgr executable, maybe shared library
> woes?
>
> Check for error messages above at
> /usr/local/texlive/2022/bin/x86_64-linux/tlmgr line 74.
>
> >>>> it says:
> if (! $Master) {
> die ("Could not determine directory of tlmgr executable, "
> . "maybe shared library woes?\nCheck for error messages above");
> }
>
> BEGIN failed--compilation aborted at
> /usr/local/texlive/2022/bin/x86_64-linux/tlmgr line 83.
>
> >>>> it says
> # make Perl find our packages first:
> unshift (@INC, "$Master/tlpkg");
> unshift (@INC, "$Master/texmf-dist/scripts/texlive");
> }
>
> ????
>
>
> Wolfgang
>
tlmgr seems to be linked (font in emphasis)
/usr/local/texlive/2022/bin/x86_64-linux$ ls -l tlmgr
lrwxrwxrwx 1 wolfgang wolfgang 41 3. Okt 2018 tlmgr ->
../../texmf-dist/scripts/texlive/tlmgr.pl
Wolfgang
More information about the lyx-users
mailing list