ValueError: Namespace ModemManager not available

Francesco Andrisani francesco.andrisani at acotel.com
Thu Mar 30 09:05:53 UTC 2017


I install python gobject from Fedora.
#dnf install python3-gobject

Installing  : python3-gobject-base-3.20.1-1.fc24.armv7hl
                       1/3
Installing  : python3-cairo-1.10.0-15.fc24.armv7hl
                       2/3
Installing  : python3-gobject-3.20.1-1.fc24.armv7hl

Is this correct?

On Thu, Mar 30, 2017 at 11:02 AM, Aleksander Morgado <
aleksander at aleksander.es> wrote:

> 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
>



-- 
____________________________________________________
*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/b83e1f8e/attachment.html>


More information about the ModemManager-devel mailing list