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

The catalogue is not created automatically #3

Open
gecube opened this issue Jul 31, 2018 · 0 comments
Open

The catalogue is not created automatically #3

gecube opened this issue Jul 31, 2018 · 0 comments

Comments

@gecube
Copy link

gecube commented Jul 31, 2018

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.

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

No branches or pull requests

1 participant