Package: obexftp
Version: 0.10.7+0.10.8pre9-3
Severity: important

I have a script that scans pictures on my mobile phone and calls obexftp
to retrieve all new and delete all old.
This version of package fails to handle all images except the first one:
----------------
[EMAIL PROTECTED]:~/pics$ ./obex.py
No custom transport
Connecting...done
Receiving "Data/Pictures/"... Sending "Data"... Sending "Pictures"...
done

|done

Disconnecting...done
No custom transport
Connecting...done
Receiving "Data/Pictures/060501_180749.jpg"... Sending "Data"... Sending
"Pictures"... done

|done

Receiving "Data/Pictures/060501_180756.jpg"... Sending "Data"... failed:
Data/Pictures/
failed: Data/Pictures/
Receiving "Data/Pictures/060501_180802.jpg"... Sending "Data"... failed:
Data/Pictures/
failed: Data/Pictures/
Disconnecting...done
----------------
Old version of this package (0.10.7-3) was free of this bug:
----------------
[EMAIL PROTECTED]:~/pics$ ./obex.py
No custom transport
Connecting...done
Receiving Data/Pictures/...|done
Disconnecting...done
No custom transport
Connecting...done
Receiving Data/Pictures/060501_180756.jpg...\done
Receiving Data/Pictures/060501_180802.jpg...-done
Disconnecting...done
No custom transport
Connecting...done
Sending Data/Pictures/060501_180749.jpg... done
Disconnecting...done
----------------
(second run retrieved two images and deleted one that was retrieved
in previous test)

I didn't looked into code but it looks like old version was sending
path+filename at once while new version does it separately. As a result
second chdir fails since first attempt already succeeded. Though I may
be mistaken.



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages obexftp depends on:
ii  libbluetooth1              2.25-1        Library to use the BlueZ Linux
 Blu ii  libc6                      2.3.5-3       GNU C Library: Shared
 libraries an ii  libopenobex-1.0-0          1:1.0.0-rel-3 OBEX protocol
 library

obexftp recommends no packages.

-- no debconf information

-------------------------------------------------------

-- 
Respectfully
Alexey Nezhdanov


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to