Importing track_changes has no problem in a python module outside of web2py.

from gluon.custom_import import track_changes


But after the successful import, below fails

track_changes(True)


The error message and the essence of traceback are as below:

...\gluon\custom_import.pyc in __init__(self, web2py_path)


self.__web2py_path_os_path_sep = self.web2py_path + os.path_sep


TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'


It seems that getting web2py_path fails somehow. I believe the path is 
correctly specified since importing track_changes is successful. 

Reply via email to