← Back to team overview

sikuli-driver team mailing list archive

[Bug 1464105] [NEW] when I use Python package to post some message, it'll throw exception

 

Public bug reported:

I use SikliX 1.1.0 
Code like this:

import urllib
opener = urllib.FancyURLopener({})
f = opener.open("http://www.python.org/";)
print f.read()


六月 11, 2015 11:29:24 上午 org.python.netty.channel.AbstractChannel$AbstractUnsafe register
警告: Force-closing a channel whose registration task was not accepted by an event loop: [id: 0x1d496cfb]
java.util.concurrent.RejectedExecutionException: event executor terminated
at org.python.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:745)
at org.python.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:322)
at org.python.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:728)
at org.python.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:420)
at org.python.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:60)
at org.python.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:48)
at org.python.netty.channel.MultithreadEventLoopGroup.register(MultithreadEventLoopGroup.java:64)
at org.python.netty.bootstrap.Abstrac

tBootstrap.initAndRegister(AbstractBootstrap.java:317)
at org.python.netty.bootstrap.AbstractBootstrap.doBind(AbstractBootstrap.java:273)
at org.python.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:269)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
at org.python.core.PyObject.__call__(PyObject.java:478)
at org.python.core.PyObject.__call__(PyObject.java:482)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at _socket$py._connect$77(E:\sikuli\sikulix.jar\Lib\_socket.py:864)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.c

ore.PyBaseCode.call(PyBaseCode.java:153)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at _socket$py.connect$80(E:\sikuli\sikulix.jar\Lib\_socket.py:888)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyBaseCode.call(PyBaseCode.java:198)
at org.python.core.PyFunction.__call__(PyFunction.java:482)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:223)
at org.python.core.PyObject._callextra(PyObject.java:601)
at _socket$py.meth$117(E:\sikuli\sikulix.jar\Lib\_socket.py:1367)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBase

Code.java:307)
at org.python.core.PyFunction.function___call__(PyFunction.java:471)
at org.python.core.PyFunction.__call__(PyFunction.java:466)
at org.python.core.PyFunction.__call__(PyFunction.java:461)
at org.python.modules._functools.PyPartial.partial___call__(PyPartial.java:124)
at org.python.modules._functools.PyPartial.__call__(PyPartial.java:79)
at org.python.core.PyObject.__call__(PyObject.java:478)
at org.python.core.PyObject.__call__(PyObject.java:482)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at _socket$py.create_connection$131(E:\sikuli\sikulix.jar\Lib\_socket.py:1507)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:170)
at org.python.core.PyFunction.__call__(PyFunction.java:434)
at httplib$py.connect$24(E:\sikuli\sikulix.jar\Lib\httplib.py:796)
at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
at org.python.cor

e.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:138)
at org.python.core.PyFunction.__call__(PyFunction.java:413)
at org.python.core.PyMethod.__call__(PyMethod.java:126)
at httplib$py.send$26(E:\sikuli\sikulix.jar\Lib\httplib.py:826)
at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at httplib$py._send_output$28(E:\sikuli\sikulix.jar\Lib\httplib.py:854)
at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at httplib$py.endheaders$31(E:\sikuli\sikulix.jar\L

ib\httplib.py:997)
at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at urllib$py.open_http$18(E:\sikuli\sikulix.jar\Lib\urllib.py:360)
at urllib$py.call_function(E:\sikuli\sikulix.jar\Lib\urllib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyBaseCode.call(PyBaseCode.java:145)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at urllib$py.open$14(E:\sikuli\sikulix.jar\Lib\urllib.py:211)
at urllib$py.call_function(E:\sikuli\sikulix.jar\Lib\urllib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core

.PyBaseCode.call(PyBaseCode.java:145)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at org.python.pycode._pyx1226.f$0(E:\sikuli\workspace\testpost.sikuli\testpost.py:4)
at org.python.pycode._pyx1226.call_function(E:\sikuli\workspace\testpost.sikuli\testpost.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286)
at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:209)
at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:177)
at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:2369)

六月 11, 2015 11:29:30 上午 org.python.netty.util.concurrent.DefaultPromise execute
严重: Failed to submit a listener notification t

ask. Event loop shut down?
java.util.concurrent.RejectedExecutionException: event executor terminated
at org.python.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:745)
at org.python.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:322)
at org.python.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:728)
at org.python.netty.util.concurrent.DefaultPromise.execute(DefaultPromise.java:671)
at org.python.netty.util.concurrent.DefaultPromise.notifyLateListener(DefaultPromise.java:641)
at org.python.netty.util.concurrent.DefaultPromise.addListener(DefaultPromise.java:138)
at org.python.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:93)
at org.python.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at 

sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
at org.python.core.PyObject.__call__(PyObject.java:478)
at org.python.core.PyObject.__call__(PyObject.java:482)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at _socket$py._handle_channel_future$70(E:\sikuli\sikulix.jar\Lib\_socket.py:778)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyFunction.function___call__(PyFunction.java:471)
at org.python.core.PyFunction.__call__(PyFunction.java:466)
at org.python.core.PyFunction.__call__(PyFunction.java:461)
at org.python.core.PyObject._callextra(PyObject.java:601)
at _socket$py.handle_exception$30(E:\sikuli\si

kulix.jar\Lib\_socket.py:366)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyBaseCode.call(PyBaseCode.java:161)
at org.python.core.PyFunction.__call__(PyFunction.java:434)
at org.python.core.PyMethod.__call__(PyMethod.java:156)
at _socket$py._connect$77(E:\sikuli\sikulix.jar\Lib\_socket.py:864)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at _socket$py.connect$80(E:\sikuli\sikulix.jar\Lib\_socket.py:888)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)


at org.python.core.PyBaseCode.call(PyBaseCode.java:198)
at org.python.core.PyFunction.__call__(PyFunction.java:482)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:223)
at org.python.core.PyObject._callextra(PyObject.java:601)
at _socket$py.meth$117(E:\sikuli\sikulix.jar\Lib\_socket.py:1367)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyFunction.function___call__(PyFunction.java:471)
at org.python.core.PyFunction.__call__(PyFunction.java:466)
at org.python.core.PyFunction.__call__(PyFunction.java:461)
at org.python.modules._functools.PyPartial.partial___call__(PyPartial.java:124)
at org.python.modules._functools.PyPartial.__call__(PyPartial.java:79)
at org.python.core.PyObject.__call__(PyObject.ja

va:478)
at org.python.core.PyObject.__call__(PyObject.java:482)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at _socket$py.create_connection$131(E:\sikuli\sikulix.jar\Lib\_socket.py:1507)
at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:170)
at org.python.core.PyFunction.__call__(PyFunction.java:434)
at httplib$py.connect$24(E:\sikuli\sikulix.jar\Lib\httplib.py:796)
at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:138)
at org.python.core.PyFunction.__call__(PyFunction.java:413)
at org.python.core.PyMethod.__call__(PyMethod.java:126)
at httplib$py.send$26(E:\sikuli\sikulix.jar\Lib\httplib.py:826)
at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)


at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at httplib$py._send_output$28(E:\sikuli\sikulix.jar\Lib\httplib.py:854)
at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at httplib$py.endheaders$31(E:\sikuli\sikulix.jar\Lib\httplib.py:997)
at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at urllib$py.open_http$18(E:\sikuli\sikulix.jar\Lib\urllib.py:360)
at urllib$py.call_f

unction(E:\sikuli\sikulix.jar\Lib\urllib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyBaseCode.call(PyBaseCode.java:145)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at urllib$py.open$14(E:\sikuli\sikulix.jar\Lib\urllib.py:211)
at urllib$py.call_function(E:\sikuli\sikulix.jar\Lib\urllib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyBaseCode.call(PyBaseCode.java:145)
at org.python.core.PyFunction.__call__(PyFunction.java:423)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at org.python.pycode._pyx1226.f$0(E:\sikuli\workspace\testpost.sikuli\testpost.py:4)
at org.python.pycode._pyx1226.call_function(E:\sikuli\workspace\testpost.sikuli\testpost.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python

[error] script [ testpost ] stopped with error in line 3
[error] IOError ( [Errno socket error] error(-1, u'Unmapped exception: java.util.concurrent.RejectedExecutionException: event executor terminated') )

.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286)
at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:209)
at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:177)
at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:2369)

I guess this may connect with Jython.

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1464105

Title:
  when I use Python package to post some message, it'll  throw exception

Status in Sikuli:
  New

