giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

Can't generate latex #2513

Open hildebrandopsj opened 1 month ago

hildebrandopsj commented 1 month ago

Version, Operative system Version 1.1.2 / Windows 10

Describe the bug When trying to input some latex text in the node, Cherrytree give me the information that it's not possible to access the executable 'dvipng'.

I tried the following procedures:

What more i can do?

Thanks

Screenshots image

giuspen commented 4 weeks ago

If you try with the portable https://www.giuspen.net/software/cherrytree_1.1.2.0_win64_portable.7z are you still having the issue? (look for mingw64/bin/cherrytree.exe after extraction)

hildebrandopsj commented 4 weeks ago

Hi Giuspen, even with portable version i cannot generate the latexbox. Thank you for answer me.

giuspen commented 4 weeks ago

Ok let's try this: 1) if you look at windows defender settings, there is a way to exclude a folder from its checks. Try to exclude the folder that contains cherrytree.exe (and dvipng.exe) 2) verify that dvipng.exe is still there and wasn't removed previously from the antivirus Kaspersky/ windows defender 3) if it still fails, in cherrytree preferences dialog enable the debug log, then restart cherrytree, reproduce the problem and paste the debug log file content here

hildebrandopsj commented 3 weeks ago

Hi @giuspen, this is the log file:

[2024-06-05 08:35:01.097] [gtk] [critical] Class::register_derived_type(): base_query.type_name is NULL.
[2024-06-05 08:35:01.264] [   ] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-05 08:35:01.755] [   ] [debug] autosave on 1 min
[2024-06-05 08:35:02.292] [   ] [error] system(dvipng -q -T tight -D 140 C:\Users\HILDEB~1\AppData\Local\Temp\.NYWXO2\1-15924-1-__ct_special.dvi -o C:\Users\HILDEB~1\AppData\Local\Temp\.NYWXO2\1-15924-1-__ct_special.png > nul) returned 1
[2024-06-05 08:35:02.455] [   ] [error] system(dvipng -q -T tight -D 140 C:\Users\HILDEB~1\AppData\Local\Temp\.EYN1O2\2-15924-1-__ct_special.dvi -o C:\Users\HILDEB~1\AppData\Local\Temp\.EYN1O2\2-15924-1-__ct_special.png > nul) returned 1
[2024-06-05 08:35:02.457] [   ] [debug] Node 1 > Teste Latex
[2024-06-05 08:35:09.188] [   ] [error] system(dvipng -q -T tight -D 140 C:\Users\HILDEB~1\AppData\Local\Temp\.GTXVO2\3-15924-1-__ct_special.dvi -o C:\Users\HILDEB~1\AppData\Local\Temp\.GTXVO2\3-15924-1-__ct_special.png > nul) returned 1
[2024-06-05 08:35:12.994] [   ] [error] system(dvipng -q -T tight -D 140 C:\Users\HILDEB~1\AppData\Local\Temp\.UDCDP2\4-15924-1-__ct_special.dvi -o C:\Users\HILDEB~1\AppData\Local\Temp\.UDCDP2\4-15924-1-__ct_special.png > nul) returned 1
[2024-06-05 08:35:23.748] [   ] [debug] shift images in MenuBar/context menu
[2024-06-05 08:35:44.992] [   ] [error] system(dvipng -q -T tight -D 140 C:\Users\HILDEB~1\AppData\Local\Temp\.H8XDP2\5-15924-1-__ct_special.dvi -o C:\Users\HILDEB~1\AppData\Local\Temp\.H8XDP2\5-15924-1-__ct_special.png > nul) returned 1
[2024-06-05 08:35:48.188] [   ] [error] system(dvipng -q -T tight -D 140 C:\Users\HILDEB~1\AppData\Local\Temp\.KPXVO2\6-15924-1-__ct_special.dvi -o C:\Users\HILDEB~1\AppData\Local\Temp\.KPXVO2\6-15924-1-__ct_special.png > nul) returned 1
giuspen commented 3 weeks ago

