[IPython-dev] shell command for ipython1 frontend

Laurent Dufrechou laurent.dufrechou@gmail....
Sat Aug 30 19:07:09 CDT 2008


Good point ;)

!del /P myfile.txt don't works at all with my code.
So here is a bug report for you (just to keep a trace) ;) :

In [2]: !ls

The GUI freeze and I need to push enter to get this message: (under vista)

Traceback (most recent call last):
  File
"c:\users\ldufrechou\desktop\ipython-dev\trunk-dev\IPython\kernel\core\sync_
traceback_trap.py", line 49, in hook
    raise
TypeError: exceptions must be classes, instances, or strings (deprecated),
not NoneType

Original exception was:
Traceback (most recent call last):
  File
"C:\Users\ldufrechou\Desktop\Ipython-dev\trunk-dev\IPython\frontend\wx\ipyth
onx.py", line 42, in _on_key_down
    WxController._on_key_down(self, event, skip=skip) 
  File
"C:\Users\ldufrechou\Desktop\Ipython-dev\trunk-dev\IPython\frontend\wx\wx_fr
ontend.py", line 368, in _on_key_down
    ConsoleWidget._on_key_down(self, event, skip=skip)
  File
"c:\users\ldufrechou\desktop\ipython-dev\trunk-dev\IPython\frontend\wx\conso
le_widget.py", line 361, in _on_key_down
    self._on_enter()
  File
"C:\Users\ldufrechou\Desktop\Ipython-dev\trunk-dev\IPython\frontend\wx\wx_fr
ontend.py", line 440, in _on_enter
    PrefilterFrontEnd._on_enter(self)
  File
"c:\users\ldufrechou\desktop\ipython-dev\trunk-dev\IPython\frontend\linefron
tendbase.py", line 274, in _on_enter
    self.execute(cleaned_buffer, raw_string=current_buffer)
  File
"C:\Users\ldufrechou\Desktop\Ipython-dev\trunk-dev\IPython\frontend\wx\wx_fr
ontend.py", line 288, in execute
    wx.Yield()
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line
7630, in Yield
    return _core_.Yield(*args)
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed at
..\..\src\msw\app.cpp(695) in wxApp::Yield(): wxYield called recursively

Laurent



More information about the IPython-dev mailing list