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

 
 

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

Submitted by:  Simon Munton <nomis>
Submitted on:  Sun 13 Feb 2011 07:33:09 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: DuplicateAssigned to: None
Originator Name: Simon MuntonOpen/Closed: Closed
Release: 3.4.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Closing as duplicate of bug #32839.

Mike Miller <mtmiller>
Project Administrator
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 File(s):
   
   
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
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by nomis (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Oct 2013 03:14:52 AM UTCmtmillerCategoryNone=>Octave Function
      StatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Sat 11 Feb 2012 04:58:57 AM UTCrik5Dependencies-=>Depends on bugs #32839
    Sun 13 Feb 2011 07:33:09 AM UTCnomisAttached File-=>Added octave-3.4.0.diff, #22666

    Back to the top


    Powered by Savane 3.1-cleanup1