>
> *Error 1:*
>
> Traceback (most recent call last):
>   File "/home/murtyjones/app/gluon/restricted.py", line 227, in restricted
>     exec ccode in environment
>   File "/home/murtyjones/app/applications/nolabills/controllers/default.py" 
> <https://nolabills.com/admin/default/edit/nolabills/controllers/default.py>, 
> line 230, in <module>
>   File "/home/murtyjones/app/gluon/globals.py", line 417, in <lambda>
>     self._caller = lambda f: f()
>   File "/home/murtyjones/app/gluon/tools.py", line 4241, in f
>     return action(*a, **b)
>   File "/home/murtyjones/app/applications/nolabills/controllers/default.py" 
> <https://nolabills.com/admin/default/edit/nolabills/controllers/default.py>, 
> line 73, in dashboard
>     data_requests = 
> SQLFORM.grid(db(db.data_requests.company==auth.user.company),
>   File "/home/murtyjones/app/gluon/packages/dal/pydal/objects.py", line 91, 
> in __getattr__
>     raise AttributeError
> AttributeError
>
>
Is the user logged in when the above occurs? If not, auth.user will be 
None, and you therefore cannot do auth.user.company.
 

> *Error 3 (trying to logout as a user):*
>

What do you mean by "logout *as* a user"? Do you just mean you are logged 
in and doing a regular logout, or something different?

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to