Posting this at mig5's request (somewhat belatedly).
I ran into this problem on 0.4-alpha7.
I created a new platform and got an error message along the lines of "platform failed to verify, doesn't contain a valid drupal". It turned out to be a cut and paste error, I had a space at the end of the path when entering it in the aegir ui. Obviously it's then different from the actual path and the error message is essentially correct, but mig5 suggested validating the platform form:
mig5 ‣ i think we should just check for a space, or other invalid characters, in the hook_validate of the platform form
Which would probably save some confusion and hair pulling.
Comments
Comment #1
adrian CreditAttribution: adrian commentedI am committing a fix now which trims the space when passing it to the backend.
Comment #2
adrian CreditAttribution: adrian commentedwe should probably add validation too.
Comment #3
Carl Johan CreditAttribution: Carl Johan commentedso trim + validate that the filesystem path exists?
Comment #4
adrian CreditAttribution: adrian commentedwe do validation on verify