amersons / swiftp

Automatically exported from code.google.com/p/swiftp
GNU General Public License v3.0
1 stars 0 forks source link

Folder read errors after a number of listing requests #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start SwiftTP
2. Leave running overnight
3. Have GoodSync running on laptop set with 2 jobs, one that syncs root of 
sdcard EXCEPT for music directory, and the other that syncs the music directory 
(which has around 13GB of music in various subdirectories).
4. Have GoodSync run the sync jobs every 4 hours.

What is the expected behavior? 
No errors in GoodSync.

What do you see instead?
2nd time music sync job executes I see GoodSync log messages like
FTP: Listing one file is not supported (returns nothing): cannot start 
transfer: Listing target violates chroot
Cannot read folder ftp://192.168.14.100:2121/Itunes Music/Hagar, Sammy: folder 
not found on server: /Itunes Music/Hagar, Sammy

What version of SwiFTP are you using?
1.24

What operating system are you using?
CyanogenMod 5.0.8

Which FTP client are you using?
GoodSync

Which Android device do you have (Nexus, Droid, Hero, G1, etc.)?
Motorola Droid

May we contact you by email to ask questions? If so, what is your email
address?
Yes, but I don't want my email address visible in a public forum.

Please provide any additional information below.
See issue 67.

I tried with 1.24 with the new Keep phone awake setting enabled.
It no longer crashes, but it still has problems when the 2nd analyze of the 
music directory comes around -- my GoodSync log shows:

----- 6/30/2010 10:15:46 PM: Job 'Droid Music 16GB Card': ANALYSIS started by 
Analyze And Sync All on computer 'ROTHKINTHINKPAD' (GoodSync 8.2.8.8 on XP Pro) 
-----
Droid Music 16GB Card: ftp://192.168.14.100:2121/Itunes Music <-> 
N:\desk_c_back\DroidSDcard16\Itunes Music, DropPrev, TmpDest, CheckStable, 
CopyLocked, FileLinksDrill, CaseSens, Reconnect=3, 
ResolveConflicts=NewerFileWins, AutoClear
Exclude Hidden, Exclude System, Exclude 
temp|licens*.rfo|cache.rfo|mru.rfo|mpp*.rfo|/System Volume 
Information|Thumbs.db|.DS_Store|*.tmp|*.bak|*.wbk 
Left: Read State File ftp://192.168.14.100:2121/Itunes 
Music/_gsdata_/_file_state._gs
Left: Old-New Rounding Time Shift of 5 hours (type 2) detected for 99% 
(2289/2304) files. Decided: No Change on this side
New-Old Time Shift of -5 hours at 137 files: drop because not enough files
Left: Files: 2,304 (excluded 0). Folders: 510 (excluded 1). FTP: SwiFTP 1.24 
ready
Right: Read State File N:\desk_c_back\DroidSDcard16\Itunes 
Music\_gsdata_\_file_state._gs
Right: Files: 2,304 (excluded 0). Folders: 510 (excluded 1). N:\ NTFS, Free: 
352 GB, Total: 923 GB
Changes: 0, Conflicts: 0, CopyTime: 0, CopyState: 0, Errors: 0
----- 6/30/2010 10:18:23 PM: Analysis Completed. Time 00:02:40, Speed: 70 
files/s -----

Analysis results (file/folder tree) of this job has been deleted by Auto Clear 
after Analyze

----- 7/1/2010 2:18:29 AM: Job 'Droid Music 16GB Card': ANALYSIS started by 
Periodic Timer on computer 'ROTHKINTHINKPAD' (GoodSync 8.2.8.8 on XP Pro) -----
Droid Music 16GB Card: ftp://192.168.14.100:2121/Itunes Music <-> 
N:\desk_c_back\DroidSDcard16\Itunes Music, DropPrev, TmpDest, CheckStable, 
CopyLocked, FileLinksDrill, CaseSens, Reconnect=3, 
ResolveConflicts=NewerFileWins, AutoClear
Exclude Hidden, Exclude System, Exclude 
temp|licens*.rfo|cache.rfo|mru.rfo|mpp*.rfo|/System Volume 
Information|Thumbs.db|.DS_Store|*.tmp|*.bak|*.wbk 
FTP: Listing one file is not supported (returns nothing): cannot start 
transfer: Listing target violates chroot
Cannot read folder ftp://192.168.14.100:2121/Itunes Music/Harrison, 
George/Compilation # 23 _ Dancemasters Disc Joc: folder not found on server: 
/Itunes Music/Harrison, George/Compilation # 23 _ Dancemasters Disc Joc
Cannot read folder ftp://192.168.14.100:2121/Itunes Music/Hagar, Sammy: folder 
not found on server: /Itunes Music/Hagar, Sammy
Cannot read folder ftp://192.168.14.100:2121/Itunes Music/Gina G_: folder not 
found on server: /Itunes Music/Gina G_
Cannot read folder ftp://192.168.14.100:2121/Itunes Music/Friends of 
Distinction, the: folder not found on server: /Itunes Music/Friends of 
Distinction, the
Cannot read folder ftp://192.168.14.100:2121/Itunes Music/Friedman, Debbie: 
folder not found on server: /Itunes Music/Friedman, Debbie
... and 84 more similar log lines are skipped here (select Job -> Open 
Left/Right Log to view the entire log)
Left: Read State File ftp://192.168.14.100:2121/Itunes 
Music/_gsdata_/_file_state._gs
Left: Old-New Rounding Time Shift of 5 hours (type 2) detected for 99% 
(2157/2172) files. Decided: No Change on this side
New-Old Time Shift of -5 hours at 132 files: drop because not enough files
Left: Files: 2,172 (excluded 0). Folders: 405 (excluded 1). FTP: SwiFTP 1.24 
ready
Right: Read State File N:\desk_c_back\DroidSDcard16\Itunes 
Music\_gsdata_\_file_state._gs
Right: Files: 2,173 (excluded 0). Folders: 510 (excluded 1). N:\ NTFS, Free: 
352 GB, Total: 923 GB
Changes: 89, Conflicts: 0, CopyTime: 0, CopyState: 0, Errors: 89
----- 7/1/2010 2:20:08 AM: Analysis Completed. Time 00:01:43, Speed: 62 files/s 
-----

Original issue reported on code.google.com by steve.ro...@gmail.com on 1 Jul 2010 at 10:25

GoogleCodeExporter commented 9 years ago
Same problem happens with Keep phone awake setting disabled.

Original comment by steve.ro...@gmail.com on 2 Jul 2010 at 10:24