OK I will prepare a portable bundle for you to try and I will need the new log. You should format the log as code though in github or as you can see it is wrongly trying to apply markdown formatting and it is not easy to read. I will get back with the link to the portable version to try.

giuspen commented 3 weeks ago

Please @hildebrandopsj try https://www.giuspen.net/software/cherrytree_1.1.2.0+26_win64_portable.7z and paste the new logs here

hildebrandopsj commented 3 weeks ago

@giuspen

Here are the new log:

[2024-06-08 10:54:46.075] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 10:54:46.407] [che] [debug] autosave on 1 min
[2024-06-08 10:54:46.886] [che] [debug] !! cmd 'latex --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.JDK7O2 C:\Users\HILDEB~1\AppData\Local\Temp\.JDK7O2\1-18852-1-__ct_special.tex' ok but missing C:\Users\HILDEB~1\AppData\Local\Temp\.JDK7O2\1-18852-1-__ct_special.dvi
[2024-06-08 10:54:47.072] [che] [debug] !! cmd 'latex --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.MAIAP2 C:\Users\HILDEB~1\AppData\Local\Temp\.MAIAP2\2-18852-1-__ct_special.tex' ok but missing C:\Users\HILDEB~1\AppData\Local\Temp\.MAIAP2\2-18852-1-__ct_special.dvi
[2024-06-08 10:54:47.073] [che] [debug] Node 1 > Teste Latex
[2024-06-08 10:54:51.276] [che] [debug] !! cmd 'latex --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.7Y14O2 C:\Users\HILDEB~1\AppData\Local\Temp\.7Y14O2\3-18852-1-__ct_special.tex' ok but missing C:\Users\HILDEB~1\AppData\Local\Temp\.7Y14O2\3-18852-1-__ct_special.dvi

Thank you for all your support

giuspen commented 3 weeks ago

Please @hildebrandopsj try https://www.giuspen.net/software/cherrytree_1.1.2.0+27_win64_portable.7z and paste the new logs here

hildebrandopsj commented 3 weeks ago

@giuspen here:

[2024-06-08 14:04:10.798] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 14:04:11.892] [che] [debug] autosave on 1 min
[2024-06-08 14:04:12.054] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 14:04:20.201] [che] [error] !! get_node_syntax_highlighting
[2024-06-08 14:04:20.205] [che] [debug] Node 1 > Test
[2024-06-08 14:04:24.931] [che] [error] !! system(latex --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.JAO7O2 C:\Users\HILDEB~1\AppData\Local\Temp\.JAO7O2\1-18640-1-__ct_special.tex > nul) returned 1
[2024-06-08 14:04:26.129] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 14:04:46.070] [che] [debug] Node 1 > Test
giuspen commented 3 weeks ago

Please @hildebrandopsj try https://www.giuspen.net/software/cherrytree_1.1.2.0+28_win64_portable.7z and paste the new logs here

hildebrandopsj commented 3 weeks ago

@giuspen here:

[2024-06-08 14:04:10.798] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 14:04:11.892] [che] [debug] autosave on 1 min
[2024-06-08 14:04:12.054] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 14:04:20.201] [che] [error] !! get_node_syntax_highlighting
[2024-06-08 14:04:20.205] [che] [debug] Node 1 > Test
[2024-06-08 14:04:24.931] [che] [error] !! system(latex --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.JAO7O2 C:\Users\HILDEB~1\AppData\Local\Temp\.JAO7O2\1-18640-1-__ct_special.tex > nul) returned 1
[2024-06-08 14:04:26.129] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 14:04:46.070] [che] [debug] Node 1 > Test
[2024-06-08 15:08:05.527] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:08:06.372] [che] [debug] autosave on 1 min
[2024-06-08 15:08:06.554] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 15:08:10.318] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 15:08:30.095] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:08:30.915] [che] [debug] autosave on 1 min
[2024-06-08 15:08:31.073] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 15:08:32.928] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 15:08:49.052] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+28_win64_portable\mingw64\bin
[2024-06-08 15:08:49.053] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+28_win64_portable\mingw64\bin/latex --version > nul)
[2024-06-08 15:08:49.053] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+28_win64_portable\mingw64\bin/dvipng --version > nul)
[2024-06-08 15:08:49.055] [che] [debug] Node 1 > Test
giuspen commented 3 weeks ago

