Error while using "bzr branch" through proxy

Bug #83954 reported by jayesh
10
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Vincent Ladeuil

Bug Description

bzr version : 0.14.0
python : 2.4.1
Platform : Fedora Core release 4 (Stentz) ( uname -r : 2.6.11-1.1369_FC4 )
$http_proxy : http://uname:passwd@192.168.1.1:3128

$ bzr branch https://bazaar-vcs.org/bzr/bzr.dev bzr.dev

giving following error :
...
../bzr-0.14/bzrlib/transport/http/_urllib2_wrappers.py", line 714, in set_proxy
    req.add_header('Proxy-authorization', 'Basic ' + user_pass)
NameError: global name 'req' is not defined

Solution : in bzr-0.14/bzrlib/transport/http/_urllib2_wrappers.py line 714
'req' should be changed to 'request'

Vincent Ladeuil (vila)
Changed in bzr:
assignee: nobody → v-ladeuil
Revision history for this message
Vincent Ladeuil (vila) wrote :

Thanks for the report.

Fixed in the attached patch.

Need explicit tests which in turn need http authorization support in the test framework (work in progress).

Changed in bzr:
status: Unconfirmed → Fix Committed
Revision history for this message
Vincent Ladeuil (vila) wrote :

Should be included in 0.14.1

Revision history for this message
Vincent Ladeuil (vila) wrote :

Merged in bzr.dev.

Changed in bzr:
status: Fix Committed → Fix Released
Revision history for this message
Bubba Siggler (bud3) wrote : Re: [Bug 83954] Re: Error while using "bzr branch" through proxy

  Hi vila,
       Got the workstation up and running. I haven't got bzr up and
running, by the way it looks with the mail. I have a stand alone pc with
feisty on it should I also run bzr on it also. I been reading on get bzr
set upright. Is there a link that I be missing or getting that caused the
WARNING with libzr and the bzr program.

Thanks for your help

Bubba <email address hidden>

 I want to be a contribution an help I know you Guys an Gals are working
hard. Feisty Fawn is going to be a ICE breaker when it's finished.

On 2/8/07, vila <email address hidden> wrote:
>
> ** Changed in: bzr (upstream)
> Assignee: (unassigned) => vila
>
> --
> Error while using "bzr branch" through proxy
> https://launchpad.net/bugs/83954
>

--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFkcN7yXWcajQQndYRAgbqAKCMyXN9Jx4g0X7jocg+aUSFz0x4LwCgrURW
eGtqLjpzQVYa9+gzpCRtB84=
=zrpM
-----END PGP SIGNATURE-----

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.