Hi,

I'm trying out tmda-cgi on a test machine and I'm getting the following
error when accessing the tmda-cgi.cgi file I created.

This error message is taken from the source code that is displayed in my
browser window.


Traceback (most recent call last):
  File "tmda-cgi.py", line 127, in ?
    main()
  File "tmda-cgi.py", line 70, in main
    if os.environ["QUERY_STRING"]:
  File "/usr/local/lib/python2.2/UserDict.py", line 14, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: QUERY_STRING

If I need to send the actual source code instead of this snip that occurs
at the end, let me know.

I think I'm following the install directions.  Here is the contents of my
/etc/tmdarc file:

import os
CGI_ACTIVE = 1
CGI_URL = "http://192.168.1.23:8080/cgi-bin/tmda-cgi.cgi";
CGI_USER = "www"
PENDING_WHITELIST_APPEND = os.path.expanduser("~/.tmda/lists/whitelist")
PENDING_BLACKLIST_APPEND = os.path.expanduser("~/.tmda/lists/blacklist")

I'm not a Python programmer, so any pointers as to what I'm doing wrong
would be greatly appreciated.

-- 
Jeff Ross
Open Vistas Networking, Inc.
http://www.openvistas.net


_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to