[gnome-bluetooth] libbtctl bug?

Bastien Nocera hadess at hadess.net
Tue Nov 29 11:30:02 GMT 2005


On Tue, 2005-11-29 at 21:28 +1000, Cam Daniel wrote:
> -------- Original Message --------
> Subject: Re: libbtctl bug?
> Date: Mon, 28 Nov 2005 10:11:36 +0000
> From: Edd Dumbill <edd at usefulinc.com>
> To: Cam Daniel <me at camdaniel.com>
> References: <438AD352.9020002 at camdaniel.com>
> 
> Hi--can you send this to the gnome-bluetooth mailing list please?
> That's where all the developers hang out.
> 
> On Mon, 2005-11-28 at 19:52 +1000, Cam Daniel wrote:
> > Hey,
> > 
> > A while ago, I submitted a bug[1] that existed in CVS in the libbtctl 
> > Python bindings. I was curious whether this is going to be fixed or if 
> > it has been in 0.5.0 and I'm just retarded and can't make it work.
> > 
> > Any data in a gpointer cannot be accessed in Python and as such, this is 
> > preventing any OBEX transactions working by using the Python bindings. I 
> > don't know any C so I can't really give any suggestions, only that there 
> > are comments in the bug report that suggest possible workarounds.
> > 
> > If you have any time to have a shot at this I'd certainly be interested 
> > to hear how you go, I currently use PyBluez[2] to do a lot of playing 
> > around with Bluetooth and the various devices we have around the house. 
> > I've had a play with implementing an OBEX layer in pure python but it 
> > seemed overly complicated, especially since there is an implementation 
> > existing already in libbtctl, it's just a little broken at the moment ;-)
> > 
> > Yours,
> > 
> > Cameron Daniel
> > 
> > 
> > [1] http://bugzilla.gnome.org/show_bug.cgi?id=311069
> > [2] http://org.csail.mit.edu/pybluez/

I tried to fix that bug multiple times already, and my knowledge of the
workings of the Python bindings are just too small to be able to fix
that bug.

One thing that would help would be to recreate the "bindings" so that
Python/PyGTK hackers without bluetooth can recreate the problem, and
help us out with them.

We would need:
- an object that returns data in a signal handler
- Makefile-fu to create and install python bindings to this ad-hoc
library.
- a test program

Once we have that, we should be able to call for help from the PyGTK
hackers.

Cheers

---
Bastien Nocera <hadess at hadess.net> 
I don't see my breasts as being that fucking stunning. -- Angelina Jolie



More information about the gnome-bluetooth mailing list