[Mailman-Users] Mailman error

John Poltorak jp at warpix.org
Sat Oct 25 20:41:38 CEST 2003


Can someone help me out here?

I know this is an old version but there is a good reason for it.

Here is part of a Mailman error log:-


Oct 24 16:18:31 2003 admin(493):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(493): [----- Mailman Version: 2.0.13 -----]
admin(493): [----- Traceback ------]
admin(493): Traceback (most recent call last):
admin(493):   File "/usr/local/mailman/scripts/driver", line 96, in run_main
admin(493):     main()
admin(493):   File "../Mailman/Cgi/admin.py", line 63, in main
admin(493):     FormatAdminOverview()
admin(493):   File "../Mailman/Cgi/admin.py", line 201, in FormatAdminOverview
admin(493):     l = MailList.MailList(n, lock=0)
admin(493):   File "../Mailman/MailList.py", line 73, in __init__
admin(493):     self.InitTempVars(name)
admin(493):   File "../Mailman/MailList.py", line 266, in InitTempVars
admin(493):     withlogging = mm_cfg.LIST_LOCK_DEBUGGING)
admin(493):   File "../Mailman/LockFile.py", line 180, in __init__
admin(493):     self.__tmpfname = '%s.%s.%d' % (
admin(493): error: (14, 'Bad address')

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
What is wrong here?


admin(493): [----- Python Information -----]
admin(493): sys.version    = 2.2.3 (#0, May 31 2003, 23:15:53) [EMX GCC 2.8.1]
admin(493): sys.executable = C:\USR\LOCAL\PYTHON223\PYTHON.EXE
admin(493): sys.prefix     = C:\USR\LOCAL\PYTHON223
admin(493): sys.exec_prefix= C:\USR\LOCAL\PYTHON223
admin(493): sys.path       = C:\USR\LOCAL\PYTHON223
admin(493): sys.platform   = os2emx
admin(493): [----- Environment Variables -----]
admin(493):     ENDLIBPATH:
admin(493):     COMSPEC: C:\OS2\CMD.EXE
admin(493):     PYTHONPATH: /usr/local/mailman
admin(493):     DPATH: c:\usr\parmlib;C:\IBMLAN\NETPROG;C:\IBMLAN;C:\MUGLIB;C:\MPTN;C:\IBMCOM;C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WI
admin(493):     SERVER_ADMIN: you at your.address
admin(493):     SCRIPT_NAME: /mailman/admin
admin(493):     ETC: C:\ETC
admin(493):     SERVER_SIGNATURE: <address>Apache/2.0.44 (OS/2) PHP/4.3.1 Server at 213.152.37.92 Port 80</address>




LockFile.py contains:-

        self.__tmpfname = '%s.%s.%d' % (
            lockfile, socket.gethostname(), os.getpid())

How do I find the result of socket.gethostname() ?



-- 
John






More information about the Mailman-Users mailing list