slack-export-viewer
slack-export-viewer copied to clipboard
FileNotFoundError: [Errno 2] No such file or directory:
Hiya, I'm unable to get to work, seeing the following:
slack-export-viewer -z ./Test.zip
/var/folders/gk/bfc6585n3978hhfg5csf21nh0000gq/T/_slackviewer/75b85b8b74ebd38130549f260a1164a277385a61 already exists
Traceback (most recent call last):
File "/usr/local/bin/slack-export-viewer", line 10, in
Please extract Test.zip in your local environment and confirm whether users.json exists or not. It would be helpful if you could check /var/folders/gk/bfc6585n3978hhfg5csf21nh0000gq/T/_slackviewer/75b85b8b74ebd38130549f260a1164a277385a61/users.json
@odelamp make sure you don't zip the folder containing your channels, but only the channels & files themselves, i.e. the channels and JSON files users.json
, channels.json
, etc, should be at the root of your .zip archive.
@supermitch I did what you said, but when I was opening the channels.json.zip it still shows the same thing as it was showed up there? what did I do wrong?
I'm having this same issue, I have checked the tmp folder does contain users.json but I see this error regardless :(
My zip was at the wrong level. I had a zip of the containing folder. When I zipped just the contents, problem went away :)
Hello - I have a similar issue but in my case the tmp folder doesn't contain anything. So the error message is legit, I just don't know what to try next. The zip has users.json etc. at the root unless I'm missing something.
From the Cygwin64 terminal:
$ slack-export-viewer -z slackexport.zip
/tmp/_slackviewer/fd2c7fb58f5761cbdf6086edb4b401198a500a10 already exists
Traceback (most recent call last):
File "/usr/bin/slack-export-viewer", line 33, in
zip contents:
tmp dir;
I would really appreciate some help with this.
Figured out my own problem... no idea what was up with the original zip - but simply recreating it (with exactly the same content as before) worked (other than images not rendering and nothing for videos but separate issues). Nice solution overall though - thanks!
I'm seeing the same issue. It can't find the users.json
file, and I just used the normal Slack export command available in the Slack admin screen.
FileNotFoundError: [Errno 2] No such file or directory: '/Users/nateaune/Downloads/SlackExport/users.json'