Fwd: Question regarding your FIRE application

14 views
Skip to first unread message

Thomas Deselaers

unread,
Oct 21, 2009, 10:28:38 AM10/21/09
to fire...@googlegroups.com
First post was rejected for wrong sender.

---------- Forwarded message ----------
From: Thomas Deselaers <dese...@informatik.rwth-aachen.de>
Date: Wed, Oct 21, 2009 at 16:27
Subject: Re: Question regarding your FIRE application
To: "matthew, huang" <matthewh...@gmail.com>, fire...@googlegroups.com


Hi Matthew,

Please send such questions to the FIRE mailinglist.

First comments:

- There seems to be something wrong with the paths to the images.
  start fire with fire --filelist `pwd`/filelist that might already help

- for displaying the images you do not need the gnuplot module this
you need only for displaying the feature vectors, so that is not
related to your problem.


try to access:

http://localhost:12345/cgi-bin/img.py?max=100&image=YOURIMAGEPATH/images4.jpeg

where you exchange YOURIMAGEPATH with the correct path.

That must work! If that works, it is a problem with the paths.

Cheers,
thomas


On Wed, Oct 21, 2009 at 15:37, matthew, huang
<matthewh...@gmail.com> wrote:
> Hi, dear Thomas:
>
>    I am a Ph.D. student working on image information retrieval area in U.S.
> I found your app very interesting and want to try it out. I downloaded the
> latest 2.2 version source code and compiled it. After everything, I started
> apache and the server based on the instruction.  Then I can get to the page
> but none of the imported image showed up (see the attached screenshot for
> details).  But I can certainly view the images when I directly attached the
> image address in the browser. Can you help me on that?
>
> Also, if I go ahead click on the browse button, I received the below message
> in the browser:
>
> Traceback (most recent call last): File
> "/usr/local/apache2/cgi-bin/fire.py", line 862, in message+=newFile(form)
> File "/usr/local/apache2/cgi-bin/fire.py", line 359, in newFile
> temporaryFiles=config.tempdir # standard: "/tmp" AttributeError: 'module'
> object has no attribute 'tempdir'
>
> What does this mean?
>
> When I tried directly input
> http://localhost:12345/cgi-bin/img.py?max=100&image=/images4.jpeg in the url
> address in the browser:
>
> I received: Access not Permitted.
>
> I tried several other python code as well, in order, I tried feature.py,
> config.py.
>
> I then received Internal server error and in the apache log I got the below
> info
>
>  import sys,cgi,re,Image,Gnuplot,string,os
> [Wed Oct 21 03:04:54 2009] [error] [client 127.0.0.1] ImportError: No module named Gnuplot
> [Wed Oct 21 03:04:54 2009] [error] [client 127.0.0.1] Premature end of script headers: feature.py
> [Wed Oct 21 03:12:22 2009] [error] [client 127.0.0.1] Traceback (most recent call last):
> [Wed Oct 21 03:12:22 2009] [error] [client 127.0.0.1]   File "/usr/local/apache2/cgi-bin/feature.py", line 3, in <module>
> [Wed Oct 21 03:12:22 2009] [error] [client 127.0.0.1]     import sys,cgi,re,Image,Gnuplot,string,os
> [Wed Oct 21 03:12:22 2009] [error] [client 127.0.0.1] ImportError: No module named Gnuplot
> [Wed Oct 21 03:12:22 2009] [error] [client 127.0.0.1] Premature end of script headers: feature.py
>
> [Wed Oct 21 03:23:27 2009] [error] [client 127.0.0.1] (8)Exec format error: exec of '/usr/local/apache2/cgi-bin/config.py' failed
> [Wed Oct 21 03:23:27 2009] [error] [client 127.0.0.1] Premature end of script headers: config.py
>
> [Wed Oct 21 03:24:08 2009] [error] [client 127.0.0.1] (8)Exec format error: exec of '/usr/local/apache2/cgi-bin/firesocket.py' failed
> [Wed Oct 21 03:24:08 2009] [error] [client 127.0.0.1] Premature end of script headers: firesocket.py
>
> Do you have any idea what's going on?
>
> P.S. if I need to install the Gnuplot.py package, which version do you
> recommend? I installed one version but it's not working.
>
> Thanks,
> Matthew Huang

--
http://thomas.deselaers.de

--
http://thomas.deselaers.de

Reply all
Reply to author
Forward
0 new messages