[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Democracy player não inicia com sucesso no Testing



07/09/07 08:29:36 changed by michal.benes@itonis.tv

Parameters in dbus constructor are not in a correct order. May be it is dbus API change or miro player bug. Anyway, this patch fixes the problem: Index: platform/gtk-x11/onetime.py =================================================================== --- platform/gtk-x11/onetime.py (revision 4801) +++ platform/gtk-x11/onetime.py (working copy) @@ -109,7 +109,7 @@

def init(self):

bus = dbus.SessionBus?() bus_name = BusNameFlags?('org.participatoryculture.dtv.onetime', bus=bus, flags=dbus.dbus_bindings.NAME_FLAG_DO_NOT_QUEUE)

- dbus.service.Object.init(self, bus_name, '/org/participatoryculture/dtv/OneTime')
+ dbus.service.Object.init(self, bus_name=bus_name, object_path='/org/participatoryculture/dtv/OneTime')

@dbus.service.method('org.participatoryculture.dtv.OneTimeIface?') def HandleArgs? (self, args):


Comigo funcionou..

[]'s
MArio Zuzarte

Reply to: