I have watched video at https://vimeo.com/21185623 and try to use web2py 
inside IPython Notebook, but run into 
the following error:

form = SQLFORM(db.ipynotebooks)

---------------------------------------------------------------------------AttributeError
                            Traceback (most recent call 
last)<ipython-input-36-c6b1cb76b770> in <module>()----> 1 form = 
SQLFORM(db.ipynotebooks)
D:\web2py_git\gluon\sqlhtml.pyc in __init__(self, table, record, deletable, 
linkto, upload, fields, labels, col3, submit_button, delete_label, showid, 
readonly, comments, keepopts, ignore_rw, record_id, formstyle, buttons, 
separator, **attributes)    911                linkto=URL(f='table/db/')    912 
        """--> 913         T = current.T    914     915         self.ignore_rw 
= ignore_rw
AttributeError: 'thread._local' object has no attribute 'T'


I have created a gist at http://nbviewer.ipython.org/4314583/

Thanks,
W

-- 



Reply via email to