Error in Chinese translation causes Meld to not start

Bug #622065 reported by Xhacker Liu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
meld
Fix Released
Medium
meld (Debian)
Fix Released
Unknown
meld (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: meld

Meld won't start.

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

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: meld 1.3.2-1
ProcVersionSignature: Ubuntu 2.6.35-17.23-generic 2.6.35.2
Uname: Linux 2.6.35-17-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Sun Aug 22 11:50:22 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=zh_CN:zh
 LANG=zh_CN.UTF-8
 SHELL=/bin/bash
SourcePackage: meld

Related branches

Revision history for this message
Xhacker Liu (xhacker) wrote :
Revision history for this message
topgun (topgun38) wrote :

I met this problem too!

Revision history for this message
Adam Collard (adam-collard) wrote :

It looks like this is i18n related, I can only reproduce this by launching meld with the same LANGUAGE setting as Xhacker Liu:

LANGUAGE=zh_CN:zh meld

Changed in meld (Ubuntu):
status: New → Confirmed
Changed in meld (Ubuntu):
assignee: nobody → Adam Collard (adam-collard)
status: Confirmed → In Progress
summary: - Meld won't start
+ Error in Chinese translation causes Meld to not start
Revision history for this message
Adam Collard (adam-collard) wrote :
Changed in meld (Ubuntu):
assignee: Adam Collard (adam-collard) → nobody
status: In Progress → Confirmed
Changed in meld:
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package meld - 1.3.2-1ubuntu1

---------------
meld (1.3.2-1ubuntu1) maverick; urgency=low

  * fix-chinese-translation.patch: stolen from upstream's GIT. Fix a crash
    when launching meld in a zh_CN environment. (LP: #622065)
 -- Adam Collard <email address hidden> Mon, 06 Sep 2010 00:32:08 +0200

Changed in meld (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Stefano Rivera (stefanor) wrote :

Adam: You forgot the # symbol before the bug number in the changelog. Corrected.

Yay for forwarding to Debian :)

Changed in meld:
importance: Unknown → Medium
Changed in meld (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.