Jppy: sending vcards with bluetooth

martin f krafft madduck at madduck.net
Tue Mar 20 17:38:45 GMT 2007


I packaged python-lightblue for Debian unstable:

  http://debian.madduck.net/repo/dists/unstable/main/binary-amd64/python/python-lightblue_0.2-1_amd64.deb
  http://debian.madduck.net/repo/dists/unstable/main/binary-i386/python/python-lightblue_0.2-1_i386.deb

I would appreciate feedback as I intend to upload this package to
Debian proper soon.

Unfortunately, I still cannot send Vcards to OBEX phones, and the
problem seems to be that lightblue tries to talk on a channel that
my phone does not listen on. I can use ObexFTP just fine from the
command line, using channel 7. If I use lightblue from jppy, I get:

Sending to 00:19:63:98:9E:EC
[btobexclient_connect] Connecting transport...
[btobexclient_connect] Error opening Bluetooth transport connection!
[btobexserver_cleanup] entry.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/jppy/gui/contacts.py", line 587, in on_contactsVcardResponseConnect
    lightblue.obex.sendfile(address,11,filename)
  File "/var/lib/python-support/python2.4/lightblue/_obex.py", line 47, in sendfile
    fileobj, os.stat(source)[stat.ST_SIZE])
  File "/var/lib/python-support/python2.4/lightblue/_obex.py", line 62, in _sendfile
    raise _lightbluecommon.BluetoothError(str(exc))
lightblue._lightbluecommon.BluetoothError: Error connecting to server

Any ideas what may be going on?

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net at madduck
 
spamtraps: madduck.bogus at madduck.net
 
"i hate vulgar realism in literature. the man who could call a spade
 a spade should be compelled to use one. it is the only thing he is
 fit for."
                                                        -- oscar wilde
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://mail.zanu.org.uk/pipermail/jppy/attachments/20070320/d993fb6e/attachment.pgp 


More information about the Jppy mailing list