Opened 7 years ago

Last modified 7 years ago

#54679 new update

bzr-gtk @0.100.0_3: update to 0.103.0

Reported by: l2dy (Zero King) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: bzr-gtk

Description


Attachments (1)

bzr-gtk-0.104.0.git.diff (3.0 KB) - added by raimue (Rainer Müller) 7 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 7 years ago by l2dy (Zero King)

Latest version is 0.104.0 on https://launchpad.net/bzr-gtk/, but livecheck only found 0.103.0.

Version 0, edited 7 years ago by l2dy (Zero King) (next)

comment:2 Changed 7 years ago by raimue (Rainer Müller)

This update was long-time blocked by upstream: https://bugs.launchpad.net/bzr-gtk/+bug/1032995

I just re-rolled a patch I had lying around and I am going to attach it here, but the result is not usable for me as almost any command throws an exception. Upstream for bzr is dead as development was halted years ago, so there is most probably no use in reporting this upstream and I do not have the time/energy/interest to investigate myself.

For completeness, this is what I see with bzr-gtk @0.104.0 for almost all commands:

$ bzr gdiff
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/plugins/gtk/ui.py:22: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gi/types.py:283: RuntimeWarning: Mixin class bzrlib.plugins.gtk.ui.ProgressContainerMixin is an old style class, please update this to derive from "object".
  RuntimeWarning)
bzr: ERROR: exceptions.TypeError: GObject.__init__() takes exactly 0 arguments (1 given)

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/commands.py", line 1138, in ignore_pipe
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/plugins/gtk/commands.py", line 154, in run
    window.set_diff("Working Tree", tree1, tree2)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/plugins/gtk/diff.py", line 416, in set_diff
    self.diff.set_diff(rev_tree, parent_tree)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/plugins/gtk/diff.py", line 223, in set_diff
    self.diff_view = DiffView()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/plugins/gtk/diff.py", line 131, in __init__
    super(DiffView, self).__init__()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/plugins/gtk/diff.py", line 62, in __init__
    self.construct()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/plugins/gtk/diff.py", line 78, in construct
    self.sourceview = Gtk.TextView(self.buffer)
TypeError: GObject.__init__() takes exactly 0 arguments (1 given)

bzr 2.6.0 on python 2.7.13 (Darwin-16.7.0-x86_64-i386-64bit)
arguments: ['/opt/local/bin/bzr', 'gdiff']
plugins: bash_completion[2.6.0], bzrtools[2.6.0], changelog_merge[2.6.0],
    fastimport[0.13.0], grep[2.6.0], gtk[0.104.0], keywords[unknown],
    launchpad[2.6.0], netrc_credential_store[2.6.0], news_merge[2.6.0],
    pager[unknown], po_merge[2.6.0], rewrite[0.6.3], svn[1.2.2],
    weave_fmt[2.6.0]
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'

*** Bazaar has encountered an internal error.  This probably indicates a
    bug in Bazaar.  You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Changed 7 years ago by raimue (Rainer Müller)

Attachment: bzr-gtk-0.104.0.git.diff added
Note: See TracTickets for help on using tickets.