Hi,<br><br>I did what you said and now zope runs smoothly, many thanks indeed. <br><br><div class="gmail_quote">On Thu, May 22, 2008 at 5:35 AM, Tim Terlegård <<a href="mailto:tim.terlegard@valentinewebsystems.se" target="_blank">tim.terlegard@valentinewebsystems.se</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div>On May 22, 2008, at 4:30 AM, JAVIER VELASQUEZ GOMEZ wrote:<br>
<blockquote type="cite">I'm just starting to work with stormcontainer (in fact I'm really new to zope and grok), then I followed a short tutorial published in <a href="http://grok.zope.org/documentation/how-to/grok-orm-with-storm" target="_blank">http://grok.zope.org/documentation/how-to/grok-orm-with-storm</a>. I was stuck to all the directions (I just used "Sinadlab" instead of "contacts") and when I tried to start zope it crashed with the following error stack:</blockquote>
<div><br></div></div>...</div><div><div><br><blockquote type="cite"><font size="1"><span style="font-family: courier new,monospace;"> from stormcontainer import StormContainer</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/parts/app/site.zcml", line 4.0-4.30</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ZopeXMLConfigurationError: File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/src/sinadlab/configure.zcml", line 5.2-5.27</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ImportError: No module named stormcontainer</span><br style="font-family: courier new,monospace;"></font><br><br><font style="font-family: times new roman,serif;" size="2">"/home/heavylu/Documents/personal_work/sinadlab"</font> is my grok sandbox, then "Sinadlab" is my zopeproject... I tried installing the new version (<a href="http://pypi.python.org/pypi/nva.stormcontainer/0.2" rel="nofollow" target="_blank">http://pypi.python.org/pypi/nva.stormcontainer/0.2</a> ):<br>
<br><br><div style="text-align: left;"><font size="1"><span style="font-family: courier new,monospace;">~$ sudo easy_install nva.stormcontainer-0.2-py2.4.egg</span></font><br></div></blockquote></div><br></div><div>In your setup.py you should add nva.stormcontainer to install_requires. After</div>
<div>that you'll have to rerun buildout as I suspect you're using it.</div><div><br></div><div>And then you will have to modify "from stormcontainer import StormContainer"</div><div>to "from nva.stormcontainer import StormContainer".</div>
<div><br></div><font color="#888888"><div>/Tim</div></font></div></blockquote></div><br><br clear="all"><br>-- <br>JAVIER VELÁSQUEZ GÓMEZ<br>Ing. Electrónico<br>Universidad Nacional de Colombia, Bogotá<br>Cel. 300-3850753