2025-07-04 02:28 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003353Spring engineGeneralpublic2012-12-07 13:13
ReporterGoogle_Frog 
Assigned Toabma 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0003353: spring.exe doesn't work when its installed into a path containing a space
DescriptionOccurs on startup.

Error: Spring: Incorrect/Missing content: Setup-script does not exist in given location: Games\Spring\engine\91.0.1-566-g3bf8eb3\spring.exe
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon log.txt (2,157 bytes) 2012-12-05 01:21 -
    Usage: spring [options] [path_to_script.txt or demo.sdf]
    Allowed options:
    
      -h [ --help ]            This help message
      -V [ --version ]         Display program version
      --sync-version           Display program sync version (for online gaming)
      -f [ --fullscreen ]      Run in fullscreen mode
      -w [ --window ]          Run in windowed mode
      -x [ --xresolution ] arg Set X resolution
      -y [ --yresolution ] arg Set Y resolution
      -b [ --minimise ]        Start in background (minimised)
      -s [ --server ]          Run as a server
      -c [ --client ]          Run as a client
      -p [ --projectiledump ]  Dump projectile class info in projectiles.txt
      -t [ --textureatlas ]    Dump each finalized textureatlas in 
                               textureatlasN.tga
      --benchmark arg          Enable benchmark mode (writes a benchmark.data 
                               file). The given number specifies the timespan to 
                               test.
      --benchmarkstart arg     Benchmark start time in minutes.
      -n [ --name ] arg        Set your player name
      -C [ --config ] arg      Configuration file
      --safemode               Turns off many things that are known to cause 
                               problems (i.e. on PC/Mac's with lower-end graphic 
                               cards)
      --list-ai-interfaces     Dump a list of available AI Interfaces to stdout
      --list-skirmish-ais      Dump a list of available Skirmish AIs to stdout
      --list-config-vars       Dump a list of config vars and meta data to stdout
      --list-def-tags          Dump a list of all unitdef-, weapondef-, ... tags 
                               and meta data to stdout
      -i [ --isolation ]       Limit the data-dir (games & maps) scanner to one 
                               directory
      --isolation-dir arg      Specify the isolation-mode data-dir (see 
                               --isolation)
      -g [ --game ] arg        Specify the game that will be instantly loaded
      -m [ --map ] arg         Specify the map that will be instantly loaded
    
    Spring 91.0.1-568-g1b004a9 develop (OMP)
    This program is licensed under the GNU General Public License
    
    txt file icon log.txt (2,157 bytes) 2012-12-05 01:21 +
  • txt file icon infolog.txt (3,708 bytes) 2012-12-07 01:39 -
    Using configuration source: "D:\temp\spring test\springsettings.cfg"
    [CMyMath::Init] CPU SSE mask: 888, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  0
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 1,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    OS: Microsoft Windows
    Microsoft Windows 7 Business Edition, 64-bit Service Pack 1 (build 7601)
    AMD Phenom(tm) II X4 945 Processor; 4082MB RAM, 8162MB pagefile
    OS: emulated 32bit mode
    [Watchdog] Installed (HangTimeout: 10sec)
    Available log sections: KeyBindings, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Shader, Texture, Font, GroundMoveType, Path, UnitScript, AutohostInterface, ArchiveScanner, VFS, Sound, LuaSocket
    Enabled log sections: Sound(LOG_LEVEL_INFO)
    Enable or disable log sections using the LogSections configuration key
      or the SPRING_LOG_SECTIONS environment variable (both comma separated).
      Use "none" to disable the default log sections.
    LogOutput initialized.
    Spring 91.0.1-583-g36b77f5 develop (OMP)
    Build date/time: Dec  6 2012 17:05:12
    Build environment: boost-105000, GNU libstdc++ version 20120920
    Compiler: gcc-4.7.2
    Using read-write data directory: D:\temp\spring test\
    Using read-only data directory: C:\Users\abma\Documents\My Games\Spring\
    Scanning: C:\Users\abma\Documents\My Games\Spring\maps
    Scanning: C:\Users\abma\Documents\My Games\Spring\packages
    Scanning: D:\temp\spring test\base
    Supported Video modes: 1680x1050, 1600x1200, 1600x900, 1440x900, 1400x1050, 1366x768, 1360x1024, 1360x768, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480
    Video mode set to 1680x1050/32bit
    [f=0000000] SDL version:  1.2.10
    [f=0000000] GL version:   4.2.11733 Compatibility Profile Context
    [f=0000000] GL vendor:    ATI Technologies Inc.
    [f=0000000] GL renderer:  ATI Radeon HD 5700 Series
    [f=0000000] GLSL version: 4.20
    [f=0000000] GLEW version: 1.5.8
    [f=0000000] Video RAM:    total 741MB, available 965MB
    [f=0000000] GL info:
    	haveARB: 1, haveGLSL: 1, ATI hacks: 1
    	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 0
    	maximum texture size: 16384, compress MIP-map textures: 0
    	maximum SmoothPointSize: 63, maximum vec4 varying/attributes: 32/29
    	maximum drawbuffers: 8, maximum recommended indices/vertices: 16777215/2147483647
    	number of UniformBufferBindings: 75 (64kB)
    [f=0000000] VSync disabled
    [f=0000000] Joysticks found: 0
    [f=0000000] Warning: Joystick 0 not found
    [f=0000000] CPU Cores: 4
    [f=0000000] [Threading] Main thread CPU affinity mask set: 12
    [f=0000000] Loading startscript from: test\spring.exe
    [f=0000000] [Sound] OpenAL info:
    [f=0000000] [Sound]   Available Devices:
    [f=0000000] [Sound]               DirectSound Software
    [f=0000000] [Sound]   Device:     DirectSound Software
    [f=0000000] [Sound]   Vendor:         OpenAL Community
    [f=0000000] [Sound]   Version:        1.1 ALSOFT 1.11.753
    [f=0000000] [Sound]   Renderer:       OpenAL Soft
    [f=0000000] [Sound]   AL Extensions:  AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
    [f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
    [f=0000000] [Sound]   EFX Enabled: yes
    [f=0000000] [Sound]   Max Sounds: 128
    Error: Spring: Incorrect/Missing content:  Setup-script does not exist in given location: test\spring.exe
    
    txt file icon infolog.txt (3,708 bytes) 2012-12-07 01:39 +

-Relationships
+Relationships

-Notes

~0009445

abma (administrator)

Last edited: 2012-12-04 09:21

View 2 revisions

this happens when you do what?

the error message suggest spring.exe was started with "spring.exe Games\Spring\engine\91.0.1-566-g3bf8eb3\spring.exe" (?)

~0009446

Google_Frog (reporter)

Last edited: 2012-12-04 12:23

View 2 revisions

When spring is run by running spring.exe directly. This is not a crash on loading a game, I don't even see the map and mod selection list which is usually seen when spring.exe is run.

When run through ZKL spring immediately exits. Nothing happens to infolog.txt

~0009447

abma (administrator)

Last edited: 2012-12-04 12:33

View 2 revisions

aah, this happens when the current path != the dir where spring.exe is...

(explorer seems to not set the path)

when run from console with spring.exe it works fine

~0009452

jK (developer)

Last edited: 2012-12-04 23:48

View 2 revisions

it's not caused by my PWD change

https://github.com/spring/spring/blob/develop/rts/System/SpringApp.cpp#L917
It executes whole wrong if-branch there. It should execute the "inputFile.empty()" part when double-clicked (no args given).
So either googlefrog is hiding something (for Behe it seems to work fine), or it's caused by the boost update and it mistreats ARG0 (binary name) incorrectly as ARG1 (input-file).

~0009457

abma (administrator)

Last edited: 2012-12-05 01:23

View 2 revisions

"spring this test\spring.exe" >log.txt
outputs http://springrts.com/mantis/file_download.php?file_id=2058&type=bug


and damn, i've touched this code, too...

~0009458

abma (administrator)

ok, only happens when path contains a space, regardless of cwd.

~0009459

abma (administrator)

@Google_Frog:
does the install path include a space?

Games\Spring\engine\91.0.1-566-g3bf8eb3\spring.exe looks like

<user home>\My Documents\My Games\Spring\engine\...

~0009460

jK (developer)

oops
something is building up in my mind ...
it has to do with another commit by me.

will fix it tomorrow :)

