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@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@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

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [email protected]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to