Ok, for some unknown reason I downloaded
nuntium_0.1+14.10.20141013-0ubuntu1 instead of the last version. Weird,
because I did it in arale so it is vivid. "apt-get source nuntium" gives
me now 1.4-0ubuntu6. I did "apt-get build-dep nuntium" and used the
installed go, which seems to be gogcc.

Anyway, the error seems still seems to go away if using latest
libraries. Doing in arale/vivid 12:

stop nuntium
sudo stop ofono
/usr/bin/nuntium
(then, from another terminal)
sudo start ofono OFONO_RIL_DEVICE=mtk

produces as last printed line by nuntium

2015/04/17 06:56:18 Using session bus on :1.115
2015/04/17 06:56:18 Registered :1.115 on bus as org.ofono.mms
2015/04/17 06:56:18 Using system bus on :1.135
2015/04/17 06:56:18 Cannot preemptively add modems: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files

Changing /usr/bin/nuntium and using the one I compiled the last lines
are:

2015/04/17 06:57:49 Using session bus on :1.116
2015/04/17 06:57:49 Registered :1.116 on bus as org.ofono.mms
2015/04/17 06:57:49 Using system bus on :1.137
2015/04/17 06:57:49 Cannot preemptively add modems: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
2015/04/17 06:57:54 Initializing modem /ril_0
2015/04/17 06:57:55 Modem online: true

I also compiled the source package and you still get the error. Probably
I should not make the error again of pointing out a specific change, but
go-dbus change #136 (2015-02-03) seems like something that could have
fixed this.

Finally, recompiling fixes the race condition on boot, but even using
latest go-dbus, if I do after both ofono and nuntium have started

restart ofono OFONO_RIL_DEVICE=mtk

then nuntium removes the modem instance, but does not re-create it after
ofono starts again. So nuntium would still have a bug when ofono
restarts or crashes and is re-spawned.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1441135

Title:
  Cannot send MMS when nuntium started before ofono

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nuntium/+bug/1441135/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to