parisberkata
unread,Nov 16, 2009, 11:39:22 PM11/16/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to FIRE - Flexible Image Retrieval Engine
hi all, i got problem in this upload issue.
i have try all steps in this tutorial but i still can't upload new
image. No error message. No file uploaded to /tmp.
then i try to change this code (line 860 fire.py in the web
interface) :
if(form.has_key("newFile") and form["newFile"].value=="1"):
#message+=str(form["newFile"])
message+=newFile(form)
i change form["newFile"].value to "0" like this :
if(form.has_key("newFile") and form["newFile"].value=="0"):
#message+=str(form["newFile"])
message+=newFile(form)
and it work, i able to upload new image and fire show the retrieval
results.
But there are something wrong with the random image retrieval. when i
click one of the random image, fire show "no retrieval result" error
message. The random image retrieval didn't work.
then i try to change the code , still in line 860, form[newFile].value
to "1" again. The random image retrieval work fine but the upload
feature didn't work again.
anyone have the same problems with me ? what should i do? change the
conditional rule?