My bad, thanks M.


On Tuesday, February 18, 2014 6:58:56 PM UTC-8, Massimo Di Pierro wrote:
>
> It isn't that. The problem is that when you use py2pp, the latter freezes 
> the path of the build machine for the purpose of reporting errors. I hate 
> it but I have not fund a solution.
> This is not cause of errors. This is case of incorrect paths in reported 
> errors.
>
> The error is in your engine5.py
>
> from html import FORM, INPUT, LABEL, OPTION, SELECT, BUTTON
>
> should be
>
> from gluon import FORM, INPUT, LABEL, OPTION, SELECT, BUTTON
>
> or
>
> from gluon.html import FORM, INPUT, LABEL, OPTION, SELECT, BUTTON
>
> because html is not in path. gluon is.
>
> On Tuesday, 18 February 2014 20:08:09 UTC-6, Brando wrote:
>>
>> Ticket ID
>> 127.0.0.1.2014-02-18.20-21-14.5e42032d-3fa0-4fc5-8a93-9ca1ef22e89f
>>
>> <type 'exceptions.ImportError'> No module named html
>>
>> Version
>> web2py™ Version 2.8.2-stable+timestamp.2013.11.28.13.54.07
>> Python Python 2.7.5: \\vmware-host\Shared 
>> Folders\Desktop\web2py\web2py.exe (prefix: C:\Python27)
>> Traceback
>> 1.
>> 2.
>> 3.
>> 4.
>> 5.
>> 6.
>> 7.
>> 8.
>> 9.
>> 10.
>> 11.
>> 12.
>> Traceback (most recent call last):
>>   File "/home/mdipierro/make_web2py/web2py/gluon/restricted.py", line 
>> 217, in restricted
>>   File "//vmware-host/Shared 
>> Folders/Desktop/web2py/applications/c2/controllers/devices2.py", line 3, in 
>> <module>
>>     from engine5 import  Formulator, Uploader, maketable
>>   File "/home/mdipierro/make_web2py/web2py/gluon/custom_import.py", line 
>> 86, in custom_importer
>>   File "/home/mdipierro/make_web2py/web2py/gluon/custom_import.py", line 
>> 125, in __call__
>>   File "applications\c2\modules\engine5.py", line 4, in <module>
>>     from html import FORM, INPUT, LABEL, OPTION, SELECT, BUTTON
>>   File "/home/mdipierro/make_web2py/web2py/gluon/custom_import.py", line 
>> 86, in custom_importer
>>   File "/home/mdipierro/make_web2py/web2py/gluon/custom_import.py", line 
>> 125, in __call__
>> ImportError: No module named html
>>
>> OSX version is Mavericks.  Pack all and import it into Windows 7 binary 
>> version of Web2py (latest).
>>
>> This bug is not present in the Windows source version.  Massimo, it looks 
>> like it's trying to load modules from your personal computer.
>>
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to