Skip to content

ignored folders on Windows #1935

@remusb

Description

@remusb

What is your rclone version (eg output from rclone -V)
cache beta

Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows

The command you were trying to run (eg rclone copy /tmp remote:tmp)
mount

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

2017/12/21 02:49:08 DEBUG : : Re-reading directory (5m4.4962215s old)
2017/12/21 02:49:08 DEBUG : : list: warm 225 from cache for: , ts: 2017-12-21 02:44:04.2506533 -0800 PST
2017/12/21 02:49:08 ERROR : TV Shows/xxxxxxxxx: Entry doesn't belong in directory "" (contains subdir) - ignoring
2017/12/21 02:49:08 ERROR : TV Shows/xxxxxxxxx: Entry doesn't belong in directory "" (contains subdir) - ignoring

I'm moving the issue in another one cause I can't seem to replicate a problem with this one on Windows and will need additional investigation. Plus, #1904 was related to another issue related to missing files caused by the old method of caching folders.

@floriansofianos I was able to replicate the same log lines in my mount but I don't see them being a problem in this case.

Here's my result:

2017/12/22 03:01:35 DEBUG : : list: warm 13 from cache for: , ts: 2017-12-22 02:58:44.6671079 -0800 PST
2017/12/22 03:01:35 ERROR : cache: '1j9g1s2bcjbls1n8t26k3vs4gihipl4g9f5tjsv1koghmt984rrt5ikaktlekdkms11t7609h1adsqnkptkgpnampl1dgpjo7jfjvi8' became '1j9g1s2bcjbls1n8t26k3vs4gihipl4g9f5tjsv1koghmt984rrt5ikaktlekdkms11t7609h1adsqnkptkgpnampl1dgpjo7jfjvi8' from ''-'1j9g1s2bcjbls1n8t26k3vs4gihipl4g9f5tjsv1koghmt984rrt5ikaktlekdkms11t7609h1adsqnkptkgpnampl1dgpjo7jfjvi8' with sep '\'
2017/12/22 03:01:35 ERROR : cache: '1j9g1s2bcjbls1n8t26k3vs4gihipl4g9f5tjsv1koghmt984rrt5ikaktlekdkms11t7609h1adsqnkptkgpnampl1dgpjo7jfjvi8' became '1j9g1s2bcjbls1n8t26k3vs4gihipl4g9f5tjsv1koghmt984rrt5ikaktlekdkms11t7609h1adsqnkptkgpnampl1dgpjo7jfjvi8' from ''-'1j9g1s2bcjbls1n8t26k3vs4gihipl4g9f5tjsv1koghmt984rrt5ikaktlekdkms11t7609h1adsqnkptkgpnampl1dgpjo7jfjvi8' with sep '\'
2017/12/22 03:01:35 ERROR : cache: 'dir1' became 'dir1' from ''-'dir1' with sep '\'
2017/12/22 03:01:35 ERROR : cache: 'dir1' became 'dir1' from ''-'dir1' with sep '\'
2017/12/22 03:01:35 ERROR : cache: 'dir1/subdir1' became 'dir1/subdir1' from 'dir1'-'subdir1' with sep '\'
2017/12/22 03:01:35 ERROR : cache: 'dir1/subdir1' became 'dir1/subdir1' from 'dir1'-'subdir1' with sep '\'
2017/12/22 03:01:35 ERROR : cache: 'dir1/subdir1' became 'dir1/subdir1' from 'dir1'-'subdir1' with sep '\'
2017/12/22 03:01:35 ERROR : dir1/subdir1: Entry doesn't belong in directory "" (contains subdir) - ignoring
2017/12/22 03:01:35 ERROR : cache: 'dir2' became 'dir2' from ''-'dir2' with sep '\'
2017/12/22 03:01:35 ERROR : cache: 'dir2' became 'dir2' from ''-'dir2' with sep '\'

Now, I was listing the root folder here: / and I can't be sure why dir1/subdir1 would be returned here and I'll take a better look at it but it is valid to be ignored cause subdir1 isn't an entry of the root. Furthermore while going in Explorer in dir1, my listing was correct and got subdir1 back.

Are your folders still missing with the latest beta and you're just getting this log or are they actually missing if you look for them?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions