* [Bluez-devel] Python/Gtk2 test application for the new D-BUS interface
@ 2005-10-14 21:05 Johan Hedberg
2005-10-16 13:29 ` Marcel Holtmann
0 siblings, 1 reply; 6+ messages in thread
From: Johan Hedberg @ 2005-10-14 21:05 UTC (permalink / raw)
To: bluez-devel
Hi,
In case someone is interested, I started developing a pygtk based test
application for the new D-BUS interface which we are working on. You can
get the first version here:
http://www.iki.fi/~jhedberg/bluez-python.tar.gz
Note that the code is in a very early stage. Currently it supports the
inquiry, periodic inquiry and remote name method calls and signals.
To execute the application, run bluez-python/btdbus.py
Johan
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Python/Gtk2 test application for the new D-BUS interface
2005-10-14 21:05 [Bluez-devel] Python/Gtk2 test application for the new D-BUS interface Johan Hedberg
@ 2005-10-16 13:29 ` Marcel Holtmann
2005-10-16 16:54 ` Johan Hedberg
0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2005-10-16 13:29 UTC (permalink / raw)
To: bluez-devel
Hi Johan,
> In case someone is interested, I started developing a pygtk based test
> application for the new D-BUS interface which we are working on. You can
> get the first version here:
> http://www.iki.fi/~jhedberg/bluez-python.tar.gz
>
> Note that the code is in a very early stage. Currently it supports the
> inquiry, periodic inquiry and remote name method calls and signals.
>
> To execute the application, run bluez-python/btdbus.py
it crashes with the name resolve on AMD64, but it is a great starting
point.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Python/Gtk2 test application for the new D-BUS interface
2005-10-16 13:29 ` Marcel Holtmann
@ 2005-10-16 16:54 ` Johan Hedberg
2005-10-16 19:24 ` Marcel Holtmann
0 siblings, 1 reply; 6+ messages in thread
From: Johan Hedberg @ 2005-10-16 16:54 UTC (permalink / raw)
To: bluez-devel
On Sun, Oct 16, 2005, Marcel Holtmann wrote:
> it crashes with the name resolve on AMD64, but it is a great starting
> point.
There are some small changes to how name resolving is done in the latest
version (0.2) available here:
http://www.iki.fi/~jhedberg/bluez-python/
If you still get the crash, could you perhaps send a backtrace of it? (I
don't have a 64bit machine to reproduce it on).
Johan
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Python/Gtk2 test application for the new D-BUS interface
2005-10-16 16:54 ` Johan Hedberg
@ 2005-10-16 19:24 ` Marcel Holtmann
2005-10-16 21:13 ` Johan Hedberg
0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2005-10-16 19:24 UTC (permalink / raw)
To: bluez-devel
Hi Johan,
> > it crashes with the name resolve on AMD64, but it is a great starting
> > point.
>
> There are some small changes to how name resolving is done in the latest
> version (0.2) available here:
> http://www.iki.fi/~jhedberg/bluez-python/
>
> If you still get the crash, could you perhaps send a backtrace of it? (I
> don't have a 64bit machine to reproduce it on).
it is still crashing. It also happens with the start of periodic inquiry
and both are producing a segmentation fault. If I start the program and
then call 'hcitool scan' the name resolving seems to work flawless.
So how do I create a backtrace with Python for you?
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Python/Gtk2 test application for the new D-BUS interface
2005-10-16 19:24 ` Marcel Holtmann
@ 2005-10-16 21:13 ` Johan Hedberg
2005-10-16 21:29 ` Marcel Holtmann
0 siblings, 1 reply; 6+ messages in thread
From: Johan Hedberg @ 2005-10-16 21:13 UTC (permalink / raw)
To: bluez-devel
Hi Marcel,
On Sun, Oct 16, 2005, Marcel Holtmann wrote:
> So how do I create a backtrace with Python for you?
I was thinking of the several lines of "traceback" information that
python usually prints when the code does something bad. If the program
is segfaulting without producing any other output I don't really have
any expecrience in debugging that kind of problems. In the case that we
have found a bug in the python D-BUS bindings debugging could be even
harder.
Johan
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Python/Gtk2 test application for the new D-BUS interface
2005-10-16 21:13 ` Johan Hedberg
@ 2005-10-16 21:29 ` Marcel Holtmann
0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-10-16 21:29 UTC (permalink / raw)
To: bluez-devel
Hi Johan,
> > So how do I create a backtrace with Python for you?
>
> I was thinking of the several lines of "traceback" information that
> python usually prints when the code does something bad. If the program
> is segfaulting without producing any other output I don't really have
> any expecrience in debugging that kind of problems. In the case that we
> have found a bug in the python D-BUS bindings debugging could be even
> harder.
I tested it on two machines running Ubuntu and both are crashing. One
was amd64 and one i386 based. So basically I think that the D-Bus is at
fault here. And there is no debugging output from Python. The only thing
I saw is an segmentation fault.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-16 21:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-14 21:05 [Bluez-devel] Python/Gtk2 test application for the new D-BUS interface Johan Hedberg
2005-10-16 13:29 ` Marcel Holtmann
2005-10-16 16:54 ` Johan Hedberg
2005-10-16 19:24 ` Marcel Holtmann
2005-10-16 21:13 ` Johan Hedberg
2005-10-16 21:29 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).