git fat pull happens nothing in centos 6.3 python 2.6.6

Hello, I use the https://github.com/jedbrown/git-fat to manage binary files.
The test repo is: https://github.com/cnweibo/gitfattest.git

In ubuntu system, git fat pull works well, but in my production server, it is centos with python 2.6.6.
Unfortunately, it will halt there when input git fat pull command.(Normally, the shell will prompt me to enter password information).
There is nothing output.
Can you tell how to debug and solve that?
Thanks
matiascxAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
You need following python modules:
import sys
import hashlib
import tempfile
import os
import subprocess
import shlex
import shutil
import itertools
import threading
import time
import collections

Then you need rsync and git-core installed (2nd is not there by default)
matiascxAuthor Commented:
Hi, gheist,
Thanks for your tip.
What do you mean the imported module? Are they needed to install manually?
I have the python2.6 environment, i assume above modules are there by default, right?
I also have the rsync installed. But i am not sure whether git-core is there, how to confirm that? and how to install the git-core?
Thanks again!
robert
gheistCommented:
You dont post any error messages so I am into wild guesses.
I have no clue if 3 years old CentOS 6.3 has sufficient python for your needs. I suggest you upgrade to CentOS 6.7 right away. (yum upgrade)
Then you can examine python script with text viewer like "less"
It calls python, git and rsync on the way...
So what is missing? yum provides *bin/rsync *bin/git
yum install <missing package minus version numbers and arches>
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

matiascxAuthor Commented:
Hi, gheist,
The centos 6.3 server is my production server. So i am scared about doing experiment.
I have bought codeanywhere, i can do test on that VPS.
In the centos VPS which is centos6.5, the error is different, it seems git does not find the git-fat plugin.
[cabox@box-codeanywhere workspace]$ git clone https://github.com/jedbrown/git-fat.git                                                                                      
Cloning into 'git-fat'...                                                                                                                                                  
remote: Counting objects: 276, done.                                                                                                                                       
remote: Total 276 (delta 0), reused 0 (delta 0), pack-reused 276                                                                                                           
Receiving objects: 100% (276/276), 75.98 KiB | 0 bytes/s, done.                                                                                                            
Resolving deltas: 100% (153/153), done.                                                                                                                                    
Checking connectivity... done.                                                                                                                                             
[cabox@box-codeanywhere workspace]$ cp git-fat/git-fat ~/bin/                                                                                                                                                                                                
[cabox@box-codeanywhere workspace]$ ls ~/bin/git-fat -l                                                                                                                    
-rwxrwxr-x 1 cabox cabox 26759 Sep  1 07:44 /home/cabox/bin/git-fat                                                                                                        
[cabox@box-codeanywhere workspace]$ git clone https://github.com/cnweibo/gitfattest.git                                                                                    
Cloning into 'gitfattest'...                                                                                                                                               
remote: Counting objects: 25, done.                                                                                                                                        
remote: Total 25 (delta 0), reused 0 (delta 0), pack-reused 25                                                                                                             
Unpacking objects: 100% (25/25), done.                                                                                                                                     
Checking connectivity... done.                                                                                                                                             
[cabox@box-codeanywhere workspace]$ cd gitfattest/                                                                                                                         
[cabox@box-codeanywhere gitfattest]$ git fat init                                                                                                                          
: No such file or directory                                                                                                                                                
fatal: 'fat' appears to be a git command, but we were not                                                                                                                  
able to execute it. Maybe git-fat is broken?  

Open in new window


What do you need for further investigation?
Thanks~
gheistCommented:
readme.md describes different installation procedure.
matiascxAuthor Commented:
Hi, sir,
I have followed the installation procedure of git-fat, it works well in ubuntu linux. The same procedure i have followed, and copied the git-fat in my $PATH as follows.
[cabox@box-codeanywhere gitfattest]$ which git-fat                                                                                                                         
~/bin/git-fat                                                                                                                                                              
[cabox@box-codeanywhere gitfattest]$ git fat                                                                                                                               
: No such file or directory                                                                                                                                                
fatal: 'fat' appears to be a git command, but we were not                                                                                                                  
able to execute it. Maybe git-fat is broken?    

Open in new window

I have confirmed git-fat is in ~/bin, but unfortunately when i run git fat, it printed out error information which seems that it can not be used.
Thanks!
gheistCommented:
Please RTFM once more.
matiascxAuthor Commented:
I am not sure whether or not something of git-fat is wrong which can not be used by git.
I have written a short script of python named of git-hello to confirm the environment is ok. The test process is as follows:
[cabox@box-codeanywhere bin]$ pwd                                                                                                                                          
/home/cabox/bin                                                                                                                                                            
[cabox@box-codeanywhere bin]$ ls                                                                                                                                           
git-fat  git-hello                                                                                                                                                         
[cabox@box-codeanywhere bin]$ cat git-hello                                                                                                                                
#!/usr/bin/env python                                                                                                                                                      
print ("hello world")                                                                                                                                                      
[cabox@box-codeanywhere bin]$ git hello                                                                                                                                    
hello world     

Open in new window

I think since git-hello works well(located in ~/bin ), it proves that the envioronment should be ok?
[cabox@box-codeanywhere gitfattest]$ which git-fat                                                                                                                         
~/bin/git-fat                                                                                                                                                              
[cabox@box-codeanywhere gitfattest]$ git fat                                                                                                                               
: No such file or directory                                                                                                                                                
fatal: 'fat' appears to be a git command, but we were not                                                                                                                  
able to execute it. Maybe git-fat is broken?    

Open in new window

gheistCommented:
run git-fat standalone so that git does not slurp it's output.
matiascxAuthor Commented:
Sorry, i have not execute git-fat standalone, i run git + space + fat which should be read as git + fat subcommand and git-fat script should be run by git.
This works well in ubuntu linux, unfortunately does not work in current centos 6.5 linux.
[cabox@box-codeanywhere gitfattest]$ pwd                                                                                                                                   
/home/cabox/workspace/gitfattest                                                                                                                                           
[cabox@box-codeanywhere gitfattest]$ ls                                                                                                                                    
ajax-loading-dot.gif  images  master.tar.gz  read.tar.gz  read.txt                                                                                                         
[cabox@box-codeanywhere gitfattest]$ git fat pull                                                                                                                          
: No such file or directory                                                                                                                                                
fatal: 'fat' appears to be a git command, but we were not                                                                                                                  
able to execute it. Maybe git-fat is broken?    

Open in new window

It is very strange that when i follow the same process with writing one git-hello and place it in the ~/bin directory, it works well when i run " git hello " the hello works as subcommand of git.
Thanks~
matiascxAuthor Commented:
Hi, expert,
Another clue is: I have compiled myself on centos6.5 and current git version is git version 2.0.4   .
I do not know whether or not it make sense for investigation
thanks!
[cabox@box-codeanywhere gitfattest]$ pwd                                                                                                                                   
/home/cabox/workspace/gitfattest                                                                                                                                           
[cabox@box-codeanywhere gitfattest]$ ls                                                                                                                                    
ajax-loading-dot.gif  images  master.tar.gz  read.tar.gz  read.txt                                                                                                         
[cabox@box-codeanywhere gitfattest]$ git fat pull                                                                                                                          
: No such file or directory                                                                                                                                                
fatal: 'fat' appears to be a git command, but we were not                                                                                                                  
able to execute it. Maybe git-fat is broken?    

Open in new window

