Il giorno sab, 27/02/2010 alle 05.22 -0800, King ha scritto: > > > > This is unsupported, because the main executable needs to know where the > > libraries are located, and currently the bootloader hardcodes the same > > directory of the executable. > > Is this going to be supported in future version?
There is no plan for this at the moment. There is also one big pending refactoring of the bootloader (to support multiple executables with shared libraries). After that refactoring goes in, we could evaluate what it takes to implement this feature. Would you please open a ticket about this feature request and mark it as enhancement? > > > When you execute app(Linux) using console, internally os.getcwd() > > > returns correct directory but when you execute app using file manager > > > (dolphin, nautilus etc) by clicking, os.getcwd() returns a different > > > directory. Why it's like that? > > > > This is standard Linux behaviour. Do not rely on getcwd(), use > > "dirname(sys.executable)" (only in freezed mode). > > I was using os.getcwd() only at one place and I have removed it. > Application is freezed using debug=True option and while executing app > from console, you can see various things happening but still I am not > able to execute the app using click method. Nothing happens... > App is using it's own logging functions, and all the conditional cases > where I am using sys.exit, a detailed message goes into the to log. I > am not able to find out exit point where app is getting crashed or > what so ever. Maybe it segfaults for some reason. Have you tried running it with strace, to see what it is going on? Then, feel free to post the tail of the strace log, let's see if it rings some bells. -- Giovanni Bajo Develer S.r.l. http://www.develer.com -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
