Page 1 of 2
rapid corruption
Posted: 15 Apr 2013, 19:59
by Anarchid
Hi forum!
I want to complain about my recent troubles with rapid. Namely, it does
this.
I have no real idea why it does this, but this is not the first time. Previous one, i fixed it by judicious cleansing of all directories that came up and copy-pasting files to and fro, but i don't feel like doing it over and over, so... anyone knows why this could happen?
Re: rapid corruption
Posted: 15 Apr 2013, 22:59
by Forboding Angel
you're running it wrong.
From command line, run it from the root spring folder like this:
rapid\rapid.exe pin ba:stable
Re: rapid corruption
Posted: 15 Apr 2013, 23:06
by gajop
Avoid using the rapid python tool, as it's no longer maintained (and may cause problems with newer implementations). Sadly (last I checked) pr-downloader isn't as feature rich as the python tool so you'll have to wait for something else.
Re: rapid corruption
Posted: 15 Apr 2013, 23:11
by Forboding Angel
Rapid is too maintained, Gajop.
Tobi still works on it.
I did make a bat menu for pr downloader though:
http://springrts.com/phpbb/viewtopic.php?f=71&t=29731 ( Direct link:
https://drive.google.com/folderview?id= ... sp=sharing )
PR STILL can't export to an sdd which is BAD, but pr is a pretty decent little program.
Rapid still works just fine though
Re: rapid corruption
Posted: 15 Apr 2013, 23:27
by gajop
Maybe, but the last update was a year ago:
https://github.com/spring/rapid, and abma mentioned something like that so I'm mostly just echoing it.
Re: rapid corruption
Posted: 16 Apr 2013, 00:57
by Forboding Angel
Well, PR is a perfectly suitable replacement once it gets sdz/sdd export ability. Until then it still falls short.
The little menu that I linked to above will make it 50x easier to use though.
Re: rapid corruption
Posted: 16 Apr 2013, 09:46
by Anarchid
From command line, run it from the root spring folder like this:
rapid\rapid.exe pin ba:stable
i don't even...
any non-windows-specific suggestions?
Re: rapid corruption
Posted: 16 Apr 2013, 09:51
by gajop
it happened to me when i used other tools such as pr-downloader which did some changes that made the python tool fail
Re: rapid corruption
Posted: 16 Apr 2013, 09:58
by Silentwings
Seems the ba:test version that rapid loads onto thorium is corrupted too.
(Also, one of the times this morning when I tried to go onto thorium and load ba:test it actually downloaded and ran xta

but only once...)
Re: rapid corruption
Posted: 16 Apr 2013, 15:33
by abma
yep, something really weird happened in rapid.. investigation...
Re: rapid corruption
Posted: 17 Apr 2013, 02:56
by zerver
Silentwings wrote:and ran xta

Omg conspiracy!
Re: rapid corruption
Posted: 18 Apr 2013, 19:53
by Forboding Angel
Anarchid wrote:From command line, run it from the root spring folder like this:
rapid\rapid.exe pin ba:stable
i don't even...
any non-windows-specific suggestions?
You failed to mention that you were using linux.
In linux it's the same as windows for pr-downloader.
pr-downloader ba:stable
Re: rapid corruption
Posted: 19 Apr 2013, 11:12
by Anarchid
You failed to mention that you were using linux.
anarchid@wormbox:~/.spring/mods/ZK.sdd$ rapid clean-update
You just failed to notice it.
I'll try the pr-downloader thing.
Meanwhile, i've again solved the issue by mass extermination of files in pool, packages, and rapid, but then it just came back again after a couple days.
Re: rapid corruption
Posted: 21 Apr 2013, 15:03
by abma
ok, det told me that the problem is:
https://github.com/det/BuildRapid/blob/ ... last.ml#L3
because of this buildrapid shares one file accross svn repos, when the path to modinfo.lua is the same in the repo because the filename is the path md5 hashed.
to fix, the path should be changed to prefix, but now the problem comes: i can't code ocaml and it seems i'm to stupid to learn it in a short time (and don't have the time to learn it).
see
https://github.com/det/BuildRapid/issues/6
someone with ocaml knowledge here?
(it is faster for me, to
reimplement this tool in c++ with git support)
Re: rapid corruption
Posted: 21 Apr 2013, 19:23
by CarRepairer
Oh that crazy det. This reminds me of the time when ZKLobby had a bunch of F# classes that needed to be rewritten.
Re: rapid corruption
Posted: 22 Apr 2013, 00:23
by abma
disabled rapid for xta, because it would break ba and xta repos. sorry! ba on rapid should work...
will try to fix as soon as possible, but.. meh, i need a 48 hours day! :)
Re: rapid corruption
Posted: 22 Apr 2013, 20:03
by Silentwings
Thanks for working on this :)
Re: rapid corruption
Posted: 02 May 2013, 18:54
by abma
update:
det started his own project but we'll merge it:
https://github.com/spring/BuildRapidCpp
Re: rapid corruption
Posted: 19 May 2013, 12:40
by abma
det implemented the tool, i'm currently trying to set it up but got stuck at some point. not sure what i'm currently doing wrong, when testing it worked, but at the live system it doesn't... gimme some time!
Re: rapid corruption
Posted: 19 May 2013, 20:11
by Silentwings
Will the sky fall on my head if I try and use VERSION at the moment?