You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
files-cp does not support directory copy
files-cp classifyApp-1.0 agave://cicsvc.pearc19.storage.system/applications/classifyApp-1.0/
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/agavepy/files/upload.py", line 36, in files_upload
(remote_filename, open(file_path, "rb"), "text/plain")}
IsADirectoryError: [Errno 21] Is a directory: '/home/ajamthe/applications/classifyApp-1.0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/agave-cli/bin/files-cp", line 83, in
agave.files_upload(source, destination)
File "/usr/local/lib/python3.6/dist-packages/agavepy/agave.py", line 958, in files_upload
files_upload(self.api_server, self.token, source, destination)
File "/usr/local/lib/python3.6/dist-packages/agavepy/files/upload.py", line 46, in files_upload
raise AgaveFilesError(err)
agavepy.files.exceptions.AgaveFilesError: IsADirectoryError(21, 'Is a directory')
The text was updated successfully, but these errors were encountered:
ajamthetacc
changed the title
files-cp does not support directory copy
files-cp does not support recursive files copy when directory is specified in the source
Jul 10, 2019
Describe the bug
files-cp does not support directory copy
files-cp classifyApp-1.0 agave://cicsvc.pearc19.storage.system/applications/classifyApp-1.0/
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/agavepy/files/upload.py", line 36, in files_upload
(remote_filename, open(file_path, "rb"), "text/plain")}
IsADirectoryError: [Errno 21] Is a directory: '/home/ajamthe/applications/classifyApp-1.0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/agave-cli/bin/files-cp", line 83, in
agave.files_upload(source, destination)
File "/usr/local/lib/python3.6/dist-packages/agavepy/agave.py", line 958, in files_upload
files_upload(self.api_server, self.token, source, destination)
File "/usr/local/lib/python3.6/dist-packages/agavepy/files/upload.py", line 46, in files_upload
raise AgaveFilesError(err)
agavepy.files.exceptions.AgaveFilesError: IsADirectoryError(21, 'Is a directory')
The text was updated successfully, but these errors were encountered: