[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-GIFT] error when starting Charmer applet
From: |
Robin Wu |
Subject: |
[help-GIFT] error when starting Charmer applet |
Date: |
Sat, 6 Sep 2008 07:44:30 -0700 (PDT) |
I made a step ahead from the thread
http://lists.gnu.org/archive/html/help-gift/2008-09/msg00005.html
but was blocked again.
I missed a step as mentioned in
http://lists.gnu.org/archive/html/help-gift/2005-04/msg00012.html
"perl compile-all.pl" to compile .java files
After that, "Applet not initialized" is solved. With the Charmer interface, I first click the button to connect it to the gift server, then click to fetch a random set of images. I can see array of gray blocks. when mouse is moved over one block, a image file name is showed at the bottom of the interface. But no image is displayed.
I've looked at Charmer.html, codebase is "file:/...". And in url2fts.xml, address is also token the form "file:/". I remember it is said in some
mail that "http://" should be used instead of "file:/". Then I reconfigure the whole system.
This time,
Charmer is in /home/wu/public_html/Charmer-0.2b
images are in /home/wu/public_html/corel107
The data generated in previous test is cleaned, Then
$ gift-add-collection.pl /home/wu/public_html/corel107
a segment of url2fts.xml is as:
<image url-postfix="http://localhost/~root/corel107/107089.jpg" feature-file-name="/home/wu/gift-indexing-data/corel107//107089_jpg.fts" thumbnail-url-postfix="http://localhost/~root/corel107_thumbnails/107089_thumbnail_jpg.jpg" />
I don't know why it is ~root not ~wu. ###
$ perl write-applet-frame.pl
in generated Charmer.html, codebase is still the form "file:/". Then I tried in two ways,
1. change the address in url2fts.xml to the form "file:/", then start gift server and applet.
the situation is the same as
preview test, that is applet can be start, array of gray block can be see, but no image is displayed.
2. change the addresses in both codebase and in url2fts.xml to the form "http://", then start gift server and applet.
codebase="" or codebase=""
applet can not be initialized in both cases. it seems the address can not be found. ###
thanks
Robin Wu
- [help-GIFT] error when starting Charmer applet,
Robin Wu <=