-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The catalogue _files/storage is not created automatically.
$ wayslack my-export
Note: directory will be created: my-export
API token for my-export (see: https://api.slack.com/custom-integrations/legacy-tokens): ***********
Processing: my-export
Traceback (most recent call last):
File "/usr/bin/wayslack", line 11, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/wayslack.py", line 916, in main
with SlackArchive(slack, a) as archive:
File "/usr/lib/python2.7/site-packages/wayslack.py", line 831, in __enter__
self.downloader = Downloader(self.slack.api.token, self.path / "_files" / "storage")
File "/usr/lib/python2.7/site-packages/wayslack.py", line 257, in __init__
self.path.mkdir()
File "/usr/lib/python2.7/site-packages/pathlib.py", line 1103, in mkdir
self._accessor.mkdir(self, mode)
File "/usr/lib/python2.7/site-packages/pathlib.py", line 346, in wrapped
return strfunc(str(pathobj), *args)
OSError: [Errno 2] No such file or directory: 'my-export/_files/storage'
If I create it manually, the process of downloading files is successfully proceeding further.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels