hi all

anyone know why i can't load the vmailmgr stub program
i'm calling it like the example below

"vmailmgr1 /usr/local/src/tmda-cgi-0.15/stubs/vmailmgrinfo ~"

but when i then try to authenticate to autoinstall tmda-cgi i get the
below error...






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-0.15/tmda-cgi.py
  115 try:
  116   try:
  117     PVars = Session.Session(Form)
  118     CgiUtil.ErrTemplate = "error.html"
  119   except CgiUtil.NotInstalled, (ErrStr, PVars):
PVars undefined, Session = <module 'Session' from
'/usr/local/src/tmda-cgi-0.15/Session.pyc'>, Session.Session = <class
Session.Session>, Form = FieldStorage(None, None,
[MiniFieldStorage('user... 'mypassword'), MiniFieldStorage('cmd',
'init')])
 /usr/local/src/tmda-cgi-0.15/Session.py in
__init__(self=<Session.Session instance>, Form=FieldStorage(None,
None, [MiniFieldStorage('user... 'mypassword'),
MiniFieldStorage('cmd', 'init')]))
  397         Filename = os.path.join("stubs", "%s.py" % VLookup[0])
  398         try:
  399           execfile(Filename, Sandbox)
  400         except IOError:
  401           CgiUtil.TermError("Can't load virtual user stub.",
builtin execfile = <built-in function execfile>, Filename =
'/usr/local/src/tmda-cgi-0.15/stubs/vmailmgrinfo.py', Sandbox =
{'User': '[EMAIL PROTECTED]', '__builtins__': {'ArithmeticError':
<class exceptions.ArithmeticError>, 'AssertionError': <class
exceptions.AssertionError>, 'AttributeError': <class
exceptions.AttributeError>, 'DeprecationWarning': <class
exceptions.DeprecationWarning>, 'EOFError': <class
exceptions.EOFError>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class
exceptions.EnvironmentError>, 'Exception': <class
exceptions.Exception>, 'False': False, 'FloatingPointError': <class
exceptions.FloatingPointError>, ...}, 'pwd': <module 'pwd'
(built-in)>, 're': <module 're' from
'/usr/local/lib/python2.4/re.pyc'>, 'string': <module 'string' from
'/usr/local/lib/python2.4/string.pyc'>}
 /usr/local/src/tmda-cgi-0.15/stubs/vmailmgrinfo.py
   23 import re
   24 import string
   25 import cdb
   26 import vmailmgr
   27 import sys
cdb undefined
 /usr/local/src/tmda-cgi-0.15/tmda-cgi.py in NewImport(name='cdb',
globals={'User': '[EMAIL PROTECTED]', '__builtins__':
{'ArithmeticError': <class exceptions.ArithmeticError>,
'AssertionError': <class exceptions.AssertionError>, 'AttributeError':
<class exceptions.AttributeError>, 'DeprecationWarning': <class
exceptions.DeprecationWarning>, 'EOFError': <class
exceptions.EOFError>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class
exceptions.EnvironmentError>, 'Exception': <class
exceptions.Exception>, 'False': False, 'FloatingPointError': <class
exceptions.FloatingPointError>, ...}, 'pwd': <module 'pwd'
(built-in)>, 're': <module 're' from
'/usr/local/lib/python2.4/re.pyc'>, 'string': <module 'string' from
'/usr/local/lib/python2.4/string.pyc'>}, locals={'User':
'[EMAIL PROTECTED]', '__builtins__': {'ArithmeticError': <class
exceptions.ArithmeticError>, 'AssertionError': <class
exceptions.AssertionError>, 'AttributeError': <class
exceptions.AttributeError>, 'DeprecationWarning': <class
exceptions.DeprecationWarning>, 'EOFError': <class
exceptions.EOFError>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class
exceptions.EnvironmentError>, 'Exception': <class
exceptions.Exception>, 'False': False, 'FloatingPointError': <class
exceptions.FloatingPointError>, ...}, 'pwd': <module 'pwd'
(built-in)>, 're': <module 're' from
'/usr/local/lib/python2.4/re.pyc'>, 'string': <module 'string' from
'/usr/local/lib/python2.4/string.pyc'>}, fromlist=None)
   37       from TMDA import Version
   38       return Version
   39   return OldImport(name, globals, locals, fromlist)
   40 __builtins__.__import__ = NewImport
   41
global OldImport = <built-in function __import__>, name = 'cdb',
globals = {'User': '[EMAIL PROTECTED]', '__builtins__':
{'ArithmeticError': <class exceptions.ArithmeticError>,
'AssertionError': <class exceptions.AssertionError>, 'AttributeError':
<class exceptions.AttributeError>, 'DeprecationWarning': <class
exceptions.DeprecationWarning>, 'EOFError': <class
exceptions.EOFError>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class
exceptions.EnvironmentError>, 'Exception': <class
exceptions.Exception>, 'False': False, 'FloatingPointError': <class
exceptions.FloatingPointError>, ...}, 'pwd': <module 'pwd'
(built-in)>, 're': <module 're' from
'/usr/local/lib/python2.4/re.pyc'>, 'string': <module 'string' from
'/usr/local/lib/python2.4/string.pyc'>}, locals = {'User':
'[EMAIL PROTECTED]', '__builtins__': {'ArithmeticError': <class
exceptions.ArithmeticError>, 'AssertionError': <class
exceptions.AssertionError>, 'AttributeError': <class
exceptions.AttributeError>, 'DeprecationWarning': <class
exceptions.DeprecationWarning>, 'EOFError': <class
exceptions.EOFError>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class
exceptions.EnvironmentError>, 'Exception': <class
exceptions.Exception>, 'False': False, 'FloatingPointError': <class
exceptions.FloatingPointError>, ...}, 'pwd': <module 'pwd'
(built-in)>, 're': <module 're' from
'/usr/local/lib/python2.4/re.pyc'>, 'string': <module 'string' from
'/usr/local/lib/python2.4/string.pyc'>}, fromlist = None

ImportError: No module named cdb
      args = ('No module named cdb',)
_________________________________________________
tmda-workers mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to