Re: [shr] sms-sentry not working

2009-04-23 Thread Angus Ainslie
On Thu, 2009-04-23 at 23:06 +0200, Petr Vanek wrote:
> Hello,
> 
> anybody made sms-sentry working in current shr-testing? i wanted to
> give it a try (since it is included in shr-testing
> (shr-image-om-gta02.jffs2  Apr 19 09:47) but no luck. 
> 
> Could this be caused by different framework version then sms-sentry was
> originally written for? Log attached.
> 

That would be my guess. I'll have a look at it later.

Angus


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[shr] sms-sentry not working

2009-04-23 Thread Petr Vanek
Hello,

anybody made sms-sentry working in current shr-testing? i wanted to
give it a try (since it is included in shr-testing
(shr-image-om-gta02.jffs2  Apr 19 09:47) but no luck. 

Could this be caused by different framework version then sms-sentry was
originally written for? Log attached.

Petr
2009-04-23 22:13:25,236 DEBUG init 
2009-04-23 22:13:35,743 ERROR DBus exception   
2009-04-23 22:13:55,818 ERROR DBus exception   
2009-04-23 22:14:05,860 ERROR DBus exception   
2009-04-23 22:14:15,892 DEBUG register 
2009-04-23 22:14:16,523 DEBUG registration failed - waiting 30 seconds 
2009-04-23 22:19:44,538 ERROR Exception in handler for D-Bus signal:   
Traceback (most recent call last): 
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 214, in maybe_handle_message
self._handler(*args, **kwargs) 
  File "/usr/bin/sms-sentry", line 88, in on_incoming_stored_message   
self.on_incoming_message( sender, contents, properties )   
  File "/usr/bin/sms-sentry", line 100, in on_incoming_message 
self.sms_iface.SendMessage( sender, location, { 'type':'SMS_DELIVER', 'alphabet':'gsm' }  )
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__   
**keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking   
message, timeout)  
DBusException: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords) 
  File "", line 1, in  
  File "/usr/lib/python2.6/site-packages/framework/resource.py", line 41, in checkedmethod 
return f(*args, **kw)  
  File "/usr/lib/python2.6/site-packages/framework/subsystems/ogsmd/device.py", line 389, in SendMessage   
mediator.SmsSendMessage( self, dbus_ok, dbus_error, number=number, contents=contents, properties=properties )  
  File "/usr/lib/python2.6/site-packages/framework/subsystems/ogsmd/modems/abstract/mediator.py", line 228, in __init__
AbstractYieldSupport.__init__( self, *args, **kwargs )