Bug 1142365

Summary: [abrt] catfish: __init__.py:1953:search:RuntimeError: internal error in regular expression engine
Product: [Fedora] Fedora Reporter: cecco.se.it <cecco.se>
Component: pythonAssignee: Matej Stuchlik <mstuchli>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: amcnabb, Anasastu, bkabrda, dmalcolm, fabian.deutsch, ivazqueznet, jberan, jonathansteffan, masahase, mstuchli, mtasaka, ncoghlan, rkuska, robert.wade.hughes, tomspur, tradej, zikamev
Target Milestone: ---Flags: zikamev: needinfo?
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/383796df6b8ee23598cabdd57c0f5d98cde13968
Whiteboard: abrt_hash:9e74f50146c2c21167a40245186d6f82dccd5423
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 22:34: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

Description cecco.se.it 2014-09-16 16:06:46 UTC
Description of problem:
I just cliked on Catfish File search from Application Menu, Accessories.

Version-Release number of selected component:
catfish-1.0.3-1.fc20.1

Additional info:
reporter:       libreport-2.2.3
cmdline:        python2 /usr/share/catfish/bin/catfish.py
dso_list:       python-pexpect-3.1-1.fc20.noarch
executable:     /usr/share/catfish/bin/catfish.py
kernel:         3.16.2-200.fc20.i686+PAE
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
__init__.py:1953:search:RuntimeError: internal error in regular expression engine

Traceback (most recent call last):
  File "/usr/share/catfish/bin/catfish.py", line 44, in <module>
    catfish.main()
  File "/usr/share/catfish/catfish/__init__.py", line 74, in main
    window = CatfishWindow.CatfishWindow()
  File "/usr/share/catfish/catfish_lib/Window.py", line 49, in __new__
    new_object.finish_initializing(builder)
  File "/usr/share/catfish/catfish/CatfishWindow.py", line 209, in finish_initializing
    if SudoDialog.check_dependencies(['updatedb']):
  File "/usr/share/catfish/catfish_lib/SudoDialog.py", line 44, in check_dependencies
    if child.expect([".*ssword.*", "Sorry", pexpect.EOF, pexpect.TIMEOUT]) == 3:
  File "/usr/lib/python2.7/site-packages/pexpect/__init__.py", line 1418, in expect
    timeout, searchwindowsize)
  File "/usr/lib/python2.7/site-packages/pexpect/__init__.py", line 1433, in expect_list
    timeout, searchwindowsize)
  File "/usr/lib/python2.7/site-packages/pexpect/__init__.py", line 1490, in expect_loop
    index = searcher.search(incoming, freshlen, searchwindowsize)
  File "/usr/lib/python2.7/site-packages/pexpect/__init__.py", line 1953, in search
    match = s.search(buffer, searchstart)
RuntimeError: internal error in regular expression engine

Local variables in innermost frame:
index: 0
freshlen: 0
buffer: ''
self: <pexpect.searcher_re object at 0xa2b712c>
searchstart: 0
first_match: None
s: <_sre.SRE_Pattern object at 0x9ec26b0>
searchwindowsize: None

Comment 1 cecco.se.it 2014-09-16 16:06:49 UTC
Created attachment 938123 [details]
File: backtrace

Comment 2 cecco.se.it 2014-09-16 16:06:51 UTC
Created attachment 938124 [details]
File: environ

Comment 3 Mamoru TASAKA 2014-09-17 00:59:11 UTC
Looks like pexpect has this issue.
Once switching to pexpect.

Comment 4 Mamoru TASAKA 2014-09-17 03:59:49 UTC
... and actually this looks like python bug.
When I apply 

https://hg.python.org/cpython/raw-rev/e5e425fd1e4f

to python-2.7.5-13.fc20, catfish (on i686) launches with no problem
(However now test suite seems to fail on koji with the patch above applied...)

Switching to python.
ref:
http://bugs.python.org/issue17998

Comment 5 Mamoru TASAKA 2014-09-30 05:16:42 UTC
For people seeing this catfish issue on i686, please try
python scratch package on:

http://koji.fedoraproject.org/scratch/mtasaka/task_7725670/

Comment 6 Lori 2014-10-15 19:15:23 UTC
Installing both the python and python-libs packages featured in Comment 5 got Catfish working again for me. Nothing being broadcast through Terminal (which is good).

[kernel 3.16.4-200.fc20.i686]

Comment 7 Fedora Admin XMLRPC Client 2015-05-12 12:03:38 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 John Mev 2015-05-26 17:14:49 UTC
The solution provided in comment #5 does not exist any more.

Is there an ability to know where to find it ?

yhx

Comment 9 Fedora End Of Life 2015-05-29 12:53:54 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 10 Fedora End Of Life 2015-06-29 22:34: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.