octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58054] pkg load fail


From: wieniawski
Subject: [Octave-bug-tracker] [bug #58054] pkg load fail
Date: Fri, 27 Mar 2020 04:42:10 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Follow-up Comment #1, bug #58054 (project octave):

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.

[comment #0 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.
> 

[comment #0 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.
> 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58054>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]