I am receiving this error when I am trying to do the image app tutorial. I 
have followed it explicitly.
 I replaced all the items in the db.py, as it told me to do here

We assume the code below will replace any existing code in "db.py". 
>>>
>>>

Any ideas?

127.0.0.1.2012-03-20.23-30-09.9b3abd33-bb54-4ccd-afde-88c77d9daad5
<type 'exceptions.NameError'> name 'auth' is not defined Version  web2py™ (1, 
99, 7, datetime.datetime(2012, 3, 4, 22, 12, 8), 'stable')  Python Python 
2.7.2+: /usr/bin/python  Traceback 

1.
2.
3.
4.
5.
6.
7.

Traceback (most recent call last):
  File "/home/james/Dropbox/web2py/gluon/restricted.py", line 205, in restricted
    exec ccode in environment
  File "/home/james/Dropbox/web2py/applications/images/controllers/default.py" 
<http://127.0.0.1:8000/admin/default/edit/images/controllers/default.py>, line 
51, in <module>
    @auth.requires_signature()
NameError: name 'auth' is not defined

 Error snapshot [image: help]  

<type 'exceptions.NameError'>(name 'auth' is not defined) 

Reply via email to