bugGNU Octave - Bugs: bug #32451, Can't install package from an...

 
 

bug #32451: Can't install package from an unpacked tarball

Submitter:  Simon Munton <nomis>
Submitted:  Sun 13 Feb 2011 07:33:09 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Duplicate Assigned to:  None
Originator Name:  Simon Munton Open/Closed:  * Closed
Release:  * 3.4.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 28 Oct 2013 03:14:52 AM UTC, comment #1: 

Closing as duplicate of bug #32839.

Mike Miller <mtmiller>
Group Member
Sun 13 Feb 2011 07:33:09 AM UTC, original submission:  

Trying to install a package by passing in the directory of where the package is no longer works.

octave:1> pkg install .
unpack: FILETYPE must be gunzip for a directory
error: called from `unpack' in file /usr/share/octave/3.4.0/m/miscellaneous/unpack.m near line 47, column 9
error: called from:
error:   /usr/share/octave/3.4.0/m/pkg/pkg.m at line 729, column 5
error:   /usr/share/octave/3.4.0/m/pkg/pkg.m at line 354, column 9

This seems to be caused by a change to the way exist('.', 'file') works, in that it now returns a non zero value if what is being tested is actually a directory.

Attached is a possible solution for pkg.m which tests the return value of exist('', 'file') for the value returned for a file.

Simon Munton <nomis>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #22666:  octave-3.4.0.diff added by nomis (8KiB - text/x-patch - Possible solution)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by nomis (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-28 mtmiller CategoryNone Octave Function
        StatusNone Duplicate
        Open/ClosedOpen Closed
    2012-02-11 rik5 Dependencies- Depends on bugs #32839
    2011-02-13 nomis Attached File- Added octave-3.4.0.diff, #22666

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code