Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157600 - net-wireless/gnome-bluetooth-0.8.0 - gnome-obex-send fails to send file
Summary: net-wireless/gnome-bluetooth-0.8.0 - gnome-obex-send fails to send file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
: 158614 162639 171966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-09 04:44 UTC by Marcello Magaldi
Modified: 2007-04-24 03:49 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libbtctl-0.8.2 ebuild (libbtctl-0.8.2.ebuild,1.26 KB, text/plain)
2007-01-03 09:13 UTC, Luca Guglielmetti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Magaldi 2006-12-09 04:44:04 UTC
emerge --info :
 # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 09 Dec 2006 12:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium4 -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict userfetch usersandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"LANG="it_IT@euro"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aim alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo boo cairo caps cdparanoia cdr cli cracklib crypt cups curl dba dbus divx4linux dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd evo examples exif fam ffmpeg firefox flac foomaticdb fortran ftp gcj gdbm gif gnome gnustep gpm gstreamer gtk gtk2 guile hal iconv icq imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jabber jack java javascript jpeg junit kde kernel_linux libg++ libwww linguas_it mad matroska mikmod mime mmx mmx2 mono motif mp3 mpeg msn mysql ncurses nls nptl nptlonly objc ogg oggvorbis openal opengl oscar oss pam pcmcia pcre pdf pdflib perl php png pnp portaudio posix pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session shorten slang sockets speex spell spl sqlite sse sse2 ssl svg svga tcltk tcpd tetex threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf v4l vcd video_cards_fbdev video_cards_radeon videos vorbis wifi win32codecs wxgtk1 wxwindows x86 xine xml xml2 xorg xpm xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

$ gnome-obex-send file.txt
Browsing 00:16:20:12:65:0E ...
Service Name: OBEX Object Push
Service RecHandle: 0x10005
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 6
  "OBEX" (0x0008)
Service Class ID List:
  "OBEX Object Push" (0x1105)
** Message: device 00:16:20:12:65:0E (OBEX Object Push) port 6



** (gnome-obex-send:13524): CRITICAL **: btctl_obexclient_source_new: assertion `channel <= 0' failed

** (gnome-obex-send:13524): WARNING **: Unable to initialize OBEX client source

/etc/bluetooth/rfcomm.conf :
#
# RFCOMM configuration file.
#

rfcomm0 {
        # Automatically bind the device at startup
        bind yes;

        # Bluetooth address of the device
        device 00:0B:0D:4C:52:DB;
        #device 00:16:20:12:65:0E;
        # RFCOMM channel for the connection
        channel 6;

        # Description of the connection
        comment "Example Bluetooth device";
}

I'm using gnome-bluetooth-0.8
Comment 1 Iain Buchanan 2006-12-19 17:32:09 UTC
I can confirm this for me.  I can send from the device to this laptop (using gnome-obex-server), but not from this laptop to the device.

net-wireless/gnome-bluetooth-0.8.0
dev-libs/openobex-1.3

$ gnome-obex-send TODO 
Browsing 00:02:C7:EF:6D:24 ...
Service Name: OBEX Object Push
Service RecHandle: 0x10004
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
  "OBEX" (0x0008)
Service Class ID List:
  "OBEX Object Push" (0x1105)
** Message: device 00:02:C7:EF:6D:24 (OBEX Object Push) port 3



** (gnome-obex-send:24055): CRITICAL **: btctl_obexclient_source_new: assertion `channel <= 0' failed

** (gnome-obex-send:24055): WARNING **: Unable to initialize OBEX client source

can't add attachments lately, I'll post emerge --info if you want it.

thanks!
Comment 2 Jonas Jonsson 2006-12-26 04:29:43 UTC
I upgraded to libbtctl/libbtctl-0.8.2.ebuild using a local overlay. And it solved the problem for me. Read somewhere that there were a bug in libbtctl that made this happen. 

And I had to restart my phone because the stupid thing didn't work... *Sigh*
Comment 3 Luca Guglielmetti 2007-01-03 07:58:30 UTC
(In reply to comment #2)
> I upgraded to libbtctl/libbtctl-0.8.2.ebuild using a local overlay. And it
> solved the problem for me. Read somewhere that there were a bug in libbtctl
> that made this happen. 
> 
I have searched on bugzilla but I don't have found the libbtctl-0.8.2 ebuild. Can you please attach it here?

Best regards
Comment 4 Luca Guglielmetti 2007-01-03 09:13:50 UTC
Created attachment 105303 [details]
libbtctl-0.8.2 ebuild

I've modified only a little the ebuild of libbtctl-0.8.1: I confirm that libbtctl-0.8.2 fix this bug
Comment 5 Gianluca Parmiggiani 2007-01-11 10:50:56 UTC
Upgrading to libbtctl-0.8.2 worked for me too. *thumb up*
Comment 6 Gianluca Parmiggiani 2007-03-02 09:42:13 UTC
I'm using libbtctl-0.8.2 ebuild for a long while and i can happily send files via bluetooth, isn't it worth for inclusion in portage?
Comment 7 Juanlu Pérez 2007-03-02 10:14:39 UTC
libbtctl-0.8.2 ebuild listed here works for me
Comment 8 Marcello Magaldi 2007-03-02 14:03:05 UTC
(In reply to comment #7)
> libbtctl-0.8.2 ebuild listed here works for me
> 

also for me, I think we should change the bug status to fixed
Comment 9 Gianluca Parmiggiani 2007-03-16 09:30:24 UTC
This bug is related to this other one:
http://bugs.gentoo.org/show_bug.cgi?id=162639
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-03-16 17:35:15 UTC
*** Bug 162639 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-03-23 21:52:01 UTC
*** Bug 171966 has been marked as a duplicate of this bug. ***
Comment 12 Seemant Kulleen (RETIRED) gentoo-dev 2007-04-24 03:48:09 UTC
added this to portage -- I tested it and it truly does fix gnome-obex-send.

sorry to keep all the users waiting -- we're sort of understaffed in the bluetooth area at the moment (and I only *just* got a bluetooth capable phone to be able to use this stuff).
Comment 13 Seemant Kulleen (RETIRED) gentoo-dev 2007-04-24 03:49:05 UTC
*** Bug 158614 has been marked as a duplicate of this bug. ***