View Issue Details

IDProjectCategoryView StatusLast Update
0004824Dwarf FortressLegends Mode -- Map Exportpublic2014-01-21 19:56
Reporterherufeanor Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOSWindows 7 
Product Version0.31.25 
Summary0004824: DF doesn't notice if "export image/info" fails due to file system permissions etc
DescriptionWhen I finish generating a world, and I hit 'p' to export the map, nothing happens. The game provides no feedback that a button was pressed, and no new files are created in my Dwarf Fortress directory, or anywhere else I can find.
Steps To Reproduce1) Generate a world (any parameters).
2) When it finishes, hit 'p'.

Expected result:
A map image and some text files with generation parameters appear in the directory with the Dwarf Fortress executable.

Actual result:
Nothing happens.
TagsNo tags attached.

Relationships

related to 0002587 confirmedlethosor Saving fails silently when folder is not writeable (due to full disk, permissions, etc) 

Activities

UristMcDorf

2011-08-12 21:53

reporter   ~0018495

Works OK for me (0.31.25). However I'm on Linux, not Windows, so could potentially be OS-related.

caldfir

2011-08-14 08:58

reporter   ~0018506

I'm using windows 7 and experiencing no problems.

This issue DOES however occur if DF is installed in a system directory (like "program files") and not run in administrator mode, since the DF process is not authorized to create new files there.

This is more of a bug with the fact that windows fails to inform you of the aborted file creation than it is a problem with DF itself.

user6

2011-08-15 11:55

  ~0018518

Reminder sent to: herufeanor

Does caldfir's post at 0004824:0018506 clear things up?

UristMcDorf

2011-08-15 21:10

reporter   ~0018526

Last edited: 2011-08-15 22:00

Actually, I can recreate the problem on Linux by simply removing write permissions on the game directory; after doing so, the game itself fails to report the failure to write the worldgen info (or savegames, etc)

The difference with Linux is that at least if you run the game from a terminal window, the failure gets reported there. I'm guessing on Windows, if you ran DF from a cmd.exe window, you might get the same; but I'd imagine very, very few Windows players run the game that way.

I'd also point out that this means it's not a "Windows problem". While I'm sure the proportion of Linux users who are command-line-disabled is much smaller, I'm also sure they exist, and are growing.

herufeanor

2011-08-15 22:20

reporter   ~0018527

Yes, that was the problem.

I also agree with UristMcDorf: It's not the OS' job to report the failure to the user. The OS should report the failure to the application, and leave it up to the application to report the failure to the user in the appropriate way. Even if you have a console open, the user shouldn't be expected to dig through the console output to figure out why the button they're pressing isn't doing anything.

Issue History

Date Modified Username Field Change
2011-08-12 20:50 herufeanor New Issue
2011-08-12 21:53 UristMcDorf Note Added: 0018495
2011-08-14 08:58 caldfir Note Added: 0018506
2011-08-15 11:55 user6 Note Added: 0018518
2011-08-15 11:55 user6 Tag Attached: AWAITING UPDATE
2011-08-15 21:10 UristMcDorf Note Added: 0018526
2011-08-15 22:00 UristMcDorf Note Edited: 0018526
2011-08-15 22:20 herufeanor Note Added: 0018527
2011-08-16 08:02 user6 Summary Export image/info doesn't do anything => DF doesn't notice if "export image/info" fails due to file system permissions etc
2014-01-20 19:03 user6 Tag Detached: AWAITING UPDATE
2014-01-20 19:39 user6 Relationship added has duplicate 0005773
2014-01-21 19:56 user6 Relationship deleted has duplicate 0005773
2014-01-21 19:56 user6 Relationship added related to 0002587