[Bug 304966] New: Send file using bluetooth fails

ceolesen at gmail.com ceolesen at gmail.com
Sat Aug 11 11:01:17 BST 2012


https://bugs.kde.org/show_bug.cgi?id=304966

            Bug ID: 304966
          Severity: normal
           Version: 4.8
          Priority: NOR
          Assignee: unassigned-bugs at kde.org
           Summary: Send file using bluetooth fails
    Classification: Unclassified
                OS: Linux
          Reporter: ceolesen at gmail.com
          Hardware: Fedora RPMs
            Status: UNCONFIRMED
         Component: general
           Product: kde

Send of file from one computer to another using bluetooth fails.

Fedora 17 + KDE 4.8.4 all up to date.

Reproducible: Always

Steps to Reproduce:
Requirements are two computers such as a PC running Linux and a mobile phone
both supporting bluetooth
1. Put phone is discoverable mode.
2. Click bluetooth symbol in tray. Menu opens.
3. Click "Send File" in menu. Menu closes. Window "Bluetooth Send Files" opens.
4. Select phone in window. Phone is highlighted.
5. Click "Send one or more files" in window.  Window "Bluetooth Send File
Helper" opens.
6. Select file in window. Windows closes.
7. Click "Send Files" in window "Bluetooth Send Files". window changes to
"Connecting to phone..." and closes. Progress window "no running jobs"
temporarily appears. Window "Sending file over Bluetooth [Finished]"
temporarily appears.
8. Check receive of file on phone. File was not received on phone.
Actual Results:  
/var/log/messages
Aug 11 00:36:49 xxxxxx bluetoothd[786]: bluetoothd[786]: Discovery session
0xb7cc1610 with :1.75 activated
Aug 11 00:36:49 xxxxxx bluetoothd[786]: Discovery session 0xb7cc1610 with :1.75
activated
Aug 11 00:36:54 xxxxxx bluetoothd[786]: bluetoothd[786]: Stopping discovery
Aug 11 00:36:54 xxxxxx bluetoothd[786]: Stopping discovery
Aug 11 00:36:54 xxxxxx bluetoothd[786]: bluetoothd[786]: Mode session
0xb7cbf4e0 with :1.53 activated
Aug 11 00:36:54 xxxxxx bluetoothd[786]: Mode session 0xb7cbf4e0 with :1.53
activated
Aug 11 00:36:59 xxxxxx dbus-daemon[853]: dbus[853]: [system] Rejected send
message, 2 matched rules; type="method_return", sender=":1.0" (uid=0 pid=786
comm="/usr/sbin/bluetoothd -n ") interface="(unset)" member="(unset)" error
name="(unset)" requested_reply="0" destination=":1.53" (uid=1000 pid=1867
comm="/usr/libexec/obex-client ")
Aug 11 00:36:59 xxxxxx dbus[853]: [system] Rejected send message, 2 matched
rules; type="method_return", sender=":1.0" (uid=0 pid=786
comm="/usr/sbin/bluetoothd -n ") interface="(unset)" member="(unset)" error
name="(unset)" requested_reply="0" destination=":1.53" (uid=1000 pid=1867
comm="/usr/libexec/obex-client ")


Send of file from the commandline works as for example using this script

#!/bin/sh
#
# send file using bluetooth
# args: [ bdaddr [ channel file ] ]
#   <>                        : get the <bdaddr> (must be discoverable)
#   <bdaddr>                  : get the <channel>
#   <bdaddr> <channel> <file> : send the <file>
#
case "$#" in
0) hcitool scan ;;
1) sdptool search --bdaddr $1 OPUSH ;;
3) obexftp --nopath --noconn --uuid none --bluetooth $1 --channel $2 --put "$3"
;;
esac

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list