It seems you have this application not installed in terms of
setuptools: run `python setup.py develop`. Paste get WSGI application
via entry point which are became active only after installing package.

On Tue, Apr 6, 2010 at 3:11 PM, Phenex <phe...@freenet.de> wrote:
> Hi,
> i am unable to run the sample application of the repoze.what pylons
> integration. I get a bunch of error from paste i do not understant what went
> went wrong. After i failed to get the new version to run (the old one hase
> problems with unicode usernames but worked fine with the rest, so i installed
> the actual one via pip), i tried it with the sample. I run Ubuntu Karmic with
> python 2.6 and all moduls in newest version inside an virtuelenv.
> I give the traceback here:
>
> (pylons)phe...@phenex-laptop:~/Programmiererung/Web/pylone-
> tests/PylonsSecuredApp$ clear; paster setup-app development.ini
> Traceback (most recent call last):
>  File "/home/phenex/.virtualenv/pylons/bin/paster", line 8, in <module>
>    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/script/command.py", line 84, in run
>    invoke(command, command_name, options, args[1:])
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/script/command.py", line 123, in invoke
>    exit_code = runner.run(args)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/script/appinstall.py", line 68, in run
>    return super(AbstractInstallCommand, self).run(new_args)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/script/command.py", line 218, in run
>    result = self.command()
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/script/appinstall.py", line 447, in command
>    conf = appconfig(config_spec, relative_to=os.getcwd())
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 215, in appconfig
>    global_conf=global_conf)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 248, in loadcontext
>    global_conf=global_conf)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 278, in _loadconfig
>    return loader.get_context(object_type, name, global_conf)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 409, in get_context
>    section)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 431, in _context_from_use
>    object_type, name=use, global_conf=global_conf)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 361, in get_context
>    global_conf=global_conf)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 248, in loadcontext
>    global_conf=global_conf)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 285, in _loadegg
>    return loader.get_context(object_type, name, global_conf)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 561, in get_context
>    object_type, name=name)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
>    pkg_resources.require(self.spec)
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/pkg_resources.py", line 666, in require
>    needed = self.resolve(parse_requirements(requirements))
>  File "/home/phenex/.virtualenv/pylons/lib/python2.6/site-
> packages/pkg_resources.py", line 565, in resolve
>    raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: PylonsSecuredApp
> ---------------------------
> Any ideas?
> (please excuse my bad english)
> _______________________________________________
> Repoze-dev mailing list
> Repoze-dev@lists.repoze.org
> http://lists.repoze.org/listinfo/repoze-dev
>



-- 
Andrey Popp

phone: +7 911 740 24 91
e-mail: 8may...@gmail.com
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to