View Issue Details

IDProjectCategoryView StatusLast Update
0006836Dwarf FortressDwarf Mode -- Reclaimpublic2014-07-29 09:24
Reporterhammerdwarf Assigned ToToady One  
PrioritylowSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version13.10
Product Version0.40.01 
Fixed in Version0.40.06 
Summary0006836: Text generation failed: data\announcement\unretire when reclaiming a fortress - incorrect path separator?
DescriptionAfter selecting an existing world-gen fortress (as opposed to a player-abandoned one) to attempt to reclaim/Unretire and pressing 'e' to Reclaim, receive the warning:

Text generation failed: data\announcement\unretire
Press Enter or Esc.

Pressing Enter causes segfault (fixed?)
Pressing Esc. causes segfault (fixed?)

Able to reproduce with the same fortress after each segfault ("Inhabited" fortress); unable to reproduce with other fortresses yet.
Steps To ReproduceUnknown
TagsProbable Quick Fix

Activities

lethosor

2014-07-22 13:41

manager   ~0027242

Last edited: 2014-07-22 20:03

The message still occurs in 0.40.04, although with player-retired fortresses and no segfaults, at least in my experience. It's possible that this is a problem with Windows path separators on non-Windows platforms - the DF executable contains "data\announcement\unretire" on OS X/Linux. (Interestingly enough, this is the only hardcoded path containing "announcement", as far as I can tell.)

Quietust

2014-07-22 14:44

reporter   ~0027247

What is the size and checksum of the "unretire" file in your installation? For reference, the Win32 version's is 322 bytes and has a CRC32 of 4BCDEF28, and my text tools are able to decode it properly.

lethosor

2014-07-22 19:52

manager   ~0027265

Last edited: 2014-07-22 20:06

That matches the OS X version (and it can be decoded successfully), so I'm thinking this is a simple problem with using backslashes on non-Windows platforms.

Issue History

Date Modified Username Field Change
2014-07-09 09:13 hammerdwarf New Issue
2014-07-22 13:41 lethosor Note Added: 0027242
2014-07-22 13:41 lethosor Assigned To => lethosor
2014-07-22 13:41 lethosor Status new => acknowledged
2014-07-22 13:41 lethosor Summary Text generation failed: data\announcement\unretire => Text generation failed: data\announcement\unretire when reclaiming a fortress
2014-07-22 13:41 lethosor Description Updated
2014-07-22 13:42 lethosor Description Updated
2014-07-22 13:42 lethosor Description Updated
2014-07-22 14:44 Quietust Note Added: 0027247
2014-07-22 19:52 lethosor Note Added: 0027265
2014-07-22 19:52 lethosor Summary Text generation failed: data\announcement\unretire when reclaiming a fortress => Text generation failed: data\announcement\unretire when reclaiming a fortress - incorrect path separator?
2014-07-22 20:03 lethosor Note Edited: 0027242
2014-07-22 20:06 lethosor Note Edited: 0027265
2014-07-25 16:30 lethosor Tag Attached: Probable Quick Fix
2014-07-28 16:31 lethosor Status acknowledged => confirmed
2014-07-29 09:24 Toady One Status confirmed => resolved
2014-07-29 09:24 Toady One Fixed in Version => Next Version
2014-07-29 09:24 Toady One Resolution open => fixed
2014-07-29 09:24 Toady One Assigned To lethosor => Toady One