~0009462

Google_Frog (reporter)

The thought that the bug is caused by a space in the path seems to be accurate. The error in the original report is exactly what appeared in the infolog. The full path is actually "C:\Users\User\Documents\My Games\Spring\engine\91.0.1-566-g3bf8eb3".

~0009464

jK (developer)

never trust MS' POSIX implementations ...

~0009478

abma (administrator)

Last edited: 2012-12-07 01:42

View 3 revisions

with 91.0.1-583-g36b77f5 i still get this error.

"Spring: Incorrect/Missing content:
Setup-script does not exist in given location: test\spring.exe"

spring is installed in d:\temp\spring test"

infolog.txt is created, see attachment.

Google_Frog, can you confirm?


running with cwd = d:\temp\spring test works, running with cwd = d:\temp doesn't work, double-click from explorer doesn't work, too.

~0009479

KingRaptor (reporter)

Also getting with 91.0.1-583-g36b77f5.
Installed to C:\Program Files\Spring - "setup script does not exist in given location: Files\Spring\Spring.exe

~0009481

abma (administrator)

testing with new version needed...

~0009482

abma (administrator)

http://springrts.com/dl/buildbot/default/develop/91.0.1-588-g723101f/spring_%7bdevelop%7d91.0.1-588-g723101f_minimal-portable.7z works for me.


