Traceback (most recent call last): File "gluon/restricted.py", line 224, in restricted File "C:/alex/web2py/web2py/web2py/applications/ES1/models/db.py", line 56, in <module> ckeditor.define_tables() File "applications\ES1\modules\plugin_ckeditor.py", line 69, in define_tables minsize=self.settings.file_length_min),AttributeError: 'NoneType' object has no attribute 'upload'from plugin_ckeditor import CKEditorckeditor = CKEditor(db)ckeditor.define_tables() ## here is my line # 56ckeditor.settings.url_upload = URL(request.app, 'plugin_ckeditor', 'upload', extension='html')ckeditor.settings.url_browse = URL(request.app, 'plugin_ckeditor', 'browse', extension='html')from plugin_ckeditor import CKEditorckeditor = CKEditor(db)ckeditor.define_tables()ckeditor.settings.url_upload = URL(request.app, 'plugin_ckeditor', 'upload', extension='html')ckeditor.settings.url_browse = URL(request.app, 'plugin_ckeditor', 'browse', extension='html')
auth.settings.extra_fields['auth_user']= [ Field('summarySelfDescription','text', widget=ckeditor.widget),
Anthony,editor already only defined in field, but error persists.
if plugin code is not compatible with lazy tables, should should someone report a bug or make fix request?
<type 'exceptions.AttributeError'> 'NoneType' object has no attribute 'id'
Version
web2py™ Version 2.9.12-stable+timestamp.2015.01.17.06.11.03 Python Python 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", line 61, in <module>
File "gluon/globals.py", line 393, in <lambda>
File "C:/Program Files/web2py/web2py/applications/ES1/controllers/plugin_ckeditor.py", line 33, in browse
set = db(table_upload.id>0)
AttributeError: 'NoneType' object has no attribute 'id'
Error snapshot 
<type 'exceptions.AttributeError'>('NoneType' object has no attribute 'id')
Frames
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