I don't mess with the tdma scripts. I don't have the skill or the
inclination. Nevertheless, every now and again, my tdma goes berserk (like
today) and gives an error - on opening or after performing an operation
like adding a couple of hundred to the blacklist - like:

"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-cgi-0.16.3/tmda-cgi.py
  188   elif Cmd == "pending":
  189     import PendList
  190     Call(PendList)
  191   elif Cmd == "restore":
  192     pass
Call = <function Call>, PendList = <module 'PendList' from
'/usr/local/tmda-cgi-0.16.3/PendList.pyc'>"

etc

(the full message is in the attached text file "tdma.txt"

given that I haven't done anything to produce it, and, if I wait a few
days it clears up as mysteriously as it appears, can anyone shed light on
what may be going on and/or what I can do about it?

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-cgi-0.16.3/tmda-cgi.py
  188   elif Cmd == "pending":
  189     import PendList
  190     Call(PendList)
  191   elif Cmd == "restore":
  192     pass
Call = <function Call>, PendList = <module 'PendList' from 
'/usr/local/tmda-cgi-0.16.3/PendList.pyc'>

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

 /usr/local/tmda-cgi-0.16.3/PendList.py in Show()
  632           ScRadio.Add()
  633 
  634         Row.Add()
  635         Count = Count + 1
  636     
Row = <Template.Template instance>, Row.Add = <bound method Template.Add of 
<Template.Template instance>>

 /usr/local/tmda-cgi-0.16.3/Template.py in Add(self=<Template.Template 
instance>, Dict={'CharSet': 'utf-8', 'CheckName': 'c30', 'Date': '2007-08-18', 
'DispDir': '/display', 'DispRange': '1-200 of 317', 'ErrMsg': 'Capturing the 
debug stream...\nSetting up file au...D = 19884, status = 0\nAuthentication 
returned: 1\n', 'FilterOptions': '', 'Info': '&copy;2003 Jim Ramsay, based on 
the Official TMDA Logo', 'MsgClass': 'NewMsg', 'MsgID': '1187501538.23495', 
...})
  268     if not Dict: Dict = self.Dict
  269     self.HTML.append(copy.deepcopy(self.BoilerPlate))
  270     self.Expand(Dict)
  271 
  272   def Clear(self):
self = <Template.Template instance>, self.Expand = <bound method 
Template.Expand of <Template.Template instance>>, Dict = {'CharSet': 'utf-8', 
'CheckName': 'c30', 'Date': '2007-08-18', 'DispDir': '/display', 'DispRange': 
'1-200 of 317', 'ErrMsg': 'Capturing the debug stream...\nSetting up file 
au...D = 19884, status = 0\nAuthentication returned: 1\n', 'FilterOptions': '', 
'Info': '&copy;2003 Jim Ramsay, based on the Official TMDA Logo', 'MsgClass': 
'NewMsg', 'MsgID': '1187501538.23495', ...}

 /usr/local/tmda-cgi-0.16.3/Template.py in Expand(self=<Template.Template 
instance>, Dict={'CharSet': 'utf-8', 'CheckName': 'c30', 'Date': '2007-08-18', 
'DispDir': '/display', 'DispRange': '1-200 of 317', 'ErrMsg': 'Capturing the 
debug stream...\nSetting up file au...D = 19884, status = 0\nAuthentication 
returned: 1\n', 'FilterOptions': '', 'Info': '&copy;2003 Jim Ramsay, based on 
the Official TMDA Logo', 'MsgClass': 'NewMsg', 'MsgID': '1187501538.23495', 
...})
  256     for i in range(len(self.HTML)):
  257       if isinstance(self.HTML[i], Template):
  258         self.HTML[i].Expand(Dict)
  259       else:
  260         if not self.BeenExpanded:
self = <Template.Template instance>, self.HTML = [<Template.Template instance>, 
<Template.Template instance>, <Template.Template instance>, <Template.Template 
instance>, <Template.Template instance>, <Template.Template instance>, 
<Template.Template instance>, <Template.Template instance>, <Template.Template 
instance>, <Template.Template instance>, <Template.Template instance>, 
<Template.Template instance>, <Template.Template instance>, <Template.Template 
instance>, <Template.Template instance>, <Template.Template instance>, 
<Template.Template instance>, <Template.Template instance>, <Template.Template 
instance>, <Template.Template instance>, ...], i = 30, ].Expand undefined, Dict 
= {'CharSet': 'utf-8', 'CheckName': 'c30', 'Date': '2007-08-18', 'DispDir': 
'/display', 'DispRange': '1-200 of 317', 'ErrMsg': 'Capturing the debug 
stream...\nSetting up file au...D = 19884, status = 0\nAuthentication returned: 
1\n', 'FilterOptions': '', 'Info': '&copy;2003 Jim Ramsay, based on the 
Official TMDA Logo', 'MsgClass': 'NewMsg', 'MsgID': '1187501538.23495', ...}

 /usr/local/tmda-cgi-0.16.3/Template.py in Expand(self=<Template.Template 
instance>, Dict={'CharSet': 'utf-8', 'CheckName': 'c30', 'Date': '2007-08-18', 
'DispDir': '/display', 'DispRange': '1-200 of 317', 'ErrMsg': 'Capturing the 
debug stream...\nSetting up file au...D = 19884, status = 0\nAuthentication 
returned: 1\n', 'FilterOptions': '', 'Info': '&copy;2003 Jim Ramsay, based on 
the Official TMDA Logo', 'MsgClass': 'NewMsg', 'MsgID': '1187501538.23495', 
...})
  259       else:
  260         if not self.BeenExpanded:
  261           self.HTML[i] = \
  262             self.LonePctSearch.sub(self.LonePctRepl, self.HTML[i]) % Dict
  263     self.BeenExpanded = 1
self = <Template.Template instance>, self.HTML = ['\n <tr class="%(MsgClass)s" 
bgcolor="%(RowBg...um)d)">\n %(Size)s\n </td>\n ', <Template.Template 
instance>, '\n </tr>\n'], i = 0, self.LonePctSearch = <_sre.SRE_Pattern 
object>, self.LonePctSearch.sub = <built-in method sub of _sre.SRE_Pattern 
object>, self.LonePctRepl = r'\1%%\2', Dict = {'CharSet': 'utf-8', 'CheckName': 
'c30', 'Date': '2007-08-18', 'DispDir': '/display', 'DispRange': '1-200 of 
317', 'ErrMsg': 'Capturing the debug stream...\nSetting up file au...D = 19884, 
status = 0\nAuthentication returned: 1\n', 'FilterOptions': '', 'Info': 
'&copy;2003 Jim Ramsay, based on the Official TMDA Logo', 'MsgClass': 'NewMsg', 
'MsgID': '1187501538.23495', ...}

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 0: ordinal 
not in range(128)
      args = ('ascii', 
'\xe4\xba\xba\xe5\xa6\xbb\xe3\x83\x91\xe3\x83\xa9\xe3\x83\x80\xe3\x82\xa4\xe3\x82\xb9',
 0, 1, 'ordinal not in range(128)')
      encoding = 'ascii'
      end = 1
      object = 
'\xe4\xba\xba\xe5\xa6\xbb\xe3\x83\x91\xe3\x83\xa9\xe3\x83\x80\xe3\x82\xa4\xe3\x82\xb9'
      reason = 'ordinal not in range(128)'
      start = 0
_____________________________________________
tmda-users mailing list (tmda-users@tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Reply via email to