-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to export with error: MalformedURLException: Unknown Protocol: JAR #19
Comments
Duplicate of #17. I don't really understand what's happening here; I see some scattered references to a similar issue elsewhere online, but I cannot replicate this locally. It's odd that we have it happening on both Linux (which I presume you're using) and Windows (#17). I'd be interested to know what jar you're using, etc. |
So I haven't tried this in a while, but the last time I recall, this was on ghidra 10.1.2, and I used the latest release of ghidra2dwarf. And yes I am using Linux. The system is running Ubuntu 22.04, and is running the 6.2.1 linux kernel. |
@nneonneo |
I guess I'd like to know how you're running Ghidra (e.g. how is it packaged?), and which JDK you're actually running Ghidra with. I'm on macOS, with the following Java:
|
It's packaged like any other ghidra release. I don't exactly know what you are asking for me with that. I run it with the ghidraRun script. Python Interpreter for Ghidra
Based on Jython version 2.7.2 (v2.7.2:925a3cc3b49d, Mar 21 2020, 10:03:58)
[OpenJDK 64-Bit Server VM (Private Build)]
Press 'F1' for usage instructions |
In your Jython interpreter in Ghidra, can you post the output of “import sys; print sys.path”? |
Here's what the output was: ['/home/maria/.ghidra/.ghidra_10.1.2_PUBLIC/dev/jython_cachedir/python-src',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/Python/data/jython-2.7.2/Lib',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/Python/lib/jython-standalone-2.7.2.jar/Lib',
'__classpath__',
'__pyclasspath__/',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/Python/data/jython-2.7.2/Lib/site-packages',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Processors/DATA/ghidra_scripts',
'/home/maria/Downloads/ghidra2dwarf',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/Decompiler/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/FunctionID/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/GnuDemangler/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/FileFormats/ghidra_scripts',
'/home/maria/.ghidra/.ghidra_10.1.2_PUBLIC/Extensions/ghidra-xbe/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Debug/Debugger/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/Base/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Processors/PIC/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Processors/8051/ghidra_scripts',
'/home/maria/.ghidra/.ghidra_10.1.2_PUBLIC/Extensions/retsync/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/Python/ghidra_scripts',
'/home/maria/.ghidra/.ghidra_10.1.2_PUBLIC/Extensions/kaiju/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/VersionTracking/ghidra_scripts',
'/home/maria/Downloads/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/MicrosoftCodeAnalyzer/ghidra_scripts',
'/home/maria/.ghidra/.ghidra_10.1.2_PUBLIC/Extensions/Ghidra-Cpp-Class-Analyzer/ghidra_scripts',
'/home/maria/Downloads/ghidra_10.1.2_PUBLIC_20220125/ghidra_10.1.2_PUBLIC/Ghidra/Features/BytePatterns/ghidra_scripts',
'/home/maria/.ghidra/.ghidra_10.1.2_PUBLIC/osgi/compiled-bundles',
'/home/maria/.ghidra/.ghidra_10.1.2_PUBLIC/osgi/felixcache'] |
10.1.2 is a bit old. What happens with e.g. 10.3? Have you tried using a clean install with no extensions? Move or rename |
I have OpenJDK 17.0.5 and python 3 both installed, and I receive the following error when I use it on my file.
The text was updated successfully, but these errors were encountered: