Bug 1051386

Summary: [abrt] meld: _vc.py:64:Entry:AssertionError
Product: [Fedora] Fedora Reporter: giancarlo <giancarlo.ster>
Component: meldAssignee: Dominic Hopf <dmaphy>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: angelo.zinnai, c.david86, christoph.wickert, dmaphy, lorenzo.buzzi
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d3e933b037ba78fb4ac25a98d8f1ce3a121fd154
Whiteboard: abrt_hash:b96b573c6f583128d8c34b470109973a87f8ed51
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 14:19:34 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:
Description Flags
File: backtrace
none
File: environ
none
Fix string split in _vc.py none

Description giancarlo 2014-01-10 08:23:30 UTC
Description of problem:
E' sufficiente mandarlo in esecuzione da una console anche senza parametri.
In console compare:
------------------------
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/share/meld/meld/meldapp.py", line 32, in <module>
    from . import preferences
  File "/usr/share/meld/meld/preferences.py", line 30, in <module>
    from . import vc
  File "/usr/share/meld/meld/vc/__init__.py", line 26, in <module>
    from . import _null
  File "/usr/share/meld/meld/vc/_null.py", line 24, in <module>
    from meld.vc import _vc
  File "/usr/share/meld/meld/vc/_vc.py", line 60, in <module>
    class Entry(object):
  File "/usr/share/meld/meld/vc/_vc.py", line 64, in Entry
    assert len(states) == STATE_MAX
AssertionError
----------------------

Version-Release number of selected component:
meld-1.8.3-1.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        python /usr/bin/meld /tmp/YqNnuk_alm_mkserv.c xj_source/tasks/alm/alm_mkserv.c
executable:     /usr/bin/meld
kernel:         3.12.6-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
_vc.py:64:Entry:AssertionError

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/share/meld/meld/meldapp.py", line 32, in <module>
    from . import preferences
  File "/usr/share/meld/meld/preferences.py", line 30, in <module>
    from . import vc
  File "/usr/share/meld/meld/vc/__init__.py", line 26, in <module>
    from . import _null
  File "/usr/share/meld/meld/vc/_null.py", line 24, in <module>
    from meld.vc import _vc
  File "/usr/share/meld/meld/vc/_vc.py", line 60, in <module>
    class Entry(object):
  File "/usr/share/meld/meld/vc/_vc.py", line 64, in Entry
    assert len(states) == STATE_MAX
AssertionError

Local variables in innermost frame:
states: ['Ignorato', 'Non in revisione', '', '', 'Errore', '', 'Aggiunto recentemente', 'Modificato', '<b>Conflitto</b>', 'Rimosso', 'Mancante']
__module__: 'meld.vc._vc'

Comment 1 giancarlo 2014-01-10 08:23:39 UTC
Created attachment 848093 [details]
File: backtrace

Comment 2 giancarlo 2014-01-10 08:23:41 UTC
Created attachment 848094 [details]
File: environ

Comment 3 Lorenzo Buzzi 2014-01-20 16:22:48 UTC
I'm experiencing exactly the same issue.

Comment 4 angelo zinnai 2014-01-23 09:57:42 UTC
Also I have the same problem but under Fedora 20 I SOLVED removing the released packet and 
I m installing the OLD  meld-1.8.2-1.fc20.noarch

Comment 5 Lorenzo Buzzi 2014-02-06 16:28:24 UTC
Solution:
- edit /usr/share/meld/meld/vc/_vc.py
- go to line 62
- add a ';' at the end of the string in parenthesis, like this:
_("Ignored:Unversioned:::Error::Newly added:Modified:Conflict:Removed:Missing:Not present;")
- save the file

I attach a patch file.

Comment 6 Lorenzo Buzzi 2014-02-06 16:29:25 UTC
Created attachment 860250 [details]
Fix string split in _vc.py

Comment 7 Fedora End Of Life 2015-05-29 10:25:29 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2015-06-29 14:19:34 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.