[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [help-GIFT] Using GIFT

From: Majid NAJJAR
Subject: RE: [help-GIFT] Using GIFT
Date: Thu, 14 Aug 2008 16:17:07 +0200

Well unfortunatly i don't have any Perl skills,  I remember editing many header 
files .h and c files .c to add some libraries like #include because the 
installation was prompting me errors.
I'm using gcc 4.3.1 20080507 on openSUSE 11.0.
I've attached the files you've requested.
But to retreive all of the output is a little bit tough, i'll restate some:

linux-2nqc:/usr/local/bin # ./ /home/majid/Desktop/Logo
Parameterless "use IO" deprecated at 
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/XML/ line 16
Constant subroutine main::SEEK_SET redefined at ./ line 32
Constant subroutine main::SEEK_END redefined at ./ line 32
Constant subroutine main::SEEK_CUR redefined at ./ line 32
locale: cannot read character map directory `/usr/share/i18n/charmaps': No such 
file or directory
I am assuming that the system is using US-ASCII as encoding.
Within the xml files generated, we will use UTF-8 as encoding method
File /root/.gift-add-collection could not be opened (No such file or 
directory), so I won't use it

 I will read the images in:

 I will generate feature files which I put into:

 The index files will be stored in:

 The URLs I will generate will have the prefix:

This file was last modified 1217838684 after the epoch
Estimating how many images we are going to index: 0
Creating an inverted file using the files/root/gift-indexing-data/Logo//

Opening /root/gift-indexing-data/Logo//url2fts.xml ...success.
constructing parser
82 characters
Read url2fts.xml
Successfully processed
URLFile /root/gift-indexing-data/Logo//url2fts.xml processed.
NEWGEN I want to use/generate the 
files successfully opened
before mergesort
MERGESORT MergeSize 12
after mergesort. The last file I used was 
Opening sorted stream for reading. State (should be '1'): 0xbff5ca8c
Writing Chunk for Feature ID 0. The Offset is 0x0=0
The collection frequency is: inf
gift-generate-inverted-file: bool 
CInvertedFileChunk::writeBinary(std::ostream&, TID, si) const: Assertion 
`!"collection frequency out of range"' failed.


Copying /root/gift-config.mrml to /root/gift-config.mrml-old

Can't locate object method "getAttribute" via package "XML::DOM::Attr" at 
./ line 796,  line 44.


> Date: Wed, 13 Aug 2008 12:04:46 -0500
> From: address@hidden
> To: address@hidden
> Subject: Re: [help-GIFT] Using GIFT
> Hi Majid,
> I'm sorry to leave you hanging.  Unfortunately I started having hard
> drive trouble last week, and my drive has completely died now.  I'm
> hoping to reinstall the GIFT when I have a new drive, but
> unfortunately it will be a while before I'm ready to start that
> process.
> At this point, I think the best suggestion I can give is to send
> another request to the help-gift list.  Include a complete copy of all
> the output you get when you start up the GIFT server, and the file
> "gift-config.mrml", for starters.  If you know (or have time to learn)
> a bit of Perl, you can read the "" file to try
> to determine what's going on.  Apparently the error occurs just after
> the script prints "Copying /home/maj/gift-config.mrml to
> /home/maj/gift-config.mrml-old", potentially on line 796 or 44(?).
> Now that I'm thinking about it, it would probably be useful to include
> a copy of the file "", just in case your copy is
> slightly different from other people's.
> I'm sorry I can't be more help; best wishes,
> Niles
> On Tue, Aug 12, 2008 at 5:29 AM, Majid NAJJAR  wrote:
>> Dear Niles
>> I m really sorry to bother u again, but i would appreciate if i can have an
>> answer soon, I m really stucked and i have  a deadline for having something
>> working
>> i thank u a lot in advance
>> Regards
>> ________________________________
>>> Date: Tue, 5 Aug 2008 15:38:34 -0500
>>> From: address@hidden
>>> To: address@hidden
>>> Subject: Re: [help-GIFT] Using GIFT
>>> Hi, I remember having a similar problem--this is mentioned elsewhere
>>> on the list, and I think the problem is with the add-collection
>>> script. Unfortunately I don't remember how I resolved the issue or if
>>> the solution is mentioned on the list. If I have some time tonight or
>>> tomorrow, I'll look through my version of the script and see if I can
>>> figure out what changes I made.
>>> Just wanted to let you know that I'm not ignoring you though :)
>>> best,
>>> Niles
>>> On Mon, Aug 4, 2008 at 6:38 AM, Majid NAJJAR 
>>> wrote:
>>>> Hi, GIFT is said to be a great tool to find similar images.
>>>> After days of fighting I've been able to install GIFT 0.1.14 on Linux
>>>> openSUSE 11.0. But i don't know what to do with it !!!
>>>> I don't want to read and compare images from a database ( i will do it
>>>> later on ) but i need to do it from a specific folder.
>>>> in /usr/local/bin i've executed ./
>>>> /home/maj/Desktop/Logo/
>>>> then executed ./gift
>>>> The current configuration directory is: /home/maj
>>>> ----------------------------------------
>>>> Opening port 12789
>>>> ----------------------------------------
>>>> TCP socket successfully initialized:9
>>>> TCP socket successfully initialized:10
>>>> Waiting for connection...
>>>> A new folder was Logo_thumbnails but nothing inside it.
>>>> I've tried to repeat the operation but when i've launched the
>>>> ./ /home/maj/Desktop/Logo/
>>>> an error showed up:
>>>> PROGRESS: 99%
>>>> Copying /home/maj/gift-config.mrml to /home/maj/gift-config.mrml-old
>>>> XML::DOM::Attr=ARRAY(0x8aa482c)
>>>> Can't locate object method "getAttribute" via package "XML::DOM::Attr"
>>>> at ./ line 796, line 44.
>>>> Is it normal to have such error? And how can I use GIFT in order to find
>>>> similar images ? Would you please give me some uselful tutorials ?!
>>>> NB: I'm new to Linux so please give me a clear explanation.
>>>> Thanks in advance,
>>>> _________________________________________________________________
>>>> Connect to the next generation of MSN Messenger
>>>> _______________________________________________
>>>> help-GIFT mailing list
>>>> address@hidden
>> ________________________________
>> Discover the new Windows Vista Learn more!

News, entertainment and everything you care about at Get it now!

Attachment: gift-config.mrml
Description: Binary data

Attachment: gift-config.mrml-old
Description: Binary data

Description: Perl program

reply via email to

[Prev in Thread] Current Thread [Next in Thread]