Burp Suite User Forum

Create new post

Error while trying to install any extensions requiring Jython

Anton | Last updated: Nov 27, 2022 02:13PM UTC

Hello! I have Burp Suite Professional v2022.11.2 and jython-standalone-2.7.3.jar. I have folloring error while trying to install any extensions requiring Jython: Traceback (most recent call last): File "<string>", line 1, in <module> OSError: (22, 'Invalid argument', 'C:\\Users\\?????\\AppData\\Roaming\\BurpSuite\\bapps\\3123d5b5f25c4128894d97ea1acc4976') at org.python.core.Py.OSError(Py.java:133) at org.python.modules.posix.PosixModule.absolutePath(PosixModule.java:1343) at org.python.modules.posix.PosixModule.chdir(PosixModule.java:300) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:190) at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:208) at org.python.core.PyObject.__call__(PyObject.java:461) at org.python.core.PyObject.__call__(PyObject.java:465) at org.python.pycode._pyx2.f$0(<string>:1) at org.python.pycode._pyx2.call_function(<string>) 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:1703) at org.python.core.Py.exec(Py.java:1747) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:268) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at burp.ma5.k(Unknown Source) at burp.oux.d(Unknown Source) at burp.tf1.h(Unknown Source) at burp.e4l.lambda$panelLoaded$0(Unknown Source) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)

Hannah, PortSwigger Agent | Last updated: Nov 28, 2022 07:04AM UTC

Hi Does your file path contain any special characters or non-ASCII characters?

Anton | Last updated: Nov 28, 2022 04:26PM UTC

Actually yes, but how can I rename the user? Or would you advise something else?

Hannah, PortSwigger Agent | Last updated: Nov 29, 2022 08:30AM UTC

If you use a custom location for your "Temporary files location" that doesn't contain any non-ASCII characters in the path, then Burp should use that location to save your BApp files and other data. You can find this option by searching in the new Settings panel on the latest versions of Burp. This issue is caused by Jython not being able to handle non-ASCII characters in the file path, rather than by Burp.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.