Sorry, my last post was sent before putting in the error...

After the upgrade I now get the following error when trying to open up
the lists. (Whitelists, etc).

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/tmda/tmda-cgi-0.13/tmda-cgi.py
  171   elif Cmd[:8] == "editlist":
  172     import EditList
  173     Call(EditList)
  174   elif Cmd == "gen_addr":
  175     import GenAddr
Call = <function Call>, EditList = <module 'EditList' from
'EditList.py'>

 /usr/local/tmda/tmda-cgi-0.13/tmda-cgi.py in Call(Library=<module
'EditList' from 'EditList.py'>, Str=None)
   86     Library.Show(Str)
   87   else:
   88     Library.Show()
   89 
   90 # Capture WebUID
Library = <module 'EditList' from 'EditList.py'>, Library.Show =
<function Show>

 /usr/local/tmda/tmda-cgi-0.13/EditList.py in Show()
  113       listDict["listGraphicAlt"] = Buttons[File][0]
  114       listDict["listName"] = os.path.basename(File)
  115       HTML += CurrentListEntry % listDict
  116       T["ListNum"] = FileNum
  117     else:
HTML = '', CurrentListEntry = None, listDict = {'Theme':
'/chal/themes/Blue', 'listGraphicAlt': 'blacklist',
'listGraphicFilename': 'dyn_buttons/h-subtopic14.png',
'listGraphicHeight': 14, 'listGraphicWidth': 194, 'listName':
'blacklist'}

TypeError: unsupported operand type(s) for %: 'NoneType' and 'dict'
      __doc__ = 'Inappropriate argument type.'
      __getitem__ = <bound method TypeError.__getitem__ of
<exceptions.TypeError instance>>
      __init__ = <bound method TypeError.__init__ of
<exceptions.TypeError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method TypeError.__str__ of <exceptions.TypeError
instance>>
      args = ("unsupported operand type(s) for %: 'NoneType' and
'dict'",)
 
 
TypeError       Python 2.2.3: /usr/local/bin/python2.2
Thu Mar 18 08:55:27 2004

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/tmda/tmda-cgi-0.13/tmda-cgi.py
  171   elif Cmd[:8] == "editlist":
  172     import EditList
  173     Call(EditList)
  174   elif Cmd == "gen_addr":
  175     import GenAddr
Call = <function Call>, EditList = <module 'EditList' from
'EditList.py'>

 /usr/local/tmda/tmda-cgi-0.13/tmda-cgi.py in Call(Library=<module
'EditList' from 'EditList.py'>, Str=None)
   86     Library.Show(Str)
   87   else:
   88     Library.Show()
   89 
   90 # Capture WebUID
Library = <module 'EditList' from 'EditList.py'>, Library.Show =
<function Show>

 /usr/local/tmda/tmda-cgi-0.13/EditList.py in Show()
  113       listDict["listGraphicAlt"] = Buttons[File][0]
  114       listDict["listName"] = os.path.basename(File)
  115       HTML += CurrentListEntry % listDict
  116       T["ListNum"] = FileNum
  117     else:
HTML = '', CurrentListEntry = None, listDict = {'Theme':
'/chal/themes/Blue', 'listGraphicAlt': 'blacklist',
'listGraphicFilename': 'dyn_buttons/h-subtopic14.png',
'listGraphicHeight': 14, 'listGraphicWidth': 194, 'listName':
'blacklist'}

TypeError: unsupported operand type(s) for %: 'NoneType' and 'dict'
      __doc__ = 'Inappropriate argument type.'
      __getitem__ = <bound method TypeError.__getitem__ of
<exceptions.TypeError instance>>
      __init__ = <bound method TypeError.__init__ of
<exceptions.TypeError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method TypeError.__str__ of <exceptions.TypeError
instance>>
      args = ("unsupported operand type(s) for %: 'NoneType' and
'dict'",)


-----Original Message-----
From: Samuel Hill [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 18, 2004 8:56 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: RE: TMDA-cgi 0.13 "Aluminim" Re-Release




After the upgrade I now get the following error when trying to open up
the lists. (Whitelists, etc).


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jim Ramsay
Sent: Wednesday, March 17, 2004 1:41 PM
To: [EMAIL PROTECTED]
Subject: TMDA-cgi 0.13 "Aluminim" Re-Release


My apologies - the previous release had a major error which disabled 
list editing for any list whose name in the incoming filter contained a 
'~' character.

Rather than uploading a patch, I have re-uploaded the tarballs for 0.13,

so please re-get one of the following files:

http://www.us.tmda.net/tmda-cgi/releases/tmda-cgi-0.13.tar.bz2
http://www.us.tmda.net/tmda-cgi/releases/tmda-cgi-0.13.tar.gz

Any further errors will be fixed with either new releases or patches.

-- 
Jim Ramsay
____________________________________________
tmda-announce mailing list http://tmda.net/lists/listinfo/tmda-announce
_____________________________________________
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

Reply via email to