The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Failed to import .py extension: OSError: [Errno 0] chdir not supported in Java

Alex | Last updated: Sep 04, 2018 03:38PM UTC

As the title says, I am facing this when trying to install Python extensions in Burp. Is it something related to jython environment variables? Thanks This is the complete traceback: Traceback (innermost last): File "<string>", line 1, in ? File "/Users/alex/jython2.2.1/jython.jar/Lib/javaos.py", line 121, in chdir OSError: [Errno 0] chdir not supported in Java: /Users/alex/Downloads/BurpExtension-WhatsApp-Decryption-CheckPoint-master at org.python.core.Py.makeException(Unknown Source) at javaos$py.chdir$10(/Users/alex/jython2.2.1/jython.jar/Lib/javaos.py:121) at javaos$py.call_function(/Users/alex/jython2.2.1/jython.jar/Lib/javaos.py) at org.python.core.PyTableCode.call(Unknown Source) at org.python.core.PyTableCode.call(Unknown Source) at org.python.core.PyFunction.__call__(Unknown Source) at org.python.core.PyMethod.__call__(Unknown Source) at org.python.core.PyObject.__call__(Unknown Source) at org.python.core.PyObject.invoke(Unknown Source) at org.python.pycode._pyx2.f$0(<string>:1) at org.python.pycode._pyx2.call_function(<string>) at org.python.core.PyTableCode.call(Unknown Source) at org.python.core.PyCode.call(Unknown Source) at org.python.core.Py.runCode(Unknown Source) at org.python.core.Py.exec(Unknown Source) at org.python.util.PythonInterpreter.exec(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at burp.ohg.<init>(Unknown Source) at burp.spf.a(Unknown Source) at burp.gih.run(Unknown Source) at java.lang.Thread.run(Thread.java:745)

PortSwigger Agent | Last updated: Sep 04, 2018 03:39PM UTC