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: 3544
Joined: 01 Jun 2009, 00:08

SPADS: "failed to upload demo"

Post by abma » 15 Oct 2014, 10:38

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"
0 x

abma
Spring Developer
Posts: 3544
Joined: 01 Jun 2009, 00:08

Re: SPADS: "failed to upload demo"

Post by abma » 15 Oct 2014, 10:43

0 x

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

Re: SPADS: "failed to upload demo"

Post by Jools » 15 Oct 2014, 16:02

What is the error number when trying to upload demo?
0 x

dansan
Server Owner & Developer
Posts: 1190
Joined: 29 May 2010, 23:40

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

Post by dansan » 15 Oct 2014, 16:04

bibim created a fix (see github link above). It's in SPADS 0.11.21 - that is currently unstable/testing.
0 x

abma
Spring Developer
Posts: 3544
Joined: 01 Jun 2009, 00:08

Re: SPADS: "failed to upload demo"

Post by abma » 15 Oct 2014, 18:52

"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
0 x

abma
Spring Developer
Posts: 3544
Joined: 01 Jun 2009, 00:08

Re: SPADS: "failed to upload demo"

Post by abma » 15 Oct 2014, 19:16

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)
0 x

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

Re: SPADS: "failed to upload demo"

Post by Jools » 15 Oct 2014, 20:56

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.
0 x

abma
Spring Developer
Posts: 3544
Joined: 01 Jun 2009, 00:08

Re: SPADS: "failed to upload demo"

Post by abma » 17 Oct 2014, 01:18

0 x

Post Reply

Return to “SPADS AutoHost”