Closed scipy-gitbot closed 11 years ago
trac user anthonybak wrote on 2012-11-12
Here's the ouput for python -v of the script described in the bug report:
$ python -v segtest.py
import zipimport # builtin
import site # precompiled from /home/abak/.local/lib/python2.7/site-packages/site.pyc import imp # builtin
import os # precompiled from /usr/lib/python2.7/os.pyc import errno # builtin import posix # builtin
import posixpath # precompiled from /usr/lib/python2.7/posixpath.pyc
import stat # precompiled from /usr/lib/python2.7/stat.pyc
import genericpath # precompiled from /usr/lib/python2.7/genericpath.pyc
import warnings # precompiled from /usr/lib/python2.7/warnings.pyc
import linecache # precompiled from /usr/lib/python2.7/linecache.pyc
import types # precompiled from /usr/lib/python2.7/types.pyc
import UserDict # precompiled from /usr/lib/python2.7/UserDict.pyc
import _abcoll # precompiled from /usr/lib/python2.7/_abcoll.pyc
import abc # precompiled from /usr/lib/python2.7/abc.pyc
import _weakrefset # precompiled from /usr/lib/python2.7/_weakrefset.pyc import _weakref # builtin
import copy_reg # precompiled from /usr/lib/python2.7/copy_reg.pyc
import site # precompiled from /usr/lib/python2.7/site.pyc
import traceback # precompiled from /usr/lib/python2.7/traceback.pyc
import sysconfig # precompiled from /usr/lib/python2.7/sysconfig.pyc
import re # precompiled from /usr/lib/python2.7/re.pyc
import sre_compile # precompiled from /usr/lib/python2.7/sre_compile.pyc import _sre # builtin
import sre_parse # precompiled from /usr/lib/python2.7/sre_parse.pyc
import sre_constants # precompiled from /usr/lib/python2.7/sre_constants.pyc
import sitecustomize # precompiled from /usr/lib/python2.7/sitecustomize.pyc
import apport_python_hook # precompiled from /usr/lib/python2.7/dist-packages/apport_python_hook.pyc import encodings # directory /usr/lib/python2.7/encodings
import encodings # precompiled from /usr/lib/python2.7/encodings/init.pyc
import codecs # precompiled from /usr/lib/python2.7/codecs.pyc import _codecs # builtin
import encodings.aliases # precompiled from /usr/lib/python2.7/encodings/aliases.pyc
import encodings.utf_8 # precompiled from /usr/lib/python2.7/encodings/utf_8.pyc Python 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import pybel # precompiled from /usr/lib/python2.7/dist-packages/pybel.pyc import math # builtin
import tempfile # precompiled from /usr/lib/python2.7/tempfile.pyc
import random # precompiled from /usr/lib/python2.7/random.pyc
import future # precompiled from /usr/lib/python2.7/future.pyc import binascii # builtin
import hashlib # precompiled from /usr/lib/python2.7/hashlib.pyc import _hashlib # builtin import _random # builtin import cStringIO # builtin import fcntl # builtin import thread # builtin
import openbabel # precompiled from /usr/lib/python2.7/dist-packages/openbabel.pyc
import DLFCN # precompiled from /usr/lib/python2.7/plat-linux2/DLFCN.pyc
import new # precompiled from /usr/lib/python2.7/new.pyc dlopen("/usr/lib/python2.7/dist-packages/_openbabel.so", 102); import _openbabel # dynamically loaded from /usr/lib/python2.7/dist-packages/_openbabel.so
import Tkinter # precompiled from /usr/lib/python2.7/lib-tk/Tkinter.pyc dlopen("/usr/lib/python2.7/lib-dynload/_tkinter.so", 102); import _tkinter # dynamically loaded from /usr/lib/python2.7/lib-dynload/_tkinter.so
import Tkconstants # precompiled from /usr/lib/python2.7/lib-tk/Tkconstants.pyc
import Image # precompiled from /usr/lib/python2.7/dist-packages/PIL/Image.pyc
import FixTk # precompiled from /usr/lib/python2.7/lib-tk/FixTk.pyc import ctypes # directory /usr/lib/python2.7/ctypes
import ctypes # precompiled from /usr/lib/python2.7/ctypes/init.pyc dlopen("/usr/lib/python2.7/lib-dynload/_ctypes.so", 102); import _ctypes # dynamically loaded from /usr/lib/python2.7/lib-dynload/_ctypes.so
import struct # precompiled from /usr/lib/python2.7/struct.pyc import _struct # builtin
import ctypes._endian # precompiled from /usr/lib/python2.7/ctypes/_endian.pyc dlopen("/usr/lib/python2.7/dist-packages/PIL/_imaging.so", 102); import _imaging # dynamically loaded from /usr/lib/python2.7/dist-packages/PIL/_imaging.so
import ImageMode # precompiled from /usr/lib/python2.7/dist-packages/PIL/ImageMode.pyc
import ImagePalette # precompiled from /usr/lib/python2.7/dist-packages/PIL/ImagePalette.pyc import array # builtin
import ImageColor # precompiled from /usr/lib/python2.7/dist-packages/PIL/ImageColor.pyc
import string # precompiled from /usr/lib/python2.7/string.pyc import strop # builtin import operator # builtin import scipy # directory /usr/lib/python2.7/dist-packages/scipy
import scipy # precompiled from /usr/lib/python2.7/dist-packages/scipy/init.pyc import numpy # directory /usr/lib/python2.7/dist-packages/numpy
import numpy # precompiled from /usr/lib/python2.7/dist-packages/numpy/init.pyc
import numpy.config # precompiled from /usr/lib/python2.7/dist-packages/numpy/config.pyc
import numpy.version # precompiled from /usr/lib/python2.7/dist-packages/numpy/version.pyc
import numpy._import_tools # precompiled from /usr/lib/python2.7/dist-packages/numpy/_import_tools.pyc
import numpy.add_newdocs # precompiled from /usr/lib/python2.7/dist-packages/numpy/add_newdocs.pyc import numpy.lib # directory /usr/lib/python2.7/dist-packages/numpy/lib
import numpy.lib # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/init.pyc
import numpy.lib.info # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/info.pyc
import numpy.lib.type_check # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/type_check.pyc import numpy.core # directory /usr/lib/python2.7/dist-packages/numpy/core
import numpy.core # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/init.pyc
import numpy.core.info # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/info.pyc dlopen("/usr/lib/python2.7/dist-packages/numpy/core/multiarray.so", 102); import numpy.core.multiarray # dynamically loaded from /usr/lib/python2.7/dist-packages/numpy/core/multiarray.so dlopen("/usr/lib/python2.7/dist-packages/numpy/core/umath.so", 102); import numpy.core.umath # dynamically loaded from /usr/lib/python2.7/dist-packages/numpy/core/umath.so
import numpy.core._internal # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/_internal.pyc import numpy.compat # directory /usr/lib/python2.7/dist-packages/numpy/compat
import numpy.compat # precompiled from /usr/lib/python2.7/dist-packages/numpy/compat/init.pyc
import numpy.compat._inspect # precompiled from /usr/lib/python2.7/dist-packages/numpy/compat/_inspect.pyc
import numpy.compat.py3k # precompiled from /usr/lib/python2.7/dist-packages/numpy/compat/py3k.pyc
import numpy.core.numerictypes # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/numerictypes.pyc dlopen("/usr/lib/python2.7/dist-packages/numpy/core/_sort.so", 102); import numpy.core._sort # dynamically loaded from /usr/lib/python2.7/dist-packages/numpy/core/_sort.so
import numpy.core.numeric # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/numeric.pyc dlopen("/usr/lib/python2.7/dist-packages/numpy/core/_dotblas.so", 102); import numpy.core._dotblas # dynamically loaded from /usr/lib/python2.7/dist-packages/numpy/core/_dotblas.so
import numpy.core.arrayprint # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/arrayprint.pyc
import numpy.core.fromnumeric # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/fromnumeric.pyc import cPickle # builtin
import numpy.core.defchararray # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/defchararray.pyc
import numpy.core.records # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/records.pyc
import numpy.core.memmap # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/memmap.pyc dlopen("/usr/lib/python2.7/dist-packages/numpy/core/scalarmath.so", 102); import numpy.core.scalarmath # dynamically loaded from /usr/lib/python2.7/dist-packages/numpy/core/scalarmath.so
import numpy.core.function_base # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/function_base.pyc
import numpy.core.machar # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/machar.pyc
import numpy.core.getlimits # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/getlimits.pyc
import numpy.core.shape_base # precompiled from /usr/lib/python2.7/dist-packages/numpy/core/shape_base.pyc import numpy.testing # directory /usr/lib/python2.7/dist-packages/numpy/testing
import numpy.testing # precompiled from /usr/lib/python2.7/dist-packages/numpy/testing/init.pyc import unittest # directory /usr/lib/python2.7/unittest
import unittest # precompiled from /usr/lib/python2.7/unittest/init.pyc
import unittest.result # precompiled from /usr/lib/python2.7/unittest/result.pyc
import StringIO # precompiled from /usr/lib/python2.7/StringIO.pyc
import unittest.util # precompiled from /usr/lib/python2.7/unittest/util.pyc
import collections # precompiled from /usr/lib/python2.7/collections.pyc import _collections # builtin
import keyword # precompiled from /usr/lib/python2.7/keyword.pyc
import heapq # precompiled from /usr/lib/python2.7/heapq.pyc import itertools # builtin
import bisect # precompiled from /usr/lib/python2.7/bisect.pyc import _bisect # builtin dlopen("/usr/lib/python2.7/lib-dynload/_heapq.so", 102); import _heapq # dynamically loaded from /usr/lib/python2.7/lib-dynload/_heapq.so
import functools # precompiled from /usr/lib/python2.7/functools.pyc import _functools # builtin
import unittest.case # precompiled from /usr/lib/python2.7/unittest/case.pyc
import difflib # precompiled from /usr/lib/python2.7/difflib.pyc
import pprint # precompiled from /usr/lib/python2.7/pprint.pyc
import unittest.suite # precompiled from /usr/lib/python2.7/unittest/suite.pyc
import unittest.loader # precompiled from /usr/lib/python2.7/unittest/loader.pyc
import fnmatch # precompiled from /usr/lib/python2.7/fnmatch.pyc
import unittest.main # precompiled from /usr/lib/python2.7/unittest/main.pyc
import unittest.runner # precompiled from /usr/lib/python2.7/unittest/runner.pyc import time # builtin
import unittest.signals # precompiled from /usr/lib/python2.7/unittest/signals.pyc
import weakref # precompiled from /usr/lib/python2.7/weakref.pyc
import numpy.testing.decorators # precompiled from /usr/lib/python2.7/dist-packages/numpy/testing/decorators.pyc
import numpy.testing.utils # precompiled from /usr/lib/python2.7/dist-packages/numpy/testing/utils.pyc
import numpy.testing.nosetester # precompiled from /usr/lib/python2.7/dist-packages/numpy/testing/nosetester.pyc
import numpy.testing.numpytest # precompiled from /usr/lib/python2.7/dist-packages/numpy/testing/numpytest.pyc
import numpy.lib.ufunclike # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/ufunclike.pyc
import numpy.lib.index_tricks # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/index_tricks.pyc
import numpy.lib.function_base # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/function_base.pyc
import numpy.lib.twodim_base # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/twodim_base.pyc dlopen("/usr/lib/python2.7/dist-packages/numpy/lib/_compiled_base.so", 102); import numpy.lib._compiled_base # dynamically loaded from /usr/lib/python2.7/dist-packages/numpy/lib/_compiled_base.so
import numpy.lib.arraysetops # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/arraysetops.pyc
import numpy.lib.utils # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/utils.pyc import numpy.matrixlib # directory /usr/lib/python2.7/dist-packages/numpy/matrixlib
import numpy.matrixlib # precompiled from /usr/lib/python2.7/dist-packages/numpy/matrixlib/init.pyc
import numpy.matrixlib.defmatrix # precompiled from /usr/lib/python2.7/dist-packages/numpy/matrixlib/defmatrix.pyc
import numpy.lib.shape_base # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/shape_base.pyc
import numpy.lib.stride_tricks # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/stride_tricks.pyc
import numpy.lib.scimath # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/scimath.pyc
import numpy.lib.polynomial # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/polynomial.pyc import numpy.linalg # directory /usr/lib/python2.7/dist-packages/numpy/linalg
import numpy.linalg # precompiled from /usr/lib/python2.7/dist-packages/numpy/linalg/init.pyc
import numpy.linalg.info # precompiled from /usr/lib/python2.7/dist-packages/numpy/linalg/info.pyc
import numpy.linalg.linalg # precompiled from /usr/lib/python2.7/dist-packages/numpy/linalg/linalg.pyc dlopen("/usr/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so", 102); import numpy.linalg.lapack_lite # dynamically loaded from /usr/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so
import numpy.lib.npyio # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/npyio.pyc
import numpy.lib.format # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/format.pyc
import numpy.lib._datasource # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/_datasource.pyc
import shutil # precompiled from /usr/lib/python2.7/shutil.pyc import pwd # builtin import grp # builtin
import numpy.lib._iotools # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/_iotools.pyc
import numpy.lib.financial # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/financial.pyc
import numpy.lib.arrayterator # precompiled from /usr/lib/python2.7/dist-packages/numpy/lib/arrayterator.pyc import numpy.fft # directory /usr/lib/python2.7/dist-packages/numpy/fft
import numpy.fft # precompiled from /usr/lib/python2.7/dist-packages/numpy/fft/init.pyc
import numpy.fft.info # precompiled from /usr/lib/python2.7/dist-packages/numpy/fft/info.pyc
import numpy.fft.fftpack # precompiled from /usr/lib/python2.7/dist-packages/numpy/fft/fftpack.pyc dlopen("/usr/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so", 102); import numpy.fft.fftpack_lite # dynamically loaded from /usr/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so
import numpy.fft.helper # precompiled from /usr/lib/python2.7/dist-packages/numpy/fft/helper.pyc import numpy.polynomial # directory /usr/lib/python2.7/dist-packages/numpy/polynomial
import numpy.polynomial # precompiled from /usr/lib/python2.7/dist-packages/numpy/polynomial/init.pyc
import numpy.polynomial.polynomial # precompiled from /usr/lib/python2.7/dist-packages/numpy/polynomial/polynomial.pyc
import numpy.polynomial.polyutils # precompiled from /usr/lib/python2.7/dist-packages/numpy/polynomial/polyutils.pyc
import numpy.polynomial.polytemplate # precompiled from /usr/lib/python2.7/dist-packages/numpy/polynomial/polytemplate.pyc
import numpy.polynomial.chebyshev # precompiled from /usr/lib/python2.7/dist-packages/numpy/polynomial/chebyshev.pyc
import numpy.polynomial.legendre # precompiled from /usr/lib/python2.7/dist-packages/numpy/polynomial/legendre.pyc
import numpy.polynomial.hermite # precompiled from /usr/lib/python2.7/dist-packages/numpy/polynomial/hermite.pyc
import numpy.polynomial.hermite_e # precompiled from /usr/lib/python2.7/dist-packages/numpy/polynomial/hermite_e.pyc
import numpy.polynomial.laguerre # precompiled from /usr/lib/python2.7/dist-packages/numpy/polynomial/laguerre.pyc import numpy.random # directory /usr/lib/python2.7/dist-packages/numpy/random
import numpy.random # precompiled from /usr/lib/python2.7/dist-packages/numpy/random/init.pyc
import numpy.random.info # precompiled from /usr/lib/python2.7/dist-packages/numpy/random/info.pyc dlopen("/usr/lib/python2.7/dist-packages/numpy/random/mtrand.so", 102); import numpy.random.mtrand # dynamically loaded from /usr/lib/python2.7/dist-packages/numpy/random/mtrand.so
import numpy.ctypeslib # precompiled from /usr/lib/python2.7/dist-packages/numpy/ctypeslib.pyc import numpy.ma # directory /usr/lib/python2.7/dist-packages/numpy/ma
import numpy.ma # precompiled from /usr/lib/python2.7/dist-packages/numpy/ma/init.pyc
import numpy.ma.core # precompiled from /usr/lib/python2.7/dist-packages/numpy/ma/core.pyc
import numpy.ma.extras # precompiled from /usr/lib/python2.7/dist-packages/numpy/ma/extras.pyc import numpy.oldnumeric # directory /usr/lib/python2.7/dist-packages/numpy/oldnumeric
import numpy.oldnumeric # precompiled from /usr/lib/python2.7/dist-packages/numpy/oldnumeric/init.pyc
import numpy.oldnumeric.compat # precompiled from /usr/lib/python2.7/dist-packages/numpy/oldnumeric/compat.pyc
import numpy.oldnumeric.functions # precompiled from /usr/lib/python2.7/dist-packages/numpy/oldnumeric/functions.pyc
import numpy.oldnumeric.typeconv # precompiled from /usr/lib/python2.7/dist-packages/numpy/oldnumeric/typeconv.pyc
import pickle # precompiled from /usr/lib/python2.7/pickle.pyc import marshal # builtin
import copy # precompiled from /usr/lib/python2.7/copy.pyc
import numpy.oldnumeric.precision # precompiled from /usr/lib/python2.7/dist-packages/numpy/oldnumeric/precision.pyc
import numpy.oldnumeric.ufuncs # precompiled from /usr/lib/python2.7/dist-packages/numpy/oldnumeric/ufuncs.pyc
import numpy.oldnumeric.misc # precompiled from /usr/lib/python2.7/dist-packages/numpy/oldnumeric/misc.pyc
import numpy.oldnumeric.array_printer # precompiled from /usr/lib/python2.7/dist-packages/numpy/oldnumeric/array_printer.pyc
import scipy.config # precompiled from /usr/lib/python2.7/dist-packages/scipy/config.pyc
import scipy.version # precompiled from /usr/lib/python2.7/dist-packages/scipy/version.pyc
import glob # precompiled from /usr/lib/python2.7/glob.pyc
import scipy.odr.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/odr/info.pyc
import scipy.ndimage.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/ndimage/info.pyc
import scipy.maxentropy.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/maxentropy/info.pyc
import scipy.optimize.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/optimize/info.pyc
import scipy.io.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/io/info.pyc
import scipy.special.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/special/info.pyc
import scipy.stats.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/stats/info.pyc
import scipy.linalg.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/linalg/info.pyc
import scipy.misc.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/misc/info.pyc
import scipy.lib.lapack.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/lib/lapack/info.pyc
import scipy.weave.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/weave/info.pyc
import scipy.signal.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/signal/info.pyc
import scipy.spatial.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/spatial/info.pyc
import scipy.interpolate.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/interpolate/info.pyc
import scipy.integrate.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/integrate/info.pyc
import scipy.sparse.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/sparse/info.pyc
import scipy.sparse.linalg.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/sparse/linalg/info.pyc
import scipy.sparse.linalg.dsolve.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/sparse/linalg/dsolve/info.pyc
import scipy.sparse.linalg.dsolve.umfpack.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/sparse/linalg/dsolve/umfpack/info.pyc
import scipy.sparse.linalg.eigen.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/sparse/linalg/eigen/info.pyc
import scipy.sparse.linalg.eigen.arpack.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/sparse/linalg/eigen/arpack/info.pyc
import scipy.sparse.linalg.eigen.lobpcg.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/sparse/linalg/eigen/lobpcg/info.pyc
import scipy.cluster.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/cluster/info.pyc
import scipy.fftpack.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/fftpack/info.pyc
import scipy.lib.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/lib/info.pyc
import scipy.lib.blas.info # precompiled from /usr/lib/python2.7/dist-packages/scipy/lib/blas/info.pyc import scipy.misc # directory /usr/lib/python2.7/dist-packages/scipy/misc
import scipy.misc # precompiled from /usr/lib/python2.7/dist-packages/scipy/misc/init.pyc
import scipy.misc.common # precompiled from /usr/lib/python2.7/dist-packages/scipy/misc/common.pyc
import scipy.misc.pilutil # precompiled from /usr/lib/python2.7/dist-packages/scipy/misc/pilutil.pyc
import ImageFilter # precompiled from /usr/lib/python2.7/dist-packages/PIL/ImageFilter.pyc import scipy.linalg # directory /usr/lib/python2.7/dist-packages/scipy/linalg
import scipy.linalg # precompiled from /usr/lib/python2.7/dist-packages/scipy/linalg/init.pyc
import scipy.linalg.linalg_version # precompiled from /usr/lib/python2.7/dist-packages/scipy/linalg/linalg_version.pyc
import scipy.linalg.misc # precompiled from /usr/lib/python2.7/dist-packages/scipy/linalg/misc.pyc
import scipy.linalg.basic # precompiled from /usr/lib/python2.7/dist-packages/scipy/linalg/basic.pyc
import scipy.linalg.flinalg # precompiled from /usr/lib/python2.7/dist-packages/scipy/linalg/flinalg.pyc dlopen("/usr/lib/python2.7/dist-packages/scipy/linalg/_flinalg.so", 102); Segmentation fault (core dumped) $
trac user anthonybak wrote on 2012-11-13
The problem seems to be with openbabel setting the dlloader flags. Here's a workaround:
import sys flags = sys.getdlopenflags() import pybel sys.setdlopenflags(flags)
I guess close this issue?
@pv wrote on 2012-11-13
Original ticket http://projects.scipy.org/scipy/ticket/1772 on 2012-11-12 by trac user anthonybak, assigned to unknown.
Crossposted to https://sourceforge.net/p/openbabel/bugs/842/ since I'm not sure which package is at fault.
The following short python script ends in a segfault. I tested this on three different linux machines running ubuntu and archlinux
!/usr/bin/env python
import pybel
import scipy.linalg
There is no segfault if you reverse the order of the import. Some package information:
$ uname -a Linux xxxxxxx 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Package: python-openbabel Status: install ok installed Priority: optional Section: python Installed-Size: 3119 Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Source: openbabel Version: 2.3.0+dfsg-3ubuntu3 Provides: python2.7-openbabel Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libopenbabel4, libstdc++6 (>= 4.4.0), python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8)
Package: python-scipy Status: install ok installed Priority: extra Section: python Installed-Size: 24106 Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Version: 0.9.0+dfsg1-1ubuntu2 Provides: python2.7-scipy Depends: python-numpy (>= 1:1.6.1), python-numpy-abi9, python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8), libblas3gf | libblas.so.3gf | libatlas3gf-base, libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libgfortran3 (>= 4.6), liblapack3gf | liblapack.so.3gf | libatlas3gf-base, libstdc++6 (>= 4.1.1), libumfpack5.4.0 (>= 1:3.4.0) Recommends: g++ | c++-compiler, python-dev, python-imaging