Skip to content

Instantly share code, notes, and snippets.

View cdeil's full-sized avatar

Christoph Deil cdeil

View GitHub Profile
@cdeil
cdeil / results.log
Created June 21, 2012 12:26
IPython test log
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python2.7/lib/python2.7/site-packages/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
@cdeil
cdeil / results.log
Created June 21, 2012 12:26
IPython test log
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
@cdeil
cdeil / gist:2982303
Created June 24, 2012 07:44
ipython sphinx doc build log
ip0x0872:ipython deil$ cd docs/
ip0x0872:docs deil$ make clean
rm -rf build/* dist/* source/api/generated
ip0x0872:docs deil$ make
python autogen_api.py
WARNING: Empty - IPython.config
WARNING: Empty - IPython.core
WARNING: Empty - IPython.core.release
WARNING: Empty - IPython.core.shadowns
WARNING: Empty - IPython.lib
@cdeil
cdeil / gist:3016475
Created June 29, 2012 07:29
skimage b891a7c9d18a2a40942d3cec5608597e4cb9de1c build / docs / test log
christoph-deils-macbook:scikits-image deil$ python setup.py install --user
cython -o /Users/deil/code/scikits-image/skimage/graph/_spath.c /Users/deil/code/scikits-image/skimage/graph/_spath.pyx
cython -o /Users/deil/code/scikits-image/skimage/graph/_mcp.c /Users/deil/code/scikits-image/skimage/graph/_mcp.pyx
cython -o /Users/deil/code/scikits-image/skimage/graph/heap.c /Users/deil/code/scikits-image/skimage/graph/heap.pyx
cython -o /Users/deil/code/scikits-image/skimage/io/_plugins/_colormixer.c /Users/deil/code/scikits-image/skimage/io/_plugins/_colormixer.pyx
cython -o /Users/deil/code/scikits-image/skimage/io/_plugins/_histograms.c /Users/deil/code/scikits-image/skimage/io/_plugins/_histograms.pyx
cython -o /Users/deil/code/scikits-image/skimage/morphology/ccomp.c /Users/deil/code/scikits-image/skimage/morphology/ccomp.pyx
cython -o /Users/deil/code/scikits-image/skimage/morphology/cmorph.c /Users/deil/code/scikits-image/skimage/morphology/cmorph.pyx
cython -o /Users/deil/code/scikits-image/skimage/morpho
@cdeil
cdeil / gist:3089704
Created July 11, 2012 11:04
root_v5.34.00.source build failure on Mac OS Lion with Macports GLEW
$ ./configure --enable-minuit2
Checking for source directory ... /Users/deil/bin/root/root_v5.34.00.source
Configuring for macosx64
Checking for Fink/MacPorts directory ... /opt/local
Checking for GNU Make version >= 3.80 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... gfortran
Checking for libX11 ... /opt/local/lib
@cdeil
cdeil / gist:3091111
Created July 11, 2012 15:24
rootpy dict generation with ROOT 5.34 and python 2.6 on Linux
(astro_python)lfs1> python -c 'import rootpy.types'
generating dictionary for vector<vector<bool> >...
/home/hfm/deil/.rootpy/dicts/64/336384/6c3080326ca3480b81aa8a2360598e92_ACLiC_dict.o: In function `global constructors keyed to 6c3080326ca3480b81aa8a2360598e92_ACLiC_dict.cxx':
6c3080326ca3480b81aa8a2360598e92_ACLiC_dict.cxx:(.text+0x880): undefined reference to `G__add_setup_func'
6c3080326ca3480b81aa8a2360598e92_ACLiC_dict.cxx:(.text+0x885): undefined reference to `G__call_setup_funcs'
/home/hfm/deil/.rootpy/dicts/64/336384/6c3080326ca3480b81aa8a2360598e92_ACLiC_dict.o: In function `G__cpp_setup_tagtable6c3080326ca3480b81aa8a2360598e92_ACLiC_dict':
6c3080326ca3480b81aa8a2360598e92_ACLiC_dict.cxx:(.text+0x8bc): undefined reference to `G__get_linked_tagnum_fwd'
6c3080326ca3480b81aa8a2360598e92_ACLiC_dict.cxx:(.text+0x8c8): undefined reference to `G__get_linked_tagnum_fwd'
6c3080326ca3480b81aa8a2360598e92_ACLiC_dict.cxx:(.text+0x8d4): undefined reference to `G__get_linked_tagnum_fwd'
6c3080326ca3480b81aa8a23
@cdeil
cdeil / gist:3091127
Created July 11, 2012 15:27
rootpy dict generation with ROOT 5.34 and python 2.7 on Mac
ip0x0872:tmp deil$ python -c 'import rootpy.types'
Note: (file "", line 0) File "/Users/deil/bin/root/root_v5.34.00.source/lib/libMathCore.so" already loaded
Note: (file "", line 0) File "/Users/deil/bin/root/root_v5.34.00.source/lib/libMathCore.so" already loaded
Note: (file "", line 0) File "/Users/deil/bin/root/root_v5.34.00.source/lib/libMathCore.so" already loaded
Note: (file "", line 0) File "/Users/deil/bin/root/root_v5.34.00.source/lib/libMathCore.so" already loaded
Note: (file "", line 0) File "/Users/deil/bin/root/root_v5.34.00.source/lib/libMatrix.so" already loaded
generating dictionary for vector<vector<bool> >...
Note: (file "", line 0) File "/Users/deil/bin/root/root_v5.34.00.source/lib/libThread.so" already loaded
Note: (file "", line 0) File "/Users/deil/bin/root/root_v5.34.00.source/lib/libRIO.so" already loaded
Note: (file "", line 0) File "/Users/deil/bin/root/root_v5.34.00.source/lib/libThread.so" already loaded
@cdeil
cdeil / gist:3097939
Created July 12, 2012 12:58
rootpy issue 22 log
ip0x0872:csv deil$ python test.py
HillasAlpha,LatEvent,HillasNPix,CoreYGround,EventNr,HillasSkewness,HillasAzLength,dEoverE,AzSystem,AltSystem,HillasImageCentreBeforePointingX,HillasImageCentreBeforePointingY,MSCWO,BunchNr,GlobalEventNr,DeltaRECO,NtelInShower,MSCL,AzEvent,LonSystem,HillasImageAmplitude,TangentialYEvent,DecSystem,AltEvent,PsiSq,TangentialXEvent,ImpactParameter,EventTimeSec,Delta,DecEvent,LatSystem,EventTimeNanoSec,CorrEnergy,RaEvent,HillasMiss,CoreXTilted,Hmax,HillasAzWidth,HillasWidth,MSCW,CoreXGround,CameraYEvent,CameraXEvent,HillasLength,HillasKurtosis,HillasImageOrientation,CoreDist,TriggerPattern,Energy,ShowerNdf,RunNr,ShowerChisquared,HillasLocalDistance,LonEvent,HillasImageCentreAfterPointingX,HillasImageCentreAfterPointingY,MSCLO,CoreYTilted,RaSystem,NtelWData
42.0232356178,68.2581785331,6,-13.8245450365,56,0.136231705546,0.00252613076009,0.118438214659,329.600108876,39.9536393021,-0.0256517907961,0.00953063944534,-99.0,171,13830554455654793216,0.00952034799676,2,-0.9577896595,330.953
@cdeil
cdeil / gist:3098075
Created July 12, 2012 13:21
rootpy issue 22 log tree_to_array
ip0x0872:csv deil$ python test.py
A
B
*** Break *** segmentation violation
===========================================================
There was a crash.
@cdeil
cdeil / gist:3135538
Created July 18, 2012 10:54
py25-pymc build failure
version:1
:debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$
:debug:main epoch: in tree: 0 installed: 0
:debug:main python25 2.5.6_4 exists in the ports tree
:debug:main python25 2.5.6_4 is the latest installed
:debug:main python25 2.5.6_4 is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/python25
:debug:main OS darwin/11.4.0 (Mac OS X 10.7) arch i386