Re: problem with Charmer

Henning Müller <[email protected]> Mon, 28 Jan 2008 16:23:26 +0100
Newsgroups gmane.comp.gnu.gift.general
Organization HUG
Message-ID <[email protected]>
Have you tried using http:// URLs instead of the file:/ URLs?
If I remember correctly this could be part of the problem. Otherwise I 
am not sure whether the charmer interface is still in use somewhere.
I would recommand using one of the php interfaces that are more lightweight.

Cheers, Henning

[email protected] wrote:
> Hello!
> 
> Well...  
> 
> As written in last mail after I connected to the gift server I can't see 
> any pictures in the charmer frame. I've read in this links
> 
> http://lists.gnu.org/archive/html/help-gift/2002-03/msg00040.html
> http://lists.gnu.org/archive/html/help-gift/2006-10/msg00008.html
> http://lists.gnu.org/archive/html/help-gift/2004-09/msg00003.html
> http://lists.gnu.org/archive/html/help-gift/2004-04/msg00013.html
> 
> some solutions, so I tried to apply them.
> 
> I've launched the client (with appletview Charmer.html) from the same 
> location of the images.
> 
>  
> 
> I've assigned values of environment variables (JAVA_HOME and PATH) in 
> accord with my java installation (/usr/lib/jvm/java-6-sun).  
> 
> Anyway I still can't see the pictures. After I've selected "Fetch a 
> random set of image", if I've selected a QUERY, I push "Execute query" 
> button I see a grey empty window.
> 
> Can be a problem with my java version (I'm still using Java 6) ? Some ideas?
> 
> In the shell where I've launched "appletview Charmer.html" there are:
> 
> $ appletviewer Charmer.html
> do layout
> after dol
> RPort read as PORT REQUESTED IN GETPORT12789
> 12789
> PORT REQUESTED IN GETPORT12789
> The current port number is: 12789
> beginning of new CParser
> End of new CParser
> sendMessage: Trying to send:<?xml version="1.0" standalone="no" ?>
> <!DOCTYPE mrml SYSTEM "http://isrpc85.epfl.ch/Charmer/code/mrml.dtd">
> <mrml session-id="dummy_session_identifier">
> <open-session user-name="change-here-if-you-like" 
> session-name="charmer_default_session" /><get-collections/><get-algorithms/>
> </mrml>
> .
> connect: mHost = [localhost], mPort = [12789]
> IF the line "Connected: ..." is not
> printed in the next few seconds
> THEN there is a security problem with your
> appletviewer / browser
> Connected: mHost = localhost, mPort = 12789
> SUCCESS
> CParser::parse(charmer.CharmerConnectionMRML@1f68272 , 
> Socket[addr=localhost/127.0.0.1,port=12789,localport=40904]) called.
> beginning of new CParser
> End of new CParser
> makeparser
> [mrml]
> 
> [cui-time-stamp]
> 
> MOVING UP
> [acknowledge-session-op]
> 
> MOVING UP
> [collection-list]
> 
> [collection]
> 
> [query-paradigm-list]
> 
> [query-paradigm]
> 
> MOVING UP
> [query-paradigm]
> 
> MOVING UP
> MOVING UP
> MOVING UP
> MOVING UP
> [algorithm-list]
> 
> [algorithm]
> 
> [algorithm]
> 
> MOVING UP
> [algorithm]
> 
> MOVING UP
> [algorithm]
> 
> MOVING UP
> [algorithm]
> 
> MOVING UP
> [query-paradigm-list]
> 
> [query-paradigm]
> 
> MOVING UP
> MOVING UP
> [property-she et]
> 
> [property-sheet]
> 
> [property-sheet]
> 
> MOVING UP
> [property-sheet]
> 
> [property-sheet]
> 
> MOVING UP
> [property-sheet]
> 
> MOVING UP
> [property-sheet]
> 
> MOVING UP
> [property-sheet]
> 
> MOVING UP
> MOVING UP
> MOVING UP
> MOVING UP
> MOVING UP
> MOVING UP
> [cui-time-stamp]
> 
> MOVING UP
> MOVING UP
> 
> END
> 
> The document root is: charmer.mrml.CXMLElement@553763
> mrml
> cui-time-stamp
> acknowledge-session-op
> collection-list
> collection
> algorithm-list
> algorithm
> cui-time-stamp
> DIRECTLY AFTER TRAVERSING
> .returning from getAlgorithms
> returning from getcollections
> .returning from getAlgorithms
> returning from getcollections
> subset
> checkbox
> hiding children
> numeric
> subset
> checkbox
> showing children
> checkbox
> showing children
> checkbox
> showing children
> checkbox
> showing children
> success!
>  in constructor
> 
> lValue: null
> lSheetType: subset
> visit returning:
> true
> 
> lValue: null
> lSheetType: set-element
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> visit returning:
> false
> MRMLBuilder:
> do layout
> after dol
> results are being emptied...
>  in constructor
> 
> lValue: null
> lSheetType: subset
> visit returning:
> true
> 
> lValue: null
> lSheetType: set-element
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> visit returning:
> false
> sendMessage: Trying to send:<?xml version="1.0" standalone="no" ?>
> <!DOCTYPE mrml SYSTEM "http://isrpc85.epfl.ch/Charmer/code/mrml.dtd">
> <mrml session-id="9">
> <configure-session  session-id="9" ><algorithm  algorithm-id="adefault"  
> algorithm-type="adefault"  collection-id="c-26-14-11-28-0-108-1-27-0" 
>  ></algorithm></configure-session><query-step  session-id="9" 
> result-size="10" algorithm-id="adefault" 
> collection="c-26-14-11-28-0-108-1-27-0"/>
> </mrml>
> .
> connect: mHost = [localhost], mPort = [12789]
> IF the line "Connected: ..." is not
> printed in the next few seconds
> THEN there is a security problem with your
> appletviewer / browser
> Connected: mHost = localhost, mPort = 12789
> SUCCESS
> CParser::parse(charmer.CharmerConnectionMRML@1f68272 , 
> Socket[addr=localhost/127.0.0.1,port=12789,localport=40905]) called.
> beginning of new CParser
> End of new CParser
> makeparser
> [mrml]
> 
> [cui-time-stamp]
> 
> MOVING UP
> [acknowledge-session-op]
> 
> MOVING UP
> [query-result]
> 
> [query-result-element-list]
> 
> [query-result-element]
> 
> MOVING U P
> [query-result-element]
> 
> MOVING UP
> [query-result-element]
> 
> MOVING UP
> [query-result-element]
> 
> MOVING UP
> [query-result-element]
> 
> MOVING UP
> [query-result-element]
> 
> MOVING UP
> [query-result-element]
> 
> MOVING UP
> [query-result-element]
> 
> MOVING UP
> [query-result-element]
> 
> MOVING UP
> [query-result-element]
> 
> MOVING UP
> MOVING UP
> MOVING UP
> [cui-time-stamp]
> 
> MOVING UP
> MOVING UP
> 
> END
> 
> The document root is: charmer.mrml.CXMLElement@8be9ef
> mrml
> cui-time-stamp
> acknowledge-session-op
> query-result
> query-result-element-list
> query-result-element
> ADD: 
> file:///var/www/pic4.pngfile:///var/www_thumbnails/pic4_thumbnail_png.jpg
> query-result-element
> ADD: 
> file:///var/www/pic6.pngfile:///var/www_thumbnails/pic6_thumbnail_png.jpg
> query-result-element
> ADD: 
> file:///var/www/pic5.pngfile:///var/www_thumbnails/pic5_thumbnail_png.jpg
> query-result-element
> ADD: 
> file:///var/www/Charmer-0.2b/icons/00exit.giffile:///var/www_thumbnails/Charmer-0.2b/icons/00exit_thumbnail_gif.jpg
> query-result-element
> ADD: 
> file:///var/www/Charmer-0.2b/icons/charmer.giffile:///var/www_thumbnails/Charmer-0.2b/icons/charmer_thumbnail_gif.jpg
> query-result-element
> ADD: 
> file:///var/www/Charmer-0.2b/icons/question.giffile:///var/www_thumbnails/Charmer-0.2b/icons/question_thumbnail_gif.jpg
> query-result-element
> ADD: 
> file:///var/www/apache2-default/apache_pb22.pngfile:///var/www_thumbnails/apache2-default/apache_pb22_thumbnail_png.jpg
> query-result-element
> ADD: 
> file:///var/www/apache2-default/apache_pb.pngfile:///var/www_thumbnails/apache2-default/apache_pb_thumbnail_png.jpg
> query-result-element
> ADD: 
> file:///var/www/apache2-default/apache_pb22_ani.giffile:///var/www_thumbnails/apache2-default/apache_pb22_ani_thumbnail_gif.jpg
> query-result-element
> ADD: 
> file:///var/www/apache2-default/apache_pb22.giffile:///var/www_thumbnails/apache2-default/apache_pb22_thumbnail_gif.jpg
> cui-time-stamp
> DIRECTLY AFTER TRAVERSING
> querying
> 1
> 2
> 3
> 4
> 5
> 6
> 6
> 6
> calling send almost
> lQUERY SIZE 10
> RESULT SIZE 10
> sendMessage: Trying to send:<?xml version="1.0" standalone="no" ?>
> <!DOCTYPE mrml SYSTEM "http://isrpc85.epfl.ch/Charmer/code/mrml.dtd">
> <mrml session-id="9">
> <query-step session-id="9"
>  result-size="10"
>  result-cutoff="0.0"
>  collection-id="c-26-14-11-28-0-108-1-27-0"
>  algorithm-id="adefault">
> <mpeg-7-qbe></mpeg-7-qbe><user-relevance-element-list><user-relevance-element 
> image-location="file:/var/www/apache2-default/apache_pb22.png" 
> thumbnail-location=""  user-relevance="0"/>
> <user-relevance-element 
> image-location="file:/var/www/apache2-default/apache_pb22_ani.gif" 
> thumbnail-location=""  user-relevance="0"/>
> <user-relevance-element image-location="file:/var/www/pic6.png" 
> thumbnail-location=""  user-relevance="0"/>
> <user-relevance-element image-location="file:/var/www/pic5.png" 
> thumbnail-location=""  user-relevance="0"/>
> <user-relevance-element image-location="file:/var/www/pic4.png" 
> thumbnail-location=""  user-relevance="1"/>
> <user-relevance-element 
> image-location="file:/var/www/apache2-default/apache_pb.png " 
> thumbnail-location=""  user-relevance="0"/>
> <user-relevance-element 
> image-location="file:/var/www/Charmer-0.2b/icons/00exit.gif" 
> thumbnail-location=""  user-relevance="0"/>
> <user-relevance-element 
> image-location="file:/var/www/Charmer-0.2b/icons/question.gif" 
> thumbnail-location=""  user-relevance="0"/>
> <user-relevance-element 
> image-location="file:/var/www/apache2-default/apache_pb22.gif" 
> thumbnail-location=""  user-relevance="0"/>
> <user-relevance-element 
> image-location="file:/var/www/Charmer-0.2b/icons/charmer.gif" 
> thumbnail-location=""  user-relevance="0"/>
> </user-relevance-element-list></query-step>
> </mrml>
> .
> connect: mHost = [localhost], mPort = [12789]
> IF the line "Connected: ..." is not
> printed in th e next few seconds
> THEN there is a security problem with your
> appletviewer / browser
> Connected: mHost = localhost, mPort = 12789
> SUCCESS
> CParser::parse(charmer.CharmerConnectionMRML@1f68272 , 
> Socket[addr=localhost/127.0.0.1,port=12789,localport=40906]) called.
> beginning of new CParser
> End of new CParser
> makeparser
> [mrml]
> 
> [cui-time-stamp]
> 
> MOVING UP
> [query-result]
> 
> [query-result-element-list]
> 
> MOVING UP
> MOVING UP
> [cui-time-stamp]
> 
> MOVING UP
> MOVING UP
> 
> END
> 
> The document root is: charmer.mrml.CXMLElement@1465ca2
> mrml
> cui-time-stamp
> query-result
> query-result-element-list
> cui-time-stamp
> DIRECTLY AFTER TRAVERSING
> results are being emptied...
> 
> What can I do?
> 
>  
> 
>  >Dear Maurizio,
>  >please include the list in all mails on this. Otherwise I wi ll not
>  >respond anymore. It is important to keep this trace for other people who
>  >have the same problem.
> 
>  >The Charmer interface is very old and the problem of not showing images
>  >in the interface is well documented in older posting on this list. You
>  >can either look at the old postings to find the solution or use one of
>  >the newer interfaces that exist in php. I think that the download
>  >locations are linked from the gift pages.
> 
>  >Cheers, Henning
> 
>  >>[email protected] 
> <newmsg.php?us=bWF1cml6aW8ucGlsaUBlbWFpbC5pdA==&sid=%7B927400867479DEA0D4F2FC-479DEA0D4FACA-1201531405%7D&[email protected]> 
> wrote:
>  >> Hello...
>  >> After I connected to the gift server, I can't see any pictures in the
>  >> charmer frame. I attach a applet screenshot!
>  >>What can I do?
>  >>
>  > >Maurizio
>  >>
>  >>>
>  >>> Please run the server and try out the interface. It should work. The
>  >>> error has been in gift for a while. Please always add the list to your
>  >>> mails!
>  >>> The same error was already mentioned before and the system worked.
>  >>>
>  >>> Cheers, Henning
>  >>>
>  >>> [email protected] 
> <newmsg.php?us=bWF1cml6aW8ucGlsaUBlbWFpbC5pdA==&sid=%7B927400867479DEA0D4F2FC-479DEA0D4FACA-1201531405%7D&[email protected]> 
> a écrit :
>  >>>> Sorry,
>  >>>> I've another problem. When I give
>  >>>>
>  >>>> sudo gift-add-collection.pl /home/testgift
>  >>>>
>  >>>> I've, after many rows (Writing Chunk etc...):
>  >>>>
>  >>>> NEW WRITING A DI ****************************************
>  >>>> NEW ADI WRITTEN ****************************************
>  >>>>
>  >>>> BEFORE checking inverted file consistencyAFTER checking inverted file
>  >>>> consistency
>  >>>> The check was successful
>  >>>> ERROR in generating inverted fileCAcIFFileSystem::~CAcIFFileSystem()
>  > >called
>  >>>> CAccessor.cccalling destructor
>  >>>> CAccessor.cccalling destructor
>  >>>>
>  >>>> PROGRESS: 99%
>  >>>>
>  >>>> Copying /home/maury/gift-config.mrml to 
> /home/maury/gift-config.mrml-old
>  >>>>
>  >>>> PROGRESS: 100%
>  >>>>
>  >>>> What can I do?
>  >>>> Maurizio
>  >>>>
> 
> 
> ----
> Email.it, the professional e-mail, gratis per te: clicca qui 
> <http://www.email.it/cgi-bin/start?sid=3>
> 
> Sponsor:
> Penne USB Transced ad 1€, HD 160Gb Sata a 29,90€. Offerte Sottocosto e 
> Lastminute imperdibili tutte le settimane. Registrati alla Newsletter e 
> sarai sempre informato!
> Clicca qui <http://adv.email.it/cgi-bin/foclick.cgi?mid=7496&d=20080128>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> help-GIFT mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-gift

-- 
  ---------------------------------------
  Henning Müller (PhD)
  University & Hospitals of Geneva
  Service of Medical Informatics
  24, rue Micheli-du-Crest
  CH-1211 Geneva 14, Switzerland
  Tel  +41 22 372-6175
  Fax  +41 22 372-8680
  email [email protected]