[web2py] Re: After upgrade, getting NameError name 'table' is not defined

2010-01-27 Thread MikeEllis
Thanks, Thadeus.  Replacing appadmin.py fixed it.

On Jan 27, 5:56 pm, Thadeus Burgess thade...@thadeusb.com wrote:
 Yes you should replace the appadmin files.

 There was a bug (don't remember what) with the old appadmin that was
 fixed in recent versions.

 Plus you get access to cache statistics if you have guppy heapy installed :)

 -Thadeus

 On Wed, Jan 27, 2010 at 4:44 PM, MikeEllis michael.f.el...@gmail.com wrote:
  I get the error shown in the subject of this message when I try to
  manually insert a new record into any of my tables using the built-in
  db admin interface.  The complete traceback is

  Traceback (most recent call last):
   File /Users/mellis/web2py/gluon/restricted.py, line 173, in
  restricted
     exec ccode in environment
   File /Users/mellis/web2py/applications/init/views/appadmin.html,
  line 208, in module
  NameError: name 'table' is not defined

  The error occurs when I click Insert new ... in appadmin/index.

  FWIW, I upgraded from 1.64 to the latest version a few days ago.  I
  copied the entire app to the new installation.  Do I need to replace
  any of the appadmin files?

  --
  You received this message because you are subscribed to the Google Groups 
  web2py-users group.
  To post to this group, send email to web...@googlegroups.com.
  To unsubscribe from this group, send email to 
  web2py+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/web2py?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.



Re: [web2py] Re: After upgrade, getting NameError name 'table' is not defined

2010-01-27 Thread Thadeus Burgess
Dont forget to replace teh views so you can get the cache templates

-Thadeus





On Wed, Jan 27, 2010 at 5:01 PM, MikeEllis michael.f.el...@gmail.com wrote:
 Thanks, Thadeus.  Replacing appadmin.py fixed it.

 On Jan 27, 5:56 pm, Thadeus Burgess thade...@thadeusb.com wrote:
 Yes you should replace the appadmin files.

 There was a bug (don't remember what) with the old appadmin that was
 fixed in recent versions.

 Plus you get access to cache statistics if you have guppy heapy installed :)

 -Thadeus

 On Wed, Jan 27, 2010 at 4:44 PM, MikeEllis michael.f.el...@gmail.com wrote:
  I get the error shown in the subject of this message when I try to
  manually insert a new record into any of my tables using the built-in
  db admin interface.  The complete traceback is

  Traceback (most recent call last):
   File /Users/mellis/web2py/gluon/restricted.py, line 173, in
  restricted
     exec ccode in environment
   File /Users/mellis/web2py/applications/init/views/appadmin.html,
  line 208, in module
  NameError: name 'table' is not defined

  The error occurs when I click Insert new ... in appadmin/index.

  FWIW, I upgraded from 1.64 to the latest version a few days ago.  I
  copied the entire app to the new installation.  Do I need to replace
  any of the appadmin files?

  --
  You received this message because you are subscribed to the Google Groups 
  web2py-users group.
  To post to this group, send email to web...@googlegroups.com.
  To unsubscribe from this group, send email to 
  web2py+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/web2py?hl=en.



 --
 You received this message because you are subscribed to the Google Groups 
 web2py-users group.
 To post to this group, send email to web...@googlegroups.com.
 To unsubscribe from this group, send email to 
 web2py+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/web2py?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.