Random ...
 
December 2017
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Tags ...
Links



python+zope++:: Migration 2.7.x -> 2.8.1: Failed
Posted at 01.Sep,2005 16:32  Comments 0 / Trackbacks 0 / Like this post!
Technorati tag(s):

I decided it was high time I upgrade to Zope2.8.1. Steps taken:

  • packed and exported the Data.fs
  • moved Data.fs to zope2.8.1 instance home
  • start zeo server and client
  • need to convertIndexes all y Catalogs. did a script to find all ZCatalogs:
      objs = self.ZopeFind(container,
                     obj_metatypes=['ZCatalog'],
                     search_sub=1)
    
  • something not right with my ZClasses. I think one of the base class not working right. The ZopeFind script b0rked. Scratch that.
  • manually manage_convertIndexes all catalogs. Some are OK, some are not (clearing or updating the catalog will result in a _length attribute error, even after manage_convertIndexes. This later worked after I did my migrate hack; check previous post)
  • after all that, my dtml methods that iterate through catalog brains b0rked if the dtml-in has sort as an attribute
  • after a couple of hours, aborted the upgrade, created a small test case for the problem. Filed at the collector:
       http://www.zope.org/Collectors/Zope/1884/test.zexp/view
    

No upgrade for now. Will have to wait till the bug is resolved.

Meanwhile, I need to check out the ZClass trouble :P


Bookmark and Share

Is this entry helpful? Comments/Donate/Click some google ads.  
Trackback is http://myzope.kedai.com.my/blogs/kedai/43/tbping 

Comments
Post a comment