python - OpenERP sever error when installing a new module (windows 7 ) -
i got problem after creating new module in openerp 7.0 using windows 7 .. when go install new module error "openerp server error"
openerp server error client traceback (most recent call last): file "c:\program files (x86)\openerp 7.0-20140227-01259\server\server\openerp\addons\web\session.py", line 89, in send file "c:\program files (x86)\openerp 7.0-20140227-001259\server\server\.\openerp\netsvc.py", line 292, in dispatch_rpc file "c:\program files (x86)\openerp 7.0-20140227-001259\server\server\openerp\addons\student_init_.py", line 1, in <module> importerror: no module named py
i suspect doing;
import my_module.py
rather than
import my_module
as in java, python using dots break package names thinks want import module called "py" package called "my_module". think of
from my_module import py
whereas should (assuming problem)
import my_module
Comments
Post a Comment