Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1378

Test failure: ImportError: dynamic module does not define module export function (PyInit_astrcmp)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Arch Linux, Python 3.7.0

      Description

      I was actually trying to reproduce another test failure, but now I'm getting this one instead…

       freso@koume ~/D/M/picard (master)> vf new picard-venv
       Using base prefix '/usr'
       /usr/lib/python3.7/site-packages/virtualenv.py:1041: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
       import imp
       New python executable in /home/freso/.local/share/virtualenvs/picard-venv/bin/python3
       Also creating executable in /home/freso/.local/share/virtualenvs/picard-venv/bin/python
       Installing setuptools, pip, wheel...done.
       (picard-venv) freso@koume ~/D/M/picard (master)> pip install -r requirements.txt
       Collecting discid (from -r requirements.txt (line 1))
       Downloading [https://files.pythonhosted.org/packages/a2/76/463785b1715b461c2fc0dad73b115e6ca061dbd768154b88242974d04a9f/discid-1.1.1.tar.gz]
       Collecting mutagen>=1.37 (from -r requirements.txt (line 2))
       Downloading [https://files.pythonhosted.org/packages/c0/17/e1c3c18f5d637ebebcb94aa19d74c8c06925cb4ffb9f1031fe5f21a698d3/mutagen-1.41.1.tar.gz] (918kB)
       100% |████████████████████████████████| 921kB 10.7MB/s 
       Collecting PyQt5>=5.7.1 (from -r requirements.txt (line 3))
       Downloading [https://files.pythonhosted.org/packages/d4/bf/d884da8e2f7096d201c891d515eb6813a8e85df5eb6f5e12e867bf1d831c/PyQt5-5.11.3-5.11.2-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl] (117.8MB)
       100% |████████████████████████████████| 117.8MB 572kB/s 
       Collecting PyQt5_sip<4.20,>=4.19.11 (from PyQt5>=5.7.1->-r requirements.txt (line 3))
       Downloading [https://files.pythonhosted.org/packages/2b/9b/37e4f07ddac00e7eff4dd216c330a66cb1221e9c510855055391b779ee77/PyQt5_sip-4.19.13-cp37-cp37m-manylinux1_x86_64.whl] (67kB)
       100% |████████████████████████████████| 71kB 24.2MB/s 
       Building wheels for collected packages: discid, mutagen
       Running setup.py bdist_wheel for discid ... done
       Stored in directory: /home/freso/.cache/pip/wheels/85/cd/f8/920324233787027a2b56352f2dbd4b90578cf5f48612de5208
       Running setup.py bdist_wheel for mutagen ... done
       Stored in directory: /home/freso/.cache/pip/wheels/12/80/70/21524cd5b69261a4b3bb2a15e7da5733f4ee83ea041a5c7023
       Successfully built discid mutagen
       Installing collected packages: discid, mutagen, PyQt5-sip, PyQt5
       Successfully installed PyQt5-5.11.3 PyQt5-sip-4.19.13 discid-1.1.1 mutagen-1.41.1
       (picard-venv) freso@koume ~/D/M/picard (master)> python setup.py build_ext -i
       running build_ext
       building 'picard.util._astrcmp' extension
       creating build/temp.linux-x86_64-3.7
       creating build/temp.linux-x86_64-3.7/picard
       creating build/temp.linux-x86_64-3.7/picard/util
       gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -flto=4 -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/include/python3.7m -c picard/util/_astrcmp.c -o build/temp.linux-x86_64-3.7/picard/util/_astrcmp.o
       picard/util/_astrcmp.c: I funktionen »astrcmp«:
       picard/util/_astrcmp.c:159:2: advarsel: »PyUnicode_GetSize« er forældet [-Wdeprecated-declarations]
       len1 = PyUnicode_GetSize(s1);
       ^~~~
       In file included from /usr/include/python3.7m/Python.h:80,
       from picard/util/_astrcmp.c:43:
       /usr/include/python3.7m/unicodeobject.h:793:24: bemærk: declared here
       PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
       ^~~~~~~~~~~~~~~~~
       picard/util/_astrcmp.c:160:2: advarsel: »PyUnicode_GetSize« er forældet [-Wdeprecated-declarations]
       len2 = PyUnicode_GetSize(s2);
       ^~~~
       In file included from /usr/include/python3.7m/Python.h:80,
       from picard/util/_astrcmp.c:43:
       /usr/include/python3.7m/unicodeobject.h:793:24: bemærk: declared here
       PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
       ^~~~~~~~~~~~~~~~~
       creating build/lib.linux-x86_64-3.7
       creating build/lib.linux-x86_64-3.7/picard
       creating build/lib.linux-x86_64-3.7/picard/util
       gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=4 -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-3.7/picard/util/_astrcmp.o -L/usr/lib -lpython3.7m -o build/lib.linux-x86_64-3.7/picard/util/_astrcmp.cpython-37m-x86_64-linux-gnu.so
       copying build/lib.linux-x86_64-3.7/picard/util/_astrcmp.cpython-37m-x86_64-linux-gnu.so -> picard/util
       (picard-venv) freso@koume ~/D/M/picard (master)> python setup.py build_locales -i
       running build_locales
       msgfmt -o locale/ast/LC_MESSAGES/picard.mo po/ast.po
       […]
       (picard-venv) freso@koume ~/D/M/picard (master)> python setup.py test
       running test
       EEEEEEEEEEEEEEEEEEEEEEEE
       ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ======================================================================
       ERROR: test (unittest.loader._FailedTest)
       ----------------------------------------------------------------------
       ImportError: Failed to import test module: test
       Traceback (most recent call last):
       File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
       module = __import__(module_name)
       File "/home/freso/Development/MetaBrainz/picard/test/__init__.py", line 5, in <module>
       __import__("test." + os.path.basename(filename)[:-3])
       File "/home/freso/Development/MetaBrainz/picard/test/test_acoustid.py", line 8, in <module>
       from picard.metadata import Metadata
       File "/home/freso/Development/MetaBrainz/picard/picard/metadata.py", line 28, in <module>
       from picard.similarity import similarity2
       File "/home/freso/Development/MetaBrainz/picard/picard/similarity.py", line 23, in <module>
       from picard.util.astrcmp import astrcmp
       ImportError: dynamic module does not define module export function (PyInit_astrcmp)
      
      ----------------------------------------------------------------------
       Ran 24 tests in 0.002s
      
      FAILED (errors=24)
       At least one test failed.
       (picard-venv) freso@koume ~/D/M/picard (master) [1]> git status
       On branch master
       Your branch is up to date with 'upstream/master'.
      
      nothing to commit, working tree clean
       (picard-venv) freso@koume ~/D/M/picard (master)> git describe --tags --long
       2.0.5dev1-210-gb1410780
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                freso Frederik “Freso” S. Olesen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package