Glen Richards | 16 May 2008 03:46
Favicon

Relationships Across Multiple Databases

Hi,

I have a use-case where I need to query across 2 separate databases.

Database 1 is the backend of a CRM web-app that we use, but do not 
develop.  Database 2 is the backend of a lic-issuing-app that we 
maintain ourselves.

The same db server hosts both databases.

Database 2 tables have foreign keys to database 1.  Eg, an order in the 
lic-issuing-db has an associated account in the crm-db.

Hard-coding the SQL, I have no problems querying across the 2 databases.

I note on the Storm front page:

"Storm works very well connecting to several databases and using the 
same Python types (or different ones) with all of them."

I assumed that this meant my use-case above would be supported.  Or is 
it referring to replicated databases?

Am I dreaming thinking an ORM, specifically Storm, would be able to 
handle my use-case?

If my use-case is do-able, can I get some tips?  Ie, How can I tell a 
Store about my other database.

Kind regards,
(Continue reading)

Leonardo Rochael Almeida | 16 May 2008 16:41
Picon
Gravatar

Re: Relationships Across Multiple Databases

Completely off the cuff and unverified: maybe you can use your
database syntax for cross db table referencing in the __storm_table__
attribute?

Something like:

class CRMThingie:

    __grok_table__ = "CRMdb.sometable"
    [...]

class LicIssuingThingie:

    __grok_table__ = "lic_issuing_db.othertable"
    [...]

Cheers, Leo

On Thu, May 15, 2008 at 10:46 PM, Glen Richards <g.richards@...> wrote:
> Hi,
>
> I have a use-case where I need to query across 2 separate databases.
>
> Database 1 is the backend of a CRM web-app that we use, but do not
> develop.  Database 2 is the backend of a lic-issuing-app that we
> maintain ourselves.
>
> The same db server hosts both databases.
>
> Database 2 tables have foreign keys to database 1.  Eg, an order in the
(Continue reading)

Gustavo Niemeyer | 16 May 2008 22:38
Favicon
Gravatar

Re: Relationships Across Multiple Databases

Hi Glen,

> Am I dreaming thinking an ORM, specifically Storm, would be able to 
> handle my use-case?

Storm doesn't implement automatic handling of foreign keys across 
databases.  What Storm does very well is not getting on your way when
you want to use multiple databases, even when the same Python classes
are used to fetch objects out of them (e.g. you have Person objects
on all of the databases).

That's what the statement in the front page was referring to.  Storm
was born specifically with this use case in mind.  In Landscape, the
application that Storm was originally created to support, we have
several different databases, and some of them have the same schema 
("horizontal partitioning", "sharding", pick your buzzword).

> If my use-case is do-able, can I get some tips?  Ie, How can I tell a 
> Store about my other database.

Each Store will represent a different database.  We can provide more
details if you're still interested, and have additional questions.

--

-- 
Gustavo Niemeyer
http://niemeyer.net

JAVIER VELASQUEZ GOMEZ | 22 May 2008 04:30
Picon

TROUBLE IN Ubuntu 7.10

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>.&nbsp; 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>&nbsp; File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/parts/app/runzope", line 113, in ?</span><br><span>&nbsp;&nbsp;&nbsp; zope.app.twisted.main.main()</span><br><span>&nbsp; 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>&nbsp; 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>&nbsp; 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>&nbsp;&nbsp;&nbsp; context = xmlconfig.file(file, context=context, execute=execute)</span><br><span>&nbsp; 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>&nbsp; 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>&nbsp; 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>&nbsp; File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in parse</span><br><span>&nbsp;&nbsp;&nbsp; xmlreader.IncrementalParser.parse(self, source)</span><br><span>&nbsp; File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse</span><br><span>&nbsp;&nbsp;&nbsp; self.feed(buffer)</span><br><span>&nbsp; File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207, in feed</span><br><span>&nbsp;&nbsp;&nbsp; self._parser.Parse(data, isFinal)</span><br><span>&nbsp; File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns</span><br><span>&nbsp;&nbsp;&nbsp; self._cont_handler.endElementNS(pair, None)</span><br><span>&nbsp; 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>&nbsp; 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>&nbsp; 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>&nbsp; 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>&nbsp; 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>&nbsp; File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in parse</span><br><span>&nbsp;&nbsp;&nbsp; xmlreader.IncrementalParser.parse(self, source)</span><br><span>&nbsp; File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse</span><br><span>&nbsp;&nbsp;&nbsp; self.feed(buffer)</span><br><span>&nbsp; File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207, in feed</span><br><span>&nbsp;&nbsp;&nbsp; self._parser.Parse(data, isFinal)</span><br><span>&nbsp; File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns</span><br><span>&nbsp;&nbsp;&nbsp; self._cont_handler.endElementNS(pair, None)</span><br><span>&nbsp; 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>&nbsp; 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>&nbsp; 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>&nbsp; File "/home/heavylu/buildout-eggs/tmpSMHh98/grok-0.12-py2.4.egg/grok/zcml.py", line 48, in grokDirective</span><br><span>&nbsp; File "/home/heavylu/buildout-eggs/tmpSMHh98/grok-0.12-py2.4.egg/grok/zcml.py", line 53, in do_grok</span><br><span>&nbsp; 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>&nbsp; File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 198, in grok_package</span><br><span>&nbsp; File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 196, in grok_package</span><br><span>&nbsp; File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/core.py", line 201, in grok_module</span><br><span>&nbsp; File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/scan.py", line 118, in getModule</span><br><span>&nbsp; File "/home/heavylu/buildout-eggs/tmphUQ1dX/martian-0.9.3-py2.4.egg/martian/scan.py", line 188, in resolve</span><br><span>&nbsp; File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/src/sinadlab/app.py", line 3, in ?</span><br><span>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp; ZopeXMLConfigurationError: File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/src/sinadlab/configure.zcml", line 5.2-5.27</span><br><span>&nbsp;&nbsp;&nbsp; ImportError: No module named stormcontainer</span><br><br><br>"/home/heavylu/Documents/personal_work/sinadlab" is my grok sandbox, then "Sinadlab" is my zopeproject...&nbsp; 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>
Tim Terlegård | 22 May 2008 12:35
Picon
Favicon

Re: TROUBLE IN Ubuntu 7.10

On May 22, 2008, at 4:30 AM, JAVIER VELASQUEZ GOMEZ wrote:

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:

...

    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

In your setup.py you should add nva.stormcontainer to install_requires. After
that you'll have to rerun buildout as I suspect you're using it.

And then you will have to modify "from stormcontainer import StormContainer"
to "from nva.stormcontainer import StormContainer".

/Tim
<div>
<div>On May 22, 2008, at 4:30 AM, JAVIER VELASQUEZ GOMEZ wrote:</div>
<br class="Apple-interchange-newline"><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">http://grok.zope.org/documentation/how-to/grok-orm-with-storm</a>.&nbsp; 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>
<br><blockquote type="cite">
<span>&nbsp;&nbsp; &nbsp;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>&nbsp;&nbsp;&nbsp; ZopeXMLConfigurationError: File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/src/sinadlab/configure.zcml", line 5.2-5.27</span><br><span>&nbsp;&nbsp;&nbsp; ImportError: No module named stormcontainer</span><br><br><br>"/home/heavylu/Documents/personal_work/sinadlab" is my grok sandbox, then "Sinadlab" is my zopeproject...&nbsp; 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><div>
<span>~$ sudo easy_install nva.stormcontainer-0.2-py2.4.egg</span><br>
</div>
</blockquote>
</div>
<br><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>
<div>/Tim</div>
</div>
JAVIER VELASQUEZ GOMEZ | 23 May 2008 00:22
Picon

Re: TROUBLE IN Ubuntu 7.10

Hi,

I did what you said and now zope runs smoothly, many thanks  indeed.

On Thu, May 22, 2008 at 5:35 AM, Tim Terlegård <tim.terlegard-2crrJmUhFPy59Ll3EMQreG82gG5imu+G@public.gmane.org> wrote:
On May 22, 2008, at 4:30 AM, JAVIER VELASQUEZ GOMEZ wrote:
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:

...

    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

In your setup.py you should add nva.stormcontainer to install_requires. After
that you'll have to rerun buildout as I suspect you're using it.

And then you will have to modify "from stormcontainer import StormContainer"
to "from nva.stormcontainer import StormContainer".

/Tim



--
JAVIER VELÁSQUEZ GÓMEZ
Ing. Electrónico
Universidad Nacional de Colombia, Bogotá
Cel. 300-3850753
<div>
<p>Hi,<br><br>I did what you said and now zope runs smoothly, many thanks&nbsp; indeed. <br><br></p>
<div class="gmail_quote">On Thu, May 22, 2008 at 5:35 AM, Tim Terleg&aring;rd &lt;<a href="mailto:tim.terlegard <at> valentinewebsystems.se" target="_blank">tim.terlegard@...</a>&gt; wrote:<br><blockquote class="gmail_quote"><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>.&nbsp; 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">
<span>&nbsp;&nbsp; &nbsp;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>&nbsp;&nbsp;&nbsp; ZopeXMLConfigurationError: File "/home/heavylu/Documents/personal_work/sinadlab/Sinadlab/src/sinadlab/configure.zcml", line 5.2-5.27</span><br><span>&nbsp;&nbsp;&nbsp; ImportError: No module named stormcontainer</span><br><br><br>"/home/heavylu/Documents/personal_work/sinadlab" is my grok sandbox, then "Sinadlab" is my zopeproject...&nbsp; 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>
<span>~$ sudo easy_install nva.stormcontainer-0.2-py2.4.egg</span><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>
<div>/Tim</div>
</div></blockquote>
</div>
<br><br clear="all"><br>-- <br>JAVIER VEL&Aacute;SQUEZ G&Oacute;MEZ<br>Ing. Electr&oacute;nico<br>Universidad Nacional de Colombia, Bogot&aacute;<br>Cel. 300-3850753
</div>

Gmane