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

Autosaving stops working after map loaded from Autosave folder crashes (in V2.1.0) #2544

Closed
Maxxiii opened this issue Jan 23, 2019 · 0 comments
Assignees
Labels
Prio:3 Low priority: Minor problems and nice to have features Type:Bug Errors and problems
Milestone

Comments

@Maxxiii
Copy link

Maxxiii commented Jan 23, 2019

System Information

TrenchBroom V2.1.0

If map, loaded from Autosave folder crashes - autosaving stops working for the original map (which is outside of Autosave folder)

Steps to Reproduce

  1. Create a map and save it as crashtest.map
  2. Create a copy of this map in Autosave folder and rename it to crashtest.1.map (or wait for autosave)
  3. Create another copy of this map in Autosave folder and rename it to crashtest.1-crash.map to emulate behavior when you open map directly from Autosave folder and it crashes, leaving this file. (or make it really crash somehow)
  4. Open original map crashtest.map which is outside of Autosave folder
  5. Wait for autosave to happen
  6. Look in the console window
    There will be a red repeated error message "Aborting autosave" and autosave will no longer work.

Deleting crashed map file crashtest.1-crash.map solves this issue for TrenchBroom V2.1.0
Note, that there could be multiple crashes of map inside autosave folder (next one will generate crashtest.1-crash-1.map, then crashtest.1-crash-2.map etc), and they also affect autosave, so they all should be deleted to manually resolve this issue.

Crash-related log files (crashtest.1-crash.txt and crashtest.1-crash.log) doesn't make a difference on autosave feature, only -crash.map file.

Behavior reproduces for other sequential numbers too, like crashtest.2.map etc

@Maxxiii Maxxiii changed the title Autosaving stops working after map from autosave crashes Autosaving stops working after map loaded from autosave folder crashes Jan 23, 2019
@Maxxiii Maxxiii changed the title Autosaving stops working after map loaded from autosave folder crashes Autosaving stops working after map loaded from Autosave folder crashes Jan 23, 2019
@Maxxiii Maxxiii changed the title Autosaving stops working after map loaded from Autosave folder crashes Autosaving stops working after map loaded from Autosave folder crashes (in V2.1.0) Jan 23, 2019
@kduske kduske added Prio:3 Low priority: Minor problems and nice to have features Type:Bug Errors and problems labels Jan 23, 2019
@kduske kduske added this to the 2019.2 milestone Jan 23, 2019
@kduske kduske self-assigned this Jan 23, 2019
@ghost ghost removed the Status:Resolved label Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio:3 Low priority: Minor problems and nice to have features Type:Bug Errors and problems
Projects
None yet
Development

No branches or pull requests

2 participants