[Buildbot-devel] Setting creating a command with WithProperties throws an exception
Benoit Sigoure
tsuna at lrde.epita.fr
Mon Nov 20 18:21:30 UTC 2006
Hi
sorry if this is a lame question but here is what I get:
--------
f_kernel1.addStep(step.ShellCommand,
command=WithProperties('$HOME/svn/buildfarm/slaves/upload_build.sh
"%(buildername)s" "%(revision)s" "$HOME/built/kernel1"'),
description='uploading release', descriptionDone='upload release')
--------
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/buildbot/process/step.py", line 500, in
start
return LoggedRemoteCommand.start(self)
File "/usr/lib/python2.3/site-packages/buildbot/process/step.py", line 307, in
start
return RemoteCommand.start(self)
File "/usr/lib/python2.3/site-packages/buildbot/process/step.py", line 117, in
start
self.remote_command, self.args)
File "/usr/lib/python2.3/site-packages/twisted/spread/pb.py", line 380, in
callRemote
_name, args, kw)
--- <exception caught here> ---
File "/usr/lib/python2.3/site-packages/twisted/spread/pb.py", line 853, in
_sendMessage
netArgs = self.serialize(args, perspective=perspective, method=message)
File "/usr/lib/python2.3/site-packages/twisted/spread/pb.py", line 807, in
serialize
return jelly(object, self.security, None, self)
File "/usr/lib/python2.3/site-packages/twisted/spread/jelly.py", line 879, in
jelly
return _Jellier(taster, persistentStore, invoker).jelly(object)
File "/usr/lib/python2.3/site-packages/twisted/spread/jelly.py", line 464, in
jelly
sxp.append(self.jelly(item))
File "/usr/lib/python2.3/site-packages/twisted/spread/jelly.py", line 468, in
jelly
sxp.append([self.jelly(key), self.jelly(val)])
File "/usr/lib/python2.3/site-packages/twisted/spread/jelly.py", line 493, in
jelly
raise InsecureJelly("Class not allowed for instance: %s %s" %
twisted.spread.jelly.InsecureJelly: Class not allowed for instance:
buildbot.process.step.WithProperties <buildbot.process.step.WithProperties
instance at 0x40948f2c>
--------
Although the manual shows similar examples...
What's wrong?
Thank you!
--
SIGOURE Benoit aka Tsuna
_____
/EPITA\ Promo 2008, LRDE
More information about the devel
mailing list