Hi all,
This is with a copy of the latest pkg workspace on a build #109 system.
I'm running a local pkg.depotd from the proto area of my workspace with:
$ cat cat start-depotd
#! /bin/ksh
export ROOT=/export/home/richb/pkg/bugs/6941/gate/proto/root_i386
export PYTHONPATH=${ROOT}/usr/lib/python2.4/vendor-packages
${ROOT}/usr/lib/pkg.depotd -d /export/home/pkg-solaris/repo-6941 -p
26941 > errs.depotd 2>&1 &
I'm trying to publish the build #109 SUNWiscsi package to that repo with:
$ cat start-import
#! /bin/ksh
export ROOT=/export/home/richb/pkg/bugs/6941/gate/proto/root_i386
export PYTHONPATH=${ROOT}/usr/lib/python2.4/vendor-packages
export REPO=http://localhost:26941/
export
WOS_PKGS=/export/home/pkg-solaris/WOS_Packages/x/109/Solaris_11/Product/
export JUST_THESE_PKGS="SUNWiscsi"
(cd src/util/distro-import ; \
make -e clobber ; \
make -e 109/redist_import
) > errs.import 2>&1 &
Near the end of the publish attempt, pkg.depotd is outputting:
...
[16/Mar/2009:09:03:10] Error encountered while processing template:
index.shtml
Traceback (most recent call last):
File "/usr/lib/python2.4/vendor-packages/pkg/server/face.py", line
100, in respond
return __render_template(request, scfg, rcfg, path)
File "/usr/lib/python2.4/vendor-packages/pkg/server/face.py", line 69,
in __render_template
return template.render_unicode(g_vars={ "base": base })
File "/usr/lib/python2.4/vendor-packages/mako/template.py", line 126,
in render_unicode
return runtime._render(self, self.callable_, args, data,
as_unicode=True)
File "/usr/lib/python2.4/vendor-packages/mako/runtime.py", line 335,
in _render
_render_context(template, callable_, context, *args,
**_kwargs_for_callable(callable_, data))
File "/usr/lib/python2.4/vendor-packages/mako/runtime.py", line 352,
in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/python2.4/vendor-packages/mako/runtime.py", line 385,
in _exec_template
callable_(context, *args, **kwargs)
File "index_shtml", line 35, in render_body
File "/usr/lib/python2.4/vendor-packages/pkg/server/api.py", line 161,
in __init__
File "/usr/lib/python2.4/vendor-packages/pkg/server/api.py", line 62,
in __init__
VersionException: Incompatible API version '2' specified; expected: '3'.
...
Trying to look at the repo in my browser at http://stard.sfbay.sun.com:26941
generates the same traceback.
What am I missing and/or doing wrong?
Thanks.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss