problems with "aoutoload" in 3.1.55
John W. Eaton
jwe at octave.org
Tue May 26 12:56:26 CDT 2009
On 20-May-2009, Carlo de Falco wrote:
| On 20 May 2009, at 21:16, Carlo de Falco wrote:
|
| > BTW the same example seems to show also a bug in get_help_text:
| >
| > ------------------------------------------------------
| > >> help myfun
| > `myfun' is a function from the file /Users/carlo/Desktop/autoloadbug/
| > myfun.m
| >
| > MYFUN: this version of myfun is defined in an m-file
| >
| > >> [text, format] = get_help_text (myfun)
| > warning: implicit conversion from scalar to string
| > text =
| > format = Not found
| > >>
| > ------------------------------------------------------
| >
| > c.
|
| Sorry this was just my mistake (I forgot the quotes):
|
| ----------------------
| >> [text, format] = get_help_text ("myfun")
| text = MYFUN: this version of myfun is defined in an oct-file
|
| format = plain text
| >> [text, format] = get_help_text ("myfun")
| text = MYFUN: this version of myfun is defined in an m-file
|
| format = plain text
| >>
| ----------------------
|
| so get_help_text seems to work as expected
| on the other hand:
|
| -----------------------
| >> ls
| PKG_ADD low_level_functions.cc low_level_functions.o
| low_level_functions.oct myfun.m
| >> gen_doc_cache ("DOC_CACHE", canonicalize_file_name("./"))
| warning: gen_doc_cache: unusable help text in
| 'low_level_functions.oct'. Ignoring function.
| warning: function name `myfun' does not agree with function file name `'
| warning: function name `myfun' does not agree with function file name `'
| >>
| -----------------------
|
| the reason I am looking at this is that I get plenty of similar errors
| if I try to install
| the nurbs package on 3.1.55
|
| also this might be some mistake on my side somwhere rather than a bug,
| but I can't see where...
What does
help low_level_functions
display? Where is myfun defined?
jwe
More information about the Bug-octave
mailing list