TROUBLE IN Ubuntu 7.10
JAVIER VELASQUEZ GOMEZ <
heavylu@...>
2008-05-22 02:30:32 GMT
Hi everyone,
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 http://grok.zope.org/documentation/how-to/grok-orm-with-storm. 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:
Traceback (most recent call last):
File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/parts/app/runzope", line 113, in ?
zope.app.twisted.main.main()
File "/home/heavylu/buildout-eggs/tmprv2JM5/zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py", line 74, in main
File "/home/heavylu/buildout-eggs/tmprv2JM5/zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py", line 145, in setup
File "/home/heavylu/buildout-eggs/zope.app.appsetup-3.4.1-py2.4.egg/zope/app/appsetup/appsetup.py", line 111, in config
context = xmlconfig.file(file, context=context, execute=execute)
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 610, in file
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 546, in include
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 542, in end
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 690, in finish
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 546, in include
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 542, in end
File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 690, in finish
File "/home/heavylu/buildout-eggs/tmpSMHh98/grok-0.12-py2.4.egg/grok/zcml.py", line 48, in grokDirective
File "/home/heavylu/buildout-eggs/tmpSMHh98/grok-0.12-py2.4.egg/grok/zcml.py", line 53, in do_grok
File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 193, in grok_dotted_name
File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 198, in grok_package
File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 196, in grok_package
File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 201, in grok_module
File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/scan.py", line 118, in getModule
File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/scan.py", line 188, in resolve
File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/src/sinadlab/app.py", line 3, in ?
from stormcontainer import StormContainer
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/parts/app/site.zcml", line 4.0-4.30
ZopeXMLConfigurationError: File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/src/sinadlab/configure.zcml", line 5.2-5.27
ImportError: No module named stormcontainer
"/home/heavylu/Documents/personal_work/sinadlab" is my grok sandbox, then "Sinadlab" is my zopeproject... I tried installing the new version (http://pypi.python.org/pypi/nva.stormcontainer/0.2
):
~$ sudo easy_install nva.stormcontainer-0.2-py2.4.egg
But It did not help so much, the error stay the same.
I thank any direction and help someone could give me.
--
JAVIER
<div>
<p>Hi everyone,<br><br>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">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:<br><br><span>Traceback (most recent call last):</span><br><span> File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/parts/app/runzope", line 113, in ?</span><br><span> zope.app.twisted.main.main()</span><br><span> File "/home/heavylu/buildout-eggs/tmprv2JM5/zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py", line 74, in main</span><br><span> File "/home/heavylu/buildout-eggs/tmprv2JM5/zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py", line 145, in setup</span><br><span> File "/home/heavylu/buildout-eggs/zope.app.appsetup-3.4.1-py2.4.egg/zope/app/appsetup/appsetup.py", line 111, in config</span><br><span> context = xmlconfig.file(file, context=context, execute=execute)</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 610, in file</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 546, in include</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile</span><br><span> File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in parse</span><br><span> xmlreader.IncrementalParser.parse(self, source)</span><br><span> File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse</span><br><span> self.feed(buffer)</span><br><span> File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207, in feed</span><br><span> self._parser.Parse(data, isFinal)</span><br><span> File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns</span><br><span> self._cont_handler.endElementNS(pair, None)</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 542, in end</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 690, in finish</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 546, in include</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile</span><br><span> File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in parse</span><br><span> xmlreader.IncrementalParser.parse(self, source)</span><br><span> File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse</span><br><span> self.feed(buffer)</span><br><span> File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207, in feed</span><br><span> self._parser.Parse(data, isFinal)</span><br><span> File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns</span><br><span> self._cont_handler.endElementNS(pair, None)</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 542, in end</span><br><span> File "/home/heavylu/buildout-eggs/tmpGzYSG7/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 690, in finish</span><br><span> File "/home/heavylu/buildout-eggs/tmpSMHh98/grok-0.12-py2.4.egg/grok/zcml.py", line 48, in grokDirective</span><br><span> File "/home/heavylu/buildout-eggs/tmpSMHh98/grok-0.12-py2.4.egg/grok/zcml.py", line 53, in do_grok</span><br><span> File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 193, in grok_dotted_name</span><br><span> File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 198, in grok_package</span><br><span> File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 196, in grok_package</span><br><span> File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 201, in grok_module</span><br><span> File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/scan.py", line 118, in getModule</span><br><span> File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/scan.py", line 188, in resolve</span><br><span> File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/src/sinadlab/app.py", line 3, in ?</span><br><span> from stormcontainer import StormContainer</span><br><span>zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/parts/app/site.zcml", line 4.0-4.30</span><br><span> ZopeXMLConfigurationError: File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/src/sinadlab/configure.zcml", line 5.2-5.27</span><br><span> ImportError: No module named stormcontainer</span><br><br><br>"/home/heavylu/Documents/personal_work/sinadlab" 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">http://pypi.python.org/pypi/nva.stormcontainer/0.2</a>
):<br><br><br></p>
<div>
<span>~$ sudo easy_install nva.stormcontainer-0.2-py2.4.egg</span><br>
</div>
<br><br>But It did not help so much, the error stay the same.<br><br>I thank any direction and help someone could give me.<br clear="all"><br>-- <br>JAVIER
</div>