Going into, design and clicking on "database administration"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web2py-wiki |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Going into, design and clicking on "database administration"
generates a error. ( I am trying to track it down now.)
Error traceback
Traceback (most recent call last):
File "/home/
restricted
exec ccode in environment
File "/home/
appadmin.html", line 146, in <module>
AttributeError: 'str' object has no attribute 'tag'
-- snip --
for tag in db(db.tag.
response.
response.
(r=request,
response.
pass
-------
> Check your sql.log - did the database get made?
yep, got the log.
and also did
$ sqlite3 storage.db
.tables
verified that all of the tables are there.
-------
auth_event auth_permission document
auth_group auth_user page
auth_membership comment tag
-------
From looking @ the code. I was thinking the same
thing... maybe the tables were not there or correct.
I can "select * from <db>", in all of the tables using
the sqlite interface directly.
>>probably some catch if there is no db's or no connections would be helpful...
there is a catch in the appadmin.html view for "no databases"
Note: If I take out line 15 - 23 of web2py_
the page will load.
Can anyone else reproduce this?
WIth a new wiki, and a new web2py I do not see this.
Let's determine where this problem is. Debug and trace - something is not set, let's determine why.