I note that if I use --exclude-modules=Tkinter it works fine. I'm not sure why the act of pulling in Tkinter would actually need access to an active Xserver. My application does not use Tkinter at the moment, so I can use this as a workaround.
Let me know if there is a solution to this problem or something I'm missing. Thanks, Jeff -----Original Message----- From: Smith, Jeff Sent: Wednesday, January 28, 2009 2:24 PM To: 'primary discussion list for use and development of cx_Freeze' Subject: RE: [cx-freeze-users] Problems with X upgrading from 3.X to 4.X When I run python setup.py build It works fine and freezes the hello.py as expected. I also note that freezing hello.py by and cxfreeze hello.py Work. But trying to freeze setup.py causes the X error cxfreeze setup.py X connection to localhost:10.0 broken (explicit kill or server shutdown). I do note that when I try to freeze my app or the setup.py, and there is an X server available, the tk libraries are pulled in and there is a "beep" at the end of the build. This does not happen with hello.py. So what's the best way to diagnose this? Jeff -----Original Message----- From: Anthony Tuininga [mailto:[email protected]] Sent: Wednesday, January 28, 2009 1:53 PM To: primary discussion list for use and development of cx_Freeze Subject: Re: [cx-freeze-users] Problems with X upgrading from 3.X to 4.X I do not know why that might be. I've certainly never experienced it! Perhaps you can try running one of the samples? Perhaps the "simple" one? Run python setup.py inside that particular directory and see if you get the same behavior. Anthony On Wed, Jan 28, 2009 at 11:22 AM, Smith, Jeff <[email protected]> wrote: > I am trying to upgrade to cx_Freeze 4 from version 3. When I run the > same freeze command from version 3 on the same code base, I get an > error if there is no X server for cxfreeze to connect to. Is this expected? > > Here is a simple cxfreeze run: > > cxfreeze tc.py > X connection to localhost:10.0 broken (explicit kill or server shutdown). > The same works fine with the old > > FreezePython tc.py > > Any ideas? > Jeff > > P.S. I am running under Red Hat 4 and Python 2.5.4. > > > Confidentiality Notice: The information contained in this electronic > transmission is confidential and may be legally privileged. It is > intended only for the addressee(s) named above. If you are not an > intended recipient, be aware that any disclosure, copying, > distribution or use of the information contained in this transmission > is prohibited and may be unlawful. If you have received this > transmission in error, please notify us by telephone (513) 229-5500 or > by email ([email protected]). After replying, please erase it from your computer system. > ---------------------------------------------------------------------- > -------- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > cx-freeze-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > > ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users Confidentiality Notice: The information contained in this electronic transmission is confidential and may be legally privileged. It is intended only for the addressee(s) named above. If you are not an intended recipient, be aware that any disclosure, copying, distribution or use of the information contained in this transmission is prohibited and may be unlawful. If you have received this transmission in error, please notify us by telephone (513) 229-5500 or by email ([email protected]). After replying, please erase it from your computer system. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
