On 2016-11-16 04:23, Alexander Davis wrote: > Hello, > > First of all i would like to thank the developers for such a great project. > I have a question with regards to compiling to a onefile exe... > > I am basically editing the sources to produce a simpler Tryton client where > the server is automatically selected and all the user would need todo is > login with their credentials, that and i edited the png files in the pixmap > folders. NOW, when i build and install then run the tryton file in the bin > folder via Python 2.7, everything works fine. However, if i use Py2exe to > make a onefile and a setup file then things start getting pear-shaped. > > The compiling works fine with some warnings about missing modules but the > exe produced does not run. It shows up on the task manager for a couple of > seconds then it closes. What i also noticed in the modules missing warning > is that it is not finding modules that should be already installed! > > So i was wondering if there is an official step by step guide to compile > the tryton client into a windows executable so i know what i am doing > wrong. I found one that was very vague in Spanish and i followed the steps > but no results unfortunately.
The first thing to test is that you can run the client from sources. After that, if you still have crash when running the client, you must try with the verbose option to get logs of the error. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20161117131403.GX16659%40tetsuo.