gheistCommented:
Can you run
git-fat (dash in between)
matiascxAuthor Commented:
when run git-fat, it printed out:
[cabox@box-codeanywhere gitfattest]$ git-fat                                                                                                                               
: No such file or directory      

Open in new window

gheistCommented:
try to modify first line of script to spit out statements being run:

WAS:
#!/usr/bin/env python

NEW:
#!/usr/bin/python -v
#### (old 1st line here as 2nd to restore after done)
matiascxAuthor Commented:
Hi, expert,
I have changed first line of git-fat according to you r proposal, no luck:
[cabox@box-codeanywhere workspace]$ which git-fat                                                                                                                          
/usr/local/git/bin/git-fat                                                                                                                                                 
[cabox@box-codeanywhere workspace]$ cat /usr/local/git/bin/git-fat |less     

#!/usr/bin/env python -v                                                                                                                                                     
##!/usr/bin/env python           
                                                                                              
[cabox@box-codeanywhere workspace]$ git fat status                                                                                                                               
: No such file or directory                                                                                                                                                
fatal: 'fat' appears to be a git command, but we were not                                                                                                                  
able to execute it. Maybe git-fat is broken?   

Open in new window

gheistCommented:
Try to repeat first line in script manually:

/usr/bin/env python -v /usr/local/git/bin/git-fat
matiascxAuthor Commented:
[cabox@box-codeanywhere workspace]$ /usr/bin/env python -v /usr/local/git/bin/git-fat                                                                                      
# installing zipimport hook                                                                                                                                                
import zipimport # builtin                                                                                                                                                 
# installed zipimport hook                                                                                                                                                 
# /usr/local/lib/python2.7/site.pyc matches /usr/local/lib/python2.7/site.py                                                                                               
import site # precompiled from /usr/local/lib/python2.7/site.pyc                                                                                                           
# /usr/local/lib/python2.7/os.pyc matches /usr/local/lib/python2.7/os.py                                                                                                   
import os # precompiled from /usr/local/lib/python2.7/os.pyc                                                                                                               
import errno # builtin                                                                                                                                                     
import posix # builtin                                                                                                                                                     
# /usr/local/lib/python2.7/posixpath.pyc matches /usr/local/lib/python2.7/posixpath.py                                                                                     
import posixpath # precompiled from /usr/local/lib/python2.7/posixpath.pyc                                                                                                 
# /usr/local/lib/python2.7/stat.pyc matches /usr/local/lib/python2.7/stat.py                                                                                               
import stat # precompiled from /usr/local/lib/python2.7/stat.pyc                                                                                                           
# /usr/local/lib/python2.7/genericpath.pyc matches /usr/local/lib/python2.7/genericpath.py                                                                                 
import genericpath # precompiled from /usr/local/lib/python2.7/genericpath.pyc                                                                                             
# /usr/local/lib/python2.7/warnings.pyc matches /usr/local/lib/python2.7/warnings.py                                                                                       
import warnings # precompiled from /usr/local/lib/python2.7/warnings.pyc                                                                                                   
# /usr/local/lib/python2.7/linecache.pyc matches /usr/local/lib/python2.7/linecache.py                                                                                     
import linecache # precompiled from /usr/local/lib/python2.7/linecache.pyc                                                                                                 
# /usr/local/lib/python2.7/types.pyc matches /usr/local/lib/python2.7/types.py                                                                                             
import types # precompiled from /usr/local/lib/python2.7/types.pyc                                                                                                         
# /usr/local/lib/python2.7/UserDict.pyc matches /usr/local/lib/python2.7/UserDict.py                                                                                       
import UserDict # precompiled from /usr/local/lib/python2.7/UserDict.pyc                                                                                                   
# /usr/local/lib/python2.7/_abcoll.pyc matches /usr/local/lib/python2.7/_abcoll.py                                                                                         
import _abcoll # precompiled from /usr/local/lib/python2.7/_abcoll.pyc                                                                                                     
# /usr/local/lib/python2.7/abc.pyc matches /usr/local/lib/python2.7/abc.py                                                                                                 
import abc # precompiled from /usr/local/lib/python2.7/abc.pyc                                                                                                             
# /usr/local/lib/python2.7/_weakrefset.pyc matches /usr/local/lib/python2.7/_weakrefset.py                                                                                 
import _weakrefset # precompiled from /usr/local/lib/python2.7/_weakrefset.pyc                                                                                             
import _weakref # builtin                                                                                                                                                  
# /usr/local/lib/python2.7/copy_reg.pyc matches /usr/local/lib/python2.7/copy_reg.py                                                                                       
import copy_reg # precompiled from /usr/local/lib/python2.7/copy_reg.pyc        
import _weakrefset # precompiled from /usr/local/lib/python2.7/_weakrefset.pyc                                                                                             
import _weakref # builtin                                                                                                                                                  
# /usr/local/lib/python2.7/copy_reg.pyc matches /usr/local/lib/python2.7/copy_reg.py                                                                                       
import copy_reg # precompiled from /usr/local/lib/python2.7/copy_reg.pyc                                                                                                   
# /usr/local/lib/python2.7/traceback.pyc matches /usr/local/lib/python2.7/traceback.py                                                                                     
import traceback # precompiled from /usr/local/lib/python2.7/traceback.pyc                                                                                                 
# /usr/local/lib/python2.7/sysconfig.pyc matches /usr/local/lib/python2.7/sysconfig.py                                                                                     
import sysconfig # precompiled from /usr/local/lib/python2.7/sysconfig.pyc                                                                                                 
# /usr/local/lib/python2.7/re.pyc matches /usr/local/lib/python2.7/re.py                                                                                                   
import re # precompiled from /usr/local/lib/python2.7/re.pyc                                                                                                               
# /usr/local/lib/python2.7/sre_compile.pyc matches /usr/local/lib/python2.7/sre_compile.py                                                                                 
import sre_compile # precompiled from /usr/local/lib/python2.7/sre_compile.pyc                                                                                             
import _sre # builtin                                                                                                                                                      
# /usr/local/lib/python2.7/sre_parse.pyc matches /usr/local/lib/python2.7/sre_parse.py                                                                                     
import sre_parse # precompiled from /usr/local/lib/python2.7/sre_parse.pyc                                                                                                 
# /usr/local/lib/python2.7/sre_constants.pyc matches /usr/local/lib/python2.7/sre_constants.py                                                                             
import sre_constants # precompiled from /usr/local/lib/python2.7/sre_constants.pyc                                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/_locale.so", 2);                                                                                                              
import _locale # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_locale.so                                                                                   
# /usr/local/lib/python2.7/_sysconfigdata.pyc matches /usr/local/lib/python2.7/_sysconfigdata.py                                                                           
import _sysconfigdata # precompiled from /usr/local/lib/python2.7/_sysconfigdata.pyc                                                                                       
import encodings # directory /usr/local/lib/python2.7/encodings                                                                                                            
# /usr/local/lib/python2.7/encodings/__init__.pyc matches /usr/local/lib/python2.7/encodings/__init__.py                                                                   
import encodings # precompiled from /usr/local/lib/python2.7/encodings/__init__.pyc                                                                                        
# /usr/local/lib/python2.7/codecs.pyc matches /usr/local/lib/python2.7/codecs.py                                                                                           
import codecs # precompiled from /usr/local/lib/python2.7/codecs.pyc                                                                                                       
import _codecs # builtin                                                                                                                                                   
# /usr/local/lib/python2.7/encodings/aliases.pyc matches /usr/local/lib/python2.7/encodings/aliases.py  
import codecs # precompiled from /usr/local/lib/python2.7/codecs.pyc                                                                                                       
import _codecs # builtin                                                                                                                                                   
# /usr/local/lib/python2.7/encodings/aliases.pyc matches /usr/local/lib/python2.7/encodings/aliases.py                                                                     
import encodings.aliases # precompiled from /usr/local/lib/python2.7/encodings/aliases.pyc                                                                                 
# /usr/local/lib/python2.7/encodings/ascii.pyc matches /usr/local/lib/python2.7/encodings/ascii.py                                                                         
import encodings.ascii # precompiled from /usr/local/lib/python2.7/encodings/ascii.pyc                                                                                     
Python 2.7.10 (default, Sep  1 2015, 04:15:57)                                                                                                                             
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2                                                                                                                          
Type "help", "copyright", "credits" or "license" for more information.                                                                                                     
# /usr/local/lib/python2.7/__future__.pyc matches /usr/local/lib/python2.7/__future__.py                                                                                   
import __future__ # precompiled from /usr/local/lib/python2.7/__future__.pyc                                                                                               
# /usr/local/lib/python2.7/hashlib.pyc matches /usr/local/lib/python2.7/hashlib.py                                                                                         
import hashlib # precompiled from /usr/local/lib/python2.7/hashlib.pyc                                                                                                     
dlopen("/usr/local/lib/python2.7/lib-dynload/_hashlib.so", 2);                                                                                                             
import _hashlib # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_hashlib.so                                                                                 
# /usr/local/lib/python2.7/tempfile.pyc matches /usr/local/lib/python2.7/tempfile.py                                                                                       
import tempfile # precompiled from /usr/local/lib/python2.7/tempfile.pyc                                                                                                   
# /usr/local/lib/python2.7/io.pyc matches /usr/local/lib/python2.7/io.py                                                                                                   
import io # precompiled from /usr/local/lib/python2.7/io.pyc                                                                                                               
dlopen("/usr/local/lib/python2.7/lib-dynload/_io.so", 2);                                                                                                                  
import _io # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_io.so                                                                                           
# /usr/local/lib/python2.7/random.pyc matches /usr/local/lib/python2.7/random.py                                                                                           
import random # precompiled from /usr/local/lib/python2.7/random.pyc                                                                                                       
dlopen("/usr/local/lib/python2.7/lib-dynload/math.so", 2);                                                                                                                 
import math # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/math.so                                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/binascii.so", 2);                                                                                                             
import binascii # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/binascii.so                                                                                 
dlopen("/usr/local/lib/python2.7/lib-dynload/_random.so", 2);                                                                                                              
import _random # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_random.so                                                                                   
dlopen("/usr/local/lib/python2.7/lib-dynload/cStringIO.so", 2);                                                                                                            
import cStringIO # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/cStringIO.so                                                                               
dlopen("/usr/local/lib/python2.7/lib-dynload/fcntl.so", 2);                                                                                                                
import fcntl # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/fcntl.so                                                                                       
import thread # builtin                                                                                                                                                    
# /usr/local/lib/python2.7/subprocess.pyc matches /usr/local/lib/python2.7/subprocess.py                                                                                   
import subprocess # precompiled from /usr/local/lib/python2.7/subprocess.pyc                                                                                               
import gc # builtin                                                   
/usr/local/lib/python2.7/subprocess.pyc matches /usr/local/lib/python2.7/subprocess.py                                                                                   
import subprocess # precompiled from /usr/local/lib/python2.7/subprocess.pyc                                                                                               
import gc # builtin                                                                                                                                                        
dlopen("/usr/local/lib/python2.7/lib-dynload/time.so", 2);                                                                                                                 
import time # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/time.so                                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/select.so", 2);                                                                                                               
import select # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/select.so                                                                                     
# /usr/local/lib/python2.7/pickle.pyc matches /usr/local/lib/python2.7/pickle.py                                                                                           
import pickle # precompiled from /usr/local/lib/python2.7/pickle.pyc                                                                                                       
import marshal # builtin                                                                                                                                                   
# /usr/local/lib/python2.7/struct.pyc matches /usr/local/lib/python2.7/struct.py                                                                                           
import struct # precompiled from /usr/local/lib/python2.7/struct.pyc                                                                                                       
dlopen("/usr/local/lib/python2.7/lib-dynload/_struct.so", 2);                                                                                                              
import _struct # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_struct.so                                                                                   
# /usr/local/lib/python2.7/shlex.pyc matches /usr/local/lib/python2.7/shlex.py                                                                                             
import shlex # precompiled from /usr/local/lib/python2.7/shlex.pyc                                                                                                         
# /usr/local/lib/python2.7/collections.pyc matches /usr/local/lib/python2.7/collections.py                                                                                 
import collections # precompiled from /usr/local/lib/python2.7/collections.pyc                                                                                             
dlopen("/usr/local/lib/python2.7/lib-dynload/_collections.so", 2);                                                                                                         
import _collections # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_collections.so                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/operator.so", 2);                                                                                                             
import operator # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/operator.so                                                                                 
# /usr/local/lib/python2.7/keyword.pyc matches /usr/local/lib/python2.7/keyword.py                                                                                         
import keyword # precompiled from /usr/local/lib/python2.7/keyword.pyc                                                                                                     
# /usr/local/lib/python2.7/heapq.pyc matches /usr/local/lib/python2.7/heapq.py                                                                                             
import heapq # precompiled from /usr/local/lib/python2.7/heapq.pyc                                                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/itertools.so", 2);                                                                                                            
import itertools # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/itertools.so                                                                               
dlopen("/usr/local/lib/python2.7/lib-dynload/_heapq.so", 2);                                                                                                               
import _heapq # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_heapq.so                                                                                     
# /usr/local/lib/python2.7/shutil.pyc matches /usr/local/lib/python2.7/shutil.py                                                                                           
import shutil # precompiled from /usr/local/lib/python2.7/shutil.pyc                                                                                                       
# /usr/local/lib/python2.7/fnmatch.pyc matches /usr/local/lib/python2.7/fnmatch.py                                                                                         
import fnmatch # precompiled from /usr/local/lib/python2.7/fnmatch.pyc                                                                                                     
import pwd # builtin                                                                                                                                                       
dlopen("/usr/local/lib/python2.7/lib-dynload/grp.so", 2);                                                                                                                  
import grp # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/grp.so                                                                                           
# /usr/local/lib/python2.7/threading.pyc matches /usr/local/lib/python2.7/threading.py                                                                                     
import threading # precompiled from /usr/local/lib/python2.7/threading.pyc            
import grp # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/grp.so                                                                                           
# /usr/local/lib/python2.7/threading.pyc matches /usr/local/lib/python2.7/threading.py                                                                                     
import threading # precompiled from /usr/local/lib/python2.7/threading.pyc                                                                                                 
Usage: git fat [init|status|push|pull|gc|verify|checkout|find|index-filter]                                                                                                
# clear __builtin__._                                                                                                                                                      
# clear sys.path                                                                                                                                                           
# clear sys.argv                                                                                                                                                           
# clear sys.ps1                                                                                                                                                            
# clear sys.ps2                                                                                                                                                            
# clear sys.exitfunc                                                                                                                                                       
# clear sys.exc_type                                                                                                                                                       
# clear sys.exc_value                                                                                                                                                      
# clear sys.exc_traceback                                                                                                                                                  
# clear sys.last_type                                                                                                                                                      
# clear sys.last_value                                                                                                                                                     
# clear sys.last_traceback                                                                                                                                                 
# clear sys.path_hooks                                                                                                                                                     
# clear sys.path_importer_cache                                                                                                                                            
# clear sys.meta_path                                                                                                                                                      
# clear sys.flags                                                                                                                                                          
# clear sys.float_info                                                                                                                                                     
# restore sys.stdin                                                                                                                                                        
# restore sys.stdout                                                                                                                                                       
# restore sys.stderr                                                                                                                                                       
# cleanup __main__                                                                                                                                                         
# cleanup[1] cStringIO                                                                                                                                                     
# cleanup[1] __future__                                                                                                                                                    
# cleanup[1] _collections                                                                                                                                                  
# cleanup[1] threading                                                                                                                                                     
# cleanup[1] encodings                                                                                                                                                     
# cleanup[1] site                                                                                                                                                          
# cleanup[1] subprocess                                                                                                                                                    
# cleanup[1] sysconfig                                                                                                                                                     
# cleanup[1] gc                                                                                                                                                            
# cleanup[1] operator                                                                                                                                                      
# cleanup[1] shutil                                                                                                                                                        
# cleanup[1] select                                                                                                                                                        
# cleanup[1] math                                                                                                                                                          
# cleanup[1] _heapq                                 
# cleanup[1] _weakrefset                                                                                                                                                   
# cleanup[1] tempfile                                                                                                                                                      
# cleanup[1] grp                                                                                                                                                           
# cleanup[1] sre_constants                                                                                                                                                 
# cleanup[1] collections                                                                                                                                                   
# cleanup[1] _codecs                                                                                                                                                       
# cleanup[1] _struct                                                                                                                                                       
# cleanup[1] _warnings                                                                                                                                                     
# cleanup[1] random                                                                                                                                                        
# cleanup[1] shlex                                                                                                                                                         
# cleanup[1] fcntl                                                                                                                                                         
# cleanup[1] zipimport                                                                                                                                                     
# cleanup[1] _sysconfigdata                                                                                                                                                
# cleanup[1] encodings.ascii                                                                                                                                               
# cleanup[1] hashlib                                                                                                                                                       
# cleanup[1] fnmatch                                                                                                                                                       
# cleanup[1] pwd                                                                                                                                                           
# cleanup[1] codecs                                                                                                                                                        
# cleanup[1] keyword                                                                                                                                                       
# cleanup[1] thread                                                                                                                                                        
# cleanup[1] pickle                                                                                                                                                        
# cleanup[1] signal                                                                                                                                                        
# cleanup[1] traceback                                                                                                                                                     
# cleanup[1] marshal                                                                                                                                                       
# cleanup[1] itertools                                                                                                                                                     
# cleanup[1] posix                                                                                                                                                         
# cleanup[1] encodings.aliases                                                                                                                                             
# cleanup[1] exceptions                                                                                                                                                    
# cleanup[1] _weakref                                                                                                                                                      
# cleanup[1] heapq                                                                                                                                                         
# cleanup[1] _hashlib                                                                                                                                                      
# cleanup[1] io                                                                                                                                                            
# cleanup[1] abc                                                                                                                                                           
# cleanup[1] _random                 
# cleanup[1] binascii                                                                                                                                                      
# cleanup[1] re                                                                                                                                                            
# cleanup[1] struct                                                                                                                                                        
# cleanup[1] _locale                                                                                                                                                       
# cleanup[1] _io                                                                                                                                                           
# cleanup[1] sre_compile                                                                                                                                                   
# cleanup[1] _sre                                                                                                                                                          
# cleanup[1] sre_parse                                                                                                                                                     
# cleanup[2] copy_reg                                                                                                                                                      
# cleanup[2] posixpath                                                                                                                                                     
# cleanup[2] errno                                                                                                                                                         
# cleanup[2] _abcoll                                                                                                                                                       
# cleanup[2] types                                                                                                                                                         
# cleanup[2] genericpath                                                                                                                                                   
# cleanup[2] stat                                                                                                                                                          
# cleanup[2] warnings                                                                                                                                                      
# cleanup[2] UserDict                                                                                                                                                      
# cleanup[2] os.path                                                                                                                                                       
# cleanup[2] linecache                                                                                                                                                     
# cleanup[2] time                                                                                                                                                          
# cleanup[2] os                                                                                                                                                            
# cleanup sys                                                                                                                                                              
# cleanup __builtin__                                                                                                                                                      
# cleanup ints: 50 unfreed ints                                                                                                                                            
# cleanup floats: 31 unfreed floats   

