* Shawn Walker ([EMAIL PROTECTED]) wrote:
> Glenn Lagasse wrote:
>> I'm trying to start pkg.depotd built from a repo with tip:
>>
>> changeset:   618:7be9399f34fc
>> tag:         tip
>> user:        Bart Smaalders <[EMAIL PROTECTED]>
>> date:        Wed Oct 22 18:51:16 2008 -0700
>> summary:     4174 need hostid workaround for build 100a
>>
>> In the not to distant past (ie last week, using a different tip) I could
>> start it via:
>>
>> /usr/lib/pkg.depotd -p 10023 -d /rpool/myrepo
>>
>> When I do that now, I get
>>
>> Traceback (most recent call last):
>>   File "/usr/lib/pkg.depotd", line 284, in ?
>>     scfg = config.SvrConfig(repo_path, content_root, AUTH_DEFAULT)
>> TypeError: __init__() takes exactly 3 arguments (4 given)
>>
>> Did I miss something?
>
> Not that I know of.  The depot works fine for me from tip.  Is your  
> $PYTHONPATH causing newer/older modules to be loaded from somewhere?
>
> I just tried tip and it works fine using a command-line similar to yours  
> above.
>
> It looks like you're running a new version of /usr/lib/pkg.depotd with  
> an old version of modules/server/config.py.

Thanks Shawn, Danek applied appropriate cluestick on IRC.  Even though I
had pkgadd'ed my built SUNWipkg based on tip, that must have occurred in
some alternate reality.  Adding it again made things work ;-)

Glenn
aka - Honestly I really did pkgadd the package sir
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to