Note that there are some explanatory texts on larger screens.

plurals
  1. PO"ImportError: No module named ekeet.models" When setting up Pylons with mongokit
    primarykey
    data
    text
    <p>I tried setting up a default pylons project to use mongokit as directed here: <a href="http://namlook.github.com/mongokit/pylons.html" rel="nofollow">http://namlook.github.com/mongokit/pylons.html</a></p> <p>However it gives me the error:</p> <pre><code>&gt;Traceback (most recent call last): File "/usr/bin/paster", line 18, in &gt;command.run() File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run &gt;invoke(command, command_name, options, args[1:]) File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke &gt;exit_code = runner.run(args) File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run &gt;result = self.command() File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command &gt;relative_to=base, global_conf=vars) File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp &gt;**kw) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp &gt;return loadobj(APP, uri, name=name, **kw) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj &gt;global_conf=global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext &gt;global_conf=global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig &gt;return loader.get_context(object_type, name, global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context &gt;section) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use &gt;object_type, name=use, global_conf=global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context &gt;global_conf=global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext &gt;global_conf=global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg &gt;return loader.get_context(object_type, name, global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context &gt;object_type, name=name) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 587, in find_egg_entry_point &gt;possible.append((entry.load(), protocol, entry.name)) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1954, in load &gt;entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/home/ciferkey/Projects/runnr-site/runnrsite/config/middleware.py", line 11, in &gt;from runnrsite.config.environment import load_environment File "/home/ciferkey/Projects/runnr-site/runnrsite/config/environment.py", line 8, in &gt;import runnrsite.lib.app_globals as app_globals File "/home/ciferkey/Projects/runnr-site/runnrsite/lib/app_globals.py", line 2, in &gt;from ekeet.models import register_models &gt;ImportError: No module named ekeet.models </code></pre> <p>I haven't been able to find any help anywhere else or even what the module ekeet is. Why might this be happening?</p> <p>Edit: I figured it out. that must have been the name of the pylons project used in the tutorial. ekeet.modules should really be what ever module you put the register_model in. I wont be so quick to ask next time!</p>
    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.
    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