Jim Ramsay <[EMAIL PROTECTED]> writes:
KeyError: 'BOUNCE_TEXT_FILTER_INCOMING' args = ('BOUNCE_TEXT_FILTER_INCOMING',)
Well, this looks like it may be a problem with either your config file or our assumptions about what is in it.
One thing to keep in mind is that Jared is using TMDA 1.1.3, in which BOUNCE_TEXT_FILTER_INCOMING no longer exists. I'm not sure tmda-cgi is well tested with TMDA 1.1.x.
Good point, and this is exactly the problem.
The form-edit-view of the local config still references BOUNCE_TEXT_FILTER_INCOMING. Among other missing/renamed config variables.
I've just checked a fix into CVS, but if you patch your current (0.12) tmda-cgi with the attached patch, you will enjoy the same fix.
-- Jim Ramsay "Me fail English? That's unpossible!"
Index: LocalConfig.py =================================================================== RCS file: /cvsroot/tmda/tmda-cgi/LocalConfig.py,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- LocalConfig.py 15 Dec 2003 16:19:38 -0000 1.8 +++ LocalConfig.py 16 Mar 2004 17:49:07 -0000 1.9 @@ -31,6 +31,7 @@ import Template from TMDA import Defaults +from TMDA import Version # Regular expression searches EscapeSearch = re.compile('(\\")') @@ -138,7 +139,7 @@ FileContents = [] # Which view does the user want? Form or text? - if PVars["LocalConfig"] == "Form": + if PVars["LocalConfig"] == "Form" and Version.TMDA < 1.1: # User wants to view the config in form mode. First we need to dismantle # the current config file in a way that we can rebuild it, then we need to # verify that it is safe to proceed. @@ -255,7 +256,7 @@ else: FileContents = "".join(FileContents) - if PVars["LocalConfig"] == "Text": + if PVars["LocalConfig"] == "Text" or Version.TMDA >= 1.1: # We're in text view, hide form view T["FormView"] T["FileContents"] = FileContents
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users