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

Fails to delete any files #4

Closed
kellyschoenhofenfpx opened this issue Sep 20, 2017 · 2 comments
Closed

Fails to delete any files #4

kellyschoenhofenfpx opened this issue Sep 20, 2017 · 2 comments

Comments

@kellyschoenhofenfpx
Copy link

I orginally tried to delete all files for everyone older than July 1st, e.g.:
slack-cleaner --token xxx --file --user "*" --before 20170701
It says 391 will be deleted, try again with --perform. I do it again:
slack-cleaner --token xxx --file --user "*" --before 20170701 --perform
and it errors on all 391 it looks like, with the following for each:
Failed to delete (delete() got an unexpected keyword argument 'as_user') ->

I restricted it to myself:
slack-cleaner --token xxx --file --user "kelly" --perform
which should have deleted a handful of files and I get the same error.
Running slack-cleaner v0.4.0
Deleting all matching files
Failed to delete (delete() got an unexpected keyword argument 'as_user') ->
(etc)

Ideas?

@kellyschoenhofenfpx
Copy link
Author

PS I did try with --rate=5 just to make sure throttling wasn't an issue and it's the same error.

@kellyschoenhofenfpx
Copy link
Author

Thanks! All fixed!

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