← Back to team overview

touch-packages team mailing list archive

[Bug 1486004] Re: Cannot import contacts from sim card

 

>>1. Can you please attach the output of the command 'system-image-cli
-i' ( run on the phone )?

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 3
device name: arale
channel: ubuntu-touch/stable/meizu.en
last update: 2015-07-20 15:12:43
version version: 3
version ubuntu: 20150720
version device: 20150709-8965e37
version custom: 20150716-819-8-42
phablet@ubuntu-phablet:~$ 

>>2. Have you made your phone writeable and installed any other software
using apt?

Developper mode enabled
I ran 2 or 3 of the ubuntu-sdk apps on the phone

>>3. Can you give us a rough estimate of how many contacts you have
stored on your SIM?

May be 30 (I think of managing the micro sim card in order to put it
back in my old phone (standard sim), i will answer precisely if i
succeed...)

>>4. From looking at the syslog you attached, it looks like ofonod is
crashing.  Can you check if there's a .crash file in /var/crash for
ofonod and attach it to this bug please?

cf. attached files. most of the files are wierd or empty!



>>1. adb into the phone
>>2. become root ( sudo -i )
>>3. Run the command 'stop ofono'
>>4. Run the command 'script ofono.out'

First time i tried i had this result :
root@ubuntu-phablet:~# stop ofono
ofono stop/waiting
root@ubuntu-phablet:~# script ofono.out
script: cannot open ofono.out: Read-only file system
Terminated
root@ubuntu-phablet:~# 


>>5. Run the attached script, this will run ofono in the foreground and output a bunch of debug output
>>6. Re-run the 'test-phonebook' script ( /usr/share/ofono/scripts/test-phonebook )
>>7. Ctrl-C to terminate ofono
>>8. Ctrl-D to stop the script command
>>9. Grab the ofono.out command from the phone and attach to this bug please



root@ubuntu-phablet:/home/phablet/Documents# stop ofono
stop: Unknown instance: 
root@ubuntu-phablet:/home/phablet/Documents# script ofono.out
Script started, file is ofono.out
root@ubuntu-phablet:/home/phablet/Documents# ./debug-ofono.sh 
Script started, file is ofonod.out
root@ubuntu-phablet:/home/phablet/Documents# /usr/share/ofono/scripts/test-phonebook
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
    's', (bus_name,), **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.ofono': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/ofono/scripts/test-phonebook", line 11, in <module>
    manager = dbus.Interface(bus.get_object('org.ofono', '/'),
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
root@ubuntu-phablet:/home/phablet/Documents# ps -axf | grep ofono
 2493 ?        Sl     0:01          \_ /usr/lib/telepathy/telepathy-ofono
 9701 pts/18   S+     0:00                      \_ script ofono.out
 9702 pts/18   S+     0:00                          \_ script ofono.out
 9713 pts/35   S+     0:00                                  \_ /bin/sh ./debug-ofono.sh
 9714 pts/35   S+     0:00                                      \_ script ofonod.out
 9715 pts/35   S+     0:00                                          \_ script ofonod.out
 9729 pts/43   S+     0:00                                                  \_ grep --color=auto ofono
root@ubuntu-phablet:/home/phablet/Documents# kill 9701 9702 9713 9714 9715 9729
Terminated
root@ubuntu-phablet:/home/phablet/Documents# ps -axf | grep ofono
 2493 ?        Sl     0:01          \_ /usr/lib/telepathy/telepathy-ofono
 9732 pts/18   S+     0:00                      \_ grep --color=auto ofono
root@ubuntu-phablet:/home/phablet/Documents#

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to address-book-app in
Ubuntu.
https://bugs.launchpad.net/bugs/1486004

Title:
  Cannot import contacts from sim card

Status in address-book-app package in Ubuntu:
  New
Status in ofono package in Ubuntu:
  Incomplete

Bug description:
  I open a new bug as asked from this bug (last comment #14) :
  https://bugs.launchpad.net/ubuntu/+source/address-book-
  app/+bug/1331346?comments=all

  I've got a meizu mx4 ubuntu phone, but i cannot import contacts from
  the sim card, it makes some wierd messages but never stop, and no
  contact is imported.

  As asked in the previous bug repport, the /var/log/syslog file attached and the output :
  Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.
  Welcome to Ubuntu 15.04 (GNU/Linux 3.10.35+ armv7l)

   * Documentation:  https://help.ubuntu.com/
  Last login: Mon Jul 20 17:05:07 2015 from localhost.localdomain
  phablet@ubuntu-phablet:~$ /usr/share/ofono/scripts/test-phonebook /ril_0
  Traceback (most recent call last):
    File "/usr/share/ofono/scripts/test-phonebook", line 23, in <module>
      print(phonebook.Import(timeout=100))
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
      return self._proxy_method(*args, **keywords)
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
      **keywords)
    File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
  phablet@ubuntu-phablet:~$ /usr/share/ofono/scripts/test-phonebook /ril_1
  Traceback (most recent call last):
    File "/usr/share/ofono/scripts/test-phonebook", line 23, in <module>
      print(phonebook.Import(timeout=100))
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
      return self._proxy_method(*args, **keywords)
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
      **keywords)
    File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: Method "Import" with signature "" on interface "org.ofono.Phonebook" doesn't exist

  phablet@ubuntu-phablet:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/address-book-app/+bug/1486004/+subscriptions


References