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
ProjectController.saveProject(currentProject,File) did not generate savefile.
The save file appears in the folder for a moment, but when pc.saveProject(pc.getCurrentProject(),save_file) finishes, the save file disappears.
reproduced code
ProjectController pc = Lookup.getDefault().lookup(ProjectController.class);
pc.newProject();
File save_file = new File("save_project.gephi");
pc.saveProject(pc.getCurrentProject(),save_file);
if(save_file.exists()){
System.out.println("save_project.gephi is not exists");
}
a moment when executed pc.saveProject function, save_project.gephi is appered in working folder.
but finished above funciton, saved file is removed.
so save_file.exists() is false.
reproduced version
gephi-toolkit-0.10.0-all.jar
gephi-toolkit-0.10.1-all.jar
gephi-toolkit-0.10.2-SNAPSHOT.jar
Use old version works fine.
useing gephi-toolkit-0.9.7-all.jar work fine.
ProjectController pc = Lookup.getDefault().lookup(ProjectController.class);
pc.newProject();
File save_file = new File("save_project.gephi");
pc.saveProject(pc.getCurrentProject(),save_file).run();
I'm able to reproduce this issue. It doesn't appear when the file already exists, which can be a workaround for now. In Gephi itself the file always seems to exists so it's only visible in the toolkit.
You can create an empty new file with File.createNewFile
Current Behavior
ProjectController.saveProject(currentProject,File)
did not generate savefile.The save file appears in the folder for a moment, but when
pc.saveProject(pc.getCurrentProject(),save_file)
finishes, the save file disappears.reproduced code
a moment when executed
pc.saveProject
function,save_project.gephi
is appered in working folder.but finished above funciton, saved file is removed.
so save_file.exists() is false.
reproduced version
Use old version works fine.
useing
gephi-toolkit-0.9.7-all.jar
work fine.above code works fine.
misc
I guss this probrem relate those issue Problem when saving #2731
enviroment
java version 11
ubuntu 20.24 on windows 11 WSL2
The text was updated successfully, but these errors were encountered: