[storm] TROUBLE IN Ubuntu 7.10

JAVIER VELASQUEZ GOMEZ heavylu at gmail.com
Thu May 22 03:30:32 BST 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20080521/6b355aaa/attachment.htm 


More information about the storm mailing list