[ic] search error: Limit subroutine creation

Joachim Leidinger interchange-users@interchange.redhat.com
Mon Nov 26 16:36:00 2001


cfm@maine.com wrote:
> > > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100]
> > > > > > intos
> > > > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI
> > > > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit
> > > > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI
> > > > > > Kabel/va=subgroup=SCSI-III (U2W/160) Flachbandkabel mit Terminator
> > > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/:
> > > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1.
> > > > > > >
...
> > What another kind of search can you use with a perl script and
> > LWP::UserAgent?
> > Have you a simple little example to use a POST Methode with
> > LWP::UserAgent in a perl script to call IC for searching anything?
> > I will be very glad to use another kind of search methode to get a right
> > search results in my perl script.
> 
> The method you are using will work fine IF you are searching on a field
> that does not need escaping.
> 
> code  price  description  category        squash         foo bar gletc
> 1111  99.99  asdfasdf     SCSI-III (U2W   SCSI_III_U2W   asd as  asdf

Ah! I see it, what you mean! 
 
> And use squash in your query instead of the category.  Create squash
> column when you upload data.  (Note this is not much less work than
> just escaping it right; it's for human convenience mostly.)
> 
> Alternatively, create a table of contents page listing your catalogs,
> wget that and strip out the urls.  Use those.
> 
> Sorry, no examples; we don't use either method any more, but map mv_arg
> to a category number, so categories look like   VLINK?mv_arg=20222 or
> some such.  That's not going to help you.

I've change the contents of the fields, who has "(", ")" and "&" so,
that I don't need such characters and I get the whole PDF Pages filled
with items right. It was easier than creating a new field like "squash"
at the moment, because I've no times to do that.

I hope Mike can find a solution to provide any searching for an
itemfields (with "(",")","&", etc.) by an external script outside of IC.

cfm and Racke,

thank you a lot for your times.

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de