2012년 6월 14일 목요일 오후 9시 4분 43초 UTC+9, Johann Spies 님의 말:
>
>
>
> On 14 June 2012 11:14, song <taesun.s...@gmail.com> wrote:
>
>> My system is debian and web2py version is  last ( manybe 
>> 1.99.7--web2py_src.zip )
>>
>> I'm  studying and there are many  mistake in my codes studied.
>>
>> But there are many poor users in the good softwares like  web2py.
>>
>> But there are some logical mistakes in reporting errors.
>>
>>
>> I met the message
>>
>> ---------------------------------------------
>>
>> Traceback (most recent call last):
>>
>>   File "/home/song/WEB2PY/web2py/gluon/restricted.py", line 205, in 
>> restricted
>>
>>     exec ccode in environment
>>
>>   File 
>> "/home/song/WEB2PY/web2py/applications/Working/views/default/index.html", 
>> line 58, in <module>
>>
>>   File "/home/song/WEB2PY/web2py/gluon/tools.py", line 1217, in navbar
>>
>>     if 'username' in self.settings.table_user.fields() and \
>>
>> AttributeError: 'NoneType' object has no attribute 'fields'
>>
>> ---------------------------------------------------------------
>>
>> And the index.html has no lines 58 andd the source models/db.py is as
>>
>>
>> The error refers to the generated index.html.  If you click on  
>
> "/home/song/WEB2PY/web2py/applications/Working/views/default/index.html" in 
> the error message
>
>  you quoted above you will see the generated file with line numbers.
>
> Were you logged in when the error occurred? 
>
> What does your controller look like (the def index()-part)?
>
> Regards
> Johann
> -- 
> Because experiencing your loyal love is better than life itself, 
> my lips will praise you.  (Psalm 63:3)
>
>
Thanks.
I'm  a  biginer at python and web2py. More and more I become familiar with 
web2py systems.
Unfortunately there are no default.py at that time, but the problems are 
solved .
I am studing the auth_user from the manual.

Thanks!!
I will become a more standardized user....

Reply via email to