View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003353 | Spring engine | General | public | 2012-12-04 07:40 | 2012-12-07 13:13 | ||||
Reporter | Google_Frog | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003353: spring.exe doesn't work when its installed into a path containing a space | ||||||||
Description | Occurs 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 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2012-12-04 08:48 Last edited: 2012-12-04 09:21 |
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" (?) |
Google_Frog (reporter) 2012-12-04 12:17 Last edited: 2012-12-04 12:23 |
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 |
abma (administrator) 2012-12-04 12:33 Last edited: 2012-12-04 12:33 |
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 |
jK (developer) 2012-12-04 23:48 Last edited: 2012-12-04 23:48 |
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). |
abma (administrator) 2012-12-05 01:22 Last edited: 2012-12-05 01:23 |
"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... |
abma (administrator) 2012-12-05 01:29 |
ok, only happens when path contains a space, regardless of cwd. |
abma (administrator) 2012-12-05 01:38 |
@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\... |
jK (developer) 2012-12-05 02:56 |
oops something is building up in my mind ... it has to do with another commit by me. will fix it tomorrow :) |
Google_Frog (reporter) 2012-12-05 13:08 |
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". |
jK (developer) 2012-12-05 17:14 |
never trust MS' POSIX implementations ... |
abma (administrator) 2012-12-07 01:37 Last edited: 2012-12-07 01:42 |
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. |
KingRaptor (reporter) 2012-12-07 07:42 |
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 |
abma (administrator) 2012-12-07 08:08 |
testing with new version needed... |
abma (administrator) 2012-12-07 13:13 |
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) |
![]() |
|||
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 |