First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 72981
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Björn Michaelsen <bjoern.michaelsen@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mcl.patch proposed patch patch Björn Michaelsen 2004-11-30 18:00 0000 422 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 72981 depends on: Show dependency tree
Bug 72981 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-30 17:59 0000
mcl-0.53.00/samples/contrib/DynaComplete.py fails to load because of a borked
regexp. See patch.


Reproducible: Always
Steps to Reproduce:
1. copy sample plugins to ~/.mcl
2. set plugins=python in ~/.mcl/mclrc
3. start mcl
4. #load contrib/DynaComplete

Actual Results:  
Traceback (most recent call last):
  File "/home/bjoern/.mcl/contrib/DynaComplete.py", line 118, in ?
    dynac = DynaComplete( )
  File "/home/bjoern/.mcl/contrib/DynaComplete.py", line 26, in __init__
    self.wording = re.compile( '\s*(?P<word>[\w-#]+)' )
  File "/usr/lib/python2.3/sre.py", line 179, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.3/sre.py", line 230, in _compile
    raise error, v # invalid expression
sre_constants.error: bad character range


Expected Results:  
DynaComplete v0.1.1 loaded. Use <conrol space> or <tab> to complete
words you have already typed and <backspace> to erase.
Or use "complete <words>" to add permanent completion into list.

Python 2.3.4 (#1, Nov 21 2004, 05:43:51) 
[GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

------- Comment #1 From Björn Michaelsen 2004-11-30 18:00:45 0000 -------
Created an attachment (id=45031) [details]
proposed patch

------- Comment #2 From Mr. Bones. 2004-12-02 01:28:37 0000 -------
Sounds good.  Added to CVS.  resync/remerge to get it.

First Last Prev Next    No search results available      Search page      Enter new bug