Hi,

On Sat, 28 Feb 2026 21:51:03 +0000 Jerome Benoit <[email protected]> wrote:
Package: wxmaxima
Version: 26.01.0+ds-3
Severity: normal
X-Debbugs-Cc: [email protected]

Hello,

it appears that `wxdraw2d` fails while `wxplot2d` plots as expected.
A first look leads to think that `gnuplot_file_args` is not taken
into account. Actually this might be rather a `maxima`issue.
It have to be confirmed though.

Cheers,
Jerome

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.18.9+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages wxmaxima depends on:
ii  libc6                     2.42-13
ii  libgcc-s1                 15.2.0-14
ii  libstdc++6                15.2.0-14
ii  libwxbase3.2-1t64         3.2.9+dfsg-1
ii  libwxgtk-webview3.2-1t64  3.2.9+dfsg-1
ii  libwxgtk3.2-1t64          3.2.9+dfsg-1
ii  maxima                    5.49.0+dsfg-3

Versions of packages wxmaxima recommends:
ii  gnuplot               6.0.3+dfsg1-1
ii  gnuplot-qt [gnuplot]  6.0.3+dfsg1-1
ii  maxima-doc            5.49.0+dsfg-3

Versions of packages wxmaxima suggests:
pn  fonts-jsmath         <none>
pn  ibus-gtk3            <none>
pn  texlive-latex-extra  <none>

-- no debconf information



It appears that the issue is indeed a maxima issue.

The attached maxima batch file reproduces the issue as the log files show.

Cheers,
Jerome

--
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/[email protected]
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
/* maxima -b bugreport-1129331-20260301.mac 2> 
bugreport-1129331-20260301_mac-stderr.log */
/* preamble */
writefile("bugreport-1129331-20260301_mac.log");
maxima_tempdir:"/tmp";
system("cat /etc/debian_version");
binfo:build_info()$
binfo@version;
binfo@timestamp;
binfo@lisp_version;
set_plot_option([plot_format,gnuplot]);
/* `plot2d` works but `draw2d` fails */
gnuplot_file_args;
plot2d(cos(t),[t,0,2*%pi],[png_file,"padhoc-00.png"]);
draw2d(explicit(sin(t),t,-%pi,+%pi),terminal='png,file_name="dadhoc-00");
/* faulty `gnuplot_file_args` leads to the same issue with `plot2d` */
gnuplot_file_args:"~s";
plot2d(cos(t),[t,0,2*%pi],[png_file,"padhoc-01.png"]);
draw2d(explicit(sin(t),t,-%pi,+%pi),terminal='png,file_name="dadhoc-01");
/* postamble */
closefile();
/* quit(); */
Starts dribbling to bugreport-1129331-20260301_mac.log (2026/3/1, 12:24:53).
NIL
(%o2)                                done
(%i3) maxima_tempdir:"/tmp"
(%o3)                                /tmp
(%i4) system("cat /etc/debian_version")
forky/sid
(%o4)                                false
(%i5) binfo:build_info()
(%i6) binfo@version
(%o6)                               5.49.0
(%i7) binfo@timestamp
(%o7)                         2026-03-01 10:58:21
(%i8) binfo@lisp_version
(%o8)                GCL 2.7.1 git tag Version_2_7_2pre11
(%i9) set_plot_option([plot_format,gnuplot])
(%o9) [[plot_format, gnuplot], [grid, 30, 30], [run_viewer, true], 
[axes, true], [nticks, 29], [adapt_depth, 5], 
[color, blue, red, green, magenta, black, cyan], 
[point_type, bullet, box, triangle, plus, times, asterisk], 
[palette, [hue, 0.33333333, 0.7, 1, 0.5], [hue, 0.8, 0.7, 1, 0.4]], 
[gnuplot_svg_background, white], [gnuplot_preamble, ], [gnuplot_term, default]]
(%i10) gnuplot_file_args
(%o10)                                ~a
(%i11) plot2d(cos(t),[t,0,2*%pi],[png_file,"padhoc-00.png"])
(%o11)        [/tmp/6054sg1fadro0irz.gnuplot, /tmp/padhoc-00.png]
(%i12) draw2d(explicit(sin(t),t,-%pi,+%pi),terminal = 'png,file_name
                                                             = "dadhoc-00")
(%o12)                         [gr2d(explicit)]
(%i13) gnuplot_file_args:"~s"
(%o13)                                ~s
(%i14) plot2d(cos(t),[t,0,2*%pi],[png_file,"padhoc-01.png"])
(%o14)        [/tmp/6054sg1fadro0irz.gnuplot, /tmp/padhoc-01.png]
(%i15) draw2d(explicit(sin(t),t,-%pi,+%pi),terminal = 'png,file_name
                                                             = "dadhoc-01")
(%o15)                         [gr2d(explicit)]
(%i16) closefile()
line 0: Cannot load input from '"/tmp/maxout21809.gnuplot"'

line 0: Cannot load input from '"/tmp/6054sg1fadro0irz.gnuplot"'

line 0: Cannot load input from '"/tmp/maxout21809.gnuplot"'

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to