[SIP Beyond VoIP] on debuild, test step fails with "ImportError: Failed to import test module: sylk.configuration"

Tijmen de Mes tijmen at ag-projects.com
Wed Mar 8 16:08:03 CET 2023


Hi,

You need to install python3-application: https://github.com/AGProjects/python3-application <https://github.com/AGProjects/python3-application>. 

Best regards,

Tijmen de Mes
—
AG Projects


> Op 8 mrt. 2023, om 15:09 heeft Eugene Crosser <crosser at average.org> het volgende geschreven:
> 
> 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
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20230308/c4b3afc9/attachment.htm>


More information about the SIPBeyondVoIP mailing list