Bug#732659: octave: fails to load uint8 variables from text files
Control: found 732659 3.8.0~rc2-1 * Rafael Laboissiere raf...@laboissiere.net [2013-12-22 09:32]: Control: found 732659 3.8.0~rc1-1 * Rafael Laboissiere raf...@laboissiere.net [2013-12-20 14:11]: [snip] Thank you for this bug report. This is a real bug and is also present in version 3.8.0-rc1. [snip] I am hereby tagging this bug report accordingly. Idem for version 3.8.0~rc2-1. Rafael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#732659: octave: fails to load uint8 variables from text files
Control: found 732659 3.8.0~rc1-1 * Rafael Laboissiere raf...@laboissiere.net [2013-12-20 14:11]: [snip] Thank you for this bug report. This is a real bug and is also present in version 3.8.0-rc1. [snip] I am hereby tagging this bug report accordingly. Rafael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#732659: [Pkg-octave-devel] Bug#732659: octave: fails to load uint8 variables from text files
Control: tags 732659 upstream confirmed Control: forwarded 732659 https://savannah.gnu.org/bugs/index.php?40980 * Kacper Gutowski mwgam...@gmail.com [2013-12-20 04:28]: Package: octave Version: 3.6.4-4+b1 Severity: normal When a variable of class uint8 is saved in the default text format, it's actually written out in binary (one byte per element) instead of plain text like every other type. I don't know whether this is intended or not, but file containing such variable can be loaded only if said variable had no elements of values 9, 10, 11, 12, 13, or 32. These correspond to white characters in ASCII and apparently load gets confused by them. Minimal example to reproduce the problem: hyper% octave -q --no-init-file octave:1 a = uint8(10); octave:2 save 'a' a octave:3 load 'a' error: load: failed to load scalar constant error: load: trouble reading ascii file 'a' error: load: reading file a octave:3 Thank you for this bug report. This is a real bug and is also present in version 3.8.0-rc1. This is an upstream problem and I forwarded your bug report to the bug tracker of the Octave project at Savannah.gnu.org. Best, Rafael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#732659: octave: fails to load uint8 variables from text files
Package: octave Version: 3.6.4-4+b1 Severity: normal When a variable of class uint8 is saved in the default text format, it's actually written out in binary (one byte per element) instead of plain text like every other type. I don't know whether this is intended or not, but file containing such variable can be loaded only if said variable had no elements of values 9, 10, 11, 12, 13, or 32. These correspond to white characters in ASCII and apparently load gets confused by them. Minimal example to reproduce the problem: hyper% octave -q --no-init-file octave:1 a = uint8(10); octave:2 save 'a' a octave:3 load 'a' error: load: failed to load scalar constant error: load: trouble reading ascii file 'a' error: load: reading file a octave:3 -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (900, 'testing'), (700, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages octave depends on: ii libamd2.3.1 1:4.2.1-3 ii libarpack2 3.1.4-1 ii libatlas3-base [liblapack.so.3] 3.10.1-2 ii libblas3 [libblas.so.3] 1.2.20110419-7 ii libc62.17-97 ii libcamd2.3.1 1:4.2.1-3 ii libccolamd2.8.0 1:4.2.1-3 ii libcholmod2.1.2 1:4.2.1-3 ii libcolamd2.8.0 1:4.2.1-3 ii libcurl3-gnutls 7.33.0-1 ii libcxsparse3.1.2 1:4.2.1-3 ii libfftw3-double3 3.3.3-7 ii libfftw3-single3 3.3.3-7 ii libfltk-gl1.31.3.2-3 ii libfltk1.3 1.3.2-3 ii libfreetype6 2.5.1-1 ii libgcc1 1:4.8.2-1 ii libgl1-mesa-glx [libgl1] 9.2.2-1 ii libglpk364.52.1-2 ii libgomp1 4.8.2-1 ii libgraphicsmagick++3 1.3.16-1.2 ii libgraphicsmagick3 1.3.16-1.2 ii liblapack3 [liblapack.so.3] 3.5.0-2 ii liboctave1 3.6.4-4+b1 ii libpcre3 1:8.31-2 ii libqhull52009.1-3 ii libqrupdate1 1.1.1-1 ii libstdc++6 4.8.2-1 ii libumfpack5.6.2 1:4.2.1-3 ii libx11-6 2:1.6.2-1 ii octave-common3.6.4-4 ii texinfo 5.2.0.dfsg.1-2 Versions of packages octave recommends: ii gnuplot-x11 4.6.4-1 ii libatlas3-base 3.10.1-2 ii pstoedit3.62-1 Versions of packages octave suggests: pn octave-doc none pn octave-htmldoc none pn octave-info none -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org