the code to post to be helped is the INNER exception, not the OUTER one. What's on line 69 of plugin_ckeditor ?
On Wednesday, April 15, 2015 at 11:37:35 PM UTC+2, Alex Glaros wrote: > > When setting lazy_tables = True > > I get this error > 'NoneType' object has no attribute 'upload' > > 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 CKEditor > ckeditor = CKEditor(db) > ckeditor.define_tables() ## here is my line # 56 > ckeditor.settings.url_upload = URL(request.app, 'plugin_ckeditor', > 'upload', extension='html') > ckeditor.settings.url_browse = URL(request.app, 'plugin_ckeditor', > 'browse', extension='html') > > Alex > > > -- 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.