bugGNU Octave - Bugs: bug #63779, Latex interpreter failing even...


bug #63779: Latex interpreter failing even though specifications are satisfied

Submitter:  W. van Noordt <wvn>
Submitted:  Thu 09 Feb 2023 02:48:21 PM UTC
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  wvn Open/Closed:  * Open
Release:  * 7.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Thu 09 Feb 2023 03:24:02 PM UTC, comment #3: 

So you are using tools (latex etc) outside the snap container
and that does not work. This is a bug with snap package.
If you can fill a bug report there. Perhaps there is a fairly
simple solution (like setting a specific TMP value).


Dmitri A. Sergatskov <dasergatskov>
Thu 09 Feb 2023 03:11:14 PM UTC, comment #2: 

comment #1:

> Do you have octave installed via snap?
> Dmitri.
> --

I do, I have noticed some minor difference between snap and apt installs, is it worth uninstalling via snap and use apt instead?

W. van Noordt <wvn>
Thu 09 Feb 2023 02:55:49 PM UTC, comment #1: 

Do you have octave installed via snap?


Dmitri A. Sergatskov <dasergatskov>
Thu 09 Feb 2023 02:48:21 PM UTC, original submission:  

I am trying to use the latex interpreter, as described here:

I have installed the three requisite binaries and have confirmed that the locations that I provide are correct:

The warning message that is generated begins with the following:


sh: 1: /usr/bin/latex: not found
warning: latex_renderer: latex failed for string "?"

  • Command:

        "/usr/bin/latex" -interaction=nonstopmode -output-directory="/tmp/latexr2TRZD" "/tmp/latexr2TRZD/default.tex"

  • Error:

  • Stdout:

This error message indicates that a temporary script is being generated and attempted to run somewhere, but without access to the temporary files or the location in the source code where this actually happens, I am unable to debug further. Please advise how I can debug this.

Attached are the script and the EPS output that I get.

Other information:
- Output of 'octave --version':
GNU Octave, version 7.1.0
Copyright (C) 1993-2022 The Octave Project Developers.
This is free software; see the source code for copying conditions.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.

- Output of 'uname -a':
Linux wvn-dell 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

W. van Noordt <wvn>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #54341:  test.eps added by wvn (41KiB - image/x-eps)
file #54342:  mkplot.m added by wvn (862B - text/x-objcsrc)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by wvn (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-02-09 wvn Attached File- Added test.eps, #54341
        Attached File- Added mkplot.m, #54342

    Back to the top

    Powered by Savane 3.11