Hi,

__init__.py file in ./modules
moduloname.py file in ./modules

But the module still not loade. An error is pop in the web-ide. 



Thanks,



El lunes, 22 de junio de 2020, 14:33:28 (UTC-5), Dave S escribió:
>
>
>
> On Monday, June 22, 2020 at 5:13:46 AM UTC-7, patito feo wrote:
>>
>> Hi,
>>
>> I have done every recommended guide iv seen. Same error.
>>
>> Every time i saved the .py module file same message shows on top of the 
>> editor.
>>
>>  
> That's the editor/IDE shipped with web2py?  (When you save a file, it 
> tries to load the file to check for syntax errors)
>
> Below you refer to "/modules".  Please clarify if you mean "*.*/modules" 
> relative 
> to the application directory, or some other location.
>
> In the IDE, a file in "*.*/modules" would show up under "Modules" in the 
> files sidebar.
>
> /dps
>
>
>
>> Thanks in advance,
>>
>>
>> El domingo, 21 de junio de 2020, 11:46:39 (UTC-5), Ramos escribió:
>>>
>>> check here
>>>
>>> https://stackoverflow.com/questions/4657484/how-can-i-use-modules-in-web2py
>>>  
>>>
>>>  
>>>
>>> Em sáb., 20 de jun. de 2020 às 21:14, patito feo <xgp....@gmail.com> 
>>> escreveu:
>>>
>>>> Hi,
>>>>
>>>> Please define "all ok"
>>>>
>>>> __init__.py file in /modules
>>>> .py file in /modules
>>>>
>>>>
>>>> Thnx for your help!
>>>>
>>>>
>>>>
>>>>
>>>> El sábado, 13 de junio de 2020, 18:45:39 (UTC-5), Ramos escribió:
>>>>>
>>>>> if all is ok, restart web2py
>>>>>
>>>>> Em dom., 14 de jun. de 2020 às 00:35, patito feo <xgp....@gmail.com> 
>>>>> escreveu:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Im trying to use a module file inside /modules/ folder but keep 
>>>>>> getting this error.
>>>>>>
>>>>>>
>>>>>> failed to reload module because:
>>>>>>
>>>>>> ImportError('No module named mdplenus.modules.test',)
>>>>>>
>>>>>> -- 
>>>>>> 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 web...@googlegroups.com.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/web2py/ba92fb90-96da-48a1-8130-b12a0256bb84o%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/web2py/ba92fb90-96da-48a1-8130-b12a0256bb84o%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> 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 web...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/web2py/64e635de-af0b-4184-8ae5-d887eb52e346o%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/web2py/64e635de-af0b-4184-8ae5-d887eb52e346o%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
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/a5927d67-e331-4700-8c38-905c8430f5a2o%40googlegroups.com.

Reply via email to