om2009 need help in getting gprs to work

matzehuber matthias.huber at wollishausen.de
Thu Jul 23 19:24:17 CEST 2009


can someone help me to get gprs to work ?

i tried :
self.bus = dbus.SystemBus()          
self.gprs  = self.bus.get_object('org.freesmartphone.GSM',
'/org/freesmartphone/GSM')    
self.gprs.ActivateContext(self.apn, self.login, self.password, reply_handler
= self.dbusnothing, error_handler = self.dbusnothing)

and got:
Using **pending_return in dbus_connection_send_with_reply_setup() without
pending_setup is deprecated and strongly discouraged
Using **pending_return in dbus_connection_send_with_reply_setup() without
pending_setup is deprecated and strongly discouraged
Using **pending_return in dbus_connection_send_with_reply_setup() without
pending_setup is deprecated and strongly discouraged
Traceback (most recent call last):                                                                                            
  File "gprsup.py", line 62, in <module>                                                                                      
    x = Gprs()                                                                                                                
  File "gprsup.py", line 15, in __init__                                                                                      
    self.gprs  = self.bus.get_object('org.freesmartphone.GSM',
'/org/freesmartphone/GSM')                                     
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 244, in
get_object                                                
    follow_name_owner_changes=follow_name_owner_changes)                                                                      
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 241, in
__init__                                              
    self._named_service = conn.activate_name_owner(bus_name)                                                                  
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 183, in
activate_name_owner                                       
    self.start_service_by_name(bus_name)                                                                                      
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 281, in
start_service_by_name                                     
    'su', (bus_name, flags)))                                                                                                 
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in
call_blocking                                      
    message, timeout)                                                                                                         
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freesmartphone.GSM was not provided by any .service files


-- 
View this message in context: http://n2.nabble.com/om2009-need-help-in-getting-gprs-to-work-tp3311072p3311072.html
Sent from the Openmoko Devel mailing list archive at Nabble.com.



More information about the devel mailing list