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 726242 - fail to see changes in a git repository
fail to see changes in a git repository
Status: RESOLVED DUPLICATE of bug 710780
Product: meld
Classification: Other
Component: general
1.8.x
Other Linux
: Normal normal
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-13 14:08 UTC by Luc Pi
Modified: 2014-03-14 23:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luc Pi 2014-03-13 14:08:37 UTC
with meld 1.8.1,

I am trying to look at a folder under git, containing local changes ('meld .')

But meld show no changes. In the console it throws:

Traceback (most recent call last):
  • File "/usr/lib/meld/meld/task.py", line 112 in iteration
    ret = next(task)
  • File "/usr/lib/meld/meld/vcview.py", line 447 in _search_recursively_iter
    self.vc.cache_inventory(rootname)
  • File "/usr/lib/meld/meld/vc/_vc.py", line 275 in cache_inventory
    self._tree_cache = self._lookup_tree_cache(directory)
  • File "/usr/lib/meld/meld/vc/git.py", line 348 in _lookup_tree_cache
    self._update_tree_state_cache("./", tree_state)
  • File "/usr/lib/meld/meld/vc/git.py", line 324 in _update_tree_state_cache
    columns = self.diff_re.search(entry).groups()
AttributeError: 'NoneType' object has no attribute 'groups'

Comment 1 Kai Willadsen 2014-03-13 20:23:41 UTC
Could you provide some more details here please? It's pretty hard to do anything with only the traceback, because this could be just about anything. If you're in a position to attach the repository that causes this, that would be great, but any details at all would help. In particular, the output of:

    git diff-index --cached HEAD .
    git diff-files -0 .

in the repository may be useful.

Also, could you please try with current stable Meld (1.8.4) as there was at least one git crasher fixed in the 1.8.x series.
Comment 2 Luc Pi 2014-03-13 21:19:14 UTC
I tend to think that this is a duplicate of Bug 710780,
as the trace (Trace 233323) suggests

(I just discovered this new 'trace' feature of bugzilla)

To reproduce:

mkdir /tmp/meld-test
cd /tmp/meld-test/
git init
touch foo
git add .
git commit -a -m "foo"
touch bar
ln -sf bar foo
git status --short
meld .
Comment 3 Kai Willadsen 2014-03-14 23:20:04 UTC
Yup. I've just checked and this was fixed in 1.8.3. Thanks anyway.

*** This bug has been marked as a duplicate of bug 710780 ***