ValueError: Namespace ModemManager not available

Francesco Andrisani francesco.andrisani at acotel.com
Thu Mar 30 08:31:49 UTC 2017


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.

Thanks


-- 
____________________________________________________
*Francesco Andrisani*
mailto:francesco.andrisani at acotel.com
*Acotel Spa*
http://www.acotel.com
Via della Valle dei Fontanili, 29
00168 Roma
Tel +390661141200
Fax +39066149936
____________________________________________________

Le informazioni contenute nella comunicazione che precede possono essere
riservate e sono, comunque, destinate esclusivamente alla persona o
all’ente sopraindicati. La diffusione, distribuzione e/o copiatura non
autorizzata del documento trasmesso da parte di qualsiasi soggetto è
proibita. La sicurezza e la correttezza dei messaggi di posta elettronica
non possono essere garantite. Se avete ricevuto questo messaggio per
errore, Vi preghiamo di contattarci immediatamente. Grazie.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any transmission. If you
receive this message in error, please immediately delete it and all copies
of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170330/5b8f27bf/attachment.html>


More information about the ModemManager-devel mailing list