[Bug 1182884] [NEW] pexpect fails with "internal error in regular expression engine"
Yolanda Robla
yolanda.robla at canonical.com
Wed May 22 13:13:19 UTC 2013
Public bug reported:
When running the following code:
child = pexpect.spawn('saslpasswd2 -c -u %s %s' % (report.strip(), self.user.login))
time.sleep(0.2)
child.expect(r'.*[pP]assword', timeout=5)
pexpect is failing with that error:
Traceback (most recent call last):
File "/tmp/tmp.LLTlXaXhZk/ubtree0-ubtree/debian/tests/test-postfix.py", line 493, in test_21_security_CVE_2011_1720
self._setup_sasl("CRAM-MD5", "DIGEST-MD5")
File "/tmp/tmp.LLTlXaXhZk/ubtree0-ubtree/debian/tests/test-postfix.py", line 173, in _setup_sasl
child.expect(r'.*[pP]assword', timeout=5)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1316, in expect
return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1330, in expect_list
return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1371, in expect_loop
index = searcher.search(incoming, freshlen, searchwindowsize)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1753, in search
match = s.search(buffer, searchstart)
RuntimeError: internal error in regular expression engine
It fails only with i386 platform, not in amd64 platform
** Affects: python2.7 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1182884
Title:
pexpect fails with "internal error in regular expression engine"
Status in “python2.7” package in Ubuntu:
New
Bug description:
When running the following code:
child = pexpect.spawn('saslpasswd2 -c -u %s %s' % (report.strip(), self.user.login))
time.sleep(0.2)
child.expect(r'.*[pP]assword', timeout=5)
pexpect is failing with that error:
Traceback (most recent call last):
File "/tmp/tmp.LLTlXaXhZk/ubtree0-ubtree/debian/tests/test-postfix.py", line 493, in test_21_security_CVE_2011_1720
self._setup_sasl("CRAM-MD5", "DIGEST-MD5")
File "/tmp/tmp.LLTlXaXhZk/ubtree0-ubtree/debian/tests/test-postfix.py", line 173, in _setup_sasl
child.expect(r'.*[pP]assword', timeout=5)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1316, in expect
return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1330, in expect_list
return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1371, in expect_loop
index = searcher.search(incoming, freshlen, searchwindowsize)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1753, in search
match = s.search(buffer, searchstart)
RuntimeError: internal error in regular expression engine
It fails only with i386 platform, not in amd64 platform
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1182884/+subscriptions
More information about the foundations-bugs
mailing list