SPADS: "failed to upload demo"

SPADS: "failed to upload demo"

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

SPADS: "failed to upload demo"

Post 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"
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SPADS: "failed to upload demo"

Post by abma »

User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS: "failed to upload demo"

Post by Jools »

What is the error number when trying to upload demo?
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

[solved] Re: SPADS: "failed to upload demo"

Post by dansan »

bibim created a fix (see github link above). It's in SPADS 0.11.21 - that is currently unstable/testing.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SPADS: "failed to upload demo"

Post 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
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SPADS: "failed to upload demo"

Post 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)
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS: "failed to upload demo"

Post 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.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SPADS: "failed to upload demo"

Post by abma »

Post Reply

Return to “SPADS AutoHost”