Bug#595025: meld: crashes at startup when launched with LANGUAGE=zh_CN

Adam Collard adam.collard at gmail.com
Tue Aug 31 14:30:23 UTC 2010


Package: meld
Version: 1.3.2-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch

$ LANGUAGE=zh_CN:zh meld
Traceback (most recent call last):
  File "/usr/bin/meld", line 123, in <module>
    main()
  File "/usr/bin/meld", line 114, in main
    import meld.meldapp
  File "/usr/lib/meld/meld/meldapp.py", line 42, in <module>
    import vcview
  File "/usr/lib/meld/meld/vcview.py", line 23, in <module>
    import tree
  File "/usr/lib/meld/meld/tree.py", line 25, in <module>
    from vc._vc import STATE_IGNORED, STATE_NONE, STATE_NORMAL, STATE_NOCHANGE,
\
  File "/usr/lib/meld/meld/vc/__init__.py", line 26, in <module>
    import _null
  File "/usr/lib/meld/meld/vc/_null.py", line 24, in <module>
    import _vc
  File "/usr/lib/meld/meld/vc/_vc.py", line 38, in <module>
    class Entry(object):
  File "/usr/lib/meld/meld/vc/_vc.py", line 41, in Entry
    assert len(states)==STATE_MAX
AssertionError

*** /tmp/tmpUG4wXB
In Ubuntu, we've applied the attached patch to achieve the following:

  * fix-chinese-translation.patch: stolen from upstream's GIT. Fix a crash
    when launching meld in a zh_CN environment. (LP: 622065)

We thought you might be interested in doing the same.



-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick-proposed'), (500, 'maverick')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-19-generic (SMP w/1 CPU core)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpVywFmv
Type: text/x-diff
Size: 1338 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100831/6ed1590d/attachment.diff>


More information about the pkg-gnome-maintainers mailing list