On 07/12/11 12:45, Lou Ann Smith wrote:
Could this be related to the problems I am seeing with pkgsend today? It
was working yesterday.

+ sudo ./pkgmogrify.py -O
../../../proto/set-publisher/group%2Fsystem%2Fsolaris-small-server/0.5.11%2C5.11-0.170%3A20110712T190109Z/manifest
../../../proto/set-publisher/group%2Fsystem%2Fsolaris-small-server/0.5.11%2C5.11-0.170%3A20110712T190109Z/manifest
./set-publisher.transforms
+ sudo ./pkg_publish
../../../proto/set-publisher/group%2Fsystem%2Fsolaris-small-server/0.5.11%2C5.11-0.170%3A20110712T190109Z
file:///export/repos/nightly
pkg://solaris/group/system/[email protected],5.11-0.170:20110712T190459Z

PUBLISHED
+ sudo ./pkgmogrify.py -O
../../../proto/set-publisher/package%2Fpkg%2Fpackage-manager/0.5.11%2C5.11-0.170%3A20110712T190115Z/manifest
../../../proto/set-publisher/package%2Fpkg%2Fpackage-manager/0.5.11%2C5.11-0.170%3A20110712T190115Z/manifest
./set-publisher.transforms
+ sudo ./pkg_publish
../../../proto/set-publisher/package%2Fpkg%2Fpackage-manager/0.5.11%2C5.11-0.170%3A20110712T190115Z
file:///export/repos/nightly
Traceback (most recent call last):
File
"/export/gates/nightly/gate/src/util/publish/../../../proto/root_i386/usr/bin/pkgsend",
line 799, in <module>
__ret = main_func()
File
"/export/gates/nightly/gate/src/util/publish/../../../proto/root_i386/usr/bin/pkgsend",
line 758, in main_func
ret = trans_publish(repo_uri, pargs)
File
"/export/gates/nightly/gate/src/util/publish/../../../proto/root_i386/usr/bin/pkgsend",
line 403, in trans_publish
basedirs=basedirs, bundles=bundles)[0]
TypeError: set_action_data() got an unexpected keyword argument 'bundles'

If you're trying to use pkgsend from the proto area without your PYTHONPATH set appropriately, that's to be expected.

Note that 'sudo' clears environment by default, so if you're using sudo to execute the commands, and PYTHONPATH is set in your own environment, you'll have to execute sudo this way:

sudo PYTHONPATH=$PYTHONPATH <cmd>

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

Reply via email to