-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Phenex 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?
I just tried to reprodue this in a clean virtualenv: $ uname -a Linux scout 2.6.28-18-generic #60-Ubuntu SMP Fri Mar 12 04:40:52 UTC\ 2010 i686 GNU/Linux $ /opt/Python-2.6.5/bin/virtualenv --no-site-packages \ --unzip-setuptools /tmp/phenex New python executable in /tmp/phenex/bin/python Installing setuptools.............done. $ cd /tmp/phenex $ bin/easy_install Pylons repoze.what .... Finished processing dependencies for repoze.what $ mkdir src $ cd src $ ../bin/paster create -t pylons phenex ... Copying templates/default_project/test.ini_tmpl to ./phenex/test.ini Running /tmp/phenex/bin/python setup.py egg_info $ cd phenex $ ../../bin/paster setup-app development.ini Running setup_config() from phenex.websetup Until sometime last week, the released version of repoze.what (1.0.8) was incomptible with the latest repoze.who releast (2.0a2). The currently released repoze.what (1.0.9) now pins repoze.who (effectively to the last 1.0.x release). Can you try upgrading repoze.what, which should then downgrade repoze.who, and see if it makes your problem go away? Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvDbvoACgkQ+gerLs4ltQ4HNACfeCanfVsvuiH7QGmq5mBH9pRR Uq0AnjiokCBVBPZz1U7UDfsrNw4cfsUI =Wvg4 -----END PGP SIGNATURE----- _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev