Software testing process failure: How can I match the already installed programs with the testing data?
1
0
Entering edit mode
4.2 years ago
caro-ca ▴ 20

Hi! I am running a software that detects transposons in a model organism, [Tepid][1]. Unfortunately TEPID doesn't offer user support. For this reason, I decided to post the issue here wondering if someone is familiar with the error message.

(base) silviav@wildtype1:~/TEPID:python setup.py test
running test
running egg_info
writing requirements to TEPID.egg-info/requires.txt
writing TEPID.egg-info/PKG-INFO
writing top-level names to TEPID.egg-info/top_level.txt
writing dependency_links to TEPID.egg-info/dependency_links.txt
reading manifest file 'TEPID.egg-info/SOURCES.txt'
writing manifest file 'TEPID.egg-info/SOURCES.txt'
running build_ext
Failure: ImportError (/home/silviav/.local/lib/python2.7/site-packages/pybedtools/cbedtools.so: undefined symbol: PyFPE_jbuf) ... ERROR

======================================================================
ERROR: Failure: ImportError (/home/silviav/.local/lib/python2.7/site-packages/pybedtools/cbedtools.so: undefined symbol: PyFPE_jbuf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/silviav/anaconda2/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/silviav/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/silviav/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/silviav/TEPID/tests/tepid_test.py", line 3, in <module>
    from tepid import tepid
  File "/home/silviav/TEPID/tepid/tepid.py", line 9, in <module>
    import pybedtools
  File "/home/silviav/.local/lib/python2.7/site-packages/pybedtools/__init__.py", line 10, in <module>
    from .cbedtools import (
ImportError: /home/silviav/.local/lib/python2.7/site-packages/pybedtools/cbedtools.so: undefined symbol: PyFPE_jbuf

----------------------------------------------------------------------
Ran 1 test in 0.101s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>

I thought maybe pybedtools was not installed but it is:

(base) silviav@wildtype1:~/TEPID:whereis pybedtools
pybedtools: /home/silviav/anaconda2/bin/pybedtools

Additionally, I installed TEPID with anaconda2 being activated and I don't know what could have gone wrong. I really would appreciate any help. Thank you in advance!

anaconda2 pybedtools • 1.4k views
ADD COMMENT
1
Entering edit mode

Please edit post title to make it concise/informative. Pasting an error message in the title is not good practice.

If this file present: ls -l /home/silviav/.local/lib/python2.7/site-packages/pybedtools/cbedtools.so?

ADD REPLY
0
Entering edit mode

I already edited the title, hope it is informative enough, even though it was hard for me to find the accurate one.

The file also exists:

(base) silviav@wildtype1:~/TEPID:ls -l /home/silviav/.local/lib/python2.7/site-packages/pybedtools/cbedtools.so
-rwxr-xr-x 1 silviav binf 2410168 Mar 20 12:50 /home/silviav/.local/lib/python2.7/site-packages/pybedtools/cbedtools.so

Thank you for your help!

ADD REPLY
2
Entering edit mode
4.2 years ago
GenoMax 142k

Did you install tepid using bioconda? That should install all proper dependencies.

ADD COMMENT
0
Entering edit mode

Thank you so much! I thought TEPID didn't have bioconda to install.

ADD REPLY
0
Entering edit mode

Dear @genomax, I don't know how to validate/close this question. It cannot find the green mark on the left.

ADD REPLY
0
Entering edit mode

I moved my comment to an answer. You should now be able to see the check mark under the vote count.

ADD REPLY
0
Entering edit mode

@genomax I installed tepid through bioconda and this is the error message:

(base) silviav@wildtype1:~:tepid-discover
Traceback (most recent call last):
  File "/home/silviav/anaconda2/bin/tepid-discover", line 7, in <module>
    from tepid import tepid
  File "/home/silviav/anaconda2/lib/python2.7/site-packages/tepid/tepid.py", line 9, in <module>
    import pybedtools
  File "/home/silviav/.local/lib/python2.7/site-packages/pybedtools/__init__.py", line 10, in <module>
    from .cbedtools import (
ImportError: /home/silviav/.local/lib/python2.7/site-packages/pybedtools/cbedtools.so: undefined symbol: PyFPE_jbuf


(base) silviav@wildtype1:~:ls -l /home/silviav/.local/lib/python2.7/site-packages/pybedtools/cbedtools.so 
-rwxr-xr-x 1 silviav binf 2410168 Mar 20 12:50 /home/silviav/.local/lib/python2.7/site-packages/pybedtools/cbedtools.so

Hope you could help me out. Thanks in advance.

ADD REPLY
1
Entering edit mode

You may have installed TEPID via conda, but the one you installed via pip is what's actually getting used. Please do the following:

PYTHONNOUSERSITE=True tepid-discover

The "PYTHONNOUSERSITE" part will prevent python for looking at anything under /home/silviav/.local.

ADD REPLY
0
Entering edit mode

THank you so much for your help!! It worked!!

ADD REPLY

Login before adding your answer.

Traffic: 1318 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6