-
Notifications
You must be signed in to change notification settings - Fork 192
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
Attachments getting 404 #156
Comments
I also cannot see the attachments due to a 404 error. For example:
but the image file in question is there:
|
Same issue as kLy - I used the slackdump tool to get an export of DMs and attachments as well as public channels as Slack's export only does public channels on free tier. Had to unzip and recreate zip to resolve another issue but it worked fine other than not displaying images (or recognizing videos): 127.0.0.1 - - [11/Aug/2022 17:21:09] "GET /channels/general-chat/attachments/F020VQUPRFB-MHk.jpg HTTP/1.1" 404 - Image is definitely in general-chat/attachments (slackdump puts all images from dms in top level attachments folder, but has an attachments folder under the dir for public channels such as the above). |
I have the same issue as well |
Any update on this? Or anyone found any workarounds? Was this reproducible by the developer? |
The slack export viewer was probably designed for official Slack exports, not slackdump-like. |
Hi @ExploWare , I have the same issue and would be interested to try the manual step you described.. |
PS: Did not work first try - e.g. I have an image link in the slackviewer html
and made a folder
into which I copied the exported |
@jlause I've downloaded slack-export-viewer from git, so it is in my downloads folder, extracted the zip there, went into that folders slackviewer/static (I did it on windows, so something like %USER_PROFILE%\Downloads\slack-export-viewer-1.1.4\slackviewer\static) Quite an easy replace, also for sed or some regex-capable notepad/texteditor |
Great! I'll try that as a workaround. At the root of it though, what should be fixed? Is it slack-export-viewer to handle the static local format? Or slack-exporter to make it output the right format? |
Guess there's still no movement on this bug? I actually tried the workaround above and it didn't work for me. If you look at the OP, the URLs there are actually correct and didn't need modifying. The problem is that the web server isn't displaying those images. |
When browsing, no images / attachments are visible, and when I click on them, I get a 404.
Going to:
http://localhost:5050/channel/art-style/attachments/F023TQ4DW5Q-image.png
Gives me:
INFO:werkzeug:127.0.0.1 - - [25/Jul/2022 13:24:46] "GET /channel/art-style/attachments/F023TQ4DW5Q-image.png HTTP/1.1" 404 -
However the attachments are present in the directory of the export:
Is this a bug or just user error? The export has been generated using the slackdump tool. So trying to figure out if this is an issue with slack-export-viewer or slackdump.
Thanks!
The text was updated successfully, but these errors were encountered: