On Tue, 2010-03-30 at 14:37 +0100, Paulo Cabido wrote:
> Yes, I checked but didn't see any new bugs.
> 
> The behavior almost feels like a regression. I just wanted to confirm
> that I'm not the only one experiencing this before submitting a bug.
> A quick run with the example example/master-example shows the problem.

Im experimented problems also, not sure if they are the same you are
describing. When the geoclue-master is started with no providers
running, executing the master-example will lead to a DBus exception:

process 12374: arguments to dbus_message_new_error() were incorrect,
assertion "_dbus_check_is_valid_error_name (error_name)" failed in file
dbus-message.c line 1211.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace

Checking the DBus internals, i've detected the problem. It seems that
the name generated by the glib-mkenum "not-activated" is not valid to
build the DBus error name. The "-" is not a valid character. 

I've tried to overwrite the generated code at geoclue-enum-types.c:17

{ GEOCLUE_ERROR_NOT_AVAILABLE, "GEOCLUE_ERROR_NOT_AVAILABLE",
"NotAvailable" },

and that the problem looks solved. So thats confirmed my suspects; the 
code generated for the Error enumerations should be modified to define a
valid @valuenick@ in the template. 



-- 
Javi

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
GeoClue mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/geoclue

Reply via email to