ValueError: Namespace ModemManager not available

Aleksander Morgado aleksander at aleksander.es
Thu Mar 30 09:02:17 UTC 2017


On Thu, Mar 30, 2017 at 10:31 AM, Francesco Andrisani
<francesco.andrisani at acotel.com> wrote:
> Hi,
> I try to use Modem manager Python example ModemWatcher.py.
> When I launch it as:
> # python3 ModemWatcher.py
> I have these errors:
>
> Traceback (most recent call last):
>   File "ModemWatcher.py", line 23, in <module>
>     gi.require_version('ModemManager', '1.0')
>   File "/usr/lib/python3.5/site-packages/gi/__init__.py", line 102, in
> require_version
>     raise ValueError('Namespace %s not available' % namespace)
> ValueError: Namespace ModemManager not available
>
> Why? I compiled for my ARM board Modemmanager 1.6.4 and it has discovered my
> UBlox 3G modem. Using mmcli command it work fine.

Did you build and install the gobject-introspection support as well?

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list