Hello!
I am trying to deploy on a Centos 5.5 using Apache and mod_wsgi but
I get following error:
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] mod_wsgi
(pid=2303): Target WSGI script '/usr/src/tg2env/ceaf/apache/ceaf.wsgi'
cannot be loaded as Python module.
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] mod_wsgi
(pid=2303): Exception occurred processing WSGI script '/usr/src/tg2env/
ceaf/apache/ceaf.wsgi'.
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] Traceback
(most recent call last):
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/ceaf/apache/ceaf.wsgi", line 73, in ?
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211]
application = loadapp('config:/usr/src/tg2env/ceaf/production.ini')
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 204, in loadapp
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] return
loadobj(APP, uri, name=name, **kw)
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 224, in loadobj
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211]
global_conf=global_conf)
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 248, in loadcontext
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211]
global_conf=global_conf)
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 278, in _loadconfig
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] return
loader.get_context(object_type, name, global_conf)
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 409, in get_context
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211]
section)
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 430, in _context_from_use
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] context
= self.get_context(
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 361, in get_context
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211]
global_conf=global_conf)
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 248, in loadcontext
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211]
global_conf=global_conf)
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 285, in _loadegg
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] return
loader.get_context(object_type, name, global_conf)
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 560, in get_context
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211]
entry_point, protocol, ep_name = self.find_egg_entry_point(
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/
paste/deploy/loadwsgi.py", line 587, in find_egg_entry_point
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211]
possible.append((entry.load(), protocol, entry.name))
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
pkg_resources.py", line 1954, in load
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] entry =
__import__(self.module_name, globals(),globals(), ['__name__'])
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/ceaf/ceaf/config/middleware.py", line 4, in ?
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] from
ceaf.config.app_cfg import base_config
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/ceaf/ceaf/config/app_cfg.py", line 19, in ?
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] from
ceaf import model
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/ceaf/ceaf/model/__init__.py", line 4, in ?
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] from
zope.sqlalchemy import ZopeTransactionExtension
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/zope.sqlalchemy-0.6.1-
py2.4.egg/zope/sqlalchemy/__init__.py", line 17, in ?
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] from
datamanager import ZopeTransactionExtension, mark_changed
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/zope.sqlalchemy-0.6.1-
py2.4.egg/zope/sqlalchemy/datamanager.py", line 15, in ?
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] import
transaction as zope_transaction
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/transaction-1.1.1-py2.4.egg/
transaction/__init__.py", line 19, in ?
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] from
transaction._transaction import Transaction
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] File "/
usr/src/tg2env/lib/python2.4/site-packages/transaction-1.1.1-py2.4.egg/
transaction/_transaction.py", line 112, in ?
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211] from
transaction import interfaces
[Sat Mar 05 02:36:06 2011] [error] [client 79.147.127.211]
ImportError: cannot import name interfaces
Does anyone know where the problem could be?
Regards
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
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/turbogears?hl=en.