I believe this has been fixed. You need to copy appadmin.html and appadmin.py from the new welcome to your app (guppy?)
On Thursday, 13 December 2012 18:13:13 UTC-6, Adi wrote: > > > Just tried to use database administration on existing tables... > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > > Traceback (most recent call last): > File "/Users/adnan/web2py209/gluon/restricted.py", line 212, in restricted > exec ccode in environment > File > "/Users/adnan/web2py209/applications/dev_thanemobile/views/appadmin.html" > <http://127.0.0.1:8000/admin/default/edit/dev_thanemobile/views/appadmin.html>, > line 141, in <module> > {{=T.M("**not available** (requires the Python [[guppy > http://pypi.python.org/pypi/guppy/ popup]] library)")}} > NameError: name 'tb' is not defined > > > > > 132. > 133. > 134. > 135. > 136. > 137. > 138. > 139. > 140. > 141. > > 142. > 143. > 144. > 145. > 146. > 147. > 148. > 149. > 150. > 151. > > response.write('\n </td>\n </tr>\n ', escape=False) > pass > response.write('\n ', escape=False) > pass > response.write('\n</table>\n\n', escape=False) > elif request.function=='select': > response.write('\n <h2>', escape=False) > response.write(XML(str(T("Database %s > select"))%A(request.args[0],_href=URL('index')))) > response.write('\n </h2>\n ', escape=False) > if tb: > > response.write('\n <h3>', escape=False) > response.write(T('Traceback')) > response.write('</h3>\n <pre>\n ', escape=False) > response.write(tb) > response.write('\n </pre>\n ', escape=False) > pass > response.write('\n ', escape=False) > if table: > response.write('\n ', escape=False) > response.write(A(str(T('New > Record')),_href=URL('insert',args=[request.args[0],table]),_class="btn")) > > > --