Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing Storm: ImportError: No module named local
    primarykey
    data
    text
    <p>As stated in the Storm documentation, I am doing the following to import the necessary symbols for using Storm:</p> <pre><code>from storm.locals import * </code></pre> <p>I'm using it alongside with Pylons, and storm is indeed installed as an egg in the virtual Python environment which Pylon setup for me, and it also searches the correct paths.</p> <p>However, when the import code above is evaluated, the following exception is being thrown:</p> <blockquote> <p>ImportError: No module named local</p> </blockquote> <p>But I'm not explicitly including anything from a module named 'local', but 'locals'.</p> <p><strong>Update (traceback)</strong></p> <pre><code>URL: http://localhost:5000/characters/index File '/home/andy/pylon-env/lib/python2.6/site-packages/WebError-0.10.1-py2.6.egg/weberror/evalexception.py', line 431 in respond app_iter = self.application(environ, detect_start_response) File '/home/andy/pylon-env/lib/python2.6/site-packages/Beaker-1.3.1-py2.6.egg/beaker/middleware.py', line 70 in __call__ return self.app(environ, start_response) File '/home/andy/pylon-env/lib/python2.6/site-packages/Beaker-1.3.1-py2.6.egg/beaker/middleware.py', line 149 in __call__ return self.wrap_app(environ, session_start_response) File '/home/andy/pylon-env/lib/python2.6/site-packages/Routes-1.10.3-py2.6.egg/routes/middleware.py', line 130 in __call__ response = self.app(environ, start_response) File '/home/andy/pylon-env/lib/python2.6/site-packages/Pylons-0.9.7-py2.6.egg/pylons/wsgiapp.py', line 124 in __call__ controller = self.resolve(environ, start_response) File '/home/andy/pylon-env/lib/python2.6/site-packages/Pylons-0.9.7-py2.6.egg/pylons/wsgiapp.py', line 263 in resolve return self.find_controller(controller) File '/home/andy/pylon-env/lib/python2.6/site-packages/Pylons-0.9.7-py2.6.egg/pylons/wsgiapp.py', line 284 in find_controller __import__(full_module_name) File '/home/andy/projects/evecharacters/evecharacters/controllers/characters.py', line 9 in &lt;module&gt; from storm.local import * ImportError: No module named local </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload