xebialabs-community / xlr-teams-plugin

XL Release plugin for MS Teams
MIT License
1 stars 5 forks source link

Plugin doesnt work with XL Release 10.2 #4

Open pmanthen opened 3 years ago

pmanthen commented 3 years ago

When I try to use this plugin with XLRelease 10.2 I get the following error when I use/ test this. Below is the exception. Can someone please help fix this?


Caused by: javax.script.ScriptException: TypeError: cannot make memory view because object does not have the buffer interface in <script> at line number 45
        at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:222)
        at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:59)
        at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
        at com.xebialabs.platform.script.jython.JythonSupport.executeScript(JythonSupport.scala:71)
        ... 172 common frames omitted
Caused by: org.python.core.PyException: TypeError: cannot make memory view because object does not have the buffer interface
        at org.python.core.Py.TypeError(Py.java:236)
        at org.python.core.PyMemoryView.memoryview_new(PyMemoryView.java:77)
        at org.python.core.PyMemoryView$exposed___new__.new_impl(Unknown Source)
        at org.python.core.PyType.invokeNew(PyType.java:1119)
        at org.python.core.PyType.type___call__(PyType.java:2399)
        at org.python.core.PyType.__call__(PyType.java:2389)
        at org.python.core.PyObject.__call__(PyObject.java:461)
        at org.python.core.PyObject.__call__(PyObject.java:465)
        at _socket$py.sendall$99(_socket.py:1218)
        at _socket$py.call_function(_socket.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
        at org.python.core.PyFunction.__call__(PyFunction.java:485)
        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:589)
        at _socket$py.meth$122(_socket.py:1456)
        at _socket$py.call_function(_socket.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
        at org.python.core.PyFunction.function___call__(PyFunction.java:474)
        at org.python.core.PyFunction.__call__(PyFunction.java:469)
        at org.python.core.PyFunction.__call__(PyFunction.java:464)
        at org.python.modules._functools.PyPartial.partial___call__(PyPartial.java:125)
        at org.python.modules._functools.PyPartial.__call__(PyPartial.java:80)
        at org.python.core.PyObject.__call__(PyObject.java:477)
        at org.python.core.PyObject.__call__(PyObject.java:481)
        at org.python.core.PyMethod.__call__(PyMethod.java:141)
        at ssl$py.sendall$35(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/ssl.py:721)
        at ssl$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/ssl.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:150)
        at org.python.core.PyFunction.__call__(PyFunction.java:426)
        at org.python.core.PyMethod.__call__(PyMethod.java:141)
        at httplib$py.send$26(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py:858)
        at httplib$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:150)
        at org.python.core.PyFunction.__call__(PyFunction.java:426)
        at org.python.core.PyMethod.__call__(PyMethod.java:141)
        at httplib$py._send_output$28(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py:886)
        at httplib$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:150)
        at org.python.core.PyFunction.__call__(PyFunction.java:426)
        at org.python.core.PyMethod.__call__(PyMethod.java:141)
        at httplib$py.endheaders$31(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py:1038)
        at httplib$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:150)
        at org.python.core.PyFunction.__call__(PyFunction.java:426)
        at org.python.core.PyMethod.__call__(PyMethod.java:141)
        at httplib$py._send_request$34(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py:1082)
        at httplib$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
        at org.python.core.PyFunction.__call__(PyFunction.java:485)
        at org.python.core.PyMethod.__call__(PyMethod.java:187)
        at httplib$py.request$32(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py:1042)
        at httplib$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/httplib.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
        at org.python.core.PyFunction.__call__(PyFunction.java:485)
        at org.python.core.PyMethod.__call__(PyMethod.java:187)
        at urllib2$py.do_open$96(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py:1222)
        at urllib2$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
        at org.python.core.PyFunction.__call__(PyFunction.java:485)
        at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
        at org.python.core.PyMethod.__call__(PyMethod.java:228)
        at urllib2$py.https_open$103(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py:1240)
        at urllib2$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
        at org.python.core.PyFunction.__call__(PyFunction.java:485)
        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:589)
        at urllib2$py._call_chain$36(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py:404)
        at urllib2$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
        at org.python.core.PyFunction.__call__(PyFunction.java:485)
        at org.python.core.PyMethod.__call__(PyMethod.java:187)
        at urllib2$py._open$38(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py:451)
        at urllib2$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:168)
        at org.python.core.PyFunction.__call__(PyFunction.java:437)
        at org.python.core.PyMethod.__call__(PyMethod.java:156)
        at urllib2$py.open$37(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py:437)
        at urllib2$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:187)
        at org.python.core.PyFunction.__call__(PyFunction.java:449)
        at org.python.core.PyMethod.__call__(PyMethod.java:171)
        at urllib2$py.urlopen$1(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py:154)
        at urllib2$py.call_function(/opt/xebialabs/xl-release-server/lib/jython-standalone-2.7.2.patch2618-2894.jar/Lib/urllib2.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:141)
        at org.python.core.PyFunction.__call__(PyFunction.java:426)
        at org.python.pycode._pyx122.f$0(<script>:56)
        at org.python.pycode._pyx122.call_function(<script>)
        at org.python.core.PyTableCode.call(PyTableCode.java:173)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.Py.runCode(Py.java:1687)
        at org.python.core.__builtin__.eval(__builtin__.java:497)
        at org.python.core.__builtin__.eval(__builtin__.java:501)
        at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:255)
        at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:57)
        ... 174 common frames omitted```
herve-brun commented 2 years ago

When I try to use this plugin with XLRelease 10.2 I get the following error when I use/ test this. Below is the exception. Can someone please help fix this?

Hi ! This is bizarre, I managed to use this plugin with XL Release 10.2.2. I only had a problem with caracters encodings.