bzr viz complains about __init__ arguments

Bug #78800 reported by Wilco Baan Hofman
2
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Invalid
Undecided
Unassigned
bzr (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm running Ubuntu Feisty Fawn, with bzr 0.13 and bzr-gtk 0.13.

Tried both with bzr .deb package with bzr-gtk from .tar.gz and both bzr-0.13 and bzr-gtk-0.13 tar.gz.

The bzr-gtk package in Feisty Fawn is 0.12, same problem there.

Running with python 2.4.4.

I'm getting the following error:

bzr: ERROR: exceptions.TypeError: __init__() takes at most 2 arguments (3 given)

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 626, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 588, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 292, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/__init__.py", line 126, in run
    app.show(branch, revid, limit)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/viz/bzrkapp.py", line 32, in show
    window.set_branch(branch, start, maxnum)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/viz/branchwin.py", line 283, in set_branch
    message = revision.message.split("\n")[0]
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/viz/graph.py", line 50, in get_attribute
    self._load()
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/viz/graph.py", line 61, in _load
    self._revision = self._repository.get_revision(self.revision_id)
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 38, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 936, in get_revision
    return self.get_revision_reconcile(revision_id)
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 38, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 332, in get_revision_reconcile
    self.get_transaction())[0]
  File "/usr/lib/python2.4/site-packages/bzrlib/store/revision/knit.py", line 92, in get_revisions
    [revision_id,
TypeError: __init__() takes at most 2 arguments (3 given)

bzr 0.13.0 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'viz']

** please send this report to <email address hidden>

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 78800] bzr viz complains about __init__ arguments

 affects /bzr
 status fixcommitted

Fixed in <email address hidden> (already
merged in bzr.dev)

Jelmer Vernooij (jelmer)
Changed in bzr-gtk:
status: Unconfirmed → Rejected
Changed in bzr:
status: Fix Committed → Fix Released
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.