Bug 653204
| Summary: | [abrt] meld-1.3.2-1.fc14: _vc.py:41:Entry:AssertionError | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | xuhuashan <xuhuashan> | ||||||
| Component: | meld | Assignee: | Dominic Hopf <dmaphy> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 14 | CC: | bdpepple, bird98, cnangel, pwu, qhfrose, renduly, zhtx10 | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:87ed4696 | ||||||||
| Fixed In Version: | meld-1.5.1-1.fc14 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-05-10 21:21:32 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 460442 [details]
File: backtrace
Package: meld-1.3.2-1.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.open the meld just 2. 3. this only happen in chinese zh_CN locale,when i start meld in then en_US locale, this issue will not reproduce. Package: meld-1.3.2-1.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.中文操作系统,启动fedora的时候发生core 2. 3. Created attachment 463408 [details]
Fixes the error in zh_CN translation.
This seems a bug in zh_CN translation, in zh_CN.po.
It should use ":" instead of ":".
Please review this patch.
This bug can be re-produced on English locale,
with the following command:
$ LANG=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8 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/share/meld/meld/meldapp.py", line 42, in <module>
import vcview
File "/usr/share/meld/meld/vcview.py", line 23, in <module>
import tree
File "/usr/share/meld/meld/tree.py", line 25, in <module>
from vc._vc import STATE_IGNORED, STATE_NONE, STATE_NORMAL, STATE_NOCHANGE, \
File "/usr/share/meld/meld/vc/__init__.py", line 26, in <module>
import _null
File "/usr/share/meld/meld/vc/_null.py", line 24, in <module>
import _vc
File "/usr/share/meld/meld/vc/_vc.py", line 38, in <module>
class Entry(object):
File "/usr/share/meld/meld/vc/_vc.py", line 41, in Entry
assert len(states)==STATE_MAX
AssertionError
Package: meld-1.3.2-1.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)
How to reproduce
-----
[cnangel@localhost ~]$locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=zh_CN.UTF-8
[cnangel@localhost ~]$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/share/meld/meld/meldapp.py", line 42, in <module>
import vcview
File "/usr/share/meld/meld/vcview.py", line 23, in <module>
import tree
File "/usr/share/meld/meld/tree.py", line 25, in <module>
from vc._vc import STATE_IGNORED, STATE_NONE, STATE_NORMAL, STATE_NOCHANGE, \
File "/usr/share/meld/meld/vc/__init__.py", line 26, in <module>
import _null
File "/usr/share/meld/meld/vc/_null.py", line 24, in <module>
import _vc
File "/usr/share/meld/meld/vc/_vc.py", line 38, in <module>
class Entry(object):
File "/usr/share/meld/meld/vc/_vc.py", line 41, in Entry
assert len(states)==STATE_MAX
Package: meld-1.3.2-1.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.start 2. 3. Package: meld-1.3.2-1.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.忘了. . . 2. 3. Package: meld-1.3.2-1.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.run meld 2. 3. Package: meld-1.3.2-1.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.type 'meld' in command line. 2. 3. meld crashed. Comment ----- python.i686 2.7-8.fc14.1 kernel-PAE.i686 2.6.35.11-83.fc14 This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. (In reply to comment #6) > This bug can be re-produced on English locale, > with the following command: > $ LANG=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8 meld This command changes the locale from english to chinese, doesn't it? (In reply to comment #13) > (In reply to comment #6) > > This bug can be re-produced on English locale, > > with the following command: > > $ LANG=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8 meld > > This command changes the locale from english to chinese, doesn't it? Yes, it is Simplified Chinese. and I think it is an error in translation. Please see the above patch. Package: meld-1.3.2-1.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. Just start it 2. 3. I have to admit I had no chance to review your patch yet, unfortunately. Anyway, maybe you like to check out first if the issue is still present with the new meld 1.5.1. A package can be downloaded here: http://koji.fedoraproject.org/koji/taskinfo?taskID=3007032 It seems fixed in meld-1.5.1-1.fc14.noarch.rpm. meld-1.5.1-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/meld-1.5.1-1.fc14 Package meld-1.5.1-1.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing meld-1.5.1-1.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/meld-1.5.1-1.fc14 then log in and leave karma (feedback). meld-1.5.1-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
abrt version: 1.1.13 architecture: i686 cmdline: python /usr/bin/meld component: meld executable: /usr/bin/meld kernel: 2.6.35.6-48.fc14.i686 package: meld-1.3.2-1.fc14 reason: _vc.py:41:Entry:AssertionError release: Fedora release 14 (Laughlin) How to reproduce: just open meld. time: 1289782272 uid: 500 backtrace ----- _vc.py:41:Entry:AssertionError 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/share/meld/meld/meldapp.py", line 42, in <module> import vcview File "/usr/share/meld/meld/vcview.py", line 23, in <module> import tree File "/usr/share/meld/meld/tree.py", line 25, in <module> from vc._vc import STATE_IGNORED, STATE_NONE, STATE_NORMAL, STATE_NOCHANGE, \ File "/usr/share/meld/meld/vc/__init__.py", line 26, in <module> import _null File "/usr/share/meld/meld/vc/_null.py", line 24, in <module> import _vc File "/usr/share/meld/meld/vc/_vc.py", line 38, in <module> class Entry(object): File "/usr/share/meld/meld/vc/_vc.py", line 41, in Entry assert len(states)==STATE_MAX AssertionError Local variables in innermost frame: states: ['\xe5\xbf\xbd\xe7\x95\xa5\xef\xbc\x9a\xe7\x89\x88\xe6\x9c\xac\xe4\xb8\x8d\xe8\xaf\xa6', '', '', '\xe9\x94\x99\xe8\xaf\xaf', '', '\xe6\x96\xb0\xe6\xb7\xbb\xe5\x8a\xa0', '\xe5\xb7\xb2\xe4\xbf\xae\xe6\x94\xb9', '<b>\xe5\x86\xb2\xe7\xaa\x81</b>', '\xe5\xb7\xb2\xe5\x88\xa0\xe9\x99\xa4', '\xe4\xb8\xa2\xe5\xa4\xb1'] __module__: 'meld.vc._vc'