You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug pyghidra.open_program does not raise an exception when a locked project is specified, which causes a file save error if an open Ghidra GUI attempts to save a file in the locked project.
To Reproduce
Steps to reproduce the behavior:
Open a project in the GUI (at this point a .lock file will be created)
Open a program in the code browser
Make a change such as setting a background color
In a separate Python terminal, run pyghidra.open_program with the name of the program opened in the code browser, the path to the project, and the name of the project. (at this point the lock file will be removed)
Save changes in the GUI
Expected behavior
PyGhidra should raise an exception when attempting to open an existing project that is locked
Environment (please complete the following information):
OS: Ubuntu 20.04.6
Java Version: 21.0.6
Ghidra Version: 11.3.1
Ghidra Origin: official GitHub distro
The text was updated successfully, but these errors were encountered:
Describe the bug
pyghidra.open_program
does not raise an exception when a locked project is specified, which causes a file save error if an open Ghidra GUI attempts to save a file in the locked project.To Reproduce
Steps to reproduce the behavior:
pyghidra.open_program
with the name of the program opened in the code browser, the path to the project, and the name of the project. (at this point the lock file will be removed)Expected behavior
PyGhidra should raise an exception when attempting to open an existing project that is locked
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: