Hi, I think I've got all the things working (gift server, apache and php)..but I'm not quite sure if I'm doing it correctly. I've indexed some images and its at /home/rahayu/ When i typed gift, this is what i got:
Not testing file:libperl.so.5.10.0 (File name does not match plugin name) Not testing file:libtiff.so.4 (File name does not match plugin name) FINISHED Configuring CDynamicQueryFactory ---------------------------------------- The current configuration directory is: /home/rahayu ---------------------------------------- Opening port 12789 ---------------------------------------- TCP socket successfully initialized:7 TCP socket successfully initialized:8 Waiting for connection... ...select trying to accept 7 1 Accept and serve: 7 connected: 7->3 Accepted Connection! Accepted from adress [Peer INET Address: 127.0.0.1] CCommunicationHandler.cc:638:readAndParse before parse <?xml version="1.0" standalone="no" ?><!DOCTYPE mrml SYSTEM "http://www.mrml.net/specification/v1_0/MRML_v10.dtd"><mrml>STARTING:mrml 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ <get-collections/>STARTING:get-collections ENDING:get-collections </mrml>ENDING:mrml CCommunicationHandler.cc:729:readAndParse before visit ++//CCommunicationHandler.cc:732:readAndParse before check CHECKING: __ROOT__ ++//CHECKING SUCCEEDED VISITING: __ROOT__ CHECKING: mrml ++//CHECKING SUCCEEDED VISITING: mrml CHECKING: get-collections +/CHECKING SUCCEEDED VISITING: get-collections getcollections x<collection-list> <collection collection-id="c-2-55-13-23-3-108-3-113-0" collection-name="RSNA" cui-algorithm-id-list-id="ail-inverted-file" /> <collection collection-id="c-21-31-0-8-11-109-2-341-0" collection-name="try" cui-algorithm-id-list-id="ail-inverted-file" /> <collection collection-id="c-30-17-1-15-0-110-5-14-0" collection-name="image.orig" cui-algorithm-id-list-id="ail-inverted-file" /> </collection-list> checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children Unknown session endMultiRequest: WRITING: <mrml just-for-test="and-of-course-for-fun" session-id="" > <cui-time-stamp calendar-time="Wed Jan 20 12:20:17 2010 " /> <collection-list > <collection collection-id="c-2-55-13-23-3-108-3-113-0" collection-name="RSNA" cui-algorithm-id-list-id="ail-inverted-file" cui-base-dir="/databases/casimageRSNA/" cui-feature-description-location="InvertedFileFeatureDescription.db" cui-feature-file-location="url2fts.xml" cui-inverted-file-location="InvertedFile.db" cui-number-of-images="8000" cui-offset-file-location="InvertedFileOffset.db" > <query-paradigm-list > <query-paradigm type="inverted-file" /> <query-paradigm type="perl-demo" /> </query-paradigm-list> </collection> <collection collection-id="c-21-31-0-8-11-109-2-341-0" collection-name="try" cui-algorithm-id-list-id="ail-inverted-file" cui-base-dir="/home/rahayu/gift-indexing-data/try/" cui-feature-description-location="InvertedFileFeatureDescription.db" cui-feature-file-location="url2fts.xml" cui-inverted-file-location="InvertedFile.db" cui-number-of-images="0" cui-offset-file-location="InvertedFileOffset.db" > <query-paradigm-list > <query-paradigm type="inverted-file" /> <query-paradigm type="perl-demo" /> </query-paradigm-list> </collection> <collection collection-id="c-30-17-1-15-0-110-5-14-0" collection-name="image.orig" cui-algorithm-id-list-id="ail-inverted-file" cui-base-dir="/home/rahayu/gift-indexing-data/image.orig/" cui-feature-description-location="InvertedFileFeatureDescription.db" cui-feature-file-location="url2fts.xml" cui-inverted-file-location="InvertedFile.db" cui-number-of-images="0" cui-offset-file-location="InvertedFileOffset.db" > <query-paradigm-list > <query-paradigm type="inverted-file" /> <query-paradigm type="perl-demo" /> </query-paradigm-list> </collection> </collection-list> <cui-time-stamp calendar-time="Wed Jan 20 12:20:17 2010 " /> </mrml> waitingendwaiting0 waitingendwaiting0 Message successfully sent! CCommunicationHandler.cc:735:readAndParse after visit flushing everything! shutting down the socket! waitreadstream (I) Successfully created new message processing thread Successfully detached thread endfor Waiting for connection... reading eof FINISHED reading eof waitreadstream (II) Deleting thread parameters DONE ...select trying to accept 7 1 Accept and serve: 7 connected: 7->3 Accepted Connection! Accepted from adress [Peer INET Address: 127.0.0.1] CCommunicationHandler.cc:638:readAndParse before parse <?xml version="1.0" standalone="no" ?><!DOCTYPE mrml SYSTEM "http://www.mrml.net/specification/v1_0/MRML_v10.dtd"><mrml>STARTING:mrml 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ <get-algorithms collection-id=""/>STARTING:get-algorithms ENDING:get-algorithms </mrml>ENDING:mrml CCommunicationHandler.cc:729:readAndParse before visit ++//CCommunicationHandler.cc:732:readAndParse before check CHECKING: __ROOT__ ++//CHECKING SUCCEEDED VISITING: __ROOT__ CHECKING: mrml ++//CHECKING SUCCEEDED VISITING: mrml CHECKING: get-algorithms +/CHECKING SUCCEEDED VISITING: get-algorithms checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children Unknown session endMultiRequest: WRITING: <mrml just-for-test="and-of-course-for-fun" session-id="" > <cui-time-stamp calendar-time="Wed Jan 20 12:20:17 2010 " /> <algorithm-list > <algorithm algorithm-id="adefault" algorithm-name="Separate Normalisation" algorithm-type="adefault" collection-id="c-2-55-13-23-3-108-3-113-0" cui-base-type="multiple" cui-block-color-blocks="no" cui-block-color-histogram="no" cui-block-texture-blocks="no" cui-block-texture-histogram="no" cui-pr-percentage-of-features="70" cui-weighting-function="ClassicalIDF" > <algorithm algorithm-id="sub1" algorithm-name="sub1" algorithm-type="sub1" cui-base-type="inverted_file" cui-block-color-blocks="yes" cui-block-texture-blocks="yes" cui-block-texture-histogram="yes" cui-pr-percentage-of-features="100" /> <algorithm algorithm-id="sub2" algorithm-name="sub2" algorithm-type="sub2" cui-base-type="inverted_file" cui-block-color-histogram="yes" cui-block-texture-blocks="yes" cui-block-texture-histogram="yes" /> <algorithm algorithm-id="sub3" algorithm-name="sub3" algorithm-type="sub3" cui-base-type="inverted_file" cui-block-color-blocks="yes" cui-block-color-histogram="yes" cui-block-texture-blocks="yes" cui-pr-percentage-of-features="100" /> <algorithm algorithm-id="sub4" algorithm-name="sub4" algorithm-type="sub4" cui-base-type="inverted_file" cui-block-color-blocks="yes" cui-block-color-histogram="yes" cui-block-texture-histogram="yes" /> <query-paradigm-list > <query-paradigm /> </query-paradigm-list> <property-sheet maxsubsetsize="1" minsubsetsize="0" property-sheet-id="cui-p-1" property-sheet-type="subset" send-type="none" > <property-sheet caption="Modify default configuration" property-sheet-id="cui-p0" property-sheet-type="set-element" send-type="none" > <property-sheet caption="Prune at % of features" from="20" property-sheet-id="cui-p15" property-sheet-type="numeric" send-name="cui-pr-percentage-of-features" send-type="attribute" send-value="70" step="5" to="100" /> <property-sheet maxsubsetsize="4" minsubsetsize="1" property-sheet-id="cui-p1" property-sheet-type="subset" send-type="none" > <property-sheet caption="Colour blocks" property-sheet-id="cui-p12" property-sheet-type="set-element" send-boolean-inverted="yes" send-name="cui-block-color-blocks" send-type="attribute" send-value="yes" /> <property-sheet caption="Gabor blocks" property-sheet-id="cui-p14" property-sheet-type="set-element" send-boolean-inverted="yes" send-name="cui-block-texture-blocks" send-type="attribute" send-value="yes" /> <property-sheet caption="Gabor histogram" property-sheet-id="cui-p13" property-sheet-type="set-element" send-boolean-inverted="yes" send-name="cui-block-texture-histogram" send-type="attribute" send-value="yes" /> <property-sheet caption="Colour histogram" property-sheet-id="cui-p11" property-sheet-type="set-element" send-boolean-inverted="yes" send-name="cui-block-color-histogram" send-type="attribute" send-value="yes" /> </property-sheet> </property-sheet> </property-sheet> </algorithm> </algorithm-list> <cui-time-stamp calendar-time="Wed Jan 20 12:20:17 2010 " /> </mrml> waitingendwaiting0 waitingendwaiting0 Message successfully sent! CCommunicationHandler.cc:735:readAndParse after visit flushing everything! shutting down the socket! waitreadstream (I) Successfully created new message processing thread Successfully detached thread endfor Waiting for connection... reading eof FINISHED reading eof waitreadstream (II) Deleting thread parameters DONE ...select trying to accept 7 1 Accept and serve: 7 connected: 7->3 Accepted Connection! Accepted from adress [Peer INET Address: 127.0.0.1] CCommunicationHandler.cc:638:readAndParse before parse <?xml version="1.0" standalone="no" ?><!DOCTYPE mrml SYSTEM "http://www.mrml.net/specification/v1_0/MRML_v10.dtd"><mrml session-id="dummy_session_identifier">STARTING:mrml 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ <open-session user-name="anonymous" session-name="monosock_default_session" />STARTING:open-session ENDING:open-session 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ </mrml>ENDING:mrml CCommunicationHandler.cc:729:readAndParse before visit ++/+//CCommunicationHandler.cc:732:readAndParse before check CHECKING: __ROOT__ ++/+//CHECKING SUCCEEDED VISITING: __ROOT__ CHECKING: mrml ++/+//CHECKING SUCCEEDED VISITING: mrml CHECKING: open-session +/+/CHECKING SUCCEEDED VISITING: open-session HIER OPEN SESSION ENTERING OPENSESSION making a new session II We have 1 algorithms in the algorithm collection. CAlgorithmCollection.cc:284:default algorithm found CAlgorithmCollection.cc:299:going to check default algorithm +/+/+/+/++//+++/++/+/+/+////CAlgorithmCollection.cc:303:checked, now copying checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children checking before making children making children CAlgorithmCollection.cc:305:copied, now checking again +/+/+/+/++//+++/++/+/+/+////[set adefault set] [build 0x8144430 1NUMBER OF CHILDREN that are ALGORITHMS 4 23.0x8144758 1234.0x81449c8 1234.0x8144bf8 1234.0x8144e68 12344-Algorithm CONFIGURED-: configuration <algorithm algorithm-id="adefault" algorithm-name="Separate Normalisation" algorithm-type="adefault" collection-id="c-2-55-13-23-3-108-3-113-0" cui-base-type="multiple" cui-block-color-blocks="no" cui-block-color-histogram="no" cui-block-texture-blocks="no" cui-block-texture-histogram="no" cui-pr-percentage-of-features="70" cui-weighting-function="ClassicalIDF" > <algorithm algorithm-id="sub1" algorithm-name="sub1" algorithm-type="sub1" collection-id="c-2-55-13-23-3-108-3-113-0" cui-base-type="inverted_file" cui-block-color-blocks="yes" cui-block-color-histogram="no" cui-block-texture-blocks="yes" cui-block-texture-histogram="yes" cui-pr-percentage-of-features="100" cui-weighting-function="ClassicalIDF" /> <algorithm algorithm-id="sub2" algorithm-name="sub2" algorithm-type="sub2" collection-id="c-2-55-13-23-3-108-3-113-0" cui-base-type="inverted_file" cui-block-color-blocks="no" cui-block-color-histogram="yes" cui-block-texture-blocks="yes" cui-block-texture-histogram="yes" cui-pr-percentage-of-features="70" cui-weighting-function="ClassicalIDF" /> <algorithm algorithm-id="sub3" algorithm-name="sub3" algorithm-type="sub3" collection-id="c-2-55-13-23-3-108-3-113-0" cui-base-type="inverted_file" cui-block-color-blocks="yes" cui-block-color-histogram="yes" cui-block-texture-blocks="yes" cui-block-texture-histogram="no" cui-pr-percentage-of-features="100" cui-weighting-function="ClassicalIDF" /> <algorithm algorithm-id="sub4" algorithm-name="sub4" algorithm-type="sub4" collection-id="c-2-55-13-23-3-108-3-113-0" cui-base-type="inverted_file" cui-block-color-blocks="yes" cui-block-color-histogram="yes" cui-block-texture-blocks="no" cui-block-texture-histogram="yes" cui-pr-percentage-of-features="70" cui-weighting-function="ClassicalIDF" /> <query-paradigm-list > <query-paradigm /> </query-paradigm-list> <property-sheet maxsubsetsize="1" minsubsetsize="0" property-sheet-id="cui-p-1" property-sheet-type="subset" send-type="none" > <property-sheet caption="Modify default configuration" property-sheet-id="cui-p0" property-sheet-type="set-element" send-type="none" > <property-sheet caption="Prune at % of features" from="20" property-sheet-id="cui-p15" property-sheet-type="numeric" send-name="cui-pr-percentage-of-features" send-type="attribute" send-value="70" step="5" to="100" /> <property-sheet maxsubsetsize="4" minsubsetsize="1" property-sheet-id="cui-p1" property-sheet-type="subset" send-type="none" > <property-sheet caption="Colour blocks" property-sheet-id="cui-p12" property-sheet-type="set-element" send-boolean-inverted="yes" send-name="cui-block-color-blocks" send-type="attribute" send-value="yes" /> <property-sheet caption="Gabor blocks" property-sheet-id="cui-p14" property-sheet-type="set-element" send-boolean-inverted="yes" send-name="cui-block-texture-blocks" send-type="attribute" send-value="yes" /> <property-sheet caption="Gabor histogram" property-sheet-id="cui-p13" property-sheet-type="set-element" send-boolean-inverted="yes" send-name="cui-block-texture-histogram" send-type="attribute" send-value="yes" /> <property-sheet caption="Colour histogram" property-sheet-id="cui-p11" property-sheet-type="set-element" send-boolean-inverted="yes" send-name="cui-block-color-histogram" send-type="attribute" send-value="yes" /> </property-sheet> </property-sheet> </property-sheet> </algorithm> -Algorithm CONFIGURED- [mQ:multiple mQ] Build subalgorithm0x8144758 {algorithm}:inverted_file really doing it [mQ:inverted_file mQ] hier sub1 checking before making children making children Deleting mContentdoneCDynamicQueryFactory GQOUERY0 CQInvertedFile.cc:255:Diagnostic output 0x81531d0 CAccessorFactoryContainer::openAccessor:inverted_file NEWLY GENERATED. CALLED: libGIFTAcInvertedFile_makeAccessor Opening /databases/casimageRSNA/url2fts.xml ...FAILED!constructing parser Reading -1 characters Read url2fts.xml libGIFTAcURL2FTS/cc/CAcURL2FTS.cc:190: XML ERROR: CAcURL2FTS.cc:202:throwing 0x81540d0 CAccessor.cccalling destructor CAccessor.cccalling destructor /DELGQOUERY0 CHECKING: +/+/CHECKING SUCCEEDED VISITING: endMultiRequest: WRITING: <mrml just-for-test="and-of-course-for-fun" session-id="dummy_session_identifier" > <cui-time-stamp calendar-time="Wed Jan 20 12:20:17 2010 " /> <error message="libGIFTAcURL2FTS/cc/CAcURL2FTS.cc:196Could not read file /databases/casimageRSNA/url2fts.xml" /> <cui-time-stamp calendar-time="Wed Jan 20 12:20:17 2010 " /> </mrml> waitingendwaiting0 waitingendwaiting0 Message successfully sent! flushing everything! shutting down the socket! waitreadstream (I) reading eof FINISHED reading eof waitreadstream (II) Deleting thread parameters DONE Successfully created new message processing thread Successfully detached thread then when I Typed the URL of the client interface in a browser..I just see the frame of the page without any images..and its taking ages to load. Am I doing it right? Thanks in advance. Rahayu ----- Original Message ----- From: "Henning Müller" <[email protected]> To: "Rahayu A Hamid" <[email protected]> Cc: "Wolfgang Müller" <[email protected]>, "help gift" <[email protected]> Sent: Friday, 15 January, 2010 19:17:41 GMT +10:00 Canberra / Melbourne / Sydney Subject: Re: [help-GIFT] install GIFT Hi, there are several versions of the PHP interface. One can be found at http://medgift.unige.ch/PHP_Gift-stable.tar To use it you copy it into a directory accessible by apache and you need to have php activated. Typing the URL of this directory in a browser should make. There is a config file where you can also change pathes and that should be a adapted. Cheers, Henning -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ help-GIFT mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gift
