[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
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:\web2pyweb2py 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.
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
how are you custom building the binary ? The official scripts deals with py2exe's incorrect packaging system with these lines https://github.com/web2py/web2py/blob/master/extras/build_web2py/setup_exe.py#L100 BTW: we're moving towards bbfreeze packed binaries, and they seem to work well with bbreeze 0.13 On Tuesday, February 4, 2014 12:50:54 PM UTC+1, step wrote: 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 so seemingly 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:\web2pyweb2py 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.
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
My setup_exe.py is attached. It adds matplotlib. My setup_exe.conf is the standard one plus copy_scripts: No. I also strip some folders/files from web2py_win.zip, namely: applications/admin, applications/welcome (but include welcome.w2p), applications/examples, tcl8.5/tzdata, and tk8.5/demos. This way of building the win package has worked for me up until 2.6.4. Like I said it also works for 2.8.2 provided that I don't slim down library.zip - you can see from the attached file that I simply commented out that code block. I tested swapping in/out a fat and a lean library.zip, and each time the lean library.zip is used python can't import module http. On Tuesday, February 4, 2014 4:02:14 PM UTC+1, Niphlod wrote: how are you custom building the binary ? The official scripts deals with py2exe's incorrect packaging system with these lines https://github.com/web2py/web2py/blob/master/extras/build_web2py/setup_exe.py#L100 BTW: we're moving towards bbfreeze packed binaries, and they seem to work well with bbreeze 0.13 On Tuesday, February 4, 2014 12:50:54 PM UTC+1, step wrote: 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 so seemingly 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:\web2pyweb2py 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. #!/usr/bin/env python # -*- coding: utf-8 -*- #Adapted from http://bazaar.launchpad.net/~flavour/sahana-eden/trunk/view/head:/static/scripts/tools/standalone_exe.py USAGE = Usage: Copy this and setup_exe.conf to web2py root folder To build with py2exe: Install py2exe: http://sourceforge.net/projects/py2exe/files/ run python setup_exe.py py2exe To build with bbfreeze: Install bbfreeze: https://pypi.python.org/pypi/bbfreeze/ run python setup_exe.py bbfreeze from distutils.core import setup from gluon.import_all import base_modules, contributed_modules from gluon.fileutils import
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
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:\web2pyweb2py 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.
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
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:\web2pyweb2py 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.
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
On Sunday, December 15, 2013 4:36:47 PM UTC+4, Niphlod wrote: open a dos prompt, cd into the folder and try to start it from there to see if it prints something... BTW: is web2py.exe working ? Yes, but web2py_no_console.exe quits silently -- 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.
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
that's even stranger :D let's go with care how about you open a dos prompt, cd into the folder where web2py.exe and web2py_noconsole.exe are and launch web2py_noconsole.exe from there ? Does it print something ? On Saturday, December 21, 2013 1:23:50 PM UTC+1, sherdim wrote: On Sunday, December 15, 2013 4:36:47 PM UTC+4, Niphlod wrote: open a dos prompt, cd into the folder and try to start it from there to see if it prints something... BTW: is web2py.exe working ? Yes, but web2py_no_console.exe quits silently -- 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.
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
open a dos prompt, cd into the folder and try to start it from there to see if it prints something... BTW: is web2py.exe working ? On Saturday, December 14, 2013 5:19:44 PM UTC+1, Сергей Ткаченко wrote: The program simply will not start. Start and exit. понедельник, 2 декабря 2013 г., 0:35:29 UTC+4 пользователь Alan Etkin написал: Can not run web2py_no_console.exe. Version 2.8.2 on windows 7 x 64 Can you post how did you execute it and what was the output? -- 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.
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
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:\web2pyweb2py 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. -- 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.
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
The program simply will not start. Start and exit. понедельник, 2 декабря 2013 г., 0:35:29 UTC+4 пользователь Alan Etkin написал: Can not run web2py_no_console.exe. Version 2.8.2 on windows 7 x 64 Can you post how did you execute it and what was the output? -- 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.
[web2py] Re: Can not run web2py_no_console.exe. Version 2.8.2 on win 7 x 64
Can not run web2py_no_console.exe. Version 2.8.2 on windows 7 x 64 Can you post how did you execute it and what was the output? -- 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.