[Zope] Re: Squishdot installation problems, CVS problems
Dennis Allison
allison at shasta.stanford.edu
Sun Mar 5 16:48:36 EST 2006
The CVS access could have been a SourceForge problem.
There is a Squishdot patch and several comments about 2.8.X problems on
the site. I applied the patch and got a running site but as the patch
author notes, the patch is a workaround and probably should be fixed in a
different fashion.
The patch (which seems to have worked is) is:
--- lib/python/Products/Squishdot.bak/addSquishdotForm.dtml Fri Aug 18
00:47:57 2000
+++ lib/python/Products/Squishdot/addSquishdotForm.dtml Wed Sep 21
12:49:15 2005
@@ -40,12 +40,12 @@
<EM><STRONG>Mail Host </STRONG></EM>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
-<dtml-if mailhost_list>
+<dtml-if expr="superValues('Mail Host')">
<SELECT NAME="mailhost">
<OPTION VALUE="" SELECTED>
- <dtml-in mailhost_list>
+ <dtml-in expr="superValues('Mail Host')">
<OPTION VALUE="<dtml-var id html_quote>"><dtml-var title_or_id>
- </dtml-in mailhost_list>
+ </dtml-in>
</SELECT>
<dtml-else>
<I>No Mail Host objects could be found.</I><BR>
@@ -53,7 +53,7 @@
You will not be able to recieve email notification of postings until
you create a Mail Host object that is acquirable by your Squishdot Site.
Once this has been done, you must select that Mail Host in the drop
down list on the 'Options' management tab of the Squishdot Site.
</small>
-</dtml-if mailhost_list>
+</dtml-if>
</TD>
</TR>
<TR>
@@ -71,7 +71,7 @@
This site is <STRONG>not moderated</STRONG>
</TD>
</TR>
-<dtml-if mailhost_list>
+<dtml-if expr="superValues('Mail Host')">
<TR>
<TD></TD>
<TD ALIGN="LEFT" VALIGN="TOP">
@@ -82,7 +82,7 @@
Mail new replies to the admin address.
</TD>
</TR>
-</dtml-if mailhost_list>
+</dtml-if>
<TR>
<TD></TD>
<TD ALIGN="LEFT" VALIGN="TOP">
The TinyTable problem is also mentioned on the site, but I've not tried to
track it down (yet).
On Sun, 5 Mar 2006, Chris Withers wrote:
> Dennis Allison wrote:
> > CVS at SourceForge seems broken. I got a proxy error
> > when I tried to use the web version and a login rejection on anonymous
> > access.
>
> Seems fine for me now...
>
> > With Zope 2.8.4 and Python 2.4.2 I get:
> >
> >> Site Error
> >>
> >> An error was encountered while publishing this resource.
> >>
> >> Error Type: TypeError
> >> Error Value: unbound method mailhost_list() must be called with SquishSite
> >> instance as first argument (got nothing instead)
>
> This is a specific error with 2.8.4, why aren't you using 2.8.6?
> If you still have problems with 2.8.6 or 2.9.1, please post either to
> Squishdot.org or the mailing list.
>
> >> which is mentioned in the postings. There's also a reported
> >> TinyTable problem.
>
> No one's explained the problem to me...
>
> >(Has anyone done a mod to use MySQL?)
>
> Why on earth would you want to do that? ;-)
>
> Posts to the list would be appreciated more! :-)
>
> Chris
>
>
--
More information about the Zope
mailing list