gummi icon indicating copy to clipboard operation
gummi copied to clipboard

I can't write on file `".Document.tex.aux"'.

Open sm8ps opened this issue 10 months ago • 0 comments

Describe the bug Gummi works fine as long as the document is NOT saved. As soon as I save any document the build log show the following error line:

/home/user/temp/.Document.tex.swp:8: I can't write on file `".Document.tex.aux"'.

This does happen even with the sample document.

To Reproduce Steps to reproduce the behavior:

  1. Start Gummi with the sample document in the editor panel and the preview is shown.
  2. Save the document in the file system as 'Document.tex' and the preview does not work and the aforementioned error message about not being able to write on file `".Document.tex.aux"'. is shown.

System:

  • Ubuntu 24.04 with KDE Plasma
  • Gummi version 0.8.3 installed via Apt Notably this error does not happen with the Flatpak installed version 0.8.3. However, that one is not usable in my set-up because the icons are not properly showing, presumably because of some GTK vs. KDE issues.

Other I have seen #110 but none of the information there helped me work around or even solve the problem. This one see much more deeply rooted.

Build log for the unsaved document:

This is pdfTeX, Version 3.141592653-2.6-1.40.26 (MiKTeX 24.12) (preloaded format=latex.fmt)
 \write18 enabled.
entering extended mode
(/home/user/.cache/gummi/gummi_HR9212
LaTeX2e <2024-11-01> patch level 2
L3 programming layer <2025-01-18>
(/home/user/.miktex/texmfs/install/tex/latex/base/article.cls
Document Class: article 2024/06/29 v1.4n Standard LaTeX document class
(/home/user/.miktex/texmfs/install/tex/latex/base/size11.clo))
(/home/user/.miktex/texmfs/install/tex/latex/l3backend/l3backend-dvips.def)
No file gummi_HR9212.aux.

[1] (gummi_HR9212.aux) )
Output written on /home/user/.cache/gummi/gummi_HR9212.dvi (1 page, 2840 byte
s).
Transcript written on /home/user/.cache/gummi/gummi_HR9212.log.

Build log after saving the document as Document.tex:

This is pdfTeX, Version 3.141592653-2.6-1.40.26 (MiKTeX 24.12) (preloaded format=latex.fmt)
 \write18 enabled.
entering extended mode
(/home/user/temp/.Document.tex.swp
LaTeX2e <2024-11-01> patch level 2
L3 programming layer <2025-01-18>
(/home/user/.miktex/texmfs/install/tex/latex/base/article.cls
Document Class: article 2024/06/29 v1.4n Standard LaTeX document class
(/home/user/.miktex/texmfs/install/tex/latex/base/size11.clo))
(/home/user/.miktex/texmfs/install/tex/latex/l3backend/l3backend-dvips.def)
No file .Document.tex.aux.
/home/user/temp/.Document.tex.swp:8: I can't write on file `.Document.tex.aux
'.
\document ...ate \openout \@mainaux \jobname .aux 
                                                  \immediate \write \@mainau...
l.8 \begin{document}
                    
(Press Enter to retry, or Control-C to exit; default file extension is `.tex')
Please type another output file name
/home/user/temp/.Document.tex.swp:8: Emergency stop.
\document ...ate \openout \@mainaux \jobname .aux 
                                                  \immediate \write \@mainau...
l.8 \begin{document}
                    
No pages of output.
Transcript written on /home/user/.cache/gummi/.Document.tex.log.

sm8ps avatar Feb 26 '25 10:02 sm8ps