any suggestions for figuring out what line of code is causing the error?

field "displayName" is used in many places and hard to analyze

thanks

Alex Glaros

Error ticket for "ES1"
Ticket ID

127.0.0.1.2014-12-22.15-46-50.434cb922-6ec2-438c-a158-c2a710eafc0c

<type 'exceptions.AttributeError'> 'Table' object has no attribute 
'displayName'
Version  
    
web2py™Version 2.9.11-stable+timestamp.2014.09.15.23.35.11PythonPython 2.7.6
: C:\alex\web2py\web2py\web2py\web2py.exe (prefix: C:\Python27)

Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.

Traceback (most recent call last):
  File "gluon/restricted.py", line 224, in restricted
  File "C:/alex/web2py/web2py/web2py/applications/ES1/controllers/appadmin.py" 
<http://127.0.0.1:8000/admin/default/edit/ES1/controllers/appadmin.py>, line 
464, in <module>
  File "gluon/globals.py", line 392, in <lambda>
  File "C:/alex/web2py/web2py/web2py/applications/ES1/controllers/appadmin.py" 
<http://127.0.0.1:8000/admin/default/edit/ES1/controllers/appadmin.py>, line 
297, in update
    f='download', args=request.args[:1]))
  File "gluon/sqlhtml.py", line 1222, in __init__
  File "gluon/sqlhtml.py", line 285, in widget
  File "gluon/validators.py", line 579, in options
  File "gluon/validators.py", line 555, in build_set
  File "gluon/dal.py", line 9110, in __getitem__
AttributeError: 'Table' object has no attribute 'displayName'


Error snapshot

    [image: help]
    
<http://127.0.0.1:8000/admin/default/ticket/ES1/127.0.0.1.2014-12-22.15-46-50.434cb922-6ec2-438c-a158-c2a710eafc0c#>

    <type 'exceptions.AttributeError'>('Table' object has no attribute 
'displayName')
  


    inspect attributes
Frames

   -       
   
         *File C:\alex\web2py\web2py\web2py\gluon\restricted.py in 
   restricted at line 224*
         code
         arguments
         variables   
       
   - 
         
   
         *File 
   C:\alex\web2py\web2py\web2py\applications\ES1\controllers\appadmin.py in 
   <module> at line 464*
         code
         arguments
         variables
      
      
   - 
         
   
         *File C:\alex\web2py\web2py\web2py\gluon\globals.py in <lambda> at 
   line 392*
         code
         arguments
         variables
       
      Code listing   
   - 
         
   
   
         *File 
   C:\alex\web2py\web2py\web2py\applications\ES1\controllers\appadmin.py in 
   update at line 297*
         code
         arguments
         variables
       
         Code listing
         
         
   
   292.
   293.
   294.
   295.
   296.
   297.
   
   298.
   299.
   300.
   301.
   
       form = SQLFORM(
           db[table], record, deletable=True, delete_label=T('Check to delete'),
           ignore_rw=ignore_rw and not keyed,
           linkto=URL('select',
                      args=request.args[:1]), upload=URL(r=request,
                                                         f='download', 
args=request.args[:1]))
   
   
       if form.accepts(request.vars, session):
           session.flash = T('done!')
           qry = query_by_table_type(table, db)
   
   


-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to