What steps will reproduce the problem?
1. Click the Extended Auto-Comp box in Preferences->Document->Code
2. In the editor window, type some text then a period - e.g. self.
What is the expected output? What do you see instead?
Expect the pop up with possible completions.
Get an error message dialog with the following contents:
#---- Notes ----#
Please provide additional information about the crash here
#---- System Information ----#
Editra Version: 0.5.30
Operating System: Windows XP (build 2600, Service Pack 3)
Python Version: 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32
bit (Intel)]
wxPython Version: 2.8.10.1 (msw-unicode)
wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on, SWIG-1.3.29)
Python Encoding: Default=ascii File=mbcs
wxPython Encoding: cp1252
System Architecture: 32bit
Byte order: little
Frozen: False
#---- End System Information ----#
#---- Traceback Info ----#
*** Thu Dec 24 19:39:23 2009 ***
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\Editra\src\ed_stc.py", line 642, in
OnChar
self.ShowAutoCompOpt(command)
File "C:\Python25\Lib\site-packages\Editra\src\ed_basestc.py", line 893,
in ShowAutoCompOpt
symList = self._code['compsvc'].GetAutoCompList(command)
File "C:\Python25\Lib\site-packages\Editra\src\autocomp\autocomp.py",
line 87, in <lambda>
setattr(obj, 'GetAutoCompList', lambda cmd: GetAutoCompList(obj, cmd))
File "C:\Python25\Lib\site-packages\Editra\src\autocomp\autocomp.py",
line 101, in GetAutoCompList
rlist = list(set().union(baseList, scompList))
TypeError: union() takes exactly one argument (2 given)
#---- End Traceback Info ----#
IMPORTANT!!! Please answer these questions for any and ALL bug reports
What version of the product are you using? On what operating system?
V0.5.30 on Windows XP
What method of install was your version installed with (Binary/Source)?
Source
If from source: What version of python and wxPython are you using?
Python 2.5.2, wxPython 2.8.10.1 unicode
Please provide any additional information below.
Unchecking the option restores normal operation.
Original issue reported on code.google.com by mille...@telusplanet.net on 25 Dec 2009 at 3:17
Original issue reported on code.google.com by
mille...@telusplanet.net
on 25 Dec 2009 at 3:17