Open in new window

matiascxAuthor Commented:
when i run only /usr/bin/env python -v , it will print out:
[cabox@box-codeanywhere workspace]$ /usr/bin/env python -v                                                                                                                 
# installing zipimport hook                                                                                                                                                
import zipimport # builtin                                                                                                                                                 
# installed zipimport hook                                                                                                                                                 
# /usr/local/lib/python2.7/site.pyc matches /usr/local/lib/python2.7/site.py                                                                                               
import site # precompiled from /usr/local/lib/python2.7/site.pyc                                                                                                           
# /usr/local/lib/python2.7/os.pyc matches /usr/local/lib/python2.7/os.py                                                                                                   
import os # precompiled from /usr/local/lib/python2.7/os.pyc                                                                                                               
import errno # builtin                                                                                                                                                     
import posix # builtin                                                                                                                                                     
# /usr/local/lib/python2.7/posixpath.pyc matches /usr/local/lib/python2.7/posixpath.py                                                                                     
import posixpath # precompiled from /usr/local/lib/python2.7/posixpath.pyc                                                                                                 
# /usr/local/lib/python2.7/stat.pyc matches /usr/local/lib/python2.7/stat.py                                                                                               
import stat # precompiled from /usr/local/lib/python2.7/stat.pyc                                                                                                           
# /usr/local/lib/python2.7/genericpath.pyc matches /usr/local/lib/python2.7/genericpath.py                                                                                 
import genericpath # precompiled from /usr/local/lib/python2.7/genericpath.pyc                                                                                             
# /usr/local/lib/python2.7/warnings.pyc matches /usr/local/lib/python2.7/warnings.py                                                                                       
import warnings # precompiled from /usr/local/lib/python2.7/warnings.pyc                                                                                                   
# /usr/local/lib/python2.7/linecache.pyc matches /usr/local/lib/python2.7/linecache.py                                                                                     
import linecache # precompiled from /usr/local/lib/python2.7/linecache.pyc                                                                                                 
# /usr/local/lib/python2.7/types.pyc matches /usr/local/lib/python2.7/types.py                                                                                             
import types # precompiled from /usr/local/lib/python2.7/types.pyc                                                                                                         
# /usr/local/lib/python2.7/UserDict.pyc matches /usr/local/lib/python2.7/UserDict.py                                                                                       
import UserDict # precompiled from /usr/local/lib/python2.7/UserDict.pyc                                                                                                   
# /usr/local/lib/python2.7/_abcoll.pyc matches /usr/local/lib/python2.7/_abcoll.py                                                                                         
import _abcoll # precompiled from /usr/local/lib/python2.7/_abcoll.pyc                                                                                                     
# /usr/local/lib/python2.7/abc.pyc matches /usr/local/lib/python2.7/abc.py                                                                                                 
import abc # precompiled from /usr/local/lib/python2.7/abc.pyc                                                                                                             
# /usr/local/lib/python2.7/_weakrefset.pyc matches /usr/local/lib/python2.7/_weakrefset.py                                                                                 
import _weakrefset # precompiled from /usr/local/lib/python2.7/_weakrefset.pyc                                                                                             
import _weakref # builtin                                                                                                                                                  
# /usr/local/lib/python2.7/copy_reg.pyc matches /usr/local/lib/python2.7/copy_reg.py                                                                                       
import copy_reg # precompiled from /usr/local/lib/python2.7/copy_reg.pyc                                                                                                   
# /usr/local/lib/python2.7/traceback.pyc matches /usr/local/lib/python2.7/traceback.py                                                                                     
import traceback # precompiled from /usr/local/lib/python2.7/traceback.pyc                                                                                                 
# /usr/local/lib/python2.7/sysconfig.pyc matches /usr/local/lib/python2.7/sysconfig.py                                                                                     
import sysconfig # precompiled from /usr/local/lib/python2.7/sysconfig.pyc                                                                                                 
# /usr/local/lib/python2.7/re.pyc matches /usr/local/lib/python2.7/re.py       

