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

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

[Octave-bug-tracker] [bug #46437] Inform users to load package installed


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #46437] Inform users to load package installed via a standard message
Date: Sun, 15 Nov 2015 17:22:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.4.0

Follow-up Comment #3, bug #46437 (project octave):

Bug #45855 is related to this, this is probably even a duplicate.

Octave does warn users to load packages via a standard message. And it doesn't
need to have a package installed. If the package is not installed it warns to
install, and if it is installed, it warns to load the package:


octave:1> pkg uninstall financial
octave:2> today()
warning: the 'today' function belongs to the financial package from Octave
Forge
which seems to not be installed in your system.

Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
warning: called from
    __unimplemented__ at line 524 column 5
error: 'today' undefined near line 1 column 1
octave:2> pkg install -forge financial
[ silence syntax deprecation warnings ]
For information about changes from previous versions of the financial package,
run 'news financial'.
octave:3> today ()
warning: the 'today' function belongs to the financial package from Octave
Forge
which you have installed but not loaded.  To load the package, run 'pkg
load financial' from the Octave prompt.

Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
warning: called from
    __unimplemented__ at line 524 column 5
error: 'today' undefined near line 1 column 1
octave:3> pkg load financial
octave:4> today ()
ans =  736283


Philip, your problem is specific to the io package because its functions do
not match a Matlab toolbox (by the way, ML is a different programming language
and does not stand for Matlab).  Octave has a specific message for the
functions xlsread and xlswrite. See __unimplemented__.m

http://hg.savannah.gnu.org/hgweb/octave/file/571508c1ed06/scripts/help/__unimplemented__.m#l98

So maybe you want to improve that message?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46437>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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