[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58127] -append does not automatically detect/
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58127] -append does not automatically detect/check file type for save |
Date: |
Mon, 20 Apr 2020 23:38:41 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #58127 (project octave):
Status: Need Info => Confirmed
Release: 5.1.0 => dev
Operating System: Microsoft Windows => Any
Summary: save -V7 and -append error => -append does not
automatically detect/check file type for save
_______________________________________________________
Follow-up Comment #7:
Marking as confirmed, but changing the Summary to reflect the specific issue.
When the file type for the original save and the file type of the '-append'
save match, then the operation completes succesfully. However, if they do not
match then strange errors are thrown that don't immediately point back to this
root cause.
Sample code
a=1;b=2;
unlink ('ab.mat');
save -v7 ab.mat a
save -text -append ab.mat b
clear a b
load ab.mat
a
b
This code fails with
error: load: invalid element type = 8227
However, if you specify matching formats then it works correctly
a=1;b=2;
unlink ('ab.mat');
save -v7 ab.mat a
save -v7 -append ab.mat b
clear a b
load ab.mat
a
b
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58127>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58127] save -V7 and -append error, Liang Tang, 2020/04/06
- [Octave-bug-tracker] [bug #58127] save -V7 and -append error, Mike Miller, 2020/04/06
- [Octave-bug-tracker] [bug #58127] save -V7 and -append error, Rik, 2020/04/06
- [Octave-bug-tracker] [bug #58127] save -V7 and -append error, Liang Tang, 2020/04/07
- [Octave-bug-tracker] [bug #58127] save -V7 and -append error, Mike Miller, 2020/04/07
- [Octave-bug-tracker] [bug #58127] save -V7 and -append error, Liang Tang, 2020/04/07
- [Octave-bug-tracker] [bug #58127] save -V7 and -append error, Mike Miller, 2020/04/09
- [Octave-bug-tracker] [bug #58127] save -V7 and -append error, Liang Tang, 2020/04/13
- [Octave-bug-tracker] [bug #58127] -append does not automatically detect/check file type for save,
Rik <=
- [Octave-bug-tracker] [bug #58127] -append does not automatically detect/check file type for save, Rik, 2020/04/20
- [Octave-bug-tracker] [bug #58127] -append does not automatically detect/check file type for save, Rik, 2020/04/21