login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for #280 hyperdoc crashes when we enter either '**' or ' ""**" ' under Browse and operations revision 4 of 8

1 2 3 4 5 6 7 8
Editor: alfredo
Time: 2008/08/22 16:04:35 GMT-7
Note:

changed:
-From gdr Sun May 18 13:23:38 -0700 2008
-From: gdr
-Date: Sun, 18 May 2008 13:23:38 -0700
-Subject: 
-Message-ID: <20080518132338-0700@axiom-wiki.newsynthesis.org>
-
-Status: fix proposed => fixed somewhere 
-
-no patch available
From Fricas:

Index: src/interp/br-search.boot
===================================================================
--- src/interp/br-search.boot   (revision 740)
+++ src/interp/br-search.boot   (working copy)
@@ -51,6 +51,7 @@
 --an alist of the form ((kind . <list of lines for that kind>) ...)
   $localLibdb : local := fnameExists? '"libdb.text" and '"libdb.text"
   lines := grepConstruct1(s,key)
+  lines is ['error,:.] => lines
   IFCAR options => grepSplit(lines,key = 'w)    --leave now if a constructor
   MEMQ(key,'(o a)) => dbScreenForDefaultFunctions lines --kill default lines if a/o
   lines


Submitted by : (unknown) at: 2007-11-17T22:20:41-08:00 (16 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

See title... The output message is

   >> System error:
   |error| is not of type SEQUENCE.

fixed in FriCAS? --kratt6, Thu, 20 Dec 2007 01:54:17 -0800 reply
Status: open => fix proposed

  • has to be escaped by _. If you enter , you will get all operations (but HyperDoc? asks you), entering * yields an error message (but HyperDoc? won't crash).

From Fricas:

Index: src/interp/br-search.boot =================================================================== --- src/interp/br-search.boot (revision 740) +++ src/interp/br-search.boot (working copy) @@ -51,6 +51,7 @@ --an alist of the form ((kind . ) ...) $localLibdb : local := fnameExists? '"libdb.text" and '"libdb.text" lines := grepConstruct1(s,key) + lines is ['error,:.]? => lines IFCAR options => grepSplit(lines,key = w) --leave now if a constructor MEMQ(key,(o a)) => dbScreenForDefaultFunctions lines --kill default lines if a/o lines