Warnings from pkg load package_name

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Warnings from pkg load package_name

Michel
Hello,

 I get some warnings like that:

warning: called from
    load_packages_and_dependencies at line 48 column 5
    load_packages at line 47 column 3
    pkg at line 457 column 7

  Is this a dependency problem?
  Maybe, the package have to be loaded in a certain order ? If yes What the
order is?

Regards,

Michel



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: Warnings from pkg load package_name

siko1056
On Tue, 17 Jul 2018, 09:24 Michel, <[hidden email]> wrote:
Hello,

 I get some warnings like that:

warning: called from
    load_packages_and_dependencies at line 48 column 5
    load_packages at line 47 column 3
    pkg at line 457 column 7

  Is this a dependency problem?
  Maybe, the package have to be loaded in a certain order ? If yes What the
order is?

Regards,

Michel

Which version of Octave do you use and which package are you trying to load?  Did you install that package before with

   pkg install -forge package_name

or do you try to load an older installation from a previous Octave version?

HTH,
Kai


Reply | Threaded
Open this post in threaded view
|

Re: Warnings from pkg load package_name

Michel
Hello Kai,

The answers to your questions are below:

"Which version of Octave do you use? "   ->    Version is 4.4 (2018-04-30)

 "Which package are you trying to load?  -->

warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\linear-algebra-2.2.2\condeig.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\miscellaneous-1.2.1\publish.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\center.m shadows a core
library function
warning: function C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\cov.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\detrend.m shadows a
core library function
warning: function C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\iqr.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\kurtosis.m shadows a
core library function
warning: function C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\mad.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\mean.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\meansq.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\median.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\moment.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\prctile.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\quantile.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\range.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\ranks.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\skewness.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\spearman.m shadows a
core library function
warning: function C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\std.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\sumsq.m shadows a
built-in function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\zscore.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nurbs-1.3.13\vecnorm.m shadows a
core library function
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\utl:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\asm:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\tst:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\nls:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\prs:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\sbn:
No such file or directory
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\ode23.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\ode45.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\odeget.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\odeplot.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\odeset.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\lib\octave\packages\specfun-1.1.0\x86_64-w64-mingw32-api-v52\ellipj.oct
shadows a built-in function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\cosint.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\ellipke.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\erfcinv.m shadows a
built-in function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\expint.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\psi.m shadows a
built-in function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\sinint.m shadows a
core library function

Did you install that package with pkg install -forge package_name? -->  Yes
I did

Do you try to load an older installation from a previous Octave version? -->
No I don't.

Regards,

Michel




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: Warnings from pkg load package_name

siko1056
On Wed, Jul 18, 2018 at 11:03 AM Michel <[hidden email]> wrote:
Hello Kai,

The answers to your questions are below:

"Which version of Octave do you use? "   ->    Version is 4.4 (2018-04-30)

 "Which package are you trying to load?  -->

warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\linear-algebra-2.2.2\condeig.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\miscellaneous-1.2.1\publish.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\center.m shadows a core
library function
warning: function C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\cov.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\detrend.m shadows a
core library function
warning: function C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\iqr.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\kurtosis.m shadows a
core library function
warning: function C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\mad.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\mean.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\meansq.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\median.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\moment.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\prctile.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\quantile.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\range.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\ranks.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\skewness.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\spearman.m shadows a
core library function
warning: function C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\std.m
shadows a core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\sumsq.m shadows a
built-in function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nan-3.1.4\zscore.m shadows a core
library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\nurbs-1.3.13\vecnorm.m shadows a
core library function
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\utl:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\asm:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\tst:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\nls:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\prs:
No such file or directory
warning: addpath:
C:\Octave\OCTAVE~1.0\lib\octave\packages\ocs-0.1.5\x86_64-w64-mingw32-api-v52\..\sbn:
No such file or directory
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\ode23.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\ode45.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\odeget.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\odeplot.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\odepkg-0.8.5\odeset.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\lib\octave\packages\specfun-1.1.0\x86_64-w64-mingw32-api-v52\ellipj.oct
shadows a built-in function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\cosint.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\ellipke.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\erfcinv.m shadows a
built-in function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\expint.m shadows a
core library function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\psi.m shadows a
built-in function
warning: function
C:\Octave\OCTAVE~1.0\share\octave\packages\specfun-1.1.0\sinint.m shadows a
core library function

Did you install that package with pkg install -forge package_name? -->  Yes
I did

Do you try to load an older installation from a previous Octave version? -->
No I don't.

Regards,

Michel


Hello Michel,

Now I get the problem.  The only important warning-statements are "X shadows a core library function" and "No such file or directory".  That means there are "no" dependency problems.  The warnings are just thrown during calls in the "load_packages_and_dependencies" function.

Many of the packages you mention are not actively maintained:

- linear-algebra 2015-03-06
- miscellaneous 2014-06-05
- nan 2017-08-23
- nurbs 2017-03-28
- ocs 2015-08-7

and therefore might be a bit out of date with the latest stable Octave release regarding builtin functions and paths.  Unless you notice functional issues with Octave and the packages, you should be fine with the situation.

If you are interested in one of the packages, you can start making them better at https://octave.sourceforge.io/developers.php.

HTH,
Kai