Re: No section: 'Theme" error with tmda-cgi 0.15

Jim Ramsay <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <20061105203113.2f569dbd@home>
Adam Todd <[email protected]> wrote:
> >NoSectionError: No section: 'Theme'
> >       args = ("No section: 'Theme'",)
> >       message = "No section: 'Theme'"
> >       section = 'Theme'

Good news!  I think I've got it.  Please try applying the attached
patch and let me know if it fixes things for you.

To apply, go into the tmda-cgi directory (Wherever Session.py lives)
and run:

patch -p0 < NoSectionError.patch

-- 
Jim Ramsay
"Me fail English?  That's unpossible!"
NoSectionError.patch (text/x-patch, 507 B)
Index: Session.py
===================================================================
--- Session.py	(revision 2091)
+++ Session.py	(working copy)
@@ -282,6 +282,7 @@
           CgiUtil.TermError("Install failed",
             "Install not allowed in no-su mode", "install", "",
             "Either recompile in another mode or install TMDA manually.")
+        self.GetTheme()
         raise CgiUtil.NotInstalled, (ErrStr, self)
       T = Template.Template("no-install.html")
       T["ErrMsg"] = ErrStr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.