<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Problem upgrading 2.0 to 2.1</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">OK, I've tried upgrading, and seem to have ironed out most kinks, except for this last one.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I can't seem to import the GS profile for MailHost, because the getUtility() call fails:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">2007-08-17 14:04:00 ERROR Zope.SiteErrorLog </FONT><A HREF="http://<hostname>:8080/manage_addProduct/ESSPortals/addConfiguredSite"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://<hostname>:8080/manage_addProduct/ESSPortals/addConfiguredSite</FONT></U></A>
<BR><FONT SIZE=2 FACE="Arial">Traceback (innermost last):</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Module ZPublisher.Publish, line 119, in publish</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Module ZPublisher.mapply, line 88, in mapply</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Module ZPublisher.Publish, line 42, in call_object</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Module Products.ESSPortals.factory, line 46, in addConfiguredSite</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Module Products.GenericSetup.tool, line 313, in runAllImportStepsFromProfile</FONT>
<BR><FONT SIZE=2 FACE="Arial"> - __traceback_info__: profile-Products.ESSPortals:atlas</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Module Products.GenericSetup.tool, line 1000, in _runImportStepsFromContext</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Module Products.GenericSetup.tool, line 966, in _doRunImportStep</FONT>
<BR><FONT SIZE=2 FACE="Arial"> - __traceback_info__: mailhost</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Module Products.CMFCore.exportimport.mailhost, line 30, in importMailHost</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Module zope.component.registry, line 137, in getUtility</FONT>
<BR><FONT SIZE=2 FACE="Arial">ComponentLookupError: (<InterfaceClass Products.MailHost.interfaces.IMailHost>, u'')</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I don't do anything special with this object. I'm using the export/import from CMFCore … I just have my own profile and XML file for it (looks like there were no changes there).</FONT></P>
<P><FONT SIZE=2 FACE="Arial">If I add a CMFDefault site, all goes well, mine, no go. I've dug around a bit to see if there are differences between the Portal objects and such, but nothing jumps out at me.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">The interfaces tab on the MailHost object does show the IMailHost interface …</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm at a loss, anyone have any ideas?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Jean-François Doyon</FONT>
<BR><FONT SIZE=2 FACE="Arial">Data Dissemination Division | Division de la diffusion des données</FONT>
<BR><FONT SIZE=2 FACE="Arial">Data Management and Dissemination Branch | Direction de la gestion et de la diffusion des données</FONT>
<BR><FONT SIZE=2 FACE="Arial">Earth Sciences Sector | Secteur des sciences de la Terre</FONT>
<BR><FONT SIZE=2 FACE="Arial">Natural Resources Canada | Ressources naturelles Canada</FONT>
<BR><FONT SIZE=2 FACE="Arial">Ottawa, Canada K1A 0E9</FONT>
<BR><FONT SIZE=2 FACE="Arial">jdoyon@nrcan-rncan.gc.ca</FONT>
<BR><FONT SIZE=2 FACE="Arial">Telephone | Téléphone 613-992-4902</FONT>
<BR><FONT SIZE=2 FACE="Arial">Facsimile | Télécopieur 613-947-2410</FONT>
<BR><FONT SIZE=2 FACE="Arial">Teletypewriter | Téléimprimeur 613-996-4397</FONT>
<BR><FONT SIZE=2 FACE="Arial">Government of Canada | Gouvernement du Canada</FONT>
</P>
</BODY>
</HTML>