Bug 1247064

Summary: [abrt] Zim: pageview.py:3401:_search_in_widget:AttributeError: 'module' object has no attribute 'tableeditor'
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: ZimAssignee: Robin Lee <robinlee.sysu>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: fabian, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/0ae5e3151bfddbcd8c8c3212eea9ce7be0188426
Whiteboard: abrt_hash:ecdcb331ab2502455a9bb8275eada8dd3a643893
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 17:12:16 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

Description Christian Stadelmann 2015-07-27 09:17:50 UTC
Description of problem:
I downgraded a heading from with sub-headings below it.

Version-Release number of selected component:
Zim-0.63-1.fc22

Additional info:
reporter:       libreport-2.6.1
cmdline:        /usr/bin/python /usr/bin/zim --ipc-server-main /tmp/zim-christian/zim-server-socket 30
executable:     /usr/bin/zim
kernel:         4.1.2-200.fc22.x86_64
runlevel:       N 5
type:           Python

Truncated backtrace:
pageview.py:3401:_search_in_widget:AttributeError: 'module' object has no attribute 'tableeditor'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/plugins/tableofcontents.py", line 373, in on_demote
    self._format(p, newlevel)
  File "/usr/lib/python2.7/site-packages/zim/plugins/tableofcontents.py", line 391, in _format
    if self.select_heading(path):
  File "/usr/lib/python2.7/site-packages/zim/plugins/tableofcontents.py", line 256, in select_heading
    if select_heading(buffer, text):
  File "/usr/lib/python2.7/site-packages/zim/plugins/tableofcontents.py", line 54, in select_heading
    iter = find_heading(buffer, heading)
  File "/usr/lib/python2.7/site-packages/zim/plugins/tableofcontents.py", line 33, in find_heading
    if buffer.finder.find(regex, FIND_REGEX):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 3228, in find
    return self._find_next(iter)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 3264, in _find_next
    for start, end, _ in self._check_range(line, lastline, 1):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 3371, in _check_range
    result = self._search_in_widget(start, step)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 3401, in _search_in_widget
    if isinstance(widgets[0], zim.plugins.tableeditor.TableViewWidget):
AttributeError: 'module' object has no attribute 'tableeditor'

Local variables in innermost frame:
widgets: [<SourceViewWidget object at 0x7f55140430f0 (zim+gui+objectmanager+CustomObjectWidget at 0x2325a60)>]
start: <GtkTextIter at 0x23d35e0>
step: 1
self: <zim.gui.pageview.TextFinder object at 0x7f551520cb50>

Comment 1 Christian Stadelmann 2015-07-27 09:17:53 UTC
Created attachment 1056529 [details]
File: backtrace

Comment 2 Fedora End Of Life 2016-07-19 17:12:16 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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.