Hi,

I managed to create exe for server (once again thanks christian for the step by 
step doc), by the way (perhaps) it should be makensis /DVERSION=5.0.0-alpha 
setup.nsi rather than makensis /DVERSION=5.0.0-alpha 
openerp-server-installer.nsi

but struggling with client.

Logged the problem in another post:
http://www.openobject.com/forum/topic11175.html?highlight=openssl

basically it is:
I am trying to package the client in windows environment: 

5. Package the client 
--------------------- 
c:\openerp\trunk> cd client 
c:\openerp\trunk\client> python setup.py py2exe 

and getting error 'no module named OpenSSL': 

Traceback (most recent call last): 
File "setup.py", line 201, in <module> 
options = options, 
File "C:\Python25\lib\distutils\core.py", line 151, in setup 
dist.run_commands() 
File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands 
self.run_command(cmd) 
File "C:\Python25\lib\distutils\dist.py", line 994, in run_command 
cmd_obj.run() 
File "C:\Python25\Lib\site-packages\py2exe\build_exe.py", line 228, in run 
self._run() 
File "C:\Python25\Lib\site-packages\py2exe\build_exe.py", line 281, in _run 
self.find_needed_modules(mf, required_files, required_modules) 
File "C:\Python25\Lib\site-packages\py2exe\build_exe.py", line 1211, in find_n 
eeded_modules 
mf.import_hook(f) 
File "C:\Python25\Lib\site-packages\py2exe\mf.py", line 716, in import_hook 
return Base.import_hook(self,name,caller,fromlist,level) 
File "C:\Python25\Lib\site-packages\py2exe\mf.py", line 136, in import_hook 
q, tail = self.find_head_package(parent, name) 
File "C:\Python25\Lib\site-packages\py2exe\mf.py", line 204, in find_head_pack 
age 
raise ImportError, "No module named " + qname 
ImportError: No module named OpenSSL 

Than i removed the "OpenSSL" from the setup.py and than it went through 
(atleast i think it did)....but when i do makensis /DVERSION=5.0.0-alpha 
setup.nsi it throws an error which is like this:

File: Returning to: "dist"
SetOutPath: "$INSTDIR\GTK"
File: Returning to: "C:\GTK"
File: "C:\GTK\*" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "setup.nsi" on line 143 -- aborting creation process

well than i installed the server which i built the exe for in the previous step 
and client from openerp website....i installed postgres8.3 (from enterprisedb 
website) ..... problem is that when i try to create a database from openerp it 
crashes...

Any help?
Dhariwal




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=36406#36406

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to