Page 1 of 1
SPADS: "failed to upload demo"
Posted: 15 Oct 2014, 10:38
by abma
it seems most autohosts fail to upload the replay after updating from spring 96.0 to 98.0.
is there a solution known?
in changelog this maybe could be the cause:
! demofile string in infolog changed "recording demo: %s" -> "Recording demo to: %s"
Re: SPADS: "failed to upload demo"
Posted: 15 Oct 2014, 10:43
by abma
Re: SPADS: "failed to upload demo"
Posted: 15 Oct 2014, 16:02
by Jools
What is the error number when trying to upload demo?
[solved] Re: SPADS: "failed to upload demo"
Posted: 15 Oct 2014, 16:04
by dansan
bibim created a fix (see github link above). It's in SPADS 0.11.21 - that is currently unstable/testing.
Re: SPADS: "failed to upload demo"
Posted: 15 Oct 2014, 18:52
by abma
"According to your log, the Spring Autohost interface has been silently modified in Spring 98: the SERVER_STARTPLAYING message no longer contains a relative filename for the demo but an absolute one, which obviously broke backward compatibility for autohosts using this data."
very likely a side effect of:
https://github.com/spring/spring/commit ... ab72259408
Re: SPADS: "failed to upload demo"
Posted: 15 Oct 2014, 19:16
by abma
Jools wrote:What is the error number when trying to upload demo?
[Replay Upload] ERROR: could not open spring demo file: [Errno 2] No such file or directory: '/home/*Hidden-User-Name*/.spring//home/*Hidden-User-Name*/.spring/demos-server/20141015_115123_Mini_DeltaSiegeDry_v04_98.sdf'.
WARNING - [SPADS] End game commmand exited with non-null return code (6)
Re: SPADS: "failed to upload demo"
Posted: 15 Oct 2014, 20:56
by Jools
Yeah, sorry for being pedantic, the fix that dansan posted solves this issue.
The reason I was curious about the error code is that sometimes in Spring 96 too the replay upload would fail, with another error code. But I think that has to do with some issue in replay file itself.
Re: SPADS: "failed to upload demo"
Posted: 17 Oct 2014, 01:18
by abma