<div dir="ltr"><div>Hi ,</div><div><br></div><div>When I tried installing barbican using the command bin/barbican.sh install , I got the following error : </div><div><br></div><div><b>ImportError: No module named pecan</b></div><div>Traceback (most recent call last):</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp</div><div> return loadobj(APP, uri, name=name, **kw)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj</div><div> return context.create()</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create</div><div> return self.object_type.invoke(self)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke</div><div> **context.local_conf)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call</div><div> val = callable(*args, **kw)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory</div><div> app = loader.get_app(app_name, global_conf=global_conf)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app</div><div> name=name, global_conf=global_conf).create()</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 362, in app_context</div><div> APP, name=name, global_conf=global_conf)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context</div><div> global_additions=global_additions)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context</div><div> APP, pipeline[-1], global_conf)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 458, in get_context</div><div> section)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit</div><div> value = import_string(found_expr)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 22, in import_string</div><div> return pkg_resources.EntryPoint.parse("x=" + s).load(False)</div><div> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2320, in load</div><div> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2326, in resolve</div><div> File "/root/barbican/barbican/api/__init__.py", line 22, in <module></div><div> import pecan</div><div>ImportError: No module named pecan</div><div>OOPS ! failed loading app in worker 1 (pid 27606) :( trying again...</div><div>worker respawning too fast !!! i have to sleep a bit (2 seconds)...</div><div>OOPS ! failed loading app in worker 1 (pid 27607) :( trying again...</div><div>worker respawning too fast !!! i have to sleep a bit (2 seconds)...</div><div>Respawned uWSGI worker 1 (new pid: 27608)</div><div>Respawned uWSGI worker 1 (new pid: 27609)</div><div>Loading paste environment: config:/etc/barbican/barbican-api-paste.ini</div><div>Loading paste environment: config:/etc/barbican/barbican-admin-paste.ini</div><div>Traceback (most recent call last):</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp</div><div> return loadobj(APP, uri, name=name, **kw)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 271, in loadobj</div><div> global_conf=global_conf)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext</div><div> global_conf=global_conf)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig</div><div> return loader.get_context(object_type, name, global_conf)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context</div><div> global_additions=global_additions)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context</div><div> APP, pipeline[-1], global_conf)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 458, in get_context</div><div> section)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit</div><div> value = import_string(found_expr)</div><div> File "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 22, in import_string</div><div> return pkg_resources.EntryPoint.parse("x=" + s).load(False)</div><div><br></div><div>Any help would be appreciated!</div><div>Thanks in advance !</div><div><br></div>-- <br><div class="gmail_signature"><div><em>Thanks and Regards,</em></div>
<div><em>Asha Seshagiri</em></div></div>
</div>