I found the issue. Somehow my __init__.py file did not get added in the main app folder (app/__init__.py) in git. I find this interesting because the app was running fine up until the point when I tried to add a module. If there was no __init__.py in the main app folder, you'd think the app wouldn't have worked at all. Anyway, problem solved, thanks for your help :)
On Tuesday, February 18, 2014 1:40:35 PM UTC-8, Richard wrote: > > Hmmm... Your issue may come form there... I notice that web2py need all > the default folder in app to be there to work properly... > > app/controllers > app/cron > app/databases > app/errors > app/languages > app/models > app/modules > app/private > app/sessions > app/static > app/uploads > app/views > > Are they all there (in your prod)? > > > On Tue, Feb 18, 2014 at 4:36 PM, Maggs <[email protected] <javascript:> > > wrote: > >> There's no app/cache folder as I'm not using any caching in this app. >> >> >> On Tuesday, February 18, 2014 1:30:14 PM UTC-8, Richard wrote: >> >>> So, clean the app by the admin! >>> >>> Or delete what in app/cache maybe? >>> >>> Richard >>> >>> >>> On Tue, Feb 18, 2014 at 4:27 PM, Maggs <[email protected]> wrote: >>> >>>> Yes I restarted web2py. I even completely removed the folder and >>>> re-installed it, thinking perhaps there was some caching going on that was >>>> causing an issue. >>>> >>>> >>>> On Tuesday, February 18, 2014 1:23:01 PM UTC-8, Richard wrote: >>>> >>>>> Did you restart web2py? >>>>> >>>>> If you didn't it may be related to the issue with track change of >>>>> module... >>>>> >>>>> Richard >>>>> >>>>> >>>>> On Tue, Feb 18, 2014 at 4:06 PM, Maggs <[email protected]> wrote: >>>>> >>>>>> Ok this is literally making me crazy. I'm running web2py 2.5.1 in >>>>>> python 2.7. On my dev box all is fine. I added a new module called cmgui >>>>>> that is just a wrapper for an outside custom module. Works fine on my >>>>>> dev >>>>>> box. Push it to my prod box and I'm getting "no module named >>>>>> auth.modules.cmgui". In my confusion I also tried just creating a blank >>>>>> module called test.py and importing that via import auth.modules.test >>>>>> and >>>>>> same error. It's as if there is no __init__.py in the directory, but >>>>>> there >>>>>> is. I am at a loss -_- >>>>>> >>>>>> -- >>>>>> 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 [email protected]. >>>>>> >>>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>>> >>>>> >>>>> -- >>>> 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 [email protected]. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> -- >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

