that error disappeared with your fix but was replaced with new error
<type 'exceptions.AttributeError'> 'NoneType' object has no attribute 'id'
Versionweb2py™Version 2.9.12-stable+timestamp.2015.01.17.06.11.03PythonPython 
2.7.6: C:\Program Files\web2py\web2py\web2py.exe (prefix: )Traceback

1.
2.
3.
4.
5.
6.
7.
8.

Traceback (most recent call last):
  File "gluon/restricted.py", line 224, in restricted
  File "C:/Program 
Files/web2py/web2py/applications/ES1/controllers/plugin_ckeditor.py" 
<http://127.0.0.1:8000/admin/default/edit/ES1/controllers/plugin_ckeditor.py>, 
line 61, in <module>
  File "gluon/globals.py", line 393, in <lambda>
  File "C:/Program 
Files/web2py/web2py/applications/ES1/controllers/plugin_ckeditor.py" 
<http://127.0.0.1:8000/admin/default/edit/ES1/controllers/plugin_ckeditor.py>, 
line 33, in browse
    set = db(table_upload.id>0)
AttributeError: 'NoneType' object has no attribute 'id'

Error snapshot [image: help] 
<http://127.0.0.1:8000/admin/default/ticket/ES1/127.0.0.1.2015-04-18.18-37-24.ccfa7af3-9c1f-40e9-a7a2-b4eaea99095d#>

<type 'exceptions.AttributeError'>('NoneType' object has no attribute 'id')

inspect attributes
Frames
   
   - 
   
   *File C:\Program Files\web2py\web2py\gluon\restricted.py in restricted 
   at line 224* code arguments variables
   - 
   
   *File C:\Program 
   Files\web2py\web2py\applications\ES1\controllers\plugin_ckeditor.py in 
   <module> at line 61* code arguments variables
   - 
   
   *File C:\Program Files\web2py\web2py\gluon\globals.py in <lambda> at 
   line 393* code arguments variables
   - 
   
   *File C:\Program 
   Files\web2py\web2py\applications\ES1\controllers\plugin_ckeditor.py in 
   browse at line 33* code arguments variables
   Function argument list
   
   ()
   Code listing
   
   28.
   29.
   30.
   31.
   32.
   33.
   
   34.
   35.
   36.
   37.
   
   
   def browse():
       db = current.plugin_ckeditor.db
       table_upload = current.plugin_ckeditor.settings.table_upload
       browse_filter = current.plugin_ckeditor.settings.browse_filter
       set = db(table_upload.id>0)
   
       for key, val in browse_filter.items():
           if value[0] == '<':
               set = set(table_upload[key]<value[1:])
           elif value[0] == '>':
   
   Variables
   


-- 
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