--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: octave2.9: Plot with convert sometimes doesn't work (race condition?)
- From: Reuben Thomas <rrt@sc3d.org>
- Date: Mon, 29 Jan 2007 20:09:47 +0000
- Message-id: <20070129200947.13355.77084.reportbug@localhost.localdomain>
Package: octave2.9
Version: 2.9.9-6
Severity: normal
With the following script: (I don't think the details are important)
clear
x = randn(65536, 1);
x = x / max(abs(x));
XR = 20*log10(abs(fft(2*hanning(65536).*x(1:65536), 65536)));
XP = 20*log10(abs(fft(2*hanning(65536).*x(1:65536), 65536)));
XS = 20*log10(abs(fft(2*hanning(65536).*x(1:65536), 65536)));
w = [0:65535]/65536 * 44100;
plot(w, XR, w, XP, w, XS)
hold on
axis([0 22050 -100 80])
text(5000, -50, '4 kHz: Upper Limit of Data');
legend('Rabbit','Polyphase','Resample')
plot([4000 4000], [-100 80], 'g')
plot([44100 - 4000 44100 - 4000], [-100 80], 'g');
title('Rate Convert From 8 kHz to 44.1 kHz Of Random Noise');
ylabel('Magnitude of Spectrum in dB')
xlabel('Frequency in kHz');
xlabel('Frequency in Hz');
hold off
print RandomNoiseUpsample.ppm
I usually (but not always) get this error:
error: Did not find ppm
error: evaluating if command near line 90, column 5
error: evaluating if command near line 88, column 3
error: evaluating for command near line 76, column 1
error: called from `cellidx' in file `/usr/share/octave/2.9.9/m/control/system/cellidx.m'
error: evaluating assignment expression near line 206, column 7
error: called from `print' in file `/usr/share/octave/2.9.9/m/plot/print.m'
error: near line 20 of file `foo.m'
If I don't involve convert (because I ask for .pbm output) I never get
the error.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages octave2.9 depends on:
ii fftw3 3.1.2-1 library for computing Fast Fourier
ii lapack3 [liblapack.so.3] 3.0.20000531a-6 library of linear algebra routines
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-21 GCC support library
ii libgfortran1 4.1.1-21 Runtime library for GNU Fortran ap
ii libglpk0 4.11-2 linear programming kit (shared lib
ii libhdf5-serial-1.6.5-0 [ 1.6.5-3 Hierarchical Data Format 5 (HDF5)
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi
ii libreadline5 5.2-2 GNU readline and history libraries
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii libufsparse 1.2-7 collection of libraries for comput
ii refblas3 [libblas.so.3] 1.2-8 Basic Linear Algebra Subroutines 3
ii texinfo 4.8.dfsg.1-4 Documentation system for on-line i
ii zlib1g 1:1.2.3-13 compression library - runtime
octave2.9 recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: octave2.9
Source-Version: 2.9.9-8
We believe that the bug you reported is fixed in the latest version of
octave2.9, which is due to be installed in the Debian FTP archive:
octave2.9-doc_2.9.9-8_all.deb
to pool/main/o/octave2.9/octave2.9-doc_2.9.9-8_all.deb
octave2.9-emacsen_2.9.9-8_all.deb
to pool/main/o/octave2.9/octave2.9-emacsen_2.9.9-8_all.deb
octave2.9-headers_2.9.9-8_i386.deb
to pool/main/o/octave2.9/octave2.9-headers_2.9.9-8_i386.deb
octave2.9-htmldoc_2.9.9-8_all.deb
to pool/main/o/octave2.9/octave2.9-htmldoc_2.9.9-8_all.deb
octave2.9-info_2.9.9-8_all.deb
to pool/main/o/octave2.9/octave2.9-info_2.9.9-8_all.deb
octave2.9_2.9.9-8.diff.gz
to pool/main/o/octave2.9/octave2.9_2.9.9-8.diff.gz
octave2.9_2.9.9-8.dsc
to pool/main/o/octave2.9/octave2.9_2.9.9-8.dsc
octave2.9_2.9.9-8_i386.deb
to pool/main/o/octave2.9/octave2.9_2.9.9-8_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 408992@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael@debian.org> (supplier of updated octave2.9 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 8 Feb 2007 00:44:16 +0100
Source: octave2.9
Binary: octave2.9-headers octave2.9-info octave2.9-htmldoc octave2.9 octave2.9-emacsen octave2.9-doc
Architecture: source i386 all
Version: 2.9.9-8
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael@debian.org>
Description:
octave2.9 - GNU Octave language for numerical computations (2.9 branch)
octave2.9-doc - PDF documentation on the GNU Octave language (2.9 branch)
octave2.9-emacsen - Emacs support for the GNU Octave language (2.9 branch)
octave2.9-headers - header files for the GNU Octave language (2.9 branch)
octave2.9-htmldoc - HTML documentation on the GNU Octave language (2.9 branch)
octave2.9-info - GNU Info documentation on the GNU Octave language (2.9 branch)
Closes: 408992 410070
Changes:
octave2.9 (2.9.9-8) unstable; urgency=low
.
[ Rafael Laboissiere ]
* debian/patches/50_print-imagemagick-extensions.dpatch: Added patch to
avoid failures in print() when file extensions needing call to convert
are specified by the user (closes: #408992)
.
[ Thomas Weber ]
* debian/patches/50_correct_test.dpatch: Use first file in loadpath for
tests (closes: #410070)
Files:
fa2b2f112657593bd6041e2195396181 1114 math optional octave2.9_2.9.9-8.dsc
0d112a182316c3993fa4bd7acb7dfe0b 61176 math optional octave2.9_2.9.9-8.diff.gz
0a07953fc90707edc6be2e7d5fef3968 7474860 math optional octave2.9_2.9.9-8_i386.deb
daadab5575c52dfca2481ff4fb596c0f 344066 math optional octave2.9-headers_2.9.9-8_i386.deb
677a7b92caef66c32dcf530300aac9d6 2183036 doc optional octave2.9-doc_2.9.9-8_all.deb
698bcf3e4aa661f0b498e7a140107917 520850 math optional octave2.9-htmldoc_2.9.9-8_all.deb
43f3f4245005a99c8c5f550927fafd01 82610 math optional octave2.9-emacsen_2.9.9-8_all.deb
6e850bdce939ee6db48a075132a618bf 358134 math optional octave2.9-info_2.9.9-8_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFyncPk3oga0pdcv4RAocOAJ94ypAmmiTO1v+lZDC7uK9svXTJpgCdEUJ/
r5OiQai64Y5EXtqxH8de3z8=
=WJwA
-----END PGP SIGNATURE-----
--- End Message ---