Here it goes:

      /home/Morten/tmda-cgi-0.12/tmda-cgi.py
        119   PVars["InProcess"]   = {}

        120   PVars["LocalConfig"] = "Form"

        121   PVars.Save()

        122

        123 # Share "globals"

      PVars = <Session.Session instance>, PVars.Save = <bound method
Session.Save of <Session.Session instance>>

       /home/Morten/tmda-cgi-0.12/tmda-cgi.py in Call(Library=<module
'Install' from '/home/Morten/tmda-cgi-0.12/Install.pyc'>, Str=None)
         73     Library.Show(Str)

         74   else:

         75     Library.Show()

         76

         77 # Capture WebUID

      Library = <module 'Install' from
'/home/Morten/tmda-cgi-0.12/Install.pyc'>, Library.Show = <function Show>


       /home/Morten/tmda-cgi-0.12/Install.py in Show()
        670         "installing", CgiUtil.FileDetails("home directory",

        671         os.environ["HOME"]), "Check file permissions in home
directory.")

        672     Install()  # Does not return.

        673   elif Form["cmd"].value == "restore":

        674     Restore()  # Does not return.

      global Install = <function Install>


       /home/Morten/tmda-cgi-0.12/Install.py in Install()
        362

        363   # Are we supposed to ignore any of those?

        364   ListDiff(FilesToInstall, IgnoreFiles(Anomalies))

        365

        366   # What files will that clobber?

      global ListDiff = <function ListDiff>, FilesToInstall = ['.qmail',
'%(Parent)s/.qmail-%(qUser)s', '%(Parent)s/.qmail-%(qUser)s-default',
'.qmail-default', '.tmda/crypt_key', '.tmda/config',
'.tmda/filters/incoming', '.tmda/filters/outgoing', '.tmda/tmda-cgi.ini',
'.tmda/lists/blacklist', '.tmda/lists/confirmed', '.tmda/lists/revoked',
'.tmda/lists/whitelist', '.tmda/templates/bounce.txt',
'.tmda/templates/confirm_accept.txt',
'.tmda/templates/confirm_request.txt'], global IgnoreFiles = <function
IgnoreFiles>, Anomalies = {'Base': '/usr/local/tmda-1.0', 'CryptKey':
'6016f0dc53ad422811964afde2180472726b9e8c', 'Domain': 'svr-1.homedir.dk',
'Home': '/home/Morten', 'Name': "'Morten Trab'", 'PARENT_RE':
r'^/home/vpopmail/domains/[^/]+\.[^/]+$', 'PERMISSIONS': {'.tmda/crypt_key':
384}, 'Parent': '..', 'REAL_ONLY': {'qmail': ['.qmail', '.qmail-default'],
'sendmail': ['.procmail']}, 'RealHome': '/home/Morten', ...}


       /home/Morten/tmda-cgi-0.12/Install.py in
IgnoreFiles(Anomalies={'Base': '/usr/local/tmda-1.0', 'CryptKey':
'6016f0dc53ad422811964afde2180472726b9e8c', 'Domain': 'svr-1.homedir.dk',
'Home': '/home/Morten', 'Name': "'Morten Trab'", 'PARENT_RE':
r'^/home/vpopmail/domains/[^/]+\.[^/]+$', 'PERMISSIONS': {'.tmda/crypt_key':
384}, 'Parent': '..', 'REAL_ONLY': {'qmail': ['.qmail', '.qmail-default'],
'sendmail': ['.procmail']}, 'RealHome': '/home/Morten', ...})
        344         CgiUtil.TermError("Unknown mailtype",

        345           "REAL_ONLY dictionary has no key: %s" % Mail, "locate
files",

        346           "REAL_ONLY = %s" % repr(REAL_ONLY),

        347           "Contact system administrator.")

        348     else:

      builtin repr = <built-in function repr>, REAL_ONLY undefined


NameError: global name 'REAL_ONLY' is not defined
      args = ("global name 'REAL_ONLY' is not defined",)


Mvh,/Best regards,
Morten Trab
Web: http://www.blackchart.dk
----- Original Message ----- 
From: "Jim Ramsay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 21, 2004 5:09 PM
Subject: Re: TMDA-CGI install problem


> Morten Trab wrote:
> > When I first run the TMDA-cgi install from web, I get this error:
> >
> >
> > *NameError*: global name 'REAL_ONLY' is not defined
> >       args = ("global name 'REAL_ONLY' is not defined",)
> >
> > An above this a whole bunch of Pyhton code...What does this mean?? An
> > what is the solution??
>
> If you send the "whole bunch of Python code" we may be able to figure it
> out :)
>
> -- 
> Jim Ramsay
>
> _____________________________________________
> 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