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: Muhali
Subject: [Octave-bug-tracker] [bug #54657] unpack fails with explicit archive type
Date: Thu, 13 Sep 2018 12:15:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

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

                 Summary: unpack fails with explicit archive type
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Thu 13 Sep 2018 09:15:50 AM PDT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

For the unpack function, the archive type can be explicitly specified in an
argument. I assume that applies to cases where that type is not given by the
file extension. But in that case it doesn't work, as shown by the error of the
following script:


dlmwrite("out", pi) ;

zfile = "out.zip" ;
zip(zfile, "out") ;
unpack(zfile) ;

zfile = "outz" ;
zip(zfile, "out") ;
unpack(zfile, [], "zip") ;






    _______________________________________________________

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]