[PEAK] bulletins adduser command fails
Phillip J. Eby
pje at telecommunity.com
Mon Dec 1 11:27:11 EST 2003
At 04:19 PM 12/1/03 +0200, Vital Lobachevsky wrote:
>Hi!
>
>I've got this error trying to use 'adduser' commant with 'bulletins' example.
>
>$ ./bulletins adduser
>Traceback (most recent call last):
> File "/usr/local/bin/peak", line 4, in ?
> commands.runMain( commands.Bootstrap )
> File "/usr/local/lib/python2.3/site-packages/peak/running/commands.py",
>line 70, in runMain
> result = factory().run()
> File "/home/tick/src/PEAK/examples/bulletins/src/bulletins/commands.py",
>line 72, in run
> return self.invocationError(msg)
>AttributeError: 'AddUser' object has no attribute 'invocationError'
>
>I have last CVS version, python 2.3. How can I get this working?
The short answer is to change all the 'self.invocationError(msg)' calls to
'self._invocationError(msg)' calls.
The long answer is that I haven't updated the bulletins.commands package
for the latest version of the peak.running.commands framework. I've just
checked in a fix for this.
More information about the PEAK
mailing list