[Mailman-Developers] (Current CVS version) cron/mailpasswds and edit HTML errors

Daniel Buchmann db@bibsys.no
Mon, 05 Nov 2001 18:01:27 +0100


error in cron/mailpasswds:

[mailman@testbox ~]$ cron/mailpasswds 
Traceback (most recent call last):
  File "cron/mailpasswds", line 173, in ?
    main()
  File "cron/mailpasswds", line 82, in main
    sitelist = MailList.MailList(mm_cfg.MAILMAN_SITE_LIST, lock=0)
  File "/home/mailman/Mailman/MailList.py", line 100, in __init__
    self.Load()
  File "/home/mailman/Mailman/MailList.py", line 496, in Load
    raise Errors.MMUnknownListError
Mailman.Errors.MMUnknownListError


Error when editing HTML through the web interface (after creating a new list):

Traceback (most recent call last):
  File "/home/mailman/scripts/driver", line 96, in run_main
    main()
  File "/home/mailman/Mailman/Cgi/edithtml.py", line 118, in main
    ChangeHTML(mlist, cgidata, template_name, doc)
  File "/home/mailman/Mailman/Cgi/edithtml.py", line 155, in ChangeHTML
    template_name), 'w')
IOError: [Errno 2] No such file or directory:
'/home/mailman/lists/testliste/no/listinfo.html'

...because the language directory does not exist. After creating this directory
(/home/mailman/lists/testliste/no) with the usual 02775 permissions, the editing
works fine.



-Daniel,
 Norwegian translator.