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 16 Apr 2014 07:35:07 PM UTC  
Category: BugSeverity: 2 - Minor
Priority: 4Item Group:  None of the others
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
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 17 Oct 2015 10:47:06 AM UTC, 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>
Wed 16 Apr 2014 07:35:07 PM UTC, 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 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



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup