Re: install GIFT
Rahayu A Hamid <[email protected]> Wed, 20 Jan 2010 09:46:34 +0800 (MYT)
| Newsgroups | gmane.comp.gnu.gift.general |
|---|---|
| Message-ID | <[email protected]> |
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)=
=20
Not testing file:libtiff.so.4 (File name does not match plugin name)=20
FINISHED Configuring CDynamicQueryFactory=20
----------------------------------------
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=3D"1.0" standalone=3D"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=3D"c-2-55-13-23-3-108-3-113-0" collection-name=3D=
"RSNA" cui-algorithm-id-list-id=3D"ail-inverted-file" />
<collection collection-id=3D"c-21-31-0-8-11-109-2-341-0" collection-name=3D=
"try" cui-algorithm-id-list-id=3D"ail-inverted-file" />
<collection collection-id=3D"c-30-17-1-15-0-110-5-14-0" collection-name=3D"=
image.orig" cui-algorithm-id-list-id=3D"ail-inverted-file" />
</collection-list>
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
Unknown session=20
endMultiRequest: WRITING: <mrml just-for-test=3D"and-of-course-for-fun" se=
ssion-id=3D"" >
<cui-time-stamp calendar-time=3D"Wed Jan 20 12:20:17 2010
" />
<collection-list >
<collection collection-id=3D"c-2-55-13-23-3-108-3-113-0" collectio=
n-name=3D"RSNA" cui-algorithm-id-list-id=3D"ail-inverted-file" cui-base-dir=
=3D"/databases/casimageRSNA/" cui-feature-description-location=3D"InvertedF=
ileFeatureDescription.db" cui-feature-file-location=3D"url2fts.xml" cui-inv=
erted-file-location=3D"InvertedFile.db" cui-number-of-images=3D"8000" cui-o=
ffset-file-location=3D"InvertedFileOffset.db" >
<query-paradigm-list >
<query-paradigm type=3D"inverted-file" />
<query-paradigm type=3D"perl-demo" />
</query-paradigm-list>
</collection>
<collection collection-id=3D"c-21-31-0-8-11-109-2-341-0" collectio=
n-name=3D"try" cui-algorithm-id-list-id=3D"ail-inverted-file" cui-base-dir=
=3D"/home/rahayu/gift-indexing-data/try/" cui-feature-description-location=
=3D"InvertedFileFeatureDescription.db" cui-feature-file-location=3D"url2fts=
.xml" cui-inverted-file-location=3D"InvertedFile.db" cui-number-of-images=
=3D"0" cui-offset-file-location=3D"InvertedFileOffset.db" >
<query-paradigm-list >
<query-paradigm type=3D"inverted-file" />
<query-paradigm type=3D"perl-demo" />
</query-paradigm-list>
</collection>
<collection collection-id=3D"c-30-17-1-15-0-110-5-14-0" collection=
-name=3D"image.orig" cui-algorithm-id-list-id=3D"ail-inverted-file" cui-bas=
e-dir=3D"/home/rahayu/gift-indexing-data/image.orig/" cui-feature-descripti=
on-location=3D"InvertedFileFeatureDescription.db" cui-feature-file-location=
=3D"url2fts.xml" cui-inverted-file-location=3D"InvertedFile.db" cui-number-=
of-images=3D"0" cui-offset-file-location=3D"InvertedFileOffset.db" >
<query-paradigm-list >
<query-paradigm type=3D"inverted-file" />
<query-paradigm type=3D"perl-demo" />
</query-paradigm-list>
</collection>
</collection-list>
<cui-time-stamp calendar-time=3D"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=20
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=3D"1.0" standalone=3D"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=3D""/>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=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
Unknown session=20
endMultiRequest: WRITING: <mrml just-for-test=3D"and-of-course-for-fun" se=
ssion-id=3D"" >
<cui-time-stamp calendar-time=3D"Wed Jan 20 12:20:17 2010
" />
<algorithm-list >
<algorithm algorithm-id=3D"adefault" algorithm-name=3D"Separate No=
rmalisation" algorithm-type=3D"adefault" collection-id=3D"c-2-55-13-23-3-10=
8-3-113-0" cui-base-type=3D"multiple" cui-block-color-blocks=3D"no" cui-blo=
ck-color-histogram=3D"no" cui-block-texture-blocks=3D"no" cui-block-texture=
-histogram=3D"no" cui-pr-percentage-of-features=3D"70" cui-weighting-functi=
on=3D"ClassicalIDF" >
<algorithm algorithm-id=3D"sub1" algorithm-name=3D"sub1" algor=
ithm-type=3D"sub1" cui-base-type=3D"inverted_file" cui-block-color-blocks=
=3D"yes" cui-block-texture-blocks=3D"yes" cui-block-texture-histogram=3D"ye=
s" cui-pr-percentage-of-features=3D"100" />
<algorithm algorithm-id=3D"sub2" algorithm-name=3D"sub2" algor=
ithm-type=3D"sub2" cui-base-type=3D"inverted_file" cui-block-color-histogra=
m=3D"yes" cui-block-texture-blocks=3D"yes" cui-block-texture-histogram=3D"y=
es" />
<algorithm algorithm-id=3D"sub3" algorithm-name=3D"sub3" algor=
ithm-type=3D"sub3" cui-base-type=3D"inverted_file" cui-block-color-blocks=
=3D"yes" cui-block-color-histogram=3D"yes" cui-block-texture-blocks=3D"yes"=
cui-pr-percentage-of-features=3D"100" />
<algorithm algorithm-id=3D"sub4" algorithm-name=3D"sub4" algor=
ithm-type=3D"sub4" cui-base-type=3D"inverted_file" cui-block-color-blocks=
=3D"yes" cui-block-color-histogram=3D"yes" cui-block-texture-histogram=3D"y=
es" />
<query-paradigm-list >
<query-paradigm />
</query-paradigm-list>
<property-sheet maxsubsetsize=3D"1" minsubsetsize=3D"0" proper=
ty-sheet-id=3D"cui-p-1" property-sheet-type=3D"subset" send-type=3D"none" >
<property-sheet caption=3D"Modify default configuration" p=
roperty-sheet-id=3D"cui-p0" property-sheet-type=3D"set-element" send-type=
=3D"none" >
<property-sheet caption=3D"Prune at % of features" fro=
m=3D"20" property-sheet-id=3D"cui-p15" property-sheet-type=3D"numeric" send=
-name=3D"cui-pr-percentage-of-features" send-type=3D"attribute" send-value=
=3D"70" step=3D"5" to=3D"100" />
<property-sheet maxsubsetsize=3D"4" minsubsetsize=3D"1=
" property-sheet-id=3D"cui-p1" property-sheet-type=3D"subset" send-type=3D"=
none" >
<property-sheet caption=3D"Colour blocks" property=
-sheet-id=3D"cui-p12" property-sheet-type=3D"set-element" send-boolean-inve=
rted=3D"yes" send-name=3D"cui-block-color-blocks" send-type=3D"attribute" s=
end-value=3D"yes" />
<property-sheet caption=3D"Gabor blocks" property-=
sheet-id=3D"cui-p14" property-sheet-type=3D"set-element" send-boolean-inver=
ted=3D"yes" send-name=3D"cui-block-texture-blocks" send-type=3D"attribute" =
send-value=3D"yes" />
<property-sheet caption=3D"Gabor histogram" proper=
ty-sheet-id=3D"cui-p13" property-sheet-type=3D"set-element" send-boolean-in=
verted=3D"yes" send-name=3D"cui-block-texture-histogram" send-type=3D"attri=
bute" send-value=3D"yes" />
<property-sheet caption=3D"Colour histogram" prope=
rty-sheet-id=3D"cui-p11" property-sheet-type=3D"set-element" send-boolean-i=
nverted=3D"yes" send-name=3D"cui-block-color-histogram" send-type=3D"attrib=
ute" send-value=3D"yes" />
</property-sheet>
</property-sheet>
</property-sheet>
</algorithm>
</algorithm-list>
<cui-time-stamp calendar-time=3D"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=20
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=3D"1.0" standalone=3D"no" ?><!DOCTYPE mrml SYSTEM "http://www=
.mrml.net/specification/v1_0/MRML_v10.dtd"><mrml session-id=3D"dummy_sessio=
n_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=3D"anonymous"
session-name=3D"monosock_default_session" />STARTING:op=
en-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 copyin=
g=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
checking before making children=20
making children=20
CAlgorithmCollection.cc:305:copied, now checking again=20
+/+/+/+/++//+++/++/+/+/+////[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=3D"adefault" algorithm-name=3D"Separate Normalisat=
ion" algorithm-type=3D"adefault" collection-id=3D"c-2-55-13-23-3-108-3-113-=
0" cui-base-type=3D"multiple" cui-block-color-blocks=3D"no" cui-block-color=
-histogram=3D"no" cui-block-texture-blocks=3D"no" cui-block-texture-histogr=
am=3D"no" cui-pr-percentage-of-features=3D"70" cui-weighting-function=3D"Cl=
assicalIDF" >
<algorithm algorithm-id=3D"sub1" algorithm-name=3D"sub1" algorithm-typ=
e=3D"sub1" collection-id=3D"c-2-55-13-23-3-108-3-113-0" cui-base-type=3D"in=
verted_file" cui-block-color-blocks=3D"yes" cui-block-color-histogram=3D"no=
" cui-block-texture-blocks=3D"yes" cui-block-texture-histogram=3D"yes" cui-=
pr-percentage-of-features=3D"100" cui-weighting-function=3D"ClassicalIDF" />
<algorithm algorithm-id=3D"sub2" algorithm-name=3D"sub2" algorithm-typ=
e=3D"sub2" collection-id=3D"c-2-55-13-23-3-108-3-113-0" cui-base-type=3D"in=
verted_file" cui-block-color-blocks=3D"no" cui-block-color-histogram=3D"yes=
" cui-block-texture-blocks=3D"yes" cui-block-texture-histogram=3D"yes" cui-=
pr-percentage-of-features=3D"70" cui-weighting-function=3D"ClassicalIDF" />
<algorithm algorithm-id=3D"sub3" algorithm-name=3D"sub3" algorithm-typ=
e=3D"sub3" collection-id=3D"c-2-55-13-23-3-108-3-113-0" cui-base-type=3D"in=
verted_file" cui-block-color-blocks=3D"yes" cui-block-color-histogram=3D"ye=
s" cui-block-texture-blocks=3D"yes" cui-block-texture-histogram=3D"no" cui-=
pr-percentage-of-features=3D"100" cui-weighting-function=3D"ClassicalIDF" />
<algorithm algorithm-id=3D"sub4" algorithm-name=3D"sub4" algorithm-typ=
e=3D"sub4" collection-id=3D"c-2-55-13-23-3-108-3-113-0" cui-base-type=3D"in=
verted_file" cui-block-color-blocks=3D"yes" cui-block-color-histogram=3D"ye=
s" cui-block-texture-blocks=3D"no" cui-block-texture-histogram=3D"yes" cui-=
pr-percentage-of-features=3D"70" cui-weighting-function=3D"ClassicalIDF" />
<query-paradigm-list >
<query-paradigm />
</query-paradigm-list>
<property-sheet maxsubsetsize=3D"1" minsubsetsize=3D"0" property-sheet=
-id=3D"cui-p-1" property-sheet-type=3D"subset" send-type=3D"none" >
<property-sheet caption=3D"Modify default configuration" property-=
sheet-id=3D"cui-p0" property-sheet-type=3D"set-element" send-type=3D"none" >
<property-sheet caption=3D"Prune at % of features" from=3D"20"=
property-sheet-id=3D"cui-p15" property-sheet-type=3D"numeric" send-name=3D=
"cui-pr-percentage-of-features" send-type=3D"attribute" send-value=3D"70" s=
tep=3D"5" to=3D"100" />
<property-sheet maxsubsetsize=3D"4" minsubsetsize=3D"1" proper=
ty-sheet-id=3D"cui-p1" property-sheet-type=3D"subset" send-type=3D"none" >
<property-sheet caption=3D"Colour blocks" property-sheet-i=
d=3D"cui-p12" property-sheet-type=3D"set-element" send-boolean-inverted=3D"=
yes" send-name=3D"cui-block-color-blocks" send-type=3D"attribute" send-valu=
e=3D"yes" />
<property-sheet caption=3D"Gabor blocks" property-sheet-id=
=3D"cui-p14" property-sheet-type=3D"set-element" send-boolean-inverted=3D"y=
es" send-name=3D"cui-block-texture-blocks" send-type=3D"attribute" send-val=
ue=3D"yes" />
<property-sheet caption=3D"Gabor histogram" property-sheet=
-id=3D"cui-p13" property-sheet-type=3D"set-element" send-boolean-inverted=
=3D"yes" send-name=3D"cui-block-texture-histogram" send-type=3D"attribute" =
send-value=3D"yes" />
<property-sheet caption=3D"Colour histogram" property-shee=
t-id=3D"cui-p11" property-sheet-type=3D"set-element" send-boolean-inverted=
=3D"yes" send-name=3D"cui-block-color-histogram" send-type=3D"attribute" se=
nd-value=3D"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=20
sub1
checking before making children=20
making children=20
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=20
-1 characters
Read url2fts.xml
libGIFTAcURL2FTS/cc/CAcURL2FTS.cc:190: XML ERROR: CAcURL2FTS.cc:202:throwin=
g 0x81540d0
CAccessor.cccalling destructor
CAccessor.cccalling destructor
/DELGQOUERY0
CHECKING:=20
+/+/CHECKING SUCCEEDED
VISITING:=20
endMultiRequest: WRITING: <mrml just-for-test=3D"and-of-course-for-fun" se=
ssion-id=3D"dummy_session_identifier" >
<cui-time-stamp calendar-time=3D"Wed Jan 20 12:20:17 2010
" />
<error message=3D"libGIFTAcURL2FTS/cc/CAcURL2FTS.cc:196Could not read =
file /databases/casimageRSNA/url2fts.xml" />
<cui-time-stamp calendar-time=3D"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
=20
----- Original Message -----
From: "Henning M=C3=BCller" <[email protected]>
To: "Rahayu A Hamid" <[email protected]>
Cc: "Wolfgang M=C3=BCller" <[email protected]>, "help gift" <help-g=
[email protected]>
Sent: Friday, 15 January, 2010 19:17:41 GMT +10:00 Canberra / Melbourne / S=
ydney
Subject: Re: [help-GIFT] install GIFT
Hi,
there are several versions of the PHP interface. One can be found at=20
http://medgift.unige.ch/PHP_Gift-stable.tar
To use it you copy it into a directory accessible by apache and you need=20
to have php activated. Typing the URL of this directory in a browser=20
should make. There is a config file where you can also change pathes and=20
that should be a adapted.
Cheers, Henning
--=20
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.