Hi,
Some answers inline.
--
Ricardo Niederberger Cabral
http://www.imgseek.net/
ricardo.cabral at
imgseek.net
skype: rnc000
On 14/08/2009, at 10:57, socrtwo wrote:
>
> I almost got the now two years old imgSeekWeb working. See
> here:
https://sourceforge.net/projects/imgseekweb/. It seems to be
> working from my Jail Shell command line that my hoster allowed me
> access to. Apparently the environment is not set up to execute python
> scripts from the browser. When I put in the relevant address, it just
> spits back at me the text of the python script. It works from Jail
> Shell where the python script returns HTML when executed. If I pipe
> those results into an HTML file it looks exactly like what I was
> hoping for, a simple web client that will take an uploaded file and
> return matches from a server side collection of images.
>
> Anyway, that's not the issue unless anybody can suggest something I
> can do from my limited shell access which would allow the execution of
> the Python script. I tried changing the extension from py to cgi, but
> that gave me a 500 error. Also I tried creating an .htaccess file in
> the cgi-bin directory instructing Apache to execute Python scripts per
> some suggestion on the Web, but that didn't work either, even giving
> me a 500 error with the address that formerly at least printed out the
> text of the script.
your hosting company must support long-running processes. Many shared/
web-only (PHP, ASP etc) hosting won't allow you to leave the isk-
daemon process running on the background with image indexes on memory
waiting to be queried by your PHP/imgSeekWeb frontend. They normally
kill any background processes you run automatically. The ideal setup
is a virtual private server or dedicated server machine. (Amazon EC2,
Rackspace etc)
>
> At any rate I suspect my hosting company will resolve the issue. What
> I'm curious about now is how to change the size of the returned
> thumbnails. There is a python file called settings.py which is in the
this is probably a setting specific to imgSeekWeb. I've never used it.
> imgSeekLib and iswLib folders. That would seem to be a place to
> increase the size of the thumbnails. Does there exist an explanation
> somewhere of the various settings in that file?
the settings.py from isk-daemon has some comments inline describing
what each option is for. Maybe they are not clear enough. Just ask
here for further details.
>
> >