Fix crash in 1.8.3 with Italian locale



Hi,

Meld 1.8,3 crashes with the following stacktrace with LANG=it_IT.utf8 .

Traceback (most recent call last):
  File "/usr/bin/meld", line 173, in <module>
    main()
  File "/usr/bin/meld", line 155, in main
    import meld.meldapp
  File "/usr/lib/meld/meld/meldapp.py", line 32, in <module>
    from . import preferences
  File "/usr/lib/meld/meld/preferences.py", line 30, in <module>
    from . import vc
  File "/usr/lib/meld/meld/vc/__init__.py", line 26, in <module>
    from . import _null
  File "/usr/lib/meld/meld/vc/_null.py", line 24, in <module>
    from meld.vc import _vc
  File "/usr/lib/meld/meld/vc/_vc.py", line 60, in <module>
    class Entry(object):
  File "/usr/lib/meld/meld/vc/_vc.py", line 64, in Entry
    assert len(states) == STATE_MAX
AssertionError

master branch is not affected.
The attached patch fixes the problem, please consider applying it on 1.8 branch.

Thanks,
Balint

Attachment: 0001-Fix-crash-with-Italian-it_IT.utf8-locale.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]