Re: Fixing Gnotices



"Michael R. Bernstein" <webmaven lvcm com> writes:

> On Wed, 2001-09-05 at 14:47, Jonathan Blandford wrote:
> >
> > "Michael R. Bernstein" <webmaven lvcm com> writes:
> > >
> > > Anyway, I've got a patch from him that *should* add the feature with no
> > > bugs, so who has the access to apply it on the server?
> > 
> > I can do it.
> 
> Here's the patch. I haven't heard back from Chris whether this is
> supposed to be applied against version 1.2.1 of Squishdot (what Gnotices
> is running on) or against a current (1.3.0) version. The patch may
> actually work for either version.
> 
> Anyway, definitely backup Posting.py first, just in case.

Didn't seem to work.  I get:

Traceback (innermost last):
  File /usr/local/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module
  File /usr/local/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /usr/local/www/Zope-2.3.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
  File /usr/local/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /usr/local/www/Zope-2.3.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: index_html)
  File /usr/local/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: index_html)
  File /usr/local/www/Zope-2.3.2-src/lib/python/Products/Squishdot/Posting.py, line 212, in index_html
  File /usr/local/www/Zope-2.3.2-src/lib/python/OFS/DTMLMethod.py, line 189, in __call__
    (Object: posting_html)
  File /usr/local/www/Zope-2.3.2-src/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__
    (Object: posting_html)
  File /usr/local/www/Zope-2.3.2-src/lib/python/DocumentTemplate/DT_In.py, line 650, in renderwob
    (Object: desc_items)
  File /usr/local/www/Zope-2.3.2-src/lib/python/Products/Squishdot/Posting.py, line 186, in desc_items
  File /usr/local/www/Zope-2.3.2-src/lib/python/Products/Squishdot/Posting.py, line 82, in __getitem__
AttributeError: (see above)



When I click on a link.  I reverted for now.

Thanks,
-Jonathan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]