1st run failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahana-Eden |
Fix Released
|
Low
|
Unassigned |
Bug Description
Release Version:
Sahana Eden 0.5.4
Source of Download:
http://
Operating System:
ubuntu 10.04
Firefox 3.6.15
Database Environment:
Database: mysql-server 5.1.41
Web Server: apache2 2.2.14
libapache2-mod-wsgi 2.8-2
Python 2.6.5-1
Web2Py 1.94.4
Steps:
1) create the empty Sahana database
2) access https:/
3) edit models/
4) access http://
Result:
Internal error
Ticket issued
Traceback (most recent call last):
File "/home/
exec ccode in environment
File "/home/
cluster_shelter = db(db.org_
AttributeError: 'NoneType' object has no attribute 'id'
Changed in sahana-eden: | |
status: | Fix Committed → Fix Released |
I am unable to reproduce this.
I downloaded the .w2p file fresh, imported it & ran it - both with default sqlite & by switching to MySQL with a fresh MySQL db & all works smoothly here.
MySQL 5.1.51 on Windows 7
Web2Py r3122
I couldn't reach the test site you quote to verify there.
However I don't believe that this is an issue at all.
What changes did you make to 000_config?
Perhaps you disabled a module which didn't have a catch in 1st_run?
- I seem to remember fixing a bug in this area within the last month, so suspect that is the issue.
In general I would suggest running current Trunk as opposed to a snapshot