bugGNU Octave - Bugs: bug #58054, MS Windows ZIP installation...

 
 

bug #58054: MS Windows ZIP installation "pkg load" fails

Submitter:  wieniawski <wieniawski>
Submitted:  Fri 27 Mar 2020 08:01:06 AM UTC
   
 
Category:  Octave Function Severity:  2 - Minor
Priority:  3 - Low Item Group:  Installation Failure
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  wieniawski Open/Closed:  * Closed
Release:  * 5.2.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 27 Mar 2020 02:39:32 PM UTC, comment #2: 

For this issue, our help mailing-list (help@octave.org) seems more appropriate.

For ZIP installers please read the second bullet of
   https://wiki.octave.org/Octave_for_Microsoft_Windows#Installers_for_Microsoft_Windows

In general you should favor the EXE installer, as it performs all tasks automatically.  Is there a reason not to use them in you case?

If the problem cannot be resolved, we can reopen this item.

Kai Torben Ohlhus <siko1056>
Group Member
Fri 27 Mar 2020 08:42:10 AM UTC, comment #1: 

I have another PC, which installed previous version of octave. And I find octave_packages file contains the correct path of toolboxes, without _OH_ prefix.

Just comment that, I downloaded a version of octave by the zip file, and just unzip it to the dest-dir.

I guess I need to use some command to update the octave_packages file to the correct path. But I donot know what command is. BTW, pkg rebuild all command is tried, but without success.

original submission:

> I am trying to load control toolbox by typing:
> pkg load control
> however, it comes out:
>
> warning: addpath: _OH_/share/octave/packages/control-3.2.0: No such file or direc
> tory
> warning: called from
>     load_packages_and_dependencies at line 48 column 5
>     load_packages at line 47 column 3
>     pkg at line 461 column 7
>
> I tried to to debug it, and find out, in load_packages_and_dependencies.m, line 48, toolbox path is added. However, the path is _OH_/share/octave/packages/control-3.2.0, which is not a real path, so it can not be added.
>
> I also found the path is from <octave_root>\mingw64\share\octave\octave_packages. In this file, the path is what mentioned above.
>
> I guess _OH_ should be replaced with the real dir somewhere, but I donot know how and where to replace.
>
> So, pls check if it can be fixed.
>


original submission:

> I am trying to load control toolbox by typing:
> pkg load control
> however, it comes out:
>
> warning: addpath: _OH_/share/octave/packages/control-3.2.0: No such file or direc
> tory
> warning: called from
>     load_packages_and_dependencies at line 48 column 5
>     load_packages at line 47 column 3
>     pkg at line 461 column 7
>
> I tried to to debug it, and find out, in load_packages_and_dependencies.m, line 48, toolbox path is added. However, the path is _OH_/share/octave/packages/control-3.2.0, which is not a real path, so it can not be added.
>
> I also found the path is from <octave_root>\mingw64\share\octave\octave_packages. In this file, the path is what mentioned above.
>
> I guess _OH_ should be replaced with the real dir somewhere, but I donot know how and where to replace.
>
> So, pls check if it can be fixed.
>

wieniawski <wieniawski>
Fri 27 Mar 2020 08:01:06 AM UTC, original submission:  

I am trying to load control toolbox by typing:
pkg load control
however, it comes out:

warning: addpath: _OH_/share/octave/packages/control-3.2.0: No such file or direc
tory
warning: called from
    load_packages_and_dependencies at line 48 column 5
    load_packages at line 47 column 3
    pkg at line 461 column 7

I tried to to debug it, and find out, in load_packages_and_dependencies.m, line 48, toolbox path is added. However, the path is _OH_/share/octave/packages/control-3.2.0, which is not a real path, so it can not be added.

I also found the path is from <octave_root>\mingw64\share\octave\octave_packages. In this file, the path is what mentioned above.

I guess _OH_ should be replaced with the real dir somewhere, but I donot know how and where to replace.

So, pls check if it can be fixed.

wieniawski <wieniawski>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by wieniawski (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-27 siko1056 CategoryOctave Package Octave Function
        Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        Item GroupOther Installation Failure
        StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
        Summarypkg load fail MS Windows ZIP installation "pkg load" fails

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code