OK, I updated my SVN working copy and tried peppy. (peppy told me to
update my version of setuptools, which wasn't a problem.) FIrst, I
tried to edit make-doc.py (just to see how it would go editing a Python
file).
When I positioned the cursor at the end of any line of the file and hit
Return, I got the following:
Traceback (most recent call last):
File "c:\Dwig\Sandbox\peppy\peppy\frame.py", line 359, in OnKeyPressed
self.keys.process(evt)
File "c:\Dwig\Sandbox\peppy\peppy\lib\wxemacskeybindings.py", line
598, in process
function(evt)
File "c:\Dwig\Sandbox\peppy\peppy\menu.py", line 192, in __call__
self.action(0, number)
File "c:\Dwig\Sandbox\peppy\peppy\mainmenu.py", line 508, in action
self.mode.stc.electricReturn()
File "c:\Dwig\Sandbox\peppy\peppy\fundamental.py", line 104, in
electricReturn
ind = self.findIndent(linenum + 1)
File "c:\Dwig\Sandbox\peppy\peppy\plugins\python_mode.py", line 323,
in findIndent
bod = y.find_good_parse_start(build_char_in_string_func(self, start))
File "c:\ProgramFiles\Python24\lib\idlelib\PyParse.py", line 159, in
find_good_parse_start
ps1 = '\n' + sys.ps1
AttributeError: 'module' object has no attribute 'ps1'
I opened a new file, set the mode to Python, and started entering
stuff. When I entered "def foo(bar):", I got the same traceback as soon
as I typed the colon.
At this point, I exited peppy, and got:
Traceback (most recent call last):
File
"C:\ProgramFiles\Python24\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",
line 14087, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "c:\Dwig\Sandbox\peppy\peppy\frame.py", line 674, in switchMode
mode=self.getActiveMajorMode()
File "c:\Dwig\Sandbox\peppy\peppy\frame.py", line 480, in
getActiveMajorMode
major=self.tabs.getCurrent()
File "c:\Dwig\Sandbox\peppy\peppy\frame.py", line 169, in getCurrent
return self.GetPage(index)
File
"c:\ProgramFiles\Python24\lib\site-packages\wx-2.8-msw-ansi\wx\aui.py",
line 1404, in GetPage
return _aui.AuiNotebook_GetPage(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "page_idx <
m_tabs.GetPageCount()" failed at ..\..\src\aui\auibook.cpp(2872) in
wxAuiNotebook::GetPage()
Traceback (most recent call last):
File
"C:\ProgramFiles\Python24\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",
line 14087, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "c:\Dwig\Sandbox\peppy\peppy\frame.py", line 674, in switchMode
mode=self.getActiveMajorMode()
File "c:\Dwig\Sandbox\peppy\peppy\frame.py", line 480, in
getActiveMajorMode
major=self.tabs.getCurrent()
File "c:\Dwig\Sandbox\peppy\peppy\frame.py", line 169, in getCurrent
return self.GetPage(index)
File
"c:\ProgramFiles\Python24\lib\site-packages\wx-2.8-msw-ansi\wx\aui.py",
line 1404, in GetPage
return _aui.AuiNotebook_GetPage(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "page_idx <
m_tabs.GetPageCount()" failed at ..\..\src\aui\auibook.cpp(2872) in
wxAuiNotebook::GetPage()
Traceback (most recent call last):
File "c:\Dwig\Sandbox\peppy\peppy\frame.py", line 356, in OnClose
wx.GetApp().quit()
File "c:\Dwig\Sandbox\peppy\peppy\main.py", line 698, in quit
doit=self.quitHook()
File "c:\Dwig\Sandbox\peppy\peppy\main.py", line 712, in quitHook
if not BufferList.promptUnsaved():
File "c:\Dwig\Sandbox\peppy\peppy\buffers.py", line 59, in promptUnsaved
dlg.Destroy()
File
"C:\ProgramFiles\Python24\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",
line 14033, in __getattr__
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the QuitDialog object has
been deleted, attribute access no longer allowed.
BTW, I'm running wx 2.8.3.0 on py 2.4.3.
I'm willing to dig deeper if this information isn't enough to give you
an "aha!".
--
Don Dwiggins
Advanced Publishing Technology