Open in new window

[cabox@box-codeanywhere workspace]$ /usr/bin/env python -v /usr/local/git/bin/git-fat                                                                                      
# installing zipimport hook                                                                                                                                                
import zipimport # builtin                                                                                                                                                 
# installed zipimport hook                                                                                                                                                 
# /usr/local/lib/python2.7/site.pyc matches /usr/local/lib/python2.7/site.py                                                                                               
import site # precompiled from /usr/local/lib/python2.7/site.pyc                                                                                                           
# /usr/local/lib/python2.7/os.pyc matches /usr/local/lib/python2.7/os.py                                                                                                   
import os # precompiled from /usr/local/lib/python2.7/os.pyc                                                                                                               
import errno # builtin                                                                                                                                                     
import posix # builtin                                                                                                                                                     
# /usr/local/lib/python2.7/posixpath.pyc matches /usr/local/lib/python2.7/posixpath.py                                                                                     
import posixpath # precompiled from /usr/local/lib/python2.7/posixpath.pyc                                                                                                 
# /usr/local/lib/python2.7/stat.pyc matches /usr/local/lib/python2.7/stat.py                                                                                               
import stat # precompiled from /usr/local/lib/python2.7/stat.pyc                                                                                                           
# /usr/local/lib/python2.7/genericpath.pyc matches /usr/local/lib/python2.7/genericpath.py                                                                                 
import genericpath # precompiled from /usr/local/lib/python2.7/genericpath.pyc                                                                                             
# /usr/local/lib/python2.7/warnings.pyc matches /usr/local/lib/python2.7/warnings.py                                                                                       
import warnings # precompiled from /usr/local/lib/python2.7/warnings.pyc                                                                                                   
# /usr/local/lib/python2.7/linecache.pyc matches /usr/local/lib/python2.7/linecache.py                                                                                     
import linecache # precompiled from /usr/local/lib/python2.7/linecache.pyc                                                                                                 
# /usr/local/lib/python2.7/types.pyc matches /usr/local/lib/python2.7/types.py                                                                                             
import types # precompiled from /usr/local/lib/python2.7/types.pyc                                                                                                         
# /usr/local/lib/python2.7/UserDict.pyc matches /usr/local/lib/python2.7/UserDict.py                                                                                       
import UserDict # precompiled from /usr/local/lib/python2.7/UserDict.pyc                                                                                                   
# /usr/local/lib/python2.7/_abcoll.pyc matches /usr/local/lib/python2.7/_abcoll.py                                                                                         
import _abcoll # precompiled from /usr/local/lib/python2.7/_abcoll.pyc                                                                                                     
# /usr/local/lib/python2.7/abc.pyc matches /usr/local/lib/python2.7/abc.py                                                                                                 
import abc # precompiled from /usr/local/lib/python2.7/abc.pyc                                                                                                             
# /usr/local/lib/python2.7/_weakrefset.pyc matches /usr/local/lib/python2.7/_weakrefset.py                                                                                 
import _weakrefset # precompiled from /usr/local/lib/python2.7/_weakrefset.pyc                                                                                             
import _weakref # builtin                                                                                                                                                  
# /usr/local/lib/python2.7/copy_reg.pyc matches /usr/local/lib/python2.7/copy_reg.py                                                                                       
import copy_reg # precompiled from /usr/local/lib/python2.7/copy_reg.pyc        
import _weakrefset # precompiled from /usr/local/lib/python2.7/_weakrefset.pyc                                                                                             
import _weakref # builtin                                                                                                                                                  
# /usr/local/lib/python2.7/copy_reg.pyc matches /usr/local/lib/python2.7/copy_reg.py                                                                                       
import copy_reg # precompiled from /usr/local/lib/python2.7/copy_reg.pyc                                                                                                   
# /usr/local/lib/python2.7/traceback.pyc matches /usr/local/lib/python2.7/traceback.py                                                                                     
import traceback # precompiled from /usr/local/lib/python2.7/traceback.pyc                                                                                                 
# /usr/local/lib/python2.7/sysconfig.pyc matches /usr/local/lib/python2.7/sysconfig.py                                                                                     
import sysconfig # precompiled from /usr/local/lib/python2.7/sysconfig.pyc                                                                                                 
# /usr/local/lib/python2.7/re.pyc matches /usr/local/lib/python2.7/re.py                                                                                                   
import re # precompiled from /usr/local/lib/python2.7/re.pyc                                                                                                               
# /usr/local/lib/python2.7/sre_compile.pyc matches /usr/local/lib/python2.7/sre_compile.py                                                                                 
import sre_compile # precompiled from /usr/local/lib/python2.7/sre_compile.pyc                                                                                             
import _sre # builtin                                                                                                                                                      
# /usr/local/lib/python2.7/sre_parse.pyc matches /usr/local/lib/python2.7/sre_parse.py                                                                                     
import sre_parse # precompiled from /usr/local/lib/python2.7/sre_parse.pyc                                                                                                 
# /usr/local/lib/python2.7/sre_constants.pyc matches /usr/local/lib/python2.7/sre_constants.py                                                                             
import sre_constants # precompiled from /usr/local/lib/python2.7/sre_constants.pyc                                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/_locale.so", 2);                                                                                                              
import _locale # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_locale.so                                                                                   
# /usr/local/lib/python2.7/_sysconfigdata.pyc matches /usr/local/lib/python2.7/_sysconfigdata.py                                                                           
import _sysconfigdata # precompiled from /usr/local/lib/python2.7/_sysconfigdata.pyc                                                                                       
import encodings # directory /usr/local/lib/python2.7/encodings                                                                                                            
# /usr/local/lib/python2.7/encodings/__init__.pyc matches /usr/local/lib/python2.7/encodings/__init__.py                                                                   
import encodings # precompiled from /usr/local/lib/python2.7/encodings/__init__.pyc                                                                                        
# /usr/local/lib/python2.7/codecs.pyc matches /usr/local/lib/python2.7/codecs.py                                                                                           
import codecs # precompiled from /usr/local/lib/python2.7/codecs.pyc                                                                                                       
import _codecs # builtin                                                                                                                                                   
# /usr/local/lib/python2.7/encodings/aliases.pyc matches /usr/local/lib/python2.7/encodings/aliases.py  
import codecs # precompiled from /usr/local/lib/python2.7/codecs.pyc                                                                                                       
import _codecs # builtin                                                                                                                                                   
# /usr/local/lib/python2.7/encodings/aliases.pyc matches /usr/local/lib/python2.7/encodings/aliases.py                                                                     
import encodings.aliases # precompiled from /usr/local/lib/python2.7/encodings/aliases.pyc                                                                                 
# /usr/local/lib/python2.7/encodings/ascii.pyc matches /usr/local/lib/python2.7/encodings/ascii.py                                                                         
import encodings.ascii # precompiled from /usr/local/lib/python2.7/encodings/ascii.pyc                                                                                     
Python 2.7.10 (default, Sep  1 2015, 04:15:57)                                                                                                                             
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2                                                                                                                          
Type "help", "copyright", "credits" or "license" for more information.                                                                                                     
# /usr/local/lib/python2.7/__future__.pyc matches /usr/local/lib/python2.7/__future__.py                                                                                   
import __future__ # precompiled from /usr/local/lib/python2.7/__future__.pyc                                                                                               
# /usr/local/lib/python2.7/hashlib.pyc matches /usr/local/lib/python2.7/hashlib.py                                                                                         
import hashlib # precompiled from /usr/local/lib/python2.7/hashlib.pyc                                                                                                     
dlopen("/usr/local/lib/python2.7/lib-dynload/_hashlib.so", 2);                                                                                                             
import _hashlib # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_hashlib.so                                                                                 
# /usr/local/lib/python2.7/tempfile.pyc matches /usr/local/lib/python2.7/tempfile.py                                                                                       
import tempfile # precompiled from /usr/local/lib/python2.7/tempfile.pyc                                                                                                   
# /usr/local/lib/python2.7/io.pyc matches /usr/local/lib/python2.7/io.py                                                                                                   
import io # precompiled from /usr/local/lib/python2.7/io.pyc                                                                                                               
dlopen("/usr/local/lib/python2.7/lib-dynload/_io.so", 2);                                                                                                                  
import _io # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_io.so                                                                                           
# /usr/local/lib/python2.7/random.pyc matches /usr/local/lib/python2.7/random.py                                                                                           
import random # precompiled from /usr/local/lib/python2.7/random.pyc                                                                                                       
dlopen("/usr/local/lib/python2.7/lib-dynload/math.so", 2);                                                                                                                 
import math # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/math.so                                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/binascii.so", 2);                                                                                                             
import binascii # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/binascii.so                                                                                 
dlopen("/usr/local/lib/python2.7/lib-dynload/_random.so", 2);                                                                                                              
import _random # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_random.so                                                                                   
dlopen("/usr/local/lib/python2.7/lib-dynload/cStringIO.so", 2);                                                                                                            
import cStringIO # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/cStringIO.so                                                                               
dlopen("/usr/local/lib/python2.7/lib-dynload/fcntl.so", 2);                                                                                                                
import fcntl # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/fcntl.so                                                                                       
import thread # builtin                                                                                                                                                    
# /usr/local/lib/python2.7/subprocess.pyc matches /usr/local/lib/python2.7/subprocess.py                                                                                   
import subprocess # precompiled from /usr/local/lib/python2.7/subprocess.pyc                                                                                               
import gc # builtin                                                   
/usr/local/lib/python2.7/subprocess.pyc matches /usr/local/lib/python2.7/subprocess.py                                                                                   
import subprocess # precompiled from /usr/local/lib/python2.7/subprocess.pyc                                                                                               
import gc # builtin                                                                                                                                                        
dlopen("/usr/local/lib/python2.7/lib-dynload/time.so", 2);                                                                                                                 
import time # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/time.so                                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/select.so", 2);                                                                                                               
import select # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/select.so                                                                                     
# /usr/local/lib/python2.7/pickle.pyc matches /usr/local/lib/python2.7/pickle.py                                                                                           
import pickle # precompiled from /usr/local/lib/python2.7/pickle.pyc                                                                                                       
import marshal # builtin                                                                                                                                                   
# /usr/local/lib/python2.7/struct.pyc matches /usr/local/lib/python2.7/struct.py                                                                                           
import struct # precompiled from /usr/local/lib/python2.7/struct.pyc                                                                                                       
dlopen("/usr/local/lib/python2.7/lib-dynload/_struct.so", 2);                                                                                                              
import _struct # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_struct.so                                                                                   
# /usr/local/lib/python2.7/shlex.pyc matches /usr/local/lib/python2.7/shlex.py                                                                                             
import shlex # precompiled from /usr/local/lib/python2.7/shlex.pyc                                                                                                         
# /usr/local/lib/python2.7/collections.pyc matches /usr/local/lib/python2.7/collections.py                                                                                 
import collections # precompiled from /usr/local/lib/python2.7/collections.pyc                                                                                             
dlopen("/usr/local/lib/python2.7/lib-dynload/_collections.so", 2);                                                                                                         
import _collections # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_collections.so                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/operator.so", 2);                                                                                                             
import operator # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/operator.so                                                                                 
# /usr/local/lib/python2.7/keyword.pyc matches /usr/local/lib/python2.7/keyword.py                                                                                         
import keyword # precompiled from /usr/local/lib/python2.7/keyword.pyc                                                                                                     
# /usr/local/lib/python2.7/heapq.pyc matches /usr/local/lib/python2.7/heapq.py                                                                                             
import heapq # precompiled from /usr/local/lib/python2.7/heapq.pyc                                                                                                         
dlopen("/usr/local/lib/python2.7/lib-dynload/itertools.so", 2);                                                                                                            
import itertools # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/itertools.so                                                                               
dlopen("/usr/local/lib/python2.7/lib-dynload/_heapq.so", 2);                                                                                                               
import _heapq # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/_heapq.so                                                                                     
# /usr/local/lib/python2.7/shutil.pyc matches /usr/local/lib/python2.7/shutil.py                                                                                           
import shutil # precompiled from /usr/local/lib/python2.7/shutil.pyc                                                                                                       
# /usr/local/lib/python2.7/fnmatch.pyc matches /usr/local/lib/python2.7/fnmatch.py                                                                                         
import fnmatch # precompiled from /usr/local/lib/python2.7/fnmatch.pyc                                                                                                     
import pwd # builtin                                                                                                                                                       
dlopen("/usr/local/lib/python2.7/lib-dynload/grp.so", 2);                                                                                                                  
import grp # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/grp.so                                                                                           
# /usr/local/lib/python2.7/threading.pyc matches /usr/local/lib/python2.7/threading.py                                                                                     
import threading # precompiled from /usr/local/lib/python2.7/threading.pyc            
import grp # dynamically loaded from /usr/local/lib/python2.7/lib-dynload/grp.so                                                                                           
# /usr/local/lib/python2.7/threading.pyc matches /usr/local/lib/python2.7/threading.py                                                                                     
import threading # precompiled from /usr/local/lib/python2.7/threading.pyc                                                                                                 
Usage: git fat [init|status|push|pull|gc|verify|checkout|find|index-filter]                                                                                                
# clear __builtin__._                                                                                                                                                      
# clear sys.path                                                                                                                                                           
# clear sys.argv                                                                                                                                                           
# clear sys.ps1                                                                                                                                                            
# clear sys.ps2                                                                                                                                                            
# clear sys.exitfunc                                                                                                                                                       
# clear sys.exc_type                                                                                                                                                       
# clear sys.exc_value                                                                                                                                                      
# clear sys.exc_traceback                                                                                                                                                  
# clear sys.last_type                                                                                                                                                      
# clear sys.last_value                                                                                                                                                     
# clear sys.last_traceback                                                                                                                                                 
# clear sys.path_hooks                                                                                                                                                     
# clear sys.path_importer_cache                                                                                                                                            
# clear sys.meta_path                                                                                                                                                      
# clear sys.flags                                                                                                                                                          
# clear sys.float_info                                                                                                                                                     
# restore sys.stdin                                                                                                                                                        
# restore sys.stdout                                                                                                                                                       
# restore sys.stderr                                                                                                                                                       
# cleanup __main__                                                                                                                                                         
# cleanup[1] cStringIO                                                                                                                                                     
# cleanup[1] __future__                                                                                                                                                    
# cleanup[1] _collections                                                                                                                                                  
# cleanup[1] threading                                                                                                                                                     
# cleanup[1] encodings                                                                                                                                                     
# cleanup[1] site                                                                                                                                                          
# cleanup[1] subprocess                                                                                                                                                    
# cleanup[1] sysconfig                                                                                                                                                     
# cleanup[1] gc                                                                                                                                                            
# cleanup[1] operator                                                                                                                                                      
# cleanup[1] shutil                                                                                                                                                        
# cleanup[1] select                                                                                                                                                        
# cleanup[1] math                                                                                                                                                          
# cleanup[1] _heapq                                 
# cleanup[1] _weakrefset                                                                                                                                                   
# cleanup[1] tempfile                                                                                                                                                      
# cleanup[1] grp                                                                                                                                                           
# cleanup[1] sre_constants                                                                                                                                                 
# cleanup[1] collections                                                                                                                                                   
# cleanup[1] _codecs                                                                                                                                                       
# cleanup[1] _struct                                                                                                                                                       
# cleanup[1] _warnings                                                                                                                                                     
# cleanup[1] random                                                                                                                                                        
# cleanup[1] shlex                                                                                                                                                         
# cleanup[1] fcntl                                                                                                                                                         
# cleanup[1] zipimport                                                                                                                                                     
# cleanup[1] _sysconfigdata                                                                                                                                                
# cleanup[1] encodings.ascii                                                                                                                                               
# cleanup[1] hashlib                                                                                                                                                       
# cleanup[1] fnmatch                                                                                                                                                       
# cleanup[1] pwd                                                                                                                                                           
# cleanup[1] codecs                                                                                                                                                        
# cleanup[1] keyword                                                                                                                                                       
# cleanup[1] thread                                                                                                                                                        
# cleanup[1] pickle                                                                                                                                                        
# cleanup[1] signal                                                                                                                                                        
# cleanup[1] traceback                                                                                                                                                     
# cleanup[1] marshal                                                                                                                                                       
# cleanup[1] itertools                                                                                                                                                     
# cleanup[1] posix                                                                                                                                                         
# cleanup[1] encodings.aliases                                                                                                                                             
# cleanup[1] exceptions                                                                                                                                                    
# cleanup[1] _weakref                                                                                                                                                      
# cleanup[1] heapq                                                                                                                                                         
# cleanup[1] _hashlib                                                                                                                                                      
# cleanup[1] io                                                                                                                                                            
# cleanup[1] abc                                                                                                                                                           
# cleanup[1] _random                 
# cleanup[1] binascii                                                                                                                                                      
# cleanup[1] re                                                                                                                                                            
# cleanup[1] struct                                                                                                                                                        
# cleanup[1] _locale                                                                                                                                                       
# cleanup[1] _io                                                                                                                                                           
# cleanup[1] sre_compile                                                                                                                                                   
# cleanup[1] _sre                                                                                                                                                          
# cleanup[1] sre_parse                                                                                                                                                     
# cleanup[2] copy_reg                                                                                                                                                      
# cleanup[2] posixpath                                                                                                                                                     
# cleanup[2] errno                                                                                                                                                         
# cleanup[2] _abcoll                                                                                                                                                       
# cleanup[2] types                                                                                                                                                         
# cleanup[2] genericpath                                                                                                                                                   
# cleanup[2] stat                                                                                                                                                          
# cleanup[2] warnings                                                                                                                                                      
# cleanup[2] UserDict                                                                                                                                                      
# cleanup[2] os.path                                                                                                                                                       
# cleanup[2] linecache                                                                                                                                                     
# cleanup[2] time                                                                                                                                                          
# cleanup[2] os                                                                                                                                                            
# cleanup sys                                                                                                                                                              
# cleanup __builtin__                                                                                                                                                      
# cleanup ints: 50 unfreed ints                                                                                                                                            
# cleanup floats: 31 unfreed floats   

Open in new window

gheistCommented:
Please clean up your manual builds
It took me 2 minutes to get it running on CentOS 6.7 using distribution packages.
It is obvious in your trace that script is invoked with manual build of python 2.7 (which you should get from "Software Collections" not build by hand)

So the final advice is to get back to original system (easieast is to remove /usr/local )
and start back with fresh distribution-supplied python 2.6.6 and git 1.9.5
matiascxAuthor Commented:
ok, i have another clean VPS which has python 2.6.6 and git 2.0.4, here is output snippet:
[cabox@box-codeanywhere gitfattest]$  /usr/bin/env python -v /usr/local/git/bin/git-fat                                                                                    
# installing zipimport hook                                                                                                                                                
import zipimport # builtin                                                                                                                                                 
# installed zipimport hook                                                                                                                                                 
# /usr/lib64/python2.6/site.pyc matches /usr/lib64/python2.6/site.py                                                                                                       
import site # precompiled from /usr/lib64/python2.6/site.pyc                                                                                                               
# /usr/lib64/python2.6/os.pyc matches /usr/lib64/python2.6/os.py                                                                                                           
import os # precompiled from /usr/lib64/python2.6/os.pyc                                                                                                                   
import errno # builtin                                                                                                                                                     
import posix # builtin                                                                                                                                                     
# /usr/lib64/python2.6/posixpath.pyc matches /usr/lib64/python2.6/posixpath.py                                                                                             
import posixpath # precompiled from /usr/lib64/python2.6/posixpath.pyc                                                                                                     
# /usr/lib64/python2.6/stat.pyc matches /usr/lib64/python2.6/stat.py                                                                                                       
import stat # precompiled from /usr/lib64/python2.6/stat.pyc                                                                                                               
# /usr/lib64/python2.6/genericpath.pyc matches /usr/lib64/python2.6/genericpath.py                                                                                         
import genericpath # precompiled from /usr/lib64/python2.6/genericpath.pyc                                                                                                 
# /usr/lib64/python2.6/warnings.pyc matches /usr/lib64/python2.6/warnings.py                                                                                               
import warnings # precompiled from /usr/lib64/python2.6/warnings.pyc                                                                                                       
# /usr/lib64/python2.6/linecache.pyc matches /usr/lib64/python2.6/linecache.py                                                                                             
import linecache # precompiled from /usr/lib64/python2.6/linecache.pyc                                                                                                     
# /usr/lib64/python2.6/types.pyc matches /usr/lib64/python2.6/types.py                                                                                                     
import types # precompiled from /usr/lib64/python2.6/types.pyc                                                                                                             
# /usr/lib64/python2.6/UserDict.pyc matches /usr/lib64/python2.6/UserDict.py                                                                                               
import UserDict # precompiled from /usr/lib64/python2.6/UserDict.pyc                                                                                                       
# /usr/lib64/python2.6/_abcoll.pyc matches /usr/lib64/python2.6/_abcoll.py                                                                                                 
import _abcoll # precompiled from /usr/lib64/python2.6/_abcoll.pyc                                                                                                         
# /usr/lib64/python2.6/abc.pyc matches /usr/lib64/python2.6/abc.py                                                                                                         
import abc # precompiled from /usr/lib64/python2.6/abc.pyc           
# /usr/lib64/python2.6/encodings/aliases.pyc matches /usr/lib64/python2.6/encodings/aliases.py                                                                             
import encodings.aliases # precompiled from /usr/lib64/python2.6/encodings/aliases.pyc                                                                                     
# /usr/lib64/python2.6/encodings/ascii.pyc matches /usr/lib64/python2.6/encodings/ascii.py                                                                                 
import encodings.ascii # precompiled from /usr/lib64/python2.6/encodings/ascii.pyc                                                                                         
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)                                                                                                                           
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2                                                                                                                           
Type "help", "copyright", "credits" or "license" for more information.                                                                                                     
# /usr/lib64/python2.6/__future__.pyc matches /usr/lib64/python2.6/__future__.py                                                                                           
import __future__ # precompiled from /usr/lib64/python2.6/__future__.pyc                                                                                                   
# /usr/lib64/python2.6/hashlib.pyc matches /usr/lib64/python2.6/hashlib.py                                                                                                 
import hashlib # precompiled from /usr/lib64/python2.6/hashlib.pyc                                                                                                         
dlopen("/usr/lib64/python2.6/lib-dynload/_hashlib.so", 2);                                                                                                                 
import _hashlib # dynamically loaded from /usr/lib64/python2.6/lib-dynload/_hashlib.so                                                                                     
# /usr/lib64/python2.6/tempfile.pyc matches /usr/lib64/python2.6/tempfile.py                                                                                               
import tempfile # precompiled from /usr/lib64/python2.6/tempfile.pyc                                                                                                       
# /usr/lib64/python2.6/random.pyc matches /usr/lib64/python2.6/random.py                                                                                                   
import random # precompiled from /usr/lib64/python2.6/random.pyc                                                                                                           
dlopen("/usr/lib64/python2.6/lib-dynload/mathmodule.so", 2);                                                                                                               
import math # dynamically loaded from /usr/lib64/python2.6/lib-dynload/mathmodule.so                                                                                       
dlopen("/usr/lib64/python2.6/lib-dynload/binascii.so", 2);                                                                                                                 
import binascii # dynamically loaded from /usr/lib64/python2.6/lib-dynload/binascii.so                                                                                     
dlopen("/usr/lib64/python2.6/lib-dynload/_randommodule.so", 2);                                                                                                            
import _random # dynamically loaded from /usr/lib64/python2.6/lib-dynload/_randommodule.so                                                                                 
dlopen("/usr/lib64/python2.6/lib-dynload/cStringIO.so", 2);                                                                                                                
import cStringIO # dynamically loaded from /usr/lib64/python2.6/lib-dynload/cStringIO.so                                                                                   
dlopen("/usr/lib64/python2.6/lib-dynload/fcntlmodule.so", 2);                                                                                                              
import fcntl # dynamically loaded from /usr/lib64/python2.6/lib-dynload/fcntlmodule.so                                                                                     
import thread # builtin                                                                                                                                                    
# /usr/lib64/python2.6/subprocess.pyc matches /usr/lib64/python2.6/subprocess.py                                                                                           
import subprocess # precompiled from /usr/lib64/python2.6/subprocess.pyc                                                                                                   
# /usr/lib64/python2.6/traceback.pyc matches /usr/lib64/python2.6/traceback.py                                                                                             
import traceback # precompiled from /usr/lib64/python2.6/traceback.pyc                                                                                                     
import gc # builtin                                                           

