Skip to content
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

Crash when saving undo/redo file #241

Open
GoogleCodeExporter opened this issue Jun 28, 2015 · 4 comments
Open

Crash when saving undo/redo file #241

GoogleCodeExporter opened this issue Jun 28, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. I'm afraid I don't know what caused this, I have attached the file (a 
previous version - I lost the one I was working on).

What is the expected output? What do you see instead?

Not crashing would be great, but failing that I expect it to save before 
crashing, or have a backup file someonewhere and tell me where it is when it 
crashes.

What version of the product are you using? On what operating system?

Gantt Project 2.0.9 on Windows 7 (64bit). I can't see what jvm it's using, but 
I have the one from Oracle (Sun) installed - so I guess it's that.

Please provide any additional information below.

I see there is no option in the settings for making automatic backups. That 
would be great, let me know if you want me to file afeature request for that.

Original issue reported on code.google.com by duncan.l...@gmail.com on 26 May 2011 at 10:53

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks for the stack trace, and sorry for breaking your work.

The irony is that this particular stack trace means that GP failed to write a 
file which technically is not a backup, but which it saves on every undoable 
action (to be able to undo) and which is a full copy of a project file. 

You may try looking into the TEMP directory on your system (sorry, don't 
remember from the top of my head where that directory is on Windows) and search 
for files with names matching the pattern "_GanttProject_qSave*.gan". Try 
opening one with the modification date closest to the crash timestamp.


Original comment by dbarashev on 29 May 2011 at 9:53

  • Changed title: Crash when saving undo/redo file

@GoogleCodeExporter
Copy link
Author

Original comment by dbarashev on 29 May 2011 at 9:53

  • Added labels: ProjectStorage

@GoogleCodeExporter
Copy link
Author

I guess that based on what you've said it would make sense to make that backup 
file more easily accessible? If Gantt Project records that it has crashed it 
could on next startup ask the user if they want to try and open the temp file. 
This is not an unusual way of dealing with a crash.

Should I note this suggestion in a different bug?

Original comment by duncan.l...@gmail.com on 30 May 2011 at 10:35

@GoogleCodeExporter
Copy link
Author

I submitted issue #245

Original comment by dbarashev on 1 Jun 2011 at 7:57

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant