segmentation fault, executable python file

2014-04-04 Thread fanny
Hello, 
I generated an executable python file using cxfreeze.
I run that file, it runs fine. 
But when I run it on another PC, it don't run. I try to it via terminal, and it 
says "Segmentation fault(core dump)". I try again run it with sudo, it says 
nothing and nothing happend.

Could any of you please let me know how to fix this?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: segmentation fault, executable python file

2014-04-04 Thread fanny
the first one is ubuntu 12.04 64-bit (where i generate the executable file), 
and the second one is the same. Any idea? I confused for days until today.

Thanks for your replay

On Friday, April 4, 2014 3:57:33 PM UTC+7, Chris Angelico wrote:
> On Fri, Apr 4, 2014 at 7:36 PM,   wrote:
> 
> > Hello,
> 
> > I generated an executable python file using cxfreeze.
> 
> > I run that file, it runs fine.
> 
> > But when I run it on another PC, it don't run. I try to it via terminal, 
> > and it says "Segmentation fault(core dump)". I try again run it with sudo, 
> > it says nothing and nothing happend.
> 
> >
> 
> > Could any of you please let me know how to fix this?
> 
> 
> 
> Freezing a Python script into a binary requires matching all sorts of
> 
> things, including the word size (32-bit or 64-bit), most likely the
> 
> versions of various shared libraries, and possibly other
> 
> compatibilities as well. What are the two computers? I'm guessing your
> 
> second one is some kind of Unix, but that's as much as I can tell.
> 
> 
> 
> ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: segmentation fault, executable python file

2014-04-29 Thread fanny
I try gdb the executable file in another machine
and get this:
Error -3 from inflate: incorrect header check 
Error decompresing struct

if I do gdb in my machine (where I generate the executable file)
I get nothing, and the app work correctly.

I try to search about that, but i don't get it.

Could any of you please let me know how to fix this? 

Thank u before
-- 
https://mail.python.org/mailman/listinfo/python-list