Open in new window

matiascxAuthor Commented:
With python2.6.6(the centos 6.5)+git 2.0.4, this will report the issue in this question's title "git fat pull happens nothing in centos 6.3 python 2.6.6".

Since my production server is not very easy to upgrade to CENTOS6.7, is there any other idea?
Or how to upgrade the CENTOS itself?

Thanks a lot for your valuable information~!
gheistCommented:
Does not matter. You said it works on other VPS.
Clean up manually built packages if you cannot handle them.
matiascxAuthor Commented:
It really works on ubuntu 14 + python2.7.6 +git 1.9.1
which is my vagrant dev box environment
gheistCommented:
Get CentOS 6.3 or 6.7 with factory-made python and git
That works like a charm
I think ubuntu will react same if you compile python 2.6 and prepend it to system path where python used by aptitiude is....
I already told to use /usr/bin/python where you have env python. That will choose system-default python and hopefully solves the issue.

If I were you I would resort to reinstall (make a new machine and copy applications) with CentOS7 with native python 2.7 or CentOS6 and SCL Python27  (or for that sake - debian 8 or ubuntu 14.04 can do too)

The problem is not about having prehistoric CentOS patch level, it is even worse - with homebrew files outside system's package management impairing normal system operation.
matiascxAuthor Commented:
I will take into account for your proposal of reinstalling the production server with centos7 which have python2.7 natively.
Maybe that will solve the problem.
Thanks~!
gheistCommented:
You can make a try in a virtual machine ;)
There is no easy fix for hand-built applications on top of well-designed package management.
Python 2.7 is good as it is long term release and supported on python.org until 2020.
If you really need multiple versions of python on RHEL/CentOS:
https://wiki.centos.org/AdditionalResources/Repositories/SCL
https://www.softwarecollections.org/en/scls/user/rhscl/
matiascxAuthor Commented:
Hi, sir,
Very strange, when i run command prefixed by python manually, it will not print out any error information now.
[cabox@box-codeanywhere gitfattest]$ python ~/bin/git-fat status                                                                                                           
Setting filters in .git/config                                                                                                                                             
Creating .git/fat/objects                                                                                                                                                  
Initialized git-fat                                                                                                                                                        
Orphan objects:                                                                                                                                                            
        0dfb6d882da0585010f5dd76d5fc3cc9006c6036                                                                                                                           
        67f3548b5ee334f1e7e2eb1cebd9484de7f967d4                                                                                                                           
        7618be44d2875a17cb29e9a1693b507b75328d2e                                                                                                                           
        30e1a454375b7f852041dd7e319b61847ea12993                                                                                                                           
        1a8dbe439c4de55a93f2fd6bb93e1bc51d1cb734                    

Open in new window

matiascxAuthor Commented:
It seems that there is something wrong when invoked by git subcommand environment for the python fat scripts.

Hmm, thanks anyway, have a nice day. I will go to bed
gheistCommented:
Yes - it invokes hand-built python 2.7, but script checks if /usr/bin/python is same version.
You can get around that check by removing env prefix.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
matiascxAuthor Commented:
Hi, gheist,
It is a good message that it seems that python2.7(hand build)+git2.0.4 works well now.
It seems that there is something wrong with the git-fat text itself(not confirmed yet).
Thanks
matiascxAuthor Commented:
Hi, gheist,
I have upgraded to python2.7(hand build) in my production server, and it works well. The root cause should be official content of git-fat (maybe have something with "IndentationError: unindent does not match any outer indentation level").

Thanks for your guide and have a nice day~!
matiascxAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 300 points for gheist's comment #a40956979
Assisted answer: 100 points for gheist's comment #a40956598
Assisted answer: 100 points for gheist's comment #a40956702
Assisted answer: 0 points for matiascx's comment #a40958135

for the following reason:

thanks for information provided as a clue
gheistCommented:
git-fat works perfectly with python and git as shipped with CentOS 6
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Git

From novice to tech pro — start learning today.