Google_Frog: thanks for reporting this! I guess we (the devs) never would have found this issue :-)

(please reopen if this error still happens)
+Notes

-Issue History
Date Modified Username Field Change
2012-12-04 07:40 Google_Frog New Issue
2012-12-04 08:48 abma Note Added: 0009445
2012-12-04 08:48 abma Status new => feedback
2012-12-04 09:21 abma Note Edited: 0009445 View Revisions
2012-12-04 12:17 Google_Frog Note Added: 0009446
2012-12-04 12:17 Google_Frog Status feedback => new
2012-12-04 12:23 Google_Frog Note Edited: 0009446 View Revisions
2012-12-04 12:33 abma Note Added: 0009447
2012-12-04 12:33 abma Severity crash => block
2012-12-04 12:33 abma Note Edited: 0009447 View Revisions
2012-12-04 23:48 jK Note Added: 0009452
2012-12-04 23:48 jK Note Edited: 0009452 View Revisions
2012-12-05 01:21 abma File Added: log.txt
2012-12-05 01:22 abma Note Added: 0009457
2012-12-05 01:23 abma Note Edited: 0009457 View Revisions
2012-12-05 01:29 abma Note Added: 0009458
2012-12-05 01:38 abma Note Added: 0009459
2012-12-05 01:54 abma Summary Missing Setup-script => spring.exe doesn't work when its installed into a path containing a space
2012-12-05 02:56 jK Note Added: 0009460
2012-12-05 13:08 Google_Frog Note Added: 0009462
2012-12-05 16:58 cleanrock Assigned To => jK
2012-12-05 16:58 cleanrock Status new => assigned
2012-12-05 17:14 jK Note Added: 0009464
2012-12-05 17:14 jK Status assigned => resolved
2012-12-05 17:14 jK Resolution open => fixed
2012-12-07 01:37 abma Assigned To jK =>
2012-12-07 01:37 abma Note Added: 0009478
2012-12-07 01:37 abma Status resolved => feedback
2012-12-07 01:37 abma Resolution fixed => reopened
2012-12-07 01:38 abma Note Edited: 0009478 View Revisions
2012-12-07 01:39 abma File Added: infolog.txt
2012-12-07 01:42 abma Note Edited: 0009478 View Revisions
2012-12-07 07:42 KingRaptor Note Added: 0009479
2012-12-07 07:45 abma Status feedback => new
2012-12-07 08:08 abma Changeset attached => spring develop 2d7f3d0a
2012-12-07 08:08 abma Assigned To => abma
2012-12-07 08:08 abma Status new => resolved
2012-12-07 08:08 abma Assigned To abma =>
2012-12-07 08:08 abma Note Added: 0009481
2012-12-07 08:08 abma Status resolved => feedback
2012-12-07 13:13 abma Note Added: 0009482
2012-12-07 13:13 abma Status feedback => resolved
2012-12-07 13:13 abma Resolution reopened => fixed
2012-12-07 13:13 abma Assigned To => abma
+Issue History