bugGNU Octave - Bugs: bug #47316, file odepkg-0.8.5.tar.gz does not...

 
 

bug #47316: file odepkg-0.8.5.tar.gz does not exist

Submitter:  None
Submitted:  Tue 01 Mar 2016 09:00:09 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Andy Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 01 Mar 2016 11:14:16 PM UTC, comment #3: 

I would say "is not meant to work" instead of "doesn't work".  Please do not send a patch to have pkg search the Octave path.

The Octave path is to search for functions and classes. Everything else should require a filepath.  I still find it odd that load searches the path, and that there's an extra path IMAGE_PATH for imread only.

Carnë Draug <carandraug>
Group Member
Tue 01 Mar 2016 09:20:52 PM UTC, comment #2: 

Right, this was also asked on the mailing list recently. The load path only works for data files (e.g. load) or function files. Doesn't work for fopen or imread or pkg install.

Use


file_in_loadpath ("odepkg-0.8.5.tar.gz")


to get the full path to the file, or


pkg ("install", file_in_loadpath ("odepkg-0.8.5.tar.gz"));


to do it all in one command.

Mike Miller <mtmiller>
Group Member
Tue 01 Mar 2016 09:10:23 PM UTC, comment #1: 

You must specify the path for the file. You must not just use the filename and add it somewhere on the path. cd to where you have the file, specify the path to it, or move the file to your current working directory (use pwd).

Carnë Draug <carandraug>
Group Member
Tue 01 Mar 2016 09:00:09 PM UTC, original submission:  

I am a grad student and I just had Octave 4.0 installed in my computer. I am trying to use lsode to solve a system of stiff differential equations. I already used 'stiff' option to solve but did not get the right solution. So I downloaded odepkg-0.8.5.tar.gz and tried to install but I kept get the message "file odepkg-0.8.5.tar.gz does not exist" back. I have also used exist(filename) and it returned value of 2. I don't understand why the software could not find the package.

P.S: I did put the package file in the place where I already created the path for Octave accessing to.

Thanks,
Vu

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #36523:  odepkg-0.8.5.tar.gz added by None (427KiB - application/x-gzip)

 

Depends on the following items: None found

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 None (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-01 mtmiller StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2016-03-01 None Attached File- Added odepkg-0.8.5.tar.gz, #36523

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code