Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006836Dwarf FortressDwarf Mode -- Reclaimpublic2014-07-09 09:132014-07-29 09:24
hammerdwarf 
Toady One 
lowminorN/A
resolvedfixed 
LinuxUbuntu13.10
0.40.01 
0.40.06 
0006836: Text generation failed: data\announcement\unretire when reclaiming a fortress - incorrect path separator?
After 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.
Unknown
Probable Quick Fix
Issue History
2014-07-09 09:13hammerdwarfNew Issue
2014-07-22 13:41lethosorNote Added: 0027242
2014-07-22 13:41lethosorAssigned To => lethosor
2014-07-22 13:41lethosorStatusnew => acknowledged
2014-07-22 13:41lethosorSummaryText generation failed: data\announcement\unretire => Text generation failed: data\announcement\unretire when reclaiming a fortress
2014-07-22 13:41lethosorDescription Updatedbug_revision_view_page.php?rev_id=10207#r10207
2014-07-22 13:42lethosorDescription Updatedbug_revision_view_page.php?rev_id=10208#r10208
2014-07-22 13:42lethosorDescription Updatedbug_revision_view_page.php?rev_id=10209#r10209
2014-07-22 14:44QuietustNote Added: 0027247
2014-07-22 19:52lethosorNote Added: 0027265
2014-07-22 19:52lethosorSummaryText 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:03lethosorNote Edited: 0027242bug_revision_view_page.php?bugnote_id=0027242#r10219
2014-07-22 20:06lethosorNote Edited: 0027265bug_revision_view_page.php?bugnote_id=0027265#r10221
2014-07-25 16:30lethosorTag Attached: Probable Quick Fix
2014-07-28 16:31lethosorStatusacknowledged => confirmed
2014-07-29 09:24Toady OneStatusconfirmed => resolved
2014-07-29 09:24Toady OneFixed in Version => Next Version
2014-07-29 09:24Toady OneResolutionopen => fixed
2014-07-29 09:24Toady OneAssigned Tolethosor => Toady One

Notes
(0027242)
lethosor   
2014-07-22 13:41   
(edited on: 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.)

(0027247)
Quietust   
2014-07-22 14:44   
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.
(0027265)
lethosor   
2014-07-22 19:52   
(edited on: 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.