hfaran / slack-export-viewer

A Slack Export archive viewer that allows you to easily view and share your Slack team's export
https://pypi.python.org/pypi/slack-export-viewer
MIT License
901 stars 189 forks source link

why doesn't it show some pictures #151

Closed GABuryan closed 2 years ago

GABuryan commented 2 years ago

Some pictures does not show. Server write : "INFO:werkzeug:127.0.0.1 - - [16/Jun/2022 05:24:28] "GET /static/files.slack.com/files-pri/TPV9DP0N4-F03ETN77K0X/img_20220512_212703.jpg HTTP/1.1" 404 - 127.0.0.1 - - [16/Jun/2022 05:26:06] "GET /static/files.slack.com/files-pri/TPV9DP0N4-F03F8BDMKNE/img_20220512_213650.jpg HTTP/1.1" 404 - INFO:werkzeug:127.0.0.1 - - [16/Jun/2022 05:26:06] "GET /static/files.slack.com/files-pri/TPV9DP0N4-F03F8BDMKNE/img_20220512_213650.jpg HTTP/1.1" 404 -"

Although there is an image file along this path, that is, it was uploaded What could be the reason ?

GABuryan commented 2 years ago

Oh.. this is my bug. First I installed the viewer via venv pyton. Then copied the directory. But the relative paths of venv remained the same. For a long time I could not understand why the fslak server does not find all the image files.