Bug description:
  I use SikliX 1.1.0 
  Code like this:

  import urllib
  opener = urllib.FancyURLopener({})
  f = opener.open("http://www.python.org/";)
  print f.read()

  
  六月 11, 2015 11:29:24 上午 org.python.netty.channel.AbstractChannel$AbstractUnsafe register
  警告: Force-closing a channel whose registration task was not accepted by an event loop: [id: 0x1d496cfb]
  java.util.concurrent.RejectedExecutionException: event executor terminated
  at org.python.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:745)
  at org.python.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:322)
  at org.python.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:728)
  at org.python.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:420)
  at org.python.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:60)
  at org.python.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:48)
  at org.python.netty.channel.MultithreadEventLoopGroup.register(MultithreadEventLoopGroup.java:64)
  at org.python.netty.bootstrap.Abstrac

  tBootstrap.initAndRegister(AbstractBootstrap.java:317)
  at org.python.netty.bootstrap.AbstractBootstrap.doBind(AbstractBootstrap.java:273)
  at org.python.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:269)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
  at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
  at org.python.core.PyObject.__call__(PyObject.java:478)
  at org.python.core.PyObject.__call__(PyObject.java:482)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at _socket$py._connect$77(E:\sikuli\sikulix.jar\Lib\_socket.py:864)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.c

  ore.PyBaseCode.call(PyBaseCode.java:153)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at _socket$py.connect$80(E:\sikuli\sikulix.jar\Lib\_socket.py:888)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:198)
  at org.python.core.PyFunction.__call__(PyFunction.java:482)
  at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
  at org.python.core.PyMethod.__call__(PyMethod.java:228)
  at org.python.core.PyMethod.__call__(PyMethod.java:223)
  at org.python.core.PyObject._callextra(PyObject.java:601)
  at _socket$py.meth$117(E:\sikuli\sikulix.jar\Lib\_socket.py:1367)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBase

  Code.java:307)
  at org.python.core.PyFunction.function___call__(PyFunction.java:471)
  at org.python.core.PyFunction.__call__(PyFunction.java:466)
  at org.python.core.PyFunction.__call__(PyFunction.java:461)
  at org.python.modules._functools.PyPartial.partial___call__(PyPartial.java:124)
  at org.python.modules._functools.PyPartial.__call__(PyPartial.java:79)
  at org.python.core.PyObject.__call__(PyObject.java:478)
  at org.python.core.PyObject.__call__(PyObject.java:482)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at _socket$py.create_connection$131(E:\sikuli\sikulix.jar\Lib\_socket.py:1507)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:170)
  at org.python.core.PyFunction.__call__(PyFunction.java:434)
  at httplib$py.connect$24(E:\sikuli\sikulix.jar\Lib\httplib.py:796)
  at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
  at org.python.cor

  e.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:138)
  at org.python.core.PyFunction.__call__(PyFunction.java:413)
  at org.python.core.PyMethod.__call__(PyMethod.java:126)
  at httplib$py.send$26(E:\sikuli\sikulix.jar\Lib\httplib.py:826)
  at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at httplib$py._send_output$28(E:\sikuli\sikulix.jar\Lib\httplib.py:854)
  at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at httplib$py.endheaders$31(E:\sikuli\sikulix.jar\L

  ib\httplib.py:997)
  at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at urllib$py.open_http$18(E:\sikuli\sikulix.jar\Lib\urllib.py:360)
  at urllib$py.call_function(E:\sikuli\sikulix.jar\Lib\urllib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:145)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at urllib$py.open$14(E:\sikuli\sikulix.jar\Lib\urllib.py:211)
  at urllib$py.call_function(E:\sikuli\sikulix.jar\Lib\urllib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
  at org.python.core

  .PyBaseCode.call(PyBaseCode.java:145)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at org.python.pycode._pyx1226.f$0(E:\sikuli\workspace\testpost.sikuli\testpost.py:4)
  at org.python.pycode._pyx1226.call_function(E:\sikuli\workspace\testpost.sikuli\testpost.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyCode.call(PyCode.java:18)
  at org.python.core.Py.runCode(Py.java:1386)
  at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
  at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286)
  at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:209)
  at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:177)
  at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:2369)

  六月 11, 2015 11:29:30 上午 org.python.netty.util.concurrent.DefaultPromise execute
  严重: Failed to submit a listener notification t

  ask. Event loop shut down?
  java.util.concurrent.RejectedExecutionException: event executor terminated
  at org.python.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:745)
  at org.python.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:322)
  at org.python.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:728)
  at org.python.netty.util.concurrent.DefaultPromise.execute(DefaultPromise.java:671)
  at org.python.netty.util.concurrent.DefaultPromise.notifyLateListener(DefaultPromise.java:641)
  at org.python.netty.util.concurrent.DefaultPromise.addListener(DefaultPromise.java:138)
  at org.python.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:93)
  at org.python.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:28)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at 

  sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
  at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
  at org.python.core.PyObject.__call__(PyObject.java:478)
  at org.python.core.PyObject.__call__(PyObject.java:482)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at _socket$py._handle_channel_future$70(E:\sikuli\sikulix.jar\Lib\_socket.py:778)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
  at org.python.core.PyFunction.function___call__(PyFunction.java:471)
  at org.python.core.PyFunction.__call__(PyFunction.java:466)
  at org.python.core.PyFunction.__call__(PyFunction.java:461)
  at org.python.core.PyObject._callextra(PyObject.java:601)
  at _socket$py.handle_exception$30(E:\sikuli\si

  kulix.jar\Lib\_socket.py:366)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:161)
  at org.python.core.PyFunction.__call__(PyFunction.java:434)
  at org.python.core.PyMethod.__call__(PyMethod.java:156)
  at _socket$py._connect$77(E:\sikuli\sikulix.jar\Lib\_socket.py:864)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at _socket$py.connect$80(E:\sikuli\sikulix.jar\Lib\_socket.py:888)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:307)

  
  at org.python.core.PyBaseCode.call(PyBaseCode.java:198)
  at org.python.core.PyFunction.__call__(PyFunction.java:482)
  at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
  at org.python.core.PyMethod.__call__(PyMethod.java:228)
  at org.python.core.PyMethod.__call__(PyMethod.java:223)
  at org.python.core.PyObject._callextra(PyObject.java:601)
  at _socket$py.meth$117(E:\sikuli\sikulix.jar\Lib\_socket.py:1367)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
  at org.python.core.PyFunction.function___call__(PyFunction.java:471)
  at org.python.core.PyFunction.__call__(PyFunction.java:466)
  at org.python.core.PyFunction.__call__(PyFunction.java:461)
  at org.python.modules._functools.PyPartial.partial___call__(PyPartial.java:124)
  at org.python.modules._functools.PyPartial.__call__(PyPartial.java:79)
  at org.python.core.PyObject.__call__(PyObject.ja

  va:478)
  at org.python.core.PyObject.__call__(PyObject.java:482)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at _socket$py.create_connection$131(E:\sikuli\sikulix.jar\Lib\_socket.py:1507)
  at _socket$py.call_function(E:\sikuli\sikulix.jar\Lib\_socket.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:170)
  at org.python.core.PyFunction.__call__(PyFunction.java:434)
  at httplib$py.connect$24(E:\sikuli\sikulix.jar\Lib\httplib.py:796)
  at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:138)
  at org.python.core.PyFunction.__call__(PyFunction.java:413)
  at org.python.core.PyMethod.__call__(PyMethod.java:126)
  at httplib$py.send$26(E:\sikuli\sikulix.jar\Lib\httplib.py:826)
  at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)

  
  at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at httplib$py._send_output$28(E:\sikuli\sikulix.jar\Lib\httplib.py:854)
  at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at httplib$py.endheaders$31(E:\sikuli\sikulix.jar\Lib\httplib.py:997)
  at httplib$py.call_function(E:\sikuli\sikulix.jar\Lib\httplib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:153)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at urllib$py.open_http$18(E:\sikuli\sikulix.jar\Lib\urllib.py:360)
  at urllib$py.call_f

  unction(E:\sikuli\sikulix.jar\Lib\urllib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:145)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at urllib$py.open$14(E:\sikuli\sikulix.jar\Lib\urllib.py:211)
  at urllib$py.call_function(E:\sikuli\sikulix.jar\Lib\urllib.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
  at org.python.core.PyBaseCode.call(PyBaseCode.java:145)
  at org.python.core.PyFunction.__call__(PyFunction.java:423)
  at org.python.core.PyMethod.__call__(PyMethod.java:141)
  at org.python.pycode._pyx1226.f$0(E:\sikuli\workspace\testpost.sikuli\testpost.py:4)
  at org.python.pycode._pyx1226.call_function(E:\sikuli\workspace\testpost.sikuli\testpost.py)
  at org.python.core.PyTableCode.call(PyTableCode.java:167)
  at org.python

  [error] script [ testpost ] stopped with error in line 3
  [error] IOError ( [Errno socket error] error(-1, u'Unmapped exception: java.util.concurrent.RejectedExecutionException: event executor terminated') )

  .core.PyCode.call(PyCode.java:18)
  at org.python.core.Py.runCode(Py.java:1386)
  at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
  at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286)
  at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:209)
  at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:177)
  at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:2369)

  I guess this may connect with Jython.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1464105/+subscriptions


Follow ups

References