Hi, all.<br><br>I&#39;m deploying a site with Grok and mod_wsgi (3.3) but Im getting a problem that I could solve.<br><br>I&#39;m using a wsgi script generated with collective.recipe.modwsgi and the application is working fine with paster usging the deploy.ini profile that I&#39;m using with the wsgi script.<br>
<br>The apache configuration looks like this.<br>===============================<br>    WSGIDaemonProcess merlot user=zope group=zope threads=5<br>    WSGIScriptAlias / /srv/grok/merlot/Merlot/parts/wsgi/wsgi<br><br>    &lt;Directory /srv/grok/merlot/Merlot&gt;<br>
        WSGIProcessGroup merlot<br>        WSGIPassAuthorization On<br>        WSGIApplicationGroup %{GLOBAL}<br>        Order deny,allow<br>        Allow from all<br>    &lt;/Directory&gt;<br><br><br>Here the apache log.<br>
==================<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x] mod_wsgi (pid=31324): Target WSGI script &#39;/srv/grok/merlot/Merlot/parts/wsgi/wsgi&#39; cannot be loaded as Python module.<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x] mod_wsgi (pid=31324): Exception occurred processing WSGI script &#39;/srv/grok/merlot/Merlot/parts/wsgi/wsgi&#39;.<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x] Traceback (most recent call last):<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/parts/wsgi/wsgi&quot;, line 160, in &lt;module&gt;<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     application = loadapp(&quot;config:&quot; + configfile)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 203, in loadapp<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     return loadobj(APP, uri, name=name, **kw)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 223, in loadobj<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     global_conf=global_conf)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 247, in loadcontext<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     global_conf=global_conf)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 270, in _loadconfig<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     return loader.get_context(object_type, name, global_conf)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 397, in get_context<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     global_additions=global_additions)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 492, in _pipeline_app_context<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     APP, pipeline[-1], global_conf)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 401, in get_context<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     section)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 423, in _context_from_use<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     object_type, name=use, global_conf=global_conf)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 353, in get_context<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     global_conf=global_conf)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 247, in loadcontext<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     global_conf=global_conf)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 277, in _loadegg<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     return loader.get_context(object_type, name, global_conf)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 553, in get_context<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     object_type, name=name)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py&quot;, line 579, in find_egg_entry_point<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     possible.append((entry.load(), protocol, <a href="http://entry.name">entry.name</a>))<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/setuptools-0.6c11-py2.6.egg/pkg_resources.py&quot;, line 1954, in load<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     entry = __import__(self.module_name, globals(),globals(), [&#39;__name__&#39;])<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/grokcore.startup-1.1-py2.6.egg/grokcore/startup/__init__.py&quot;, line 15, in &lt;module&gt;<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     from grokcore.startup.startup import (application_factory,<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/grokcore.startup-1.1-py2.6.egg/grokcore/startup/startup.py&quot;, line 4, in &lt;module&gt;<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     import zope.app.wsgi<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/zope.app.wsgi-3.9.3-py2.6.egg/zope/app/wsgi/__init__.py&quot;, line 22, in &lt;module&gt;<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     import zope.processlifetime<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/zope.processlifetime-1.0-py2.6.egg/zope/processlifetime/__init__.py&quot;, line 16, in &lt;module&gt;<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     from zope.interface import Attribute<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/zope.interface-3.6.1-py2.6-linux-x86_64.egg/zope/interface/__init__.py&quot;, line 58, in &lt;module&gt;<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     _wire()<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/zope.interface-3.6.1-py2.6-linux-x86_64.egg/zope/interface/interface.py&quot;, line 805, in _wire<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     classImplements(Attribute, IAttribute)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]   File &quot;/srv/grok/merlot/Merlot/eggs/zope.interface-3.6.1-py2.6-linux-x86_64.egg/zope/interface/declarations.py&quot;, line 447, in classImplements<br>
[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x]     spec = implementedBy(cls)<br>[Tue Jan 25 18:17:35 2011] [error] [client x.x.x.x] TypeError: zope.interface.declarations.Implements is not a type<br><br><span id="result_box" class="short_text" lang="en"><span title="Click for alternate translations" class="hps">Thanks</span> <span title="Click for alternate translations" class="hps">in advance.</span></span><br>
<br>nueces...<br>