Re: Medline through proxy?

"Frédéric Gobry" <[email protected]> Mon, 4 Dec 2006 13:49:01 +0000
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
> echo $http_proxy
> http://USER:PASSWORD-JSHV3JGXi3ZJ4ibD9idTO6blKRhlhXods0AfqQuZ5sE@public.gmane.org:3128
>
> echo $HTTP_PROXY
> http://USER:PASSWORD-JSHV3JGXi3ZJ4ibD9idTO6blKRhlhXods0AfqQuZ5sE@public.gmane.org:3128
>
> And yet: Medline search attempt results in the error below - any hints?

>From the python doc, I just read the following:

 « Proxies which require authentication for use are not currently
supported; this is considered an implementation limitation. »
       -- http://docs.python.org/lib/module-urllib.html

Sucks (this part is mine again). I suffer from bad connectivity at
home, so I won't have the time to investigate immediately. If anybody
knows a workaround, I'm interested :-)

>
> Thanks, Joh
>
> This is Pybliographic 1.2.9 [Python 2.4.4, Gtk 2.8.20, PyGTK 2
> Traceback (most recent call last):
>   File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 514, in
> query_database
>     url = apply (Query.medline_query, data)
>   File "/usr/share/pybliographer/Pyblio/Query.py", line 256, in medline_query
>     uids = query_info (keyword, field, maxcount, displaystart, entrezdate) # get
> the pubmed UIDs and dump into uids variable
>   File "/usr/share/pybliographer/Pyblio/Query.py", line 56, in query_info
>     f = urllib.urlopen ("%s?%s" % (query_url, params))
>   File "/usr/lib/python2.4/urllib.py", line 82, in urlopen
>     return opener.open(url)
>   File "/usr/lib/python2.4/urllib.py", line 190, in open
>     return getattr(self, name)(url)
>   File "/usr/lib/python2.4/urllib.py", line 313, in open_http
>     h.endheaders()
>   File "/usr/lib/python2.4/httplib.py", line 798, in endheaders
>     self._send_output()
>   File "/usr/lib/python2.4/httplib.py", line 679, in _send_output
>     self.send(msg)
>   File "/usr/lib/python2.4/httplib.py", line 646, in send
>     self.connect()
>   File "/usr/lib/python2.4/httplib.py", line 614, in connect
>     socket.SOCK_STREAM):
> IOError: [Errno socket error] (-2, 'Name or service not known')
> Traceback (most recent call last):
>   File "/usr/bin/pybliographer", line 166, in ?
>     execfile (filename, user_global)
>   File "/usr/share/pybliographer/pybliographic.py", line 48, in ?
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Pybliographer-general mailing list
> Pybliographer-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pybliographer-general
>
>


-- 
Frédéric

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV