In upgrading from 2.6.4 to 2.8.2 my custom-built web2py_no_console.exe 
failed starting the rocket server with a 'can't import module http' python 
error. It's something seemingly unrelated to the other posters' issues, but 
I'm sharing how I was able to fix it, maybe it will help someone.
Essentially the fix consists in editing web2py_exe.py and commenting out 
the new code block that slims down library.zip. That was it, in my case. I 
rebuilt my web2py_no_console.exe with the fatter library.zip and the import 
error went away. The new code was added in 2.8.2, apparently it's harmless 
but in my case it makes the difference between a working 
web2py_no_console.exe and a broken one. I wonder, maybe there is a reason 
why py2exe builds a larger library.zip file seemengly full of duplicates. 
For the record, I wish the size trimming had worked - in my case it had 
shrunk library.zip from 16MB down to about 6MB. 

On Saturday, January 18, 2014 7:08:58 PM UTC+1, Niphlod wrote:
>
> we're trying to come up with something here 
> http://code.google.com/p/web2py/issues/detail?id=1809
>
> if you have any inputs please share ^_^
>
> On Saturday, January 18, 2014 1:30:33 AM UTC+1, Ray (a.k.a. Iceberg) wrote:
>>
>>
>>
>> On Sunday, December 15, 2013 10:00:19 AM UTC-7, Rob Paire wrote:
>>>
>>> Hello all,
>>>  I am having same problem running on Windows server 2003 32bit. When I 
>>> launch web2py.exe the following dialog error appears: 
>>>
>>> *Title: Error Entry Point Not Found*
>>>
>>> *Description: The procedure entry point wcscpy_s could not be located in 
>>> the dynamic link library msvcrt.dll*
>>>
>>> Clicking OK returns control to the web2py executable which fails with 
>>> the following console message:
>>>
>>> C:\web2py>web2py
>>> Traceback (most recent call last):
>>>   File "<string>", line 6, in <module>
>>>   File "__main__.py", line 128, in <module>
>>>   File "__main__web2py__.py", line 18, in <module>
>>>   File "/home/mdipierro/make_web2py/web2py/gluon/__init__.py", line 15, 
>>> in <modu
>>> le>
>>>   File "/home/mdipierro/make_web2py/web2py/gluon/globals.py", line 19, 
>>> in <modul
>>> e>
>>>   File "/home/mdipierro/make_web2py/web2py/gluon/xmlrpc.py", line 10, in 
>>> <module
>>> >
>>>   File "SimpleXMLRPCServer.py", line 102, in <module>
>>>   File "xmlrpclib.py", line 144, in <module>
>>>   File "httplib.py", line 79, in <module>
>>>   File "mimetools.py", line 6, in <module>
>>>   File "tempfile.py", line 35, in <module>
>>>   File "random.py", line 879, in <module>
>>>   File "random.py", line 97, in __init__
>>>   File "random.py", line 111, in seed
>>> WindowsError: [Error -2146893795] Provider DLL failed to initialize 
>>> correctly
>>>
>>> I reverted back to 2.7.4 for the time being.
>>>
>>>  
>> Same problem here.  I guess that *msvcrt.dll* thing is because the 
>> web2py282 windows builder is running on a different Windows platform than 
>> before.
>> Now I have to roll back.
>>
>

-- 
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