What's wrong with the grid?

On Wednesday, 22 August 2012 23:52:01 UTC-5, Simon Ashley wrote:
>
> Noted and confirmed. 
> Must be a different issue. 
> Will investigate further and raise on a new thread. 
>
> The current situation is that the application/ grid works fine on a trunk 
> from 2012-07-21 but not on anything from the last few days.
>
>
> On Thursday, 23 August 2012 10:30:20 UTC+10, Massimo Di Pierro wrote:
>>
>> works with current trunk:
>>
>> $ python web2py.py -S welcome -M -N
>> >>> db['auth_user']
>> <Table {...}>
>>
>>
>> On Wednesday, 22 August 2012 19:07:13 UTC-5, Simon Ashley wrote:
>>>
>>> It helps, but it seems like a change in trunk causes the error. 
>>> Have rolled back to an earlier version 7/21 version
>>>
>>> On Wednesday, 22 August 2012 22:07:43 UTC+10, villas wrote:
>>>>
>>>> With regards the grid,  this parameter may help:  
>>>> user_signature=False
>>>>
>>>>
>>>> On Wednesday, August 22, 2012 8:00:25 AM UTC+1, Simon Ashley wrote:
>>>>>
>>>>> Getting the following error on the latest nightly build. (have just 
>>>>> downloaded again to make sure). Is this related? 
>>>>>
>>>>> TRACEBACK
>>>>>
>>>>> 1.
>>>>> 2.
>>>>> 3.
>>>>> 4.
>>>>> 5.
>>>>> 6.
>>>>> 7.
>>>>> 8.
>>>>> 9.
>>>>> 10.
>>>>> 11.
>>>>> 12.
>>>>>
>>>>> Traceback (most recent call last):
>>>>>   File "c:\web2py4\gluon\restricted.py", line 205, in restricted
>>>>>     exec ccode in environment
>>>>>   File "c:/web2py4/applications/crm05/controllers/lookup.py" 
>>>>> <http://127.0.0.1:8000/admin/default/edit/crm05/controllers/lookup.py>, 
>>>>> line 68, in <module>
>>>>>   File "c:\web2py4\gluon\globals.py", line 182, in <lambda>
>>>>>     self._caller = lambda f: f()
>>>>>   File "c:/web2py4/applications/crm05/controllers/lookup.py" 
>>>>> <http://127.0.0.1:8000/admin/default/edit/crm05/controllers/lookup.py>, 
>>>>> line 4, in Jockey
>>>>>     grid=SQLFORM.grid(query, paginate=10 )
>>>>>   File "c:\web2py4\gluon\sqlhtml.py", line 1633, in grid
>>>>>     (not auth.user and \
>>>>> NameError: global name 'auth' is not defined
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>

-- 



Reply via email to