[SIP Beyond VoIP] on debuild, test step fails with "ImportError: Failed to import test module: sylk.configuration"
Eugene Crosser
crosser at average.org
Wed Mar 8 15:09:10 CET 2023
Hello,
with sip client removed from recent Android version, I am looking for a way to
continue to use a couple of SIP accounts that I have with commercial providers.
Because I already run asterisk and ejabberd, and jingle works perfectly inside
xmpp system, I started to look for a bridge between SIP and Jingle. And because
the repo on ag-projects does not support recent Ubuntu versions, I am trying to
build from source.
What I did:
- Cloned the repo from github (commit 32bf9bb)
- Ran `sudo apt build-dep .`
- Ran ./makedeb.sh
What I got:
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:239: cd
/opt/src/sylkserver/dist/sylkserver-6.1.0/.pybuild/cpython3_3.10/build;
python3.10 -m unittest discover -v
sylk.applications (unittest.loader._FailedTest) ... ERROR
sylk.configuration (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: sylk.applications (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: sylk.applications
Traceback (most recent call last):
File "/usr/lib/python3.10/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File
"/opt/src/sylkserver/dist/sylkserver-6.1.0/.pybuild/cpython3_3.10/build/sylk/applications/__init__.py",
line 10, in <module>
from application import log
ModuleNotFoundError: No module named 'application'
======================================================================
ERROR: sylk.configuration (unittest.loader._FailedTest)
----------------------------------------------------------------------
I am at a bit at a loss, I don't see where the module named "application" can
come from, and it is imported from practically everywhere.
Any help with this? If it's a wrong place to raise such topics, please point me
to the right one :)
Thanks,
Eugene
--
I have a ~/.plan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20230308/958db4ba/attachment.sig>
More information about the SIPBeyondVoIP
mailing list