After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745837 - If passed as arguments text files does not work.
If passed as arguments text files does not work.
Status: RESOLVED INVALID
Product: meld
Classification: Other
Component: filediff
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2015-03-08 12:07 UTC by jsbsan
Modified: 2015-03-20 22:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jsbsan 2015-03-08 12:07:56 UTC
Hello:

In the Meld version 1.6.1, this command with arguments files worked fine:
$ meld "/tmp/text1.cpp" "/tmp/text2.cpp"

But in version Meld 3.12.1

Gives this error:
$ meld "/tmp/text1.cpp" "/tmp/text2.cpp"

Traceback (most recent call last):
  • File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 73 in do_command_line
    tab = self.parse_args(command_line)
  • File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 316 in parse_args
    focus=i == 0)
  • File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 148 in open_files
    return window.open_paths(paths, **kwargs)
  • File "/usr/lib/python2.7/dist-packages/meld/meldwindow.py", line 729 in open_paths
    paths, auto_compare=auto_compare, auto_merge=auto_merge)
  • File "/usr/lib/python2.7/dist-packages/meld/meldwindow.py", line 678 in append_diff
    paths, merge_output=merge_output, meta=meta)
  • File "/usr/lib/python2.7/dist-packages/meld/meldwindow.py", line 647 in append_filediff
    doc.set_files(files)
  • File "/usr/lib/python2.7/dist-packages/meld/filediff.py", line 1089 in set_files
    self._disconnect_buffer_handlers()
  • File "/usr/lib/python2.7/dist-packages/meld/filediff.py", line 458 in _disconnect_buffer_handlers
    buf.disconnect(h)
  • File "/usr/lib/python2.7/dist-packages/gi/overrides/GObject.py", line 429 in wrapper
    return func(_get_instance_for_signal(obj), *args, **kwargs)
  • File "/usr/lib/python2.7/dist-packages/gi/types.py", line 113 in function
    return info.invoke(*args, **kwargs)
TypeError: argument instance: Expected GObject.Object, but got PyCObject




Regards

Jsbsan
Comment 1 Kai Willadsen 2015-03-08 20:41:19 UTC
What distribution/version are you running? This problem looks very familiar, and I'm pretty sure it's a problem that has been fixed in upstream PyGObject.

Also, while I don't actually expect it to fix this problem, you can always try with the most recent stable Meld version (3.12.3).
Comment 2 jsbsan 2015-03-08 23:17:49 UTC
Hello:

My distribution:
Linux minino 3.10.1-picaros #2 SMP Tue Jul 23 14:34:47 CEST 2013 i686 GNU/Linux

(is a derived distribution of Debian wheezy)

In Sid repository, 3.12.1 version of meld

Regards,

Jsbsan
Comment 3 Kai Willadsen 2015-03-20 22:35:09 UTC
Yeah, this is a bug with pygobject and/or its interaction with glib, and it's fixed in newer releases of those libraries. There's also nothing that we can do in Meld to work around this, sadly.

Thanks anyway for the bug report.