Hello,

I am new to web2py. I am trying to follow the documentation, but I
cannot get the image blog example to work. I copied the lines into the
db.py. If I select the database administration, I get the following
traceback:

Traceback (most recent call last):
  File "C:\Users\sharky\Documents\_MEINE.DATEN\Programmierung\eclipse
\web2py\gluon\restricted.py", line 173, in restricted
    exec ccode in environment
  File "C:/Users/sharky/Documents/_MEINE.DATEN/Programmierung/eclipse/
web2py/applications/images/views/appadmin.html", line 44, in <module>
    <p>{{=T('The "query" is a condition like "db.table1.field1==\'value
\'". Something like "db.table1.field1==db.table2.field2" results in a
SQL JOIN.')}}<br/>
NameError: name 'auth' is not defined

The line 44 contains:
if not auth.user:

I tried the windows version, the current hg clone and the source
version of web2py. It is always the same. What is my fault ?

--

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.


Reply via email to