[Python-projects] pylint, pyreverse : trouble with using Mercurial => Fixed

Laurent Bertaud laurent at bertaud.org
Wed Oct 17 21:21:55 CEST 2007



Nicolas Chauvat a écrit :
> On Tue, Oct 16, 2007 at 07:26:24PM +0200, Laurent Bertaud wrote:
>> My web connexion seems to be OK.
>> Did I forgot something to configure or else before getting the code?
> 
> What is the output of wget http://www.logilab.org/hg/pylint ?
 wget http://www.logilab.org/hg/pylint
--20:26:48--  http://www.logilab.org/hg/pylint
           => `pylint'
Connexion vers 192.168.22.62:3128...

192.168.22.62:3128 is the address of the ULCO's proxy!
But in don't use it any more!

 ping www.logilab.org
PING cetus.logilab.fr (213.215.7.52) 56(84) bytes of data.
64 bytes from logilab2-7-52.cnt.nerim.net (213.215.7.52): icmp_seq=1
ttl=51 time=51.8 ms
64 bytes from logilab2-7-52.cnt.nerim.net (213.215.7.52): icmp_seq=2
ttl=51 time=48.5 ms


 traceroute www.logilab.fr
traceroute to www.logilab.fr (213.215.7.52), 30 hops max, 40 byte packets
 1  192.168.0.254 (192.168.0.254)  0.771 ms  1.010 ms  1.770 ms
 2  192.168.254.254 (192.168.254.254)  43.113 ms  49.407 ms  56.793 ms
 3  * * *
 4  * * *
 5  * th1-6k-2-po21.intf.routers.proxad.net (212.27.57.214)  94.773 ms *
 6  th1-4k-1-v900.intf.routers.proxad.net (212.27.58.78)  106.763 ms
44.812 ms  42.943 ms
 7  nerim.FreeIX.net (213.228.3.251)  47.727 ms  52.572 ms  57.445 ms
 8  te2-4-40-nb-jeuneurs-1.nerim.net (194.79.131.129)  64.401 ms  69.241
ms  73.656 ms
 9  te2-1-93-nb-courbevoie-2.nerim.net (194.79.131.150)  78.843 ms
83.442 ms  89.298 ms
10  fa0-0-nas202-dsl-courbevoie.nerim.net (194.79.130.105)  94.494 ms
99.581 ms  104.757 ms
11  logilab2-5-198.cnt.nerim.net (213.215.5.198)  113.627 ms  118.470 ms
 125.039 ms
12  logilab2-7-6.cnt.nerim.net (213.215.7.6)  87.307 ms  47.611 ms
49.824 ms



> 
> What if you point you browser at the same url ?
I get :
http://www.logilab.org/cgi-bin/hgwebdir.cgi/pylint
I can see the patchs.

8 weeks ago:  	merge
changeset 146: 	8d596024a77d
parent 145:	1dc1c4f16f27
parent 144:	677a77a4d05e
tag:	tip
author: 	Sylvain <syt at logilab.fr>
date: 	Wed Aug 22 09:46:00 2007 +0200
files:


> Is your browser configured to use a proxy ?
No.
> 
> Do you have a http_proxy in your environment ?
laurent at hebus:~$ echo $http_proxy
http://192.168.22.62:3128/

no http_proxy in the /etc/environment  and ~/.bashrc files
I found this file :

/home/laurent/.gconf/system/http_proxy/%gconf.xml wich content is :
<?xml version="1.0"?>
<gconf>
        <entry name="port" mtime="1190236267" type="int" value="3128">
        </entry>
        <entry name="host" mtime="1190236263" type="string">
                <stringvalue>192.168.22.62</stringvalue>
        </entry>
        <entry name="use_same_proxy" mtime="1190236251" type="bool"
value="true">
        </entry>
        <entry name="use_http_proxy" mtime="1190236249" type="bool"
value="true">
        </entry>
</gconf>

so I tried :
export http_proxy=
and I checked :

laurent at hebus:~$ echo $http_proxy
(nothing)

And a last :
hg clone http://www.logilab.org/hg/pylint
destination directory: pylint
real URL is http://www.logilab.org/cgi-bin/hgwebdir.cgi/pylint
requesting all changes
adding changesets
adding manifests
adding file changes
added 147 changesets with 836 changes to 484 files
480 files updated, 0 files merged, 0 files removed, 0 files unresolved


laurent at hebus:~$ hg clone http://www.logilab.org/hg/pyreverse
destination directory: pyreverse
real URL is http://www.logilab.org/cgi-bin/hgwebdir.cgi/pyreverse
requesting all changes
adding changesets
adding manifests
adding file changes
added 7 changesets with 126 changes to 104 files
86 files updated, 0 files merged, 0 files removed, 0 files unresolved

It looks OK. I have the two directory pylint an pyreverse in my ~.

Thanks

-- 
Laurent Bertaud - Key ID : 543C9E39


More information about the Python-Projects mailing list