Package: gvfs
Version: 1.12.3-4
Severity: normal

Dear Maintainer,

copying files with a non-trivial size from a Bluetooth device (Android 4.4
phone in this case) to a Debian desktop fails with a bogus "Another operation
in progress" error.

For example:

        # a small text file of ~10 bytes works

        $ gvfs-copy obex://[F4:F1:E1:0B:BD:3C]/PHONE_MEMORY/Download/a.txt .

        # a larger JPEG file ~100 kB fails

        $ gvfs-copy obex://[F4:F1:E1:0B:BD:3C]/PHONE_MEMORY/Download/a.jpg .
        Error copying file 
obex://[F4:F1:E1:0B:BD:3C]/PHONE_MEMORY/Download/a.jpg: Another operation in 
progress

Similar error occurs when copying with Nautilus.

Copying in the other direction (from the Debian host to the Bluetooth device)
works correctly in both cases.

Interesting parts from "dbus-monitor" output:

        # copying a.txt

        method call sender=:1.134 -> dest=org.openobex serial=262 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=CopyRemoteFile
           string "a.txt"
           string "/tmp/gvfsobexftp-tmp-UDMELX"
        signal sender=:1.27 -> dest=(null destination) serial=1442 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=TransferProgress
           uint64 0
        method return sender=:1.27 -> dest=:1.134 reply_serial=262
        signal sender=:1.27 -> dest=(null destination) serial=1444 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=TransferStarted
           string "a.txt"
           string "/tmp/gvfsobexftp-tmp-UDMELX"
           uint64 14
        signal sender=:1.27 -> dest=(null destination) serial=1445 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=TransferProgress
           uint64 14
        signal sender=:1.27 -> dest=(null destination) serial=1446 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=TransferCompleted
        method call sender=:1.134 -> dest=org.openobex serial=263 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=GetCurrentPath
        method return sender=:1.27 -> dest=:1.134 reply_serial=263
           string "PHONE_MEMORY/Download/"
        method call sender=:1.134 -> dest=org.openobex serial=264 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=ChangeCurrentFolderToRoot
        signal sender=:1.27 -> dest=(null destination) serial=1448 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=TransferProgress
           uint64 14
        method return sender=:1.27 -> dest=:1.134 reply_serial=264



        # copying a.jpg

        method call sender=:1.134 -> dest=org.openobex serial=279 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=CopyRemoteFile
           string "a.jpg"
           string "/tmp/gvfsobexftp-tmp-196WLX"
        signal sender=:1.27 -> dest=(null destination) serial=1469 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=TransferProgress
           uint64 0
        method return sender=:1.27 -> dest=:1.134 reply_serial=279
        signal sender=:1.27 -> dest=(null destination) serial=1471 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=TransferStarted
           string "a.jpg"
           string "/tmp/gvfsobexftp-tmp-196WLX"
           uint64 98548
        signal sender=:1.27 -> dest=(null destination) serial=1472 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=TransferProgress
           uint64 32751
        method call sender=:1.134 -> dest=org.openobex serial=280 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=GetCurrentPath
        method return sender=:1.27 -> dest=:1.134 reply_serial=280
           string "PHONE_MEMORY/Download/"
        method call sender=:1.134 -> dest=org.openobex serial=281 
path=/org/openobex/session3; interface=org.openobex.Session; 
member=ChangeCurrentFolderToRoot
        error sender=:1.27 -> dest=:1.134 error_name=org.openobex.Error.Busy 
reply_serial=281
           string "Another operation in progress"

Possibly related Ubuntu bug:

https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1284308

Thanks,
Tomaž


-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.1+ (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gvfs depends on:
ii  gvfs-common   1.12.3-4
ii  gvfs-daemons  1.12.3-4
ii  gvfs-libs     1.12.3-4
ii  libc6         2.17-93
ii  libdbus-1-3   1.6.8-1+deb7u3
ii  libglib2.0-0  2.40.0-5
ii  libudev0      175-7.2

gvfs recommends no packages.

Versions of packages gvfs suggests:
ii  gvfs-backends  1.12.3-4

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to