On Fri, Feb 19, 2016 at 12:11:35PM -0500, Yaroslav Halchenko wrote: > Thanks for looking into it. Fwiw, for such cases better to use python-dbg so > you could then py-bt and do more introspection within attached gdb. You would > need -dbg packages for numpy etc
I hadn't ever needed to debug python before, and since the error seemed to be in C code, not python code, I wasn't sure looking for a python way of debugging would help. I can't seem to guess how to use python-dbg though. Certainly just replacing python with python-dbg doesn't work in this case. I just get this: + export VER=3.5 + echo 3.5 + grep -q ^3 + PY=3 + pwd + /bin/ls -d /tmp/pandas-0.17.1/debian/tmp/usr/lib/python3/dist-packages/ + export PYTHONPATH=/tmp/pandas-0.17.1/debian/tmp/usr/lib/python3/dist-packages/ + pwd + pwd + export MPLCONFIGDIR=/tmp/pandas-0.17.1/build HOME=/tmp/pandas-0.17.1/build + python3.5 ci/print_versions.py INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 32 OS: Linux OS-release: 3.19.0-armmp machine: armv7l processor: byteorder: little LC_ALL: None LANG: en_CA.UTF-8 pandas: 0.17.1 nose: 1.3.7 pip: None setuptools: 20.1.1 Cython: 0.23.2 numpy: 1.11.0b3 scipy: 0.17.0 statsmodels: None IPython: None sphinx: 1.3.5 patsy: None dateutil: 2.4.2 pytz: 2012c blosc: None bottleneck: None tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: 4.4.1 html5lib: 0.999 httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None Jinja2: None + cd build/ + LC_ALL=C.UTF-8 xvfb-run -a -s -screen 0 1280x1024x24 -noreset python3.5-dbg /usr/bin/nosetests -s -v -A not network and not disabled pandas.io.tests.test_pytables:pandas.io.tests.test_pytables.TestHDFStore.test_append_frame_column_oriented Failure: ImportError (C extension: 'hashtable' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace' to build the C extensions first.) ... ERROR ====================================================================== ERROR: Failure: ImportError (C extension: 'hashtable' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace' to build the C extensions first.) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/pandas-0.17.1/debian/tmp/usr/lib/python3/dist-packages/pandas/__init__.py", line 7, in <module> from pandas import hashtable, tslib, lib ImportError: cannot import name 'hashtable' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 407, in loadTestsFromName module = resolve_name(addr.module) File "/usr/lib/python3/dist-packages/nose/util.py", line 312, in resolve_name module = __import__('.'.join(parts_copy)) File "/tmp/pandas-0.17.1/debian/tmp/usr/lib/python3/dist-packages/pandas/__init__.py", line 13, in <module> "extensions first.".format(module)) ImportError: C extension: 'hashtable' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace' to build the C extensions first. ---------------------------------------------------------------------- Ran 1 test in 0.010s FAILED (errors=1) -- Len Sorensen