Re: errors occured when i try to connect to gift server

Henning Müller <[email protected]>
Newsgroups gmane.comp.gnu.gift.general
Organization HUG
Message-ID <[email protected]>
Hi,

do you use http:// urls in the url2fts? In this case apache is required
as the images are only available via the wb servers. If you do not want
this you shoudl use file:/ urls.

Cheers, Henning

Mingchung Liu wrote:
> Hi,Merry Spring Festival.
> There is a problem in my GIFT,   I have been suffered for a long time.
>     If I started apache http service ,everything is ok.
>     If apache is not started, images can not be displayed in charmer, 
> you can only see empty frames.
> 
>      This problem has been talked about in gift-started.txt,   described 
> as below,but I still don't know how to fix it.   Is it nessesary to fix it?
> 
> thanks.
> 
> 
> ------------------------quoted from 
> gift-started.txt-------------------------------------------
>    In my humble experience, old (1.1.x) appletviewers had problems with
>     http:// URLs. "Problems" means, that they simply were neither
>   downloaded nor displayed. "Uncool", in a word. The opposite now
>   happens with a recent (1.2) appletviewer. The images are shown, if
>   they come by http from a location on the local host, they will not be
>   shown, if they are specified by a file:/... URL. This renders giving
>   defaults which work for everybody impossible. We give possibilites to
>   specify all this in gift-add-collection.pl (try --help for viewing the
>   options). However, if you are experiencing trouble you can simply do
>   replacement of URLs in the url2fts.xml file, as described in the
>   section above.
> 
> 
> 
> thanks,
> ---------- Forwarded message ----------
> From: *Liu Allen * <[email protected] <mailto:[email protected]>>
> Date: Sep 26, 2006 4:43 PM
> Subject: [help-gift]errors occured when i try to connect to gift server
> To: help-gift < [email protected] <mailto:[email protected]>>
> 
> My environment: ubuntu 6.06; gift-0.1.15b; charmer-0.2b
> When I try to connect to gift server, I can't see any images in the
> frame.when I click "collection" or "method" field on the charmer,there
> are nothing happened.
> some error occured both at  sever-end (where I start gift)and
> client-end(where I start Charmer).
> 1,
> for server-end, I provide the output in the attachment named 
> "connect-server".
> I also copy the most important part of the output  at server-end
> here,so you friends can see it conveniently:
>                    part of the output at server-end
> --------------------------------------------------------
> InvertedFileOffset.db_ ...success.
> Opening _/root/gift-indexing-data/pic/InvertedFileFeatureDescription.db_
> ...FAILED!No such file or directory
> gift: CAcIFFileSystem.cc:944: bool CAcIFFileSystem::init(bool):
> Assertion `mURL2FTS->size()' failed.
> Aborted
> root@allen-laptop:~#
> -------------------------------------------------------------
> 
> 
> 
> 2,
> 
> for client-end, I provide the output in the attachment named 
> "connect-applet".
> I also copy the most important part of the output  at client-end
> here,so you friends can see it conveniently:
>                  part of the output at client-end
> ----------------------------------------------------------
> While reading I caught exception : java.net.SocketException
> java.net.SocketException: Connection reset
>         at java.net.SocketInputStream.read(SocketInputStream.java:168)
>         at java.net.SocketInputStream.read (SocketInputStream.java:182)
>         at java.io.FilterInputStream.read(FilterInputStream.java:66)
>         at charmer.mrml.CParser.parse(CParser.java:229)
>         at 
> charmer.CharmerConnectionMRML.readMessage(CharmerConnectionMRML.java :452)
>         at 
> charmer.CharmerConnectionMRML.<init>(CharmerConnectionMRML.java:538)
>         at charmer.client.Charmer.connect(Charmer.java:187)
>         at charmer.client.MainFrame.mouseLClicked(MainFrame.java :267)
>         at charmer.client.DrawnButton.mouseClicked(DrawnButton.java:320)
>         at java.awt.Component.processMouseEvent(Component.java:5491)
>         at java.awt.Component.processEvent(Component.java:5253)
>         at java.awt.Container.processEvent(Container.java:1966)
>         at java.awt.Component.dispatchEventImpl(Component.java:3955)
>         at java.awt.Container.dispatchEventImpl(Container.java:2024)
>         at java.awt.Component.dispatchEvent(Component.java:3803)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
>         at 
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
>         at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
>         at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
>        at java.awt.EventDispatchThread.pumpEvents 
> (EventDispatchThread.java:149)
>        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Currently message is : ---
> 
> 
> /liu
> 
> 
> 
> -- 
>                                                      刘明政 
>                           
>                                   北京师范大学管理学院  
>                                              北京,100875
> ----------------------------------------------------------
> Mingchung Liu  
> School of Management  at Beijing Normal University  
> Beijing,100875
> (+86)010-62204692
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.