arne anka wrote:
> enable debugging in zhone and set a file (all on the top). after the next
> failure the log maybe has some useful information.
> my /usr/bin/zhone starts like below -- i don't know what the current zhone
> looks like, but it still should work the same, log file is set to your
> home directory and .zhone.log
>
> import os
> import logging
> logger = logging.getLogger( MODULE_NAME )
> logging.basicConfig( level = logging.DEBUG,
> format = '%(asctime)s %(levelname)s %(message)s',
> filename = os.environ.get('HOME')+'/.zhone.log',
> filemode = 'w' )
> logger.addHandler( logging.StreamHandler() )
> logger.setLevel( logging.DEBUG )
>
Ok, i have the logging. I dont see anything strange, but I am not that
familiar with zhone logging.
(I filtered my addressbook and received SMS.)
greetz,
Bas
2009-02-07 19:36:33,048 DEBUG GUI init
2009-02-07 19:36:33,594 WARNING x11-16 is not supported, fallback to x11
2009-02-07 19:37:05,979 DEBUG GUI init done
2009-02-07 19:37:06,331 DEBUG entering mainloop
2009-02-07 19:37:08,943 DEBUG dbus_objectInit...
2009-02-07 19:37:09,351 WARNING could not create proxy for
org.freesmartphone.ousaged:/org/freesmartphone/Usage
2009-02-07 19:37:10,263 DEBUG gps ok: <Interface <ProxyObject wrapping
<dbus._dbus.SystemBus (system) at 0x4058e1b0> :1.7 /org/freedesktop/Gypsy at
0x40588230> implementing 'org.freedesktop.Gypsy.Accuracy' at 0x40588430>,
<Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x4058e1b0>
:1.7 /org/freedesktop/Gypsy at 0x40588230> implementing
'org.freedesktop.Gypsy.Position' at 0x40588670>, <Interface <ProxyObject
wrapping <dbus._dbus.SystemBus (system) at 0x4058e1b0> :1.7
/org/freedesktop/Gypsy at 0x40588230> implementing
'org.freedesktop.Gypsy.Satellite' at 0x405887b0>
2009-02-07 19:37:10,720 DEBUG gsm ok: <Interface <ProxyObject wrapping
<dbus._dbus.SystemBus (system) at 0x4058e1b0> :1.8
/org/freesmartphone/GSM/Device at 0x40588b90> implementing
'org.freesmartphone.GSM.Network' at 0x40588cb0>
2009-02-07 19:37:11,305 WARNING could not create proxy for
org.freesmartphone.odeviced:/org/freesmartphone/Device
2009-02-07 19:37:11,367 WARNING could not create proxy for
org.freesmartphone.opreferencesd:/org/freesmartphone/Preferences
2009-02-07 19:37:11,454 DEBUG preferences ok: <Interface None implementing
'org.freesmartphone.Preferences' at 0x4059f2d0>
2009-02-07 19:37:11,478 DEBUG failcount = 2
2009-02-07 19:37:26,768 DEBUG dbus_objectInit...
2009-02-07 19:37:35,528 DEBUG usage ok: <Interface <ProxyObject wrapping
<dbus._dbus.SystemBus (system) at 0x4058e1b0> :1.18 /org/freesmartphone/Usage
at 0x40588210> implementing 'org.freesmartphone.Usage' at 0x40588d90>
2009-02-07 19:37:35,578 DEBUG gps ok: <Interface <ProxyObject wrapping
<dbus._dbus.SystemBus (system) at 0x4058e1b0> :1.7 /org/freedesktop/Gypsy at
0x40588230> implementing 'org.freedesktop.Gypsy.Accuracy' at 0x40588430>,
<Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x4058e1b0>
:1.7 /org/freedesktop/Gypsy at 0x40588230> implementing
'org.freedesktop.Gypsy.Position' at 0x40588670>, <Interface <ProxyObject
wrapping <dbus._dbus.SystemBus (system) at 0x4058e1b0> :1.7
/org/freedesktop/Gypsy at 0x40588230> implementing
'org.freedesktop.Gypsy.Satellite' at 0x405887b0>
2009-02-07 19:37:35,589 DEBUG gsm ok: <Interface <ProxyObject wrapping
<dbus._dbus.SystemBus (system) at 0x4058e1b0> :1.8
/org/freesmartphone/GSM/Device at 0x40588b90> implementing
'org.freesmartphone.GSM.Network' at 0x40588cb0>
2009-02-07 19:37:35,863 DEBUG device ok: <Interface <ProxyObject wrapping
<dbus._dbus.SystemBus (system) at 0x4058e1b0> :1.19 /org/freesmartphone/Device
at 0x40588710> implementing 'org.freesmartphone.Device' at 0x40588590>
2009-02-07 19:37:36,176 DEBUG preferences ok: <Interface <ProxyObject wrapping
<dbus._dbus.SystemBus (system) at 0x4058e1b0> :1.13
/org/freesmartphone/Preferences at 0x4059f4f0> implementing
'org.freesmartphone.Preferences' at 0x4059f5b0>
2009-02-07 19:37:36,189 DEBUG failcount = 0
2009-02-07 19:37:36,323 DEBUG dbus_objectInitOK!
2009-02-07 19:37:36,332 DEBUG Requesting resource list
2009-02-07 19:37:42,548 INFO IDLE STATE = idle
2009-02-07 19:37:46,282 DEBUG Resource added GPS
2009-02-07 19:37:47,856 DEBUG Resource added GSM
2009-02-07 19:37:47,885 DEBUG Requesting resource GSM
2009-02-07 19:37:48,288 DEBUG Resource added TEST
2009-02-07 19:37:48,790 DEBUG Resource added Bluetooth
2009-02-07 19:37:49,242 DEBUG Resource added WiFi
2009-02-07 19:37:49,823 DEBUG Resource added CPU
2009-02-07 19:37:50,373 DEBUG Resource added Display
2009-02-07 19:37:58,201 INFO IDLE STATE = idle
2009-02-07 19:37:58,387 INFO IDLE STATE = idle
2009-02-07 19:37:58,913 INFO checking for unsent messages
2009-02-07 19:38:10,771 DEBUG Requested resource GSM
2009-02-07 19:38:10,784 DEBUG Turning on Antenna
2009-02-07 19:38:11,785 INFO did not receive any unsent messages:
org.freesmartphone.GSM.SIM.NotPresent:
2009-02-07 19:38:13,428 DEBUG SIM is ready: 0
2009-02-07 19:38:13,438 DEBUG SIM is ready: 0
2009-02-07 19:38:14,944 INFO SIM seems to be protected. Checking auth status
now.
2009-02-07 19:38:14,954 DEBUG Reading authentication status
2009-02-07 19:38:15,361 DEBUG Waiting for PIN
2009-02-07 19:38:15,376 DEBUG transition to pin_edit
2009-02-07 19:38:19,027 INFO IDLE STATE = idle_dim
2009-02-07 19:38:19,740 INFO IDLE STATE = busy
2009-02-07 19:38:28,085 DEBUG transition to main
2009-02-07 19:38:28,098 DEBUG Sending PIN
2009-02-07 19:38:29,418 DEBUG Telephony Ready
2009-02-07 19:38:29,429 DEBUG Turning on Antenna
2009-02-07 19:38:29,831 INFO Antenna power OK. Registering to network now.
2009-02-07 19:38:29,843 DEBUG Registering to network
2009-02-07 19:38:30,209 INFO IDLE STATE = idle
2009-02-07 19:38:36,517 INFO network status changed:
dbus.Dictionary({dbus.String(u'strength'): dbus.Int32(89, variant_level=1),
dbus.String(u'cid'): dbus.String(u'3539', variant_level=1),
dbus.String(u'act'): dbus.String(u'GSM', variant_level=1), dbus.String(u'lac'):
dbus.String(u'1190', variant_level=1), dbus.String(u'mode'):
dbus.String(u'automatic', variant_level=1), dbus.String(u'registration'):
dbus.String(u'home', variant_level=1)}, signature=dbus.Signature('sv'))
2009-02-07 19:38:36,528 DEBUG Failed to register to network
2009-02-07 19:38:36,904 INFO network status changed:
dbus.Dictionary({dbus.String(u'strength'): dbus.Int32(89, variant_level=1),
dbus.String(u'cid'): dbus.String(u'3539', variant_level=1),
dbus.String(u'act'): dbus.String(u'GSM', variant_level=1), dbus.String(u'lac'):
dbus.String(u'1190', variant_level=1), dbus.String(u'mode'):
dbus.String(u'automatic', variant_level=1), dbus.String(u'registration'):
dbus.String(u'home', variant_level=1)}, signature=dbus.Signature('sv'))
2009-02-07 19:38:36,934 DEBUG Failed to register to network
2009-02-07 19:38:37,011 DEBUG SIM is ready: 1
2009-02-07 19:38:37,023 INFO retrieving phonebook...
2009-02-07 19:38:37,053 DEBUG SIM is ready: 1
2009-02-07 19:38:37,063 INFO retrieving messagebook...
2009-02-07 19:38:39,756 INFO retrieved messagebook: *** FILTERED ***
2009-02-07 19:38:40,034 INFO retrieved phonebook: *** FILTERED ***
2009-02-07 19:38:50,027 INFO IDLE STATE = idle_dim
2009-02-07 19:38:58,918 INFO checking for unsent messages
2009-02-07 19:39:02,019 INFO IDLE STATE = idle_prelock
2009-02-07 19:39:04,019 INFO IDLE STATE = lock
2009-02-07 19:39:24,027 INFO IDLE STATE = suspend
2009-02-07 19:39:58,949 INFO checking for unsent messages
_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community