I just made a clone of the trunk from git hub and it is giving me the same
error. However, this time I can use the normal web2py.py server and
everything is fine. Here is my setup for apache.
<ifModule wsgi_module>
#Use the virtual environment setup for python
WSGIPythonHome /Users/rhystague/repos/env
</ifModule>
<VirtualHost *:80>
ServerName airconhive.local
WSGIDaemonProcess web2py user=www
WSGIProcessGroup web2py
WSGIScriptAlias / /Users/rhystague/repos/airconhive/var/wsgihandler.py
<Directory /Users/rhystague/repos/airconhive/var>
AllowOverride None
Order Allow,Deny
Deny from all
<Files wsgihandler.py>
Allow from all
</Files>
</Directory>
AliasMatch ^/([^/]+)/static/(.*) \
/Users/rhystague//repos/airconhive//var/applications/$1/static/$2
<Directory /Users/rhystague/repos/airconhive/var/applications/*/static/>
Order Allow,Deny
Allow from all
</Directory>
<Location /admin>
Deny from all
</Location>
<LocationMatch ^/([^/]+)/appadmin>
Deny from all
</LocationMatch>
CustomLog "/opt/local/apache2/logs/airconhive-error" common
ErrorLog "/opt/local/apache2/logs/airconhive-log"
</VirtualHost>
On Wednesday, May 2, 2012 7:56:34 AM UTC+10, Rhys wrote:
>
> All I did was download the distribution zip. Unzipped it and then ran it.
> Nothing else. That is why It's gotten me stumped.
>
>
> On Tuesday, May 1, 2012 11:34:43 PM UTC+10, Massimo Di Pierro wrote:
>>
>> How did you install web2py? Did you download and unzip the distribution
>> or did you do something else?
>>
>> On Tuesday, 1 May 2012 05:57:52 UTC-5, Rhys wrote:
>>>
>>> Hi All,
>>>
>>> I've just installed the latest stable build of the framework and the
>>> Welcome app is giving me an internal error. The examples app and admin app
>>> work fine, but the welcome app is dead. I've attached the error log spat
>>> out. At first I thought it was apache, as I'm doing a virtual host with it,
>>> so I used the web2py.py server and achieved the same. I've looked at the
>>> error file spat out and all it gives me is that the module doesn't have an
>>> attribute contrib. (gluon.contrib).
>>>
>>> I'm running a virtualenv --no-site-packages and also I've installed the
>>> pysqlite package (this is the only package installed for the virtualenv).
>>> Sqlite is woking as I have a python neural network using it
>>> for experience data storage, and it working like a dream still.
>>>
>>> I would love some insight into the problem. Is it a clean fix, am I
>>> missing something? I'm building a large project witih web2py for my PhD and
>>> don't really want little hicups like this to bite me latter down the track.
>>>
>>> Cheers,
>>>
>>> Rhys
>>>
>>