[IPython-dev] Problems with IPython's git repo

Hans Meine hans_meine@gmx....
Fri Oct 8 10:58:33 CDT 2010


Hi everybody,

I have been using ipython from git for a long time already, but today when I 
wanted to try out the merged newkernel stuff, I got this:

# python setup.py develop --prefix `local_prefix`                           
Traceback (most recent call last):
  File "setup.py", line 50, in <module>
    from IPython.utils.path import target_update
  File "/informatik/home/meine/Programming/ipython/IPython/__init__.py", line 
40, in <module>
    from .config.loader import Config
  File "/informatik/home/meine/Programming/ipython/IPython/config/loader.py", 
line 26, in <module>
    from IPython.utils.path import filefind
OverflowError: modification time overflows a 4 byte field

It turns out that the 0-byte __init__.py's had very strange timestamps:

Jun 26  1927 ./IPython/frontend/qt/console/tests/__init__.py
Jun 26  1927 ./IPython/frontend/qt/console/__init__.py
Jun 26  1927 ./IPython/frontend/qt/__init__.py
Jun 26  1927 ./IPython/frontend/terminal/__init__.py
Jun 26  1927 ./IPython/frontend/terminal/tests/__init__.py
Jul 26  1978 ./IPython/frontend/__init__.py
Jul 26  1978 ./IPython/extensions/tests/__init__.py
Jul 26  1978 ./IPython/deathrow/tests/__init__.py
Jul 26  1978 ./IPython/deathrow/__init__.py
Jul 26  1978 ./IPython/core/__init__.py
Jul 26  1978 ./IPython/core/tests/__init__.py
Jul 26  1978 ./IPython/testing/plugin/__init__.py
Jun 26  1927 ./IPython/zmq/tests/__init__.py
Mär 10  1995 ./IPython/zmq/__init__.py
Jun 26  1927 ./IPython/zmq/pylab/__init__.py
Jul 26  1978 ./IPython/config/default/__init__.py
Jul 26  1978 ./IPython/config/profile/__init__.py
Jul 26  1978 ./IPython/config/tests/__init__.py
Jul 26  1978 ./IPython/lib/tests/__init__.py
Jul 26  1978 ./IPython/utils/tests/__init__.py
Jul 26  1978 ./IPython/utils/__init__.py
Jul 26  1978 ./IPython/quarantine/tests/__init__.py
Jul 26  1978 ./IPython/quarantine/__init__.py
Jul 26  1978 ./IPython/scripts/__init__.py

I deleted them, did a "git reset --hard", and got all of them re-created.. 
with an even better timestamp:

Sep 16  1964 ./IPython/frontend/qt/console/tests/__init__.py
Sep 16  1964 ./IPython/frontend/qt/console/__init__.py
Sep 16  1964 ./IPython/frontend/qt/__init__.py
Sep 16  1964 ./IPython/frontend/terminal/__init__.py
...

Of course I can simply touch them, but what's the point?  I am struggling 
enough with git itself, I don't need these funny errors (guess how many 
minutes it took me to find out why setup.py failed in the first place..)!

Best,
  Hans


More information about the IPython-dev mailing list