<blockquote style="margin:0 0 0 40px;border:none;padding:0px">Hello Camilo,</blockquote><div><br></div><div>In addition to 
Thierry Florac&#39;s answer I will say a few problems, that occured when I migrated some projects to bluebream.</div><div><br></div><div><ul><li>Lets start from the issue, that bluebream removed ZMI from the base packages, so you will not be able to migrate just by creating a base bluebream package if you used Rotterdam skin. If your project had ZMI start by creating a bluebream project and adding ZMI related packages to it. Some packages still contain the needed ZCML&#39;s but those need to be added  included manualy. I do not remember what packages are used for ZMI apart from these:</li>
</ul></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><div>  &lt;include package=&quot;zope.app.form.browser&quot; file=&quot;meta.zcml&quot; /&gt;</div>
</div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><div>  &lt;include package=&quot;zope.app.container.browser&quot; file=&quot;meta.zcml&quot; /&gt;</div></div></div>
</div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><div>  &lt;include package=&quot;zope.app.security.browser&quot; /&gt;</div></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div><div>  &lt;include package=&quot;zope.app.zcmlfiles&quot; file=&quot;configure.zcml&quot; /&gt;</div></div></div></blockquote></blockquote><div><ul><li>There were some package renamings like zope.app.container -- &gt; zope.container, so be attantive, to include new versions of old packages, which will contain back imports. Without those your ZODB will have broken objects.</li>
<li>Be aware to not include outdated packages from zope3, if those were changed in bluebream. See </li><li>There were some changes to persistent objects, such as File and Index. </li><ul><li>The first one now contains the size in a special attribute _size and does not alter data to get the length. You will need to add the _size attribute in an evolution. </li>
<li>Indexes now contain the documentCount and wordCount in attributes. Reindexing indexes will help to resolve the issue. Reindexing through ZMI did not work for me, it searches those attributes, so we will also do this in evolution</li>
<li>There also were changes with Length in zope.container.btree, but in my case it just worked without changes.</li></ul></ul></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Something like this:</div>
</div></blockquote><div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div>    ids = getUtility(interface=IIntIds, context=context)</div></div></div><div><div>    catalog = getUtility(interface=ICatalog, context=context)</div>
</div><div><div>    catalog.clear()</div></div><div><div>    # Updates the indexes to add the missing documentCount attribute</div></div><div><div>    catalog.updateIndexes()</div></div><div><div>    # Searches all objects and fixes files if they are troublesome</div>
</div><div><div>    files = findObjectsProviding(context, IFile)</div></div><div><div>    for ob in files:</div></div><div><div>        if not hasattr(ob, &#39;_size&#39;):</div></div><div><div>            setattr(ob, &#39;_size&#39;, len(ob.data))</div>
</div></blockquote><div><br></div><div><div>I hope that it could help you. If you have questions, feel free to ask.</div><div><br></div><div>P.S. I ported from ZOPE 3.4. I think that 3.3 will be mostly the same. As for lower, did not port those, so can not help here.</div>
<div><br></div><div class="gmail_quote">2012/4/6 Thierry Florac <span dir="ltr">&lt;<a href="mailto:thierry.florac@onf.fr">thierry.florac@onf.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi,<br>
<br>
Le Fri, 06 Apr 2012 11:28:34 -0400 (CDT),<br>
  Camilo &lt;<a href="mailto:cesarcamilo.cr@fecrd.cujae.edu.cu">cesarcamilo.cr@fecrd.cujae.edu.cu</a>&gt; a écrit:<br>
<div class="im"><br>
&gt; Hi, im new on this project so any help will be appreciative<br>
&gt;<br>
&gt; i´m trying to migrate a project based on th aplication server zope3<br>
&gt; to the bluebream project, but i can find anyone who has been<br>
&gt; completed yet..any sugesstions to do this???<br>
<br>
<br>
</div>I think it really depends on what Zope3 release you are using.<br>
<br>
If you are using a Zope 3.3 or 3.4 release, the main work is<br>
probably based on migrating to new ZTK packages (See, for example, this<br>
page: <a href="http://docs.zope.org/zopetoolkit/releases/overview-1.0.6.html" target="_blank">http://docs.zope.org/zopetoolkit/releases/overview-1.0.6.html</a> ;<br>
but I can&#39;t find the documentation relative to migrating from Zope-3.3<br>
to Zope-3.4...).<br>
I&#39;ve migrated several packages and applications from Zope-3.4 to<br>
last ZTK-1.1.4 without any big problem.<br>
<br>
Migrating from an older release of Zope 3 can probably be a harder<br>
work...<br>
<br>
But keep in mind also that BlueBream is actually outdated compared to<br>
last ZTK release.<br>
<br>
Regards,<br>
Thierry<br>
<span class="HOEnZb"><font color="#888888">--<br>
  Chef de projets internet/intranet<br>
  Office National des Forêts<br>
  Direction des Systèmes d&#39;Information<br>
  2, Avenue de Saint Mandé<br>
  75570 PARIS Cedex 12<br>
<br>
  Tél. : 01 40 19 59 64<br>
  Fax. : 01 40 19 59 85<br>
  Mél. : <a href="mailto:thierry.florac@onf.fr">thierry.florac@onf.fr</a><br>
  WWW  : <a href="http://www.onf.fr" target="_blank">http://www.onf.fr</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
bluebream mailing list<br>
<a href="mailto:bluebream@zope.org">bluebream@zope.org</a><br>
<a href="https://mail.zope.org/mailman/listinfo/bluebream" target="_blank">https://mail.zope.org/mailman/listinfo/bluebream</a><br>
</div></div></blockquote></div><br></div>