After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 77734 - GNOME Dictionary doesn't handle proxy at all
GNOME Dictionary doesn't handle proxy at all
Status: RESOLVED OBSOLETE
Product: gnome-dictionary
Classification: Core
Component: general
git master
Other All
: Normal enhancement
: ---
Assigned To: gnome-dictionary-maint
gnome-dictionary-maint
: 78254 80796 122080 529757 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-05 14:47 UTC by keelin.boyle
Modified: 2021-06-10 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description keelin.boyle 2002-04-05 14:47:40 UTC
Using beta3 on Solaris 8, gnome dictionary version 1.102.0

having set the http_proxy, gnome dictionary is still unable to lookup words
yet gives no error message and no output when run through dbx.
Comment 1 Kevin Vandersloot 2002-04-10 00:21:56 UTC
Hmm, how did you set the proxy? I suspect gnome-dictionary doesn't
handle proxy setups at all :(
Comment 2 keelin.boyle 2002-04-10 11:07:10 UTC
I set the proxy as an env variable from a terminal and then run the
gnome-dictionary application from that terminal, gnome-dictionary &
applet show status Looking up word .... but never complete's.
Comment 3 Luis Villa 2002-04-10 18:18:41 UTC
Kevin: does it use gnome-vfs for info fetching or no? I'm guessing not. 

So... this is a borderline case: it's either a very bad bug or a big
missing feature. I'm going to punt and land on the side of 'feature'
unless anyone feels strongly about that.
Comment 4 Luis Villa 2002-04-11 17:54:40 UTC
*** Bug 78254 has been marked as a duplicate of this bug. ***
Comment 5 Shane O'Connor 2002-04-17 15:44:48 UTC
I have been looking at this on a nightly from 12th April.

gDict will give the *appearance* of looking up a word/checking a
spelling  if run through runsocks (to bypass the firewall) BUT it
seems to just sit there and do nothing. AFAICT it locks up and has to
be killed from the command line.

I tried to get some debug by trussing the running process but nothing
of use was returned - won't run through dbx because it is already
running through runsocks.

It almost appears as though gDict is actaully looking for a word
definition but I let it run for 15 minutes and it didn't return
anything.
Comment 6 Glynn Foster 2002-04-25 16:18:18 UTC
I got gdict working by using runsocks as Shane described, but yeah, it
should probably be using some sort of proxy from gnome-vfs. This is
*not* going to make the 2.0 deadline.
Now, I guess someone in Sun is going to have decide whether this is
important enough to work on, or not.
Comment 7 Glynn Foster 2002-05-01 10:22:05 UTC
Okay, non-2.0 although this is different for Sun.
Comment 8 Glynn Foster 2002-05-02 11:14:12 UTC
Recategorizing...I've added sun_patches even though there isn't a
patch ready...just so it stays on the radar
Comment 9 John Fleck 2002-05-04 15:18:04 UTC
*** Bug 80796 has been marked as a duplicate of this bug. ***
Comment 10 arunapr 2002-05-15 10:34:57 UTC
dict uses Dict protocol. There has to be new gnome-vfs module written
to handle proxy stuff.  

Comment 11 Shane O'Connor 2002-06-05 10:29:45 UTC
gdict works fine WHEN the lookup server is changed from its default
(gdict.org) to "toolkit.central" on port 2628 (same as for gdict.org)

The default lookup server is gdict.org and this does not work.

I would suggest that the default lookup server be changed from
gdict.org to something that works (or is it only me that it doesn't
work for?)..:)
Comment 12 Glynn Foster 2002-06-05 10:58:40 UTC
that's cause toolkit.central is a locally defined dict source, hence
you don't need a proxy/socks
Comment 13 Shane O'Connor 2002-06-05 13:11:15 UTC
ahhh, now - how stupid do i feel...?? didn't know that - sorry
Comment 14 Narayana Pattipati 2002-06-10 04:54:17 UTC
After my initial analysis and discussions in gnome-devel-list, I feel
that this enhancement bug can not make it to GNOME-2.0, for the
reasons outlined below.


1. Issues in implementing http proxy support:

Dict.org at port 2628 does not support HTTP requests. Another problem
is some http proxies may not allow connections to ports other than
443. So this is not a feasible option.


2. Issues in implementing SOCKS proxy support:       

SOCKS support means client application needs to be socksfied with
support from some socks libraries. Gnet gives some socket/socks
support for GNOME. But the  socks support given so far is experimental
and it is not complete. May be we will get full support by GNOME-2.2
release.

There are some third party socks libraries which have full support for
socksification. But it is not desirable to use a third party library.


3. Issues in giving dict commands as http requests through http proxy:

www.dict.org gives a form where we can POST queries as http requests.
So we basically POST dict commands as http requests and display the
results which are parsed with gtkhtml.

A simple spell request(exact MATCH) for word 'care' looks like:

http://www.dict.org/bin/Dict?Form=Dict1&Query=care&Strategy=exact&Database=*

For this we can make use of existing gnome-vfs 'http module'
implementation.

But POST support is not provided in gnome-vfs, and it may be ready by
GNOME-2.2.


What do others think about the issues mentioned above.??

It may be possible to provide proxy support by GNOME-2.2.
Comment 15 Glynn Foster 2002-07-29 12:58:32 UTC
POST might work - it seems an easier option to implement but you might
not have the same level of control over databases and search strategies.
Comment 16 Glynn Foster 2003-11-10 02:29:10 UTC
*** Bug 122080 has been marked as a duplicate of this bug. ***
Comment 17 Fernando Herrera 2004-01-22 16:44:28 UTC
If finally evolution-data-server is on the desktop, we would get also
libsuop, that implements easy-to-use http POST method (but remember it
should get http proxy from gconf keys!).
So marking this for 2.7
Comment 18 Emmanuele Bassi (:ebassi) 2005-12-07 23:05:39 UTC
the new gnome-dictionary code handles multiple transports (implementations of
the GdictContext interface).

i could add a GdictHttpContext, using libsoup, in order to connect to a
dictionary server using HTTP.
Comment 19 Emmanuele Bassi (:ebassi) 2005-12-31 16:08:38 UTC
re-assigning to the libgdict component
Comment 20 Brian Cameron 2007-10-12 19:54:43 UTC
Any update on this?  It would be nice if the dictionary worked from behind a firewall.
Comment 21 Claude Paroz 2008-04-25 20:09:26 UTC
*** Bug 529757 has been marked as a duplicate of this bug. ***
Comment 22 André Klapper 2021-06-10 11:22:56 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of gnome-dictionary, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a ticket at
  https://gitlab.gnome.org/GNOME/gnome-dictionary/-/issues/

Thank you for your understanding and your help.