[Bug 730898] Re: AttributeError: 'NoneType' object has no attribute 'endswith' in http _redirected_to

Jelmer Vernooij 730898 at bugs.launchpad.net
Wed Aug 31 10:55:22 UTC 2011


** Changed in: bzr (Ubuntu)
   Importance: Undecided => Medium

** Changed in: bzr (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/730898

Title:
  AttributeError: 'NoneType' object has no attribute 'endswith' in http
  _redirected_to

Status in Bazaar Version Control System:
  Confirmed
Status in “bzr” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: bzr

  1)Ubuntu release
  Description:	Ubuntu 10.10
  Release:	10.10
  2)Package version
  bzr:
    Installed: 2.2.1-0ubuntu1
    Candidate: 2.2.1-0ubuntu1
    Version table:
   *** 2.2.1-0ubuntu1 0
          500 http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main i386 Packages
          100 /var/lib/dpkg/status
       2.2.0-1 0
          500 http://in.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages

  3)While trying to branch the code using the command "bzr branch https://www.launchpad.net/randy-qt" got error(attached in  the file named as: bzr_bug_report)
  4)Expected result:
  The branch must have been created

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: bzr 2.2.1-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-27.48-generic 2.6.35.11
  Uname: Linux 2.6.35-27-generic i686
  Architecture: i386
  Date: Tue Mar  8 02:03:28 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcEnviron:
   LANG=en_IN
   SHELL=/bin/bash
  SourcePackage: bzr

  Traceback (most recent call last):
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 912, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1112, in run_bzr
      ret = run(*run_argv)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 690, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 705, in run
      return self._operation.run_simple(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
      self.cleanups, self.func, *args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
      result = func(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1209, in run
      from_location)
    File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1032, in open_tree_or_branch
      bzrdir = klass.open(location)
    File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 911, in open
      return BzrDir.open_from_transport(t, _unsupported=_unsupported)
    File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 941, in open_from_transport
      redirected)
    File "/usr/lib/python2.6/dist-packages/bzrlib/lazy_import.py", line 125, in __call__
      return obj(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1661, in do_catching_redirections
      transport = redirected(transport, e, redirection_notice)
    File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 931, in redirected
      redirected_transport = transport._redirected_to(e.source, e.target)
    File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/__init__.py", line 537, in _redirected_to
      if not target.endswith(relpath):
  AttributeError: 'NoneType' object has no attribute 'endswith'

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/730898/+subscriptions




More information about the foundations-bugs mailing list