it's hard to help you track the error. please try to create the module from 
simple like in the book. e.g.
*/test/modules/justforlearn.py*
from gluon import *
def ip(): return current.request.client

*/test/controllers/default.py*
from gluon.custom_import import track_changes; track_changes(True)
import justforlearn
def index():
    return "Your ip is " + justforlearn.ip()

what did you get?
if not please show your code.

p.s.
from gluon.custom_import import track_changes; track_changes(True) is not 
recommended on production because of overhead, 
if you not use from gluon.custom_import import track_changes; 
track_changes(True), please try to restart the web2py to take effect the 
change you made.

ref:
https://groups.google.com/forum/#!topic/web2py/tdyEQ7CJhmE

best regards,
stifan

-- 
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/groups/opt_out.

Reply via email to