« Return to Thread: problems with "aoutoload" in 3.1.55

Re: problems with "aoutoload" in 3.1.55

by Carlo de Falco-2 :: Rate this Message:

Reply to Author | View in Thread


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...


c.


_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave

 « Return to Thread: problems with "aoutoload" in 3.1.55