Hi Dave, i named the other modules with underscore too and it worked but i dont know why this one is not working, any other suggestion?
On Friday, June 7, 2019 at 1:54:00 PM UTC-7, Dave S wrote: > > > > On Friday, June 7, 2019 at 1:24:23 PM UTC-7, Quang Lam wrote: >> >> Hi Dave >> >> i restarted the web2py, reloaded the adminpage but i still got the error >> saying no module named in the modules folder. i have no problem with the >> other modules except the new one named mode_extraction. Also, i checked my >> modules folder, web2py actually compiles the mode_extraction module because >> i saw the pyc file but i dont know why i got the error of no module named >> in the folder. >> >> Thanks >> > > > Ah! Maybe the custom importer is not handling the underscore. Try > renaming the module. > > /dps > > >> On Friday, June 7, 2019 at 1:16:44 PM UTC-7, Dave S wrote: >>> >>> >>> >>> On Friday, June 7, 2019 at 10:33:09 AM UTC-7, Quang Lam wrote: >>>> >>>> i placed a new module file in the modules folder but i got the error >>>> saying there is no module named in the modules folder when i import the >>>> module. However, i can import the other modules in the modules folder but >>>> not the new one. >>>> Please help >>>> >>> >>> If you have appadmin enabled, the "sites" page has a reload button. >>> Otherwise, stop and restart web2py. >>> (I only use modules in Scheduler tasks, so it's just the -K that has to >>> be stop-and-go) >>> >>> >>> /dps >>> >>> -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/a4806cb4-ce51-4026-95ba-9de9ea3b6653%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.