Hey guys, trying to setup tmda-cgi with vpopmail. I was able to log in initially, got the initial screen, clicked the "install" link. Saw no errors, but also saw no .qmail-user file created.

When I tried logging back in a second time, I got an OSError message with Python debugging info. I pasted my configure first, below that the html page that I get.

The default config file is specified as None, and that is the only lead I found in the archives, so I don't know what to look at to fix this.

------------ Interactive configure ----------------
$ ./configure
...
(/usr/local/bin/python):
...
(/usr/local/www/cgi-bin/tmda.cgi):
...
(/usr/local/tmda-0.78):
...
(/usr/local/www/data/tmda/):

Would you like to override the default config file location?
If so, enter a "formula" to specify where to look for the config file.
This formula is just a path, but it can include the character "~".
This character will be replaced by the user's name during execution.
To use the default config file location, enter "None".
(none):
...
(remote):
...
(imap://66.111.15.34):

----------------- HTML Error ------------------------------
OSError
Python 2.2.1: /usr/local/bin/python
Fri Jun 27 09:06:49 2003

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/www/data/tmda/tmda-cgi.py

���84 �try:

���85 ���try:

���86 �����PVars�=�Session.Session(Form)

���87 �����CgiUtil.ErrTemplate�=�"error.html"

���88 ���except�CgiUtil.NotInstalled,�(ErrStr,�PVars):

PVars undefined ,Session �= <module 'Session' from 'Session.pyc'>, Session. Session �= <class Session.Session>, Form �= FieldStorage(None, None, [MiniFieldStorage('user...word', '2222'), MiniFieldStorage('cmd', 'init')])

�/usr/local/www/data/tmda/Session.py in __init__ (self=<Session.Session instance>, Form=FieldStorage(None, None, [MiniFieldStorage('user...word', '2222'), MiniFieldStorage('cmd', 'init')]))

��456 �

��457 �����#�Become�the�user

��458 �����self.BecomeUser()

��459 �

��460 �����#�Signal�main�program

self �= <Session.Session instance>, self. BecomeUser �= <bound method Session.BecomeUser of <Session.Session instance at 0x82b404c>>

�/usr/local/www/data/tmda/Session.py in BecomeUser (self=<Session.Session instance>)

��275 �����try:

��276 �������CWD�=�os.getcwd()

��277 �������os.chdir(os.path.split(Defaults.TMDARC)[0])

��278 �������Filename�=�Defaults.CGI_SETTINGS

��279 �������F�=�open(Filename)

global os �= <module 'os' from '/usr/local/lib/python2.2/os.pyc'>, os. chdir �= <built-in function chdir>, os. path �= <module 'posixpath' from '/usr/local/lib/python2.2/posixpath.pyc'>, os.path. split �= <function split>, Defaults �= <module 'TMDA.Defaults' from '/usr/local/tmda-0.78/TMDA/Defaults.pyc'>, Defaults. TMDARC �= 'none'

OSError : [Errno 2] No such file or directory: ''
����� �__doc__�= 'OS system call failed.'
����� �__getitem__�= <bound method OSError.__getitem__ of <exceptions.OSError instance at 0x82d374c>>
����� �__init__�= <bound method OSError.__init__ of <exceptions.OSError instance at 0x82d374c>>
����� �__module__�= 'exceptions'
����� �__str__�= <bound method OSError.__str__ of <exceptions.OSError instance at 0x82d374c>>
����� �args�= (2, 'No such file or directory')
����� �errno�= 2
����� �filename�= ''
����� �strerror�= 'No such file or directory' _____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to