[e-lang] CapTP bug: "search path must not be empty" when identified but not onTheAir

Mark Miller erights at gmail.com
Sat Feb 23 16:14:33 EST 2008


On Sat, Feb 23, 2008 at 12:16 PM, Kevin Reid <kpreid at mac.com> wrote:
> ? introducer.newVatIdentity()
>  # value: <a KeyPair>
>
>  ? def [sr, tmo, sb] := identityMgr.makeKnown(40)
>  # problem: <MalformedURLException: Search path must not be empty>
>
>  I assume this ought to either succeed or fail nicely, and that the
>  reason it fails this way is because no search-path is available to
>  put into the SturdyRef yet.

Yes.


>  Perhaps SturdyRefs should not ever have search-path data for the
>  local vat? (<captp> would insert it into the generated URLs, though.)

SturdyRefs are usable, and passable-by-construction, without being
turned into URLs. Don't they need this search-path data for these
other uses?


-- 
Text by me above is hereby placed in the public domain

    Cheers,
    --MarkM


More information about the e-lang mailing list