forget previous result, I tried again (sorry):

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


In the first terminal :


root@ubuntu-phablet:~# cd /home/phablet/Documents/
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       ----->here i used the second terminal
root@ubuntu-phablet:/home/phablet/Documents# ^C
root@ubuntu-phablet:/home/phablet/Documents# exit
Script done, file is ofonod.out
ofonod[9934]: oFono version 1.12
ofonod[9934]: Excluding udev hardware detection
ofonod[9934]: Excluding Sim Access Profile Plugins
ofonod[9934]: Excluding Hands-Free Profile Plugins
ofonod[9934]: Excluding Provisioning Plugin
ofonod[9934]: src/phonebook.c:ofono_phonebook_driver_register() driver: 
0xfe74c, name: atmodem
ofonod[9934]: src/phonebook.c:ofono_phonebook_driver_register() driver: 
0xfdca0, name: isimodem
ofonod[9934]: src/phonebook.c:ofono_phonebook_driver_register() driver: 
0xfdc28, name: rilmodem
ofonod[9934]: RILDEV detected modem type mtk, 1 SIM slot(s)
ofonod[9934]: radio_state_changed, /dev/socket/rild, state: SIM_READY
ofonod[9934]: Physical slot 0 in socket /dev/socket/rild
ofonod[9934]: [slot 0] CONNECTED
ofonod[9934]: SMS History Probe for modem: 0x716848
ofonod[9934]: Network time: Registered inteface org.ofono.NetworkTime, path 
/ril_0
ofonod[9934]: mtk_radio_state_changed, slot 0: state: SIM_NOT_READY 
md->ofono_online: 1
ofonod[9934]: mtk_radio_state_changed, slot 0: state: SIM_READY 
md->ofono_online: 1
ofonod[9934]: Requested file structure differs from SIM: 6fb7
ofonod[9934]: Registered handle for channel 13: 0x1000f
ofonod[9934]: Registered handle for channel 1: 0x10010




and the output of the second terminal


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


and attached files : cf. targz


** Attachment added: "varcrashfiles.tar.gz"
   
https://bugs.launchpad.net/ubuntu/+source/address-book-app/+bug/1486004/+attachment/4448939/+files/varcrashfiles.tar.gz

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

Title:
  Cannot import contacts from sim card

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to