octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54657] unpack fails with explicit archive typ


From: Rik
Subject: [Octave-bug-tracker] [bug #54657] unpack fails with explicit archive type
Date: Thu, 13 Sep 2018 14:31:01 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Update of bug #54657 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Can you report the error you get as well?  When I try your code in
octave-4.4.1 I get this:


octave:1> dlmwrite("out", pi) ;
octave:2> 
octave:2> zfile = "out.zip" ;
octave:3> zip(zfile, "out") ;
octave:4> unpack(zfile) ;
octave:5> 
octave:5> zfile = "outz" ;
octave:6> zip(zfile, "out") ;
octave:7> unpack(zfile, [], "zip") ;
error: unpack: FILE "outz" not found
error: called from
    unpack at line 93 column 9


The error is not really with unpack.  The zip() function automatically adds
the extension ".zip" to a bare text filename.  When zfile is "outz" the result
is "outz.zip" which then unpack can't find. 


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54657>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]