Bzr 1.7.1 abort in Python 2.6

Bug #279201 reported by Daniel Arbuckle
This bug report is a duplicate of:  Bug #269535: bzr does not work with python2.6. Edit Remove
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned
Uninstaller for the Bazaar Macintosh Bundle
New
Undecided
Unassigned

Bug Description

Note: this report is misfiled in the mac uninstaller. I didn't notice that the field reset when I went into the advanced options. It applies to the main bazaar project.

The problem is that object() no longer accepts parameters

/home/djarb/local/lib/python2.6/site-packages/bzrlib/lazy_import.py:195: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  module = __import__(module_python_path, scope, scope, [])
bzr: ERROR: exceptions.TypeError: object.__init__() takes no parameters

Traceback (most recent call last):
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/builtins.py", line 398, in run
    tree = WorkingTree.open_containing(u'.')[0]
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/workingtree.py", line 325, in open_containing
    control, relpath = bzrdir.BzrDir.open_containing(path)
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 833, in open_containing
    transport = get_transport(url, possible_transports)
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/transport/__init__.py", line 1575, in get_transport
    transport, last_err = _try_transport_factories(base, factory_list)
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/transport/__init__.py", line 1584, in _try_transport_factories
    return factory.get_obj()(base), None
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/transport/local.py", line 75, in __init__
    super(LocalTransport, self).__init__(base)
  File "/home/djarb/local/lib/python2.6/site-packages/bzrlib/transport/__init__.py", line 296, in __init__
    super(Transport, self).__init__(base=base)
TypeError: object.__init__() takes no parameters

Daniel Arbuckle (djarb)
description: updated
description: updated
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 279201] [NEW] Bzr 1.7.1 abort in Python 2.6

This is a dup of the needs python 2.6 bugreport, I don't have that
number handy.

-Rob

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

Other bug subscribers

Remote bug watches

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