Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

How do I migrate CacheFu

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


mva.led at gmail

Apr 16, 2008, 6:59 PM

Post #1 of 2 (290 views)
Permalink
How do I migrate CacheFu

Hi all,

I'm moving a Plone site from one server to another. At the same time I
have upgraded Plone 2.5 to 2.5.5.

I have managed to move all contents without major problems.

Now I'm dealing with CacheFu. It refuses to enabled. I digged into the
code and notice this:

265 if installed_version != __version__:
266 # CacheSetup hasn't migrated yet so let's disable it.
267 field = self.getField('enabled')
268 if field is None:
269 self._updateSchema()
270 elif field.get(self) == True:
271 field.set(self, False)
272 if getToolByName(self, config.PAGE_CACHE_MANAGER_ID,
None) is not None:
273 -> enableCacheFu(self, False)
274
(Pdb) installed_version != __version__
True
(Pdb)


So it seems I have not properly migrated CacheFu. How do I do that?

Best regards,
Manuel.

_______________________________________________
Zope maillist - Zope[at]zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


ric at digitalmarbles

Apr 16, 2008, 7:39 PM

Post #2 of 2 (265 views)
Permalink
Re: How do I migrate CacheFu [In reply to]

On Apr 16, 2008, at 6:59 PM, Manuel Vazquez Acosta wrote:

> Hi all,
>
> I'm moving a Plone site from one server to another. At the same time I
> have upgraded Plone 2.5 to 2.5.5.
>
> I have managed to move all contents without major problems.
>
> Now I'm dealing with CacheFu. It refuses to enabled. I digged into the
> code and notice this:
>
> 265 if installed_version != __version__:
> 266 # CacheSetup hasn't migrated yet so let's disable
> it.
> 267 field = self.getField('enabled')
> 268 if field is None:
> 269 self._updateSchema()
> 270 elif field.get(self) == True:
> 271 field.set(self, False)
> 272 if getToolByName(self, config.PAGE_CACHE_MANAGER_ID,
> None) is not None:
> 273 -> enableCacheFu(self, False)
> 274
> (Pdb) installed_version != __version__
> True
> (Pdb)
>
>
> So it seems I have not properly migrated CacheFu. How do I do that?
>
> Best regards,
> Manuel.


You are on the wrong list. Try the plone-users list instead.

Ric




_______________________________________________
Zope maillist - Zope[at]zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.