Gaal Yahas wrote:
On 5/14/07, Cosimo Streppone <[EMAIL PROTECTED]> wrote:
# svn co https://svn.perl.org/parrot/trunk parrot
# cd parrot; perl Makefile.PL
# make smoke
[...]
* Sending data to smokeserver "http://smoke.parrotcode.org/smoke/"...
error: The submitted smoke has an invalid format!
Try the same command again (smokeserv-client.pl smoke.html), just to
see if this isn't a transient network failure.
No way.
Also, make sure you aren't running YAML::Syck 0.84, which contained a
bug. If this is the case, remove your smoke and try again (simply
"make smoke" again should do the trick).
This wasn't the case. I didn't even have it installed.
Tried installing, but failed again.
> If the error stays the same, parrot's smoke server may have gone out
> of sync with the client.
I installed the server part on my workstation.
I think the problem is with 'revision: 0' in my smoke.html file.
The smokeserv-server.pl script lines that say:
if ( grep { not $smoke{$_} } qw<harness_args revision> ) {
print "The submitted smoke has an invalid format!";
exit;
}
make the smoke upload process fail, because revision is zero.
Even change it to 'grep { not exists $smoke{$_} }' or change
revision value to something else than zero.
Changing 'revision: 0' to 'revision: 1' solved the problem,
but it's not so correct, I think.
--
Cosimo