qlog crashes due gpgme error

Bug #891075 reported by Anton Korovin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
High
Unassigned

Bug Description

antonk@site:~/Dev> bzr qlog
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x87172d0)" of type `GString'
bzr: ERROR: gpgme.GpgmeError: (32, 176, 'Not operational')

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/util.py", line 908, in run_in_loading_queue
    f(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/uifactory.py", line 32, in decorate
    r = f(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/revisionmessagebrowser.py", line 365, in update_selection
    revids, self.log_list.log_model.graph_viz.get_repo_revids)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/revisionmessagebrowser.py", line 149, in set_display_revids
    pass_prev_loaded_rev=True)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/lazycachedrevloader.py", line 53, in load_revisions
    revisions_loaded(return_revisions, False)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/revisionmessagebrowser.py", line 204, in revisions_loaded
    cached_revisions[revid].repository)
  File "/usr/lib/python2.7/site-packages/bzrlib/log.py", line 321, in format_signature_validity
    gpg_strategy = gpg.GPGStrategy(None)
  File "/usr/lib/python2.7/site-packages/bzrlib/gpg.py", line 184, in __init__
    self.context = gpgme.Context()
GpgmeError: (32, 176, 'Not operational')

bzr 2.4.1 on python 2.7.0 (Linux-2.6.37.6-0.7-desktop-i686-with-
    SuSE-11.4-i586)
arguments: ['/usr/bin/bzr', 'qlog']
plugins: bash_completion[2.4.1], changelog_merge[2.4.1], explorer[1.2.1],
    launchpad[2.4.1], netrc_credential_store[2.4.1], news_merge[2.4.1],
    qbzr[0.21.1], weave_fmt[2.4.1]
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'ru_RU.utf8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
antonk@antonk-book:~/Dev/EagleEye> bzr qlog
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x87197d0)" of type `GString'
bzr: ERROR: gpgme.GpgmeError: (32, 176, 'Not operational')

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/util.py", line 908, in run_in_loading_queue
    f(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/uifactory.py", line 32, in decorate
    r = f(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/revisionmessagebrowser.py", line 365, in update_selection
    revids, self.log_list.log_model.graph_viz.get_repo_revids)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/revisionmessagebrowser.py", line 149, in set_display_revids
    pass_prev_loaded_rev=True)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/lazycachedrevloader.py", line 53, in load_revisions
    revisions_loaded(return_revisions, False)
  File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/revisionmessagebrowser.py", line 204, in revisions_loaded
    cached_revisions[revid].repository)
  File "/usr/lib/python2.7/site-packages/bzrlib/log.py", line 321, in format_signature_validity
    gpg_strategy = gpg.GPGStrategy(None)
  File "/usr/lib/python2.7/site-packages/bzrlib/gpg.py", line 184, in __init__
    self.context = gpgme.Context()
GpgmeError: (32, 176, 'Not operational')

bzr 2.4.1 on python 2.7.0 (Linux-2.6.37.6-0.7-desktop-i686-with-
    SuSE-11.4-i586)
arguments: ['/usr/bin/bzr', 'qlog']
plugins: bash_completion[2.4.1], changelog_merge[2.4.1], explorer[1.2.1],
    launchpad[2.4.1], netrc_credential_store[2.4.1], news_merge[2.4.1],
    qbzr[0.21.1], weave_fmt[2.4.1]
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'ru_RU.utf8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Tags: qlog
affects: qbzr-eclipse → qbzr
Revision history for this message
Alexander Belchenko (bialix) wrote :

The best we can do on qbzr side is to suppress this error from gpgme and show some explanation in the revision message window.

Changed in qbzr:
status: New → Confirmed
importance: Undecided → High
summary: - qlog crashes when clicking on revision comment
+ qlog crashes due gpgme error
tags: added: qlog
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.