Hello again,
1) about the exception thing again, I forgot to mention that this
happens on Linux. I haven't tried in Windows. Perhaps this has
something to do with that, because it is in the os module
i paste the whole thing
In [0]: osTraceback (innermost last):
(no code object) at line 0
In [0]: java.lang.NullPointerException
at org.python.modules.os.classDictInit(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyJavaClass.initialize(Unknown Source)
at org.python.core.PyJavaClass.__dir__(Unknown Source)
at org.leo.shell.Autocompleter.autocomplete(Autocompleter.java:285)
at org.leo.shell.Autocompleter.keyPressed(Autocompleter.java:162)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:
233)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:
232)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:
232)
at java.awt.Component.processKeyEvent(Component.java:5996)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2799)
at java.awt.Component.processEvent(Component.java:5815)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:
1848)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:
697)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:
962)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:
834)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:
661)
at java.awt.Component.dispatchEventImpl(Component.java:4282)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:
273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
In [0]: java.lang.NullPointerException: java.lang.NullPointerException
In [0]: .
Do you have any idea?
2) I there an easy way to disable/disappear the menu?
3) I noticed that the output from a command that prints a lot of stuff
in the console is really slow. For example
>>> for i in range(1000):
print i
takes to much time.
Do you have any idea why is this so?
Do you think that there could be some optimization on how the ijython
gets the output from the interpreter?
Best regards,
Kostas