Welcome to Squishdot How-To Newbies Squishdot
 post article
 Mailing Lists
 Bug Tracking

Re: Zope 2.8.0 and Squishdot 1.5
by Toni Andjelkovic on Wednesday September 21, @01:37PM

While migrating a Squishdot blog from Zope 2.7.0 to 2.8.1-final (with python-2.3.5) I encountered two problems:

The first problem occurs when trying to add a new Squishdot site with the ZMI:

TypeError: unbound method mailhost_list() must be called with SquishSite instance as first argument (got nothing instead)

Probably some change in ZOPE happened, so this method doesn't get passed a parameter any longer. I was able to work around that by patching the addSquishdotForm.dtml template, but the real cause of this problem appears to be within ZOPE. Since mailhost_list is called only in two DTML documents, you might get rid of it altogether by using the literal expression

superValues('Mail Host')

The other error happened after I exported an existing Squishdot site object in .zexp format on 2.7.0 and tried to import it into the 2.8.1 instance:

AttributeError: _length

This is probably due to a compatibility safeguard in ZCatalog.Catalog, which disappeared between 2.7.0 and 2.8.1. After restoring this change I was able to successfully import the Squishdot .zexp file.

Everything else appears to work fine.

Post Reply

Notify Notify me via email of responses to this message
(Check those URLs! Don't forget the http://!)
If none of the above mean anything to you, select 'Plain'!
(You can attach a file to your reply which can then be retrieved by other readers.
Try to keep the file sizes below 500Kb in order to conserve network and server resources.)
Allowed HTML <B> <I> <P> <A> <LI> <OL> <UL> <EM> <BR> <TT> <HR> <STRONG> <BLOCKQUOTE> <DIV .*> <DIV> <P .*>
Important Stuff:
  • Note: Fields with bold titles are required.
  • Please try to keep posts on topic.
  • Try to reply to other people comments instead of starting new threads,
  • Read other people's messages before posting your own to avoid simply duplicating what has already been said.
  • Use a clear subject that describes what your message is about.
  • Please do not post offtopic, inflammatory, inappropriate, illegal, or offensive comments. Repeat offenders will be sanctioned.
  • Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.