Please @hildebrandopsj try https://www.giuspen.net/software/cherrytree_1.1.2.0+29_win64_portable.7z and paste the new logs here

hildebrandopsj commented 3 weeks ago

@giuspen here:

[2024-06-08 14:04:10.798] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 14:04:11.892] [che] [debug] autosave on 1 min
[2024-06-08 14:04:12.054] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 14:04:20.201] [che] [error] !! get_node_syntax_highlighting
[2024-06-08 14:04:20.205] [che] [debug] Node 1 > Test
[2024-06-08 14:04:24.931] [che] [error] !! system(latex --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.JAO7O2 C:\Users\HILDEB~1\AppData\Local\Temp\.JAO7O2\1-18640-1-__ct_special.tex > nul) returned 1
[2024-06-08 14:04:26.129] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 14:04:46.070] [che] [debug] Node 1 > Test
[2024-06-08 15:08:05.527] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:08:06.372] [che] [debug] autosave on 1 min
[2024-06-08 15:08:06.554] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 15:08:10.318] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 15:08:30.095] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:08:30.915] [che] [debug] autosave on 1 min
[2024-06-08 15:08:31.073] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 15:08:32.928] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 15:08:49.052] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+28_win64_portable\mingw64\bin
[2024-06-08 15:08:49.053] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+28_win64_portable\mingw64\bin/latex --version > nul)
[2024-06-08 15:08:49.053] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+28_win64_portable\mingw64\bin/dvipng --version > nul)
[2024-06-08 15:08:49.055] [che] [debug] Node 1 > Test
[2024-06-08 15:28:33.265] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:28:33.983] [che] [debug] autosave on 1 min
[2024-06-08 15:28:34.365] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin
[2024-06-08 15:28:34.365] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\latex --version)
[2024-06-08 15:28:34.365] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\dvipng --version)
[2024-06-08 15:28:34.368] [che] [debug] Node 1 > Test
[2024-06-08 15:29:09.986] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:29:10.298] [che] [debug] autosave on 1 min
[2024-06-08 15:29:10.678] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin
[2024-06-08 15:29:10.678] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\latex --version)
[2024-06-08 15:29:10.678] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\dvipng --version)
[2024-06-08 15:29:10.680] [che] [debug] Node 1 > Test
giuspen commented 3 weeks ago

Please @hildebrandopsj try https://www.giuspen.net/software/cherrytree_1.1.2.0+30_win64_portable.7z and paste the new logs here

hildebrandopsj commented 3 weeks ago

@giuspen here:

[2024-06-08 14:04:10.798] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 14:04:11.892] [che] [debug] autosave on 1 min
[2024-06-08 14:04:12.054] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 14:04:20.201] [che] [error] !! get_node_syntax_highlighting
[2024-06-08 14:04:20.205] [che] [debug] Node 1 > Test
[2024-06-08 14:04:24.931] [che] [error] !! system(latex --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.JAO7O2 C:\Users\HILDEB~1\AppData\Local\Temp\.JAO7O2\1-18640-1-__ct_special.tex > nul) returned 1
[2024-06-08 14:04:26.129] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 14:04:46.070] [che] [debug] Node 1 > Test
[2024-06-08 15:08:05.527] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:08:06.372] [che] [debug] autosave on 1 min
[2024-06-08 15:08:06.554] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 15:08:10.318] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 15:08:30.095] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:08:30.915] [che] [debug] autosave on 1 min
[2024-06-08 15:08:31.073] [che] [info] on_activate Last doc not found: C:\Users\Hildebrando Pereira\Desktop\Teste.ctb
[2024-06-08 15:08:32.928] [che] [debug] shift images in MenuBar/context menu
[2024-06-08 15:08:49.052] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+28_win64_portable\mingw64\bin
[2024-06-08 15:08:49.053] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+28_win64_portable\mingw64\bin/latex --version > nul)
[2024-06-08 15:08:49.053] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+28_win64_portable\mingw64\bin/dvipng --version > nul)
[2024-06-08 15:08:49.055] [che] [debug] Node 1 > Test
[2024-06-08 15:28:33.265] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:28:33.983] [che] [debug] autosave on 1 min
[2024-06-08 15:28:34.365] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin
[2024-06-08 15:28:34.365] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\latex --version)
[2024-06-08 15:28:34.365] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\dvipng --version)
[2024-06-08 15:28:34.368] [che] [debug] Node 1 > Test
[2024-06-08 15:29:09.986] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:29:10.298] [che] [debug] autosave on 1 min
[2024-06-08 15:29:10.678] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin
[2024-06-08 15:29:10.678] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\latex --version)
[2024-06-08 15:29:10.678] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\dvipng --version)
[2024-06-08 15:29:10.680] [che] [debug] Node 1 > Test
[2024-06-08 15:32:20.807] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 15:32:21.092] [che] [debug] autosave on 1 min
[2024-06-08 15:32:21.474] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin
[2024-06-08 15:32:21.474] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\latex --version)
[2024-06-08 15:32:21.474] [che] [error] !! CreateProcessW(C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+29_win64_portable\mingw64\bin\dvipng --version)
[2024-06-08 15:32:21.477] [che] [debug] Node 1 > Test
[2024-06-08 16:09:58.861] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-08 16:09:59.819] [che] [debug] autosave on 1 min
[2024-06-08 16:10:00.881] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+30_win64_portable\mingw64\bin
[2024-06-08 16:10:01.916] [che] [debug] !! cmd '"C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+30_win64_portable\mingw64\bin\latex.exe" --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.GQ76O2 C:\Users\HILDEB~1\AppData\Local\Temp\.GQ76O2\1-13120-1-__ct_special.tex' ok but missing C:\Users\HILDEB~1\AppData\Local\Temp\.GQ76O2\1-13120-1-__ct_special.dvi
[2024-06-08 16:10:01.918] [che] [debug] Node 1 > Test
giuspen commented 3 weeks ago

Can you paste here the Latex text that you are trying to render? Do you have just one Latex box or multiple?

hildebrandopsj commented 3 weeks ago

@giuspen it's the example when we use latexbox in Cherrytree:

\documentclass{article}
\pagestyle{empty}
\usepackage{amsmath}
\begin{document}
\begin{align*}
f(x) &= x^2\\
g(x) &= \frac{1}{x}\\
F(x) &= \int^a_b \frac{1}{3}x^3
\end{align*}
\end{document}
giuspen commented 3 weeks ago

Ok @hildebrandopsj keep the folder C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+30_win64_portable while you can remove the older stuff. Can you copy and paste into a windows terminal: "C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+30_win64_portable\mingw64\bin\latex.exe" --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.GQ76O2 C:\Users\HILDEB~1\AppData\Local\Temp\.GQ76O2\1-13120-1-__ct_special.tex And report what you got as output? Is a file 1-13120-1-__ct_special.dvi generated into C:\Users\HILDEB~1\AppData\Local\Temp\.GQ76O2 ? UPDATE: If it fails, please try also "C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+30_win64_portable\mingw64\bin\latex.exe" --version

hildebrandopsj commented 3 weeks ago

Hi @giuspen, no file are created in AppData

C:\Users\Hildebrando Pereira>"C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+30_win64_portable\mingw64\bin\latex.exe" --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.GQ76O2 C:\Users\HILDEB~1\AppData\Local\Temp\.GQ76O2\1-13120-1-__ct_special.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Built by MSYS2 project) (preloaded format=latex)
 restricted \write18 enabled.

kpathsea: Running mktexfmt latex.fmt

The command name is c:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+30_win64_portable\mingw64\bin\mktexfmt
Running the command c:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+30_win64_portable\mingw64\bin\fmtutil-user.exe
I can't find the format file `latex.fmt'!

This is the second command

C:\Users\Hildebrando Pereira>"C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+30_win64_portable\mingw64\bin\latex.exe" --version
pdfTeX 3.141592653-2.6-1.40.25 (TeX Live 2023/Built by MSYS2 project)
kpathsea version 6.3.5
Copyright 2023 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.40; using libpng 1.6.43
Compiled with zlib 1.3; using zlib 1.3.1
Compiled with xpdf version 4.04

Thank you again

giuspen commented 3 weeks ago

Please @hildebrandopsj try https://www.giuspen.net/software/cherrytree_1.1.2.0+36_win64_portable.7z and paste the new logs here

hildebrandopsj commented 2 weeks ago

@giuspen here:

[2024-06-12 08:14:25.640] [che] [debug] C:\Users\Hildebrando Pereira\AppData\Local\cherrytree\config.cfg parsed
[2024-06-12 08:14:25.948] [che] [debug] autosave on 1 min
[2024-06-12 08:14:26.355] [che] [debug] found latex and dvipng in C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+36_win64_portable\mingw64\bin
[2024-06-12 08:14:27.033] [che] [error] !! GetExitCodeProcess(cmd='latex.exe --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.LUO6O2 C:\Users\HILDEB~1\AppData\Local\Temp\.LUO6O2\1-11824-1-__ct_special.tex' cwd='C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+36_win64_portable\mingw64\bin') returned 1
[2024-06-12 08:14:27.036] [che] [debug] Node 1 > Test
[2024-06-12 08:14:32.230] [che] [debug] shift images in MenuBar/context menu
giuspen commented 2 weeks ago

@hildebrandopsj could you please run in a terminal and report the result the following two commands in sequence

cd "C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+36_win64_portable\mingw64\bin"
latex.exe --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.LUO6O2 C:\Users\HILDEB~1\AppData\Local\Temp\.LUO6O2\1-11824-1-__ct_special.tex
hildebrandopsj commented 2 weeks ago

@giuspen

C:\Users\Hildebrando Pereira\Desktop\cherrytree_1.1.2.0+36_win64_portable\mingw64\bin>latex.exe --interaction=batchmode -output-directory=C:\Users\HILDEB~1\AppData\Local\Temp\.LUO6O2 C:\Users\HILDEB~1\AppData\Local\Temp\.LUO6O2\1-11824-1-__ct_special.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Built by MSYS2 project) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
! I can't write on file `texput.log'.
(Press Enter to retry, or Control-Z to exit; default file extension is `.log')
Please type another transcript file name
giuspen commented 2 weeks ago

Does the file C:\Users\HILDEB~1\AppData\Local\Temp.LUO6O2\1-11824-1-__ct_special.tex exist? Can you check it's content? Can you copy it to another folder and try the same command changing to the folder where the Tex file now is?

hildebrandopsj commented 2 weeks ago

Hi @giuspen, maybe this could help?

image

The folder is not created, i change the folder to a new drive but the error persist

giuspen commented 2 weeks ago

I will try to guide you to a few commands to simplify the process and see if we can get latex.exe to work at all for you. I'm doing the same on my PC and will paste my output. 1) I create E:\sandbox 2) I place the file test.tex (attached here zipped, you will unzip there) test.zip 3) I move cherrytree_1.1.2.0+36_win64_portable into E:\sandbox

Then I open a terminal and run the following commands:

cd E:\sandbox\cherrytree_1.1.2.0+36_win64_portable\mingw64\bin

.\latex.exe --interaction=batchmode -output-directory=E:\sandbox E:\sandbox\test.tex

This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Built by MSYS2 project) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode

This is the output that I see, and the files E:\sandbox\test.aux E:\sandbox\test.dvi E:\sandbox\test.log are generated