Hi all,
I wanted to put a small Pyramid app on the production server with mod_wsgi.
Development took place inside a virtual environment. As a quick deploy, I 
tarred the whole thing and copied it onto the production server. 
Unfortunately, Apache throws an error and the log says:

[...] 

  File 
"/home/www-sites/Pyramid/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", 
line 328, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File 
"/home/www-sites/Pyramid/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", 
line 620, in get_context
    object_type, name=name)
  File 
"/home/www-sites/Pyramid/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", 
line 640, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File 
"/home/www-sites/Pyramid/lib/python2.6/site-packages/pkg_resources.py", line 
686, in require
    needed = self.resolve(parse_requirements(requirements))
  File 
"/home/www-sites/Pyramid/lib/python2.6/site-packages/pkg_resources.py", line 
584, in resolve
    raise DistributionNotFound(req)
DistributionNotFound: Pharaoh 

Using the same httpd.conf on the development machine works.

Did the copying miss sth.?

KR, Dirk

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/aU1scGdOZEF4djhK.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to