bugBattle for Wesnoth - Bugs: bug #21926, give a better error message when...

Show feedback again

bug #21926: give a better error message when loading savefiles with spaces in name

Submitted by:  Chris Beck <involution>
Submitted on:  Wed Apr 16 19:35:07 2014  
Category: BugSeverity: 2 - Minor
Priority: 4Item Group:  None of the others
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: 1.12,1.13-devOperating System: Linux Mint 16

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sat Oct 17 10:47:06 2015, comment #1:

Not sure what has changed, but testing this in 1.13.1+dev seems to show it's no longer a problem. There is a message in the stderr where filesystem complains: Could not open 'spaced_file_name.gz' for reading (where spaces are used in the actual file name, not underscores), but otherwise the system seems to work fine. This includes having the map and leader preview in the load screen as well as loading the file itself.

I tested in both Windows and Linux.

Wedge009 <wedge009>
Project Member
Wed Apr 16 19:35:07 2014, original submission:

Right now, the file appears in the savefile browser but is tagged "(Invalid)" in the load screen. If one clicks on it anyways, one doesn't actually get a real error message.

Suggestion: Either make "file not found" errors give a real error message as would be handled like WML error messages, or make files with bad file names not appear in the file browser. Actually maybe both.

Chris Beck <involution>
Project Member


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by vultraz (Updated the item)
  • -unavailable- added by wedge009 (Posted a comment)
  • -unavailable- added by involution (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Aug 7 00:07:25 2016vultrazStatusNone=>Fixed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup