Hi,
Here is the error and compile information.
Thanks,
Vince
**** Error Trace ****
NameError Python 2.2.1: /usr/bin/python2.2
Mon Jul 14 14:42:32 2003
A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.
/usr/local/src/tmda-cgi-20030709/tmda-cgi.py
157 elif Cmd == "pending":
158 import PendList
159 Call(PendList)
160 elif Cmd == "restore":
161 pass
Call = <function Call>, PendList = <module 'PendList' from
'PendList.pyc'>
/usr/local/src/tmda-cgi-20030709/tmda-cgi.py in Call(Library=<module
'PendList' from 'PendList.pyc'>, Str=None)
55 Library.Show(Str)
56 else:
57 Library.Show()
58
59 # Capture WebUID
Library = <module 'PendList' from 'PendList.pyc'>, Library.Show =
<function Show>
/usr/local/src/tmda-cgi-20030709/PendList.py in Show()
74 elif Form["a%d" % Count].value == "whitelist":
75 WhiteList.append(MsgObj)
76 ReleaseList.append( thisMsgId )
77 elif Form["a%d" % Count].value == "blacklist":
78 BlackList.append(MsgObj)
ReleaseList = [], ReleaseList.append = <built-in method append of list
object>, thisMsgId undefined
NameError: global name 'thisMsgId' is not defined
__doc__ = 'Name not found globally.'
__getitem__ = <bound method NameError.__getitem__ of
<exceptions.NameError instance at 0x8280134>>
__init__ = <bound method NameError.__init__ of
<exceptions.NameError instance at 0x8280134>>
__module__ = 'exceptions'
__str__ = <bound method NameError.__str__ of <exceptions.NameError
instance at 0x8280134>>
args = ("global name 'thisMsgId' is not defined",)
********* INFO ********
Version
tmda-cgi: tmda-cgi/0.10B+ "Neon" (Python/2.2.1 on linux2)
TMDA: TMDA/0.80 "Determine" (Python/2.2.1 on linux2)
Compile Params
AUTH_ARG: /bin/checkpassword
AUTH_TYPE: program
BASE_DIR: /usr/local/tmda
CGI_DISP_DIR: /display/
CGI_MODE: system-wide
IDs: UID: 1008 (1008) GID: 2000 (2000)
SESSION_EXP: 300
SESSION_ODDS: 0.01
SESSION_PREFIX: /tmp/TMDASession.
------------------------------------------------------------------------
--------------
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Gre7g Luterman
Sent: Monday, July 14, 2003 2:29 PM
To: [EMAIL PROTECTED]
Subject: Re: tmda-cgi -> pending list -> whitelist problem
On Mon, 14 Jul 2003 13:16:08 -0600, "Vince" <[EMAIL PROTECTED]> wrote:
> While looking at the pending messages, if you
> select the whitelist option and press execute,
> a series of python error messages occur. The other
> options such as blacklist, release and delete,
> all seem to work fine.
Please post a copy/paste of the error traceback and your compiler
parameters from the Info tab.
Gre7g.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users