I upgraded a working Pylons 0.9.7 app to the new semantics from Pylons 1.0
(via pip install pylons==dev).

When I try to run the appserver, I get a traceback:

$ paster serve --reload localpylons.ini
Traceback (most recent call last):
  File "/home/work/Mayhem/web/pylonsve/bin/paster", line 9, in <module>
    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
  File
"/home/work/Mayhem/web/pylonsve/lib/python2.5/site-packages/paste/script/command.py",
line 73, in run
    commands = get_commands()
  File
"/home/work/Mayhem/web/pylonsve/lib/python2.5/site-packages/paste/script/command.py",
line 115, in get_commands
    plugins = pluginlib.resolve_plugins(plugins)
  File
"/home/work/Mayhem/web/pylonsve/lib/python2.5/site-packages/paste/script/pluginlib.py",
line 81, in resolve_plugins
    pkg_resources.require(plugin)
  File
"/home/work/Mayhem/web/pylonsve/lib/python2.5/site-packages/distribute-0.6.8-py2.5.egg/pkg_resources.py",
line 633, in require
    needed = self.resolve(parse_requirements(requirements))
  File
"/home/work/Mayhem/web/pylonsve/lib/python2.5/site-packages/distribute-0.6.8-py2.5.egg/pkg_resources.py",
line 531, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: Not Found: Pylons-0.9.7-py2.5 (did you
run python setup.py develop?)

I most certainly did setup.py develop.

Grepping for "0.9.7" in the site-packages in my virtual env only finds
instances in various doc files.

If I move the "Pylons-0.9.7-py2.5.egg-info" back into my site-packages (but
leave the actual pylons module at the dev tip) then my app will launch.

Obviously, some library somewhere is requiring exactly the 0.9.7 egg, but
the traceback is SO BAD that I can't even tell what library is looking for
that version pf Pylons (XXX put more info here).

I'm developing again, but I don't like that cruft in my site-packages...
does anyone have a clue on what might be stubborn about the Pylons version?
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to