Bug 1051386 - [abrt] meld: _vc.py:64:Entry:AssertionError
Summary: [abrt] meld: _vc.py:64:Entry:AssertionError
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: meld
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b96b573c6f583128d8c34b47010...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-10 08:23 UTC by giancarlo
Modified: 2015-06-29 14:19 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 14:19:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (959 bytes, text/plain)
2014-01-10 08:23 UTC, giancarlo
no flags Details
File: environ (3.07 KB, text/plain)
2014-01-10 08:23 UTC, giancarlo
no flags Details
Fix string split in _vc.py (691 bytes, patch)
2014-02-06 16:29 UTC, Lorenzo Buzzi
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.