Closed depperson closed 6 years ago
@hfaran I can take a look as I continue to add some features in the next few weeks 👍
Hey @depperson
I have determined that the issue is with the usage of os.path. It currently only works with the full file path from the root directory. Try a path like this for now:
/Users/<youruser>/Documents/MyExtractedSlackArchive
I'm working on a fix right now. Sorry for the wait!
Hi @tscritch
I am having the same problem. I tried with the full file path but nothing. Could you help me? It seems to be a great tool/code:
MacBook-JJ:~ JJ$ slack-export-viewer -z /users/JJ/documents/slack162018
Traceback (most recent call last):
File "/usr/local/bin/slack-export-viewer", line 11, in
@Mikeldiazot is this /users/JJ/documents/slack162018
a zip file? If so, you need to add the extension to the end for the full file path. It would look like this /users/JJ/documents/slack162018.zip
If it is a directory remove the -z
option. Your command would look like this:
slack-export-viewer /users/JJ/documents/slack162018
I'm trying to use the --archive option to read a directory instead of a zip file but it doesn't work. I've tried a few variations to the path spec like ./slackarchives and /code/slackarchives and /code/slackarchives/ to no avail.
This seems to be a problem with https://github.com/hfaran/slack-export-viewer/blob/0.2.0/slackviewer/archive.py#L47. I might eventually get around to fixing this once I need to merge multiple slack exports.