On Sun, Jun 29, 2008 at 02:05:44PM -0500, Shawn Walker wrote:

> Having just worked on the actions parsing for bug 2008, I think the
> single quotes are problematic.
> 
> I'm fairly certain that using ' instead of " is going to cause the
> parsing to go bad if you have spaces.

Obviously that has something to do with it, but the manifest that gets
written into the pkg directory in the repo is properly formed, with double
quotes.  I've no idea how that's happening.

The code that's crashing is pulling that manifest off disk, so the server
failure shouldn't have anything to do with the quotes.

However, I just noticed that "fmri" is misspelled -- Petr, you have the "m"
and the "r" reversed.  Fix that, and the rest should work.

There's something seriously weird going on with the quoting -- why fixing
the quoting makes the problem go away doesn't make any sense to me, and
neither does the broken quoting mysteriously getting fixed.

On top of that, we could be better about catching KeyError exceptions in
generate_indices(), and be better about giving you a good error message
back at the commandline.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to