Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless loop on a non-existent path #45

Open
fATwaer opened this issue Feb 25, 2019 · 2 comments
Open

Endless loop on a non-existent path #45

fATwaer opened this issue Feb 25, 2019 · 2 comments
Labels

Comments

@fATwaer
Copy link
Contributor

fATwaer commented Feb 25, 2019

qscamel will try to list a non-existent path in the local file system.
the task.yaml is shown below:

type: copy

source:
  type: fs
  path: /path/to/non_existent_path

destination:
  type: fs
  path: /path/to/destination

the running result is:

ERRO[2019-02-25T12:50:03+08:00] List object / failed for open /path/to/non_existent_path: no such file or directory. 
INFO[2019-02-25T12:50:03+08:00] There are not finished directory objects.    
INFO[2019-02-25T12:50:03+08:00] Start listing job /.                         
ERRO[2019-02-25T12:50:03+08:00] Src list failed for open /path/to/non_existent_path: no such file or directory. 
ERRO[2019-02-25T12:50:03+08:00] List object / failed for open /path/to/non_existent_path: no such file or directory. 
INFO[2019-02-25T12:50:03+08:00] There are not finished directory objects.    
INFO[2019-02-25T12:50:03+08:00] Start listing job /.                         
ERRO[2019-02-25T12:50:03+08:00] Src list failed for open /path/to/non_existent_path: no such file or directory. 
ERRO[2019-02-25T12:50:03+08:00] List object / failed for open /path/to/non_existent_path: no such file or directory. 
INFO[2019-02-25T12:50:03+08:00] There are not finished directory objects.    
INFO[2019-02-25T12:50:03+08:00] Start listing job /.                         
ERRO[2019-02-25T12:50:03+08:00] Src list failed for open /path/to/non_existent_path: no such file or directory. 
ERRO[2019-02-25T12:50:03+08:00] List object / failed for open /path/to/non_existent_path: no such file or directory. 
INFO[2019-02-25T12:50:03+08:00] There are not finished directory objects.    
INFO[2019-02-25T12:50:03+08:00] Start listing job /.                         
ERRO[2019-02-25T12:50:03+08:00] Src list failed for open /path/to/non_existent_path: no such file or directory. 
ERRO[2019-02-25T12:50:03+08:00] List object / failed for open /path/to/non_existent_path: no such file or directory. 
INFO[2019-02-25T12:50:03+08:00] There are not finished directory objects.    
INFO[2019-02-25T12:50:03+08:00] Start listing job /.                         
ERRO[2019-02-25T12:50:03+08:00] Src list failed for open /path/to/non_existent_path: no such file or directory. 
ERRO[2019-02-25T12:50:03+08:00] List object / failed for open /path/to/non_existent_path: no such file or directory. 
...
@fATwaer fATwaer changed the title endless loop on a non-existent path Endless loop on a non-existent path Feb 25, 2019
@fATwaer fATwaer added the bug label Feb 25, 2019
@fATwaer
Copy link
Contributor Author

fATwaer commented Feb 25, 2019

client method Writable() isn't implement.

@fATwaer
Copy link
Contributor Author

fATwaer commented Feb 25, 2019

7946c48#diff-d1c2fd5bd8f1b676e9ba7755964ab5a3R114 fix up this problem, by adding a checking step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant