Be beware:
I had the same bug (No module named appname.modules.func) on windows binary 
web2py, but with weird behaviour:
if server is local - everything OK
if server is public, but request is local - everything OK
if server is public and request isn't local  -  causes an error

the reason is CAPITAL letters in directory names, i.e. in the case `MY_app` 
 it should be  exactly   `form applications.MY_app.modules...` 

  



On Tuesday, May 24, 2016 at 11:42:34 PM UTC+3, Hi Toni wrote:
>
> It seems that you are missing an (empty) file*: *
> web2py/applications/appname/modules/*__init__.py*
>
> https://docs.python.org/2/tutorial/modules.html#packages
>
>
>
>
> Am Sonntag, 22. Mai 2016 14:28:38 UTC+2 schrieb BlueShadow:
>>
>> Hi,
>> Something is very wrong with my web2py. I finally got the newest verion 
>> (2.14.6  nginx/1.4.6, Python 2.7.6 Ubuntu 16.04) on my production 
>> server. and the welcome app is running fine. when I want to use my 
>> application it creates a ticket for basically every inport:
>> Movie_Alarm.modules.plugin_multiselect_widget
>> I uncommented the multiselect plugin and I got the next:
>> No module named appname.modules.func
>> ...
>> and so on the files are in web2py/applications/appname/modules or plugins 
>> respectively. I can open them with the webinterface. So I got no clue whats 
>> going on.
>> thanks for your help and suggestions
>>
>

-- 
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/d/optout.

Reply via email to