[Mailman-Users] htdig integration patches
Richard Barrett
R.Barrett at ftel.co.uk
Wed Jan 22 16:56:33 CET 2003
Todd
It would help to know which version of the patch file you are using and
where you got it from.
I have grep'ed my copies of the various versions of my htdig patch file and
cannot find a line that reads as you assert yours does; see the grep
results below.
There are three lines containing the string "(os.system(cmd) >> 8) & 0xff"
in the various 2.1 patch files: one each for the scripts nightly_htdig,
remote_nightly_htdig and remote_nightly_htdig_noshare.
But I cannot see the assignment your copy of nightly_htdig is said to contain.
It would appear to be that the file added by the patch has been "corrupted"
somehow.
I'd suggest download a new copy of the latest version of the patch.
If I can be of further assistance then let me know.
Richard
mailman at mailman2:/mailman/build/patches> find . -name "htdig*.patch" |
xargs grep "(os.system(cmd) >> 8) & 0xff"
./current/htdig-2.1-0.3.patch:+ status = (os.system(cmd) >> 8) & 0xff
./current/htdig-2.1-0.3.patch:+ status = (os.system(cmd) >> 8) & 0xff
./current/htdig-2.1-0.3.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b3-0.2.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b3-0.2.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b3-0.2.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b3-0.3.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b3-0.3.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b3-0.3.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b3-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b3-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b3-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b4-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b4-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b4-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b5-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b5-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b5-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b6-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b6-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1b6-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1rc1-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1rc1-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1rc1-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1-0.1.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1-0.2.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1-0.2.patch:+ status = (os.system(cmd) >> 8) & 0xff
./old/htdig-2.1-0.2.patch:+ status = (os.system(cmd) >> 8) & 0xff
mailman at mailman2:/mailman/build/patches>
At 15:21 22/01/2003, Todd C. Miller wrote:
>I also get the following error from nightly_htdig:
>
>Traceback (most recent call last):
> File "/var/mailman/cron/nightly_htdig", line 153, in ?
> main()
> File "/var/mailman/cron/nightly_htdig", line 138, in main
> if status:
>NameError: global name 'status' is not defined
>
>Which corresponds to the code:
>
> dUmMy= (os.system(cmd) >> 8) & 0xff
> if status:
> print _('rundig failed for list %(name)s, exit code: %(status)s')
>
>It seems like "dUmMy" should be replaced by "status".
>
> - todd
More information about the Mailman-Users
mailing list