Can you show what is in

applications/oprep/models/db.py

On Jan 9, 2:59 pm, Jeff Bauer <[email protected]> wrote:
> Error attempting the example on page 125 of the
> new web2py manual:
>
>  >>> from gluon.shell import exec_environment
>  >>> oprep = exec_environment('applications/oprep/models/db.py')
> Traceback (most recent call last):
>    File "<input>", line 1, in <module>
>    File "gluon/shell.py", line 62, in exec_environment
>      execfile(pyfile, env)
>    File "applications/oprep/models/db.py", line 17, in <module>
>      auth=Auth(globals(),db)                      #
> authentication/authorization
>    File "gluon/tools.py", line 540, in __init__
>      self.settings.login_url = self.url('user', args='login')
>    File "gluon/tools.py", line 500, in url
>      f=f, args=args, vars=vars)
>    File "gluon/html.py", line 173, in URL
>      raise SyntaxError, 'not enough information to build the url'
> SyntaxError: not enough information to build the url
>  >>>
>
> I'm using the current version 1.74.5 of web2py.
>
> Jeff Bauer
> Rubicon, Inc.
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to