Comments (4)
@hfaran I can take a look as I continue to add some features in the next few weeks 👍
from slack-export-viewer.
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!
from slack-export-viewer.
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
sys.exit(main())
File "/Library/Python/2.7/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/Library/Python/2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Library/Python/2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Python/2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Library/Python/2.7/site-packages/slackviewer/main.py", line 50, in main
configure_app(app, archive, debug)
File "/Library/Python/2.7/site-packages/slackviewer/main.py", line 18, in configure_app
path = extract_archive(archive)
File "/Library/Python/2.7/site-packages/slackviewer/archive.py", line 49, in extract_archive
raise TypeError("{} is not a zipfile".format(filepath))
TypeError: /users/JJ/documents/slack162018 is not a zipfile
from slack-export-viewer.
@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
from slack-export-viewer.
Related Issues (20)
- New release HOT 1
- Offline/local retrieval of data? HOT 1
- Error 500 / KeyError: 'ts' HOT 8
- Integration with slack-exporter?
- Access to local Host Denied HOT 3
- Not able to view the exported dump HOT 6
- slack-export-viewer fails at flask\__init__.py", line 60, in __getattr__ raise AttributeError(name) HOT 9
- Static HTML export fails with AttributeError: 'str' object has no attribute 'mkdir' HOT 5
- Nothing but a Blank Page
- UnicodeEncodeError: 'charmap' codec can't encode character '\u202f' in position 54: character maps to <undefined> encoding with 'cp437' codec failed HOT 4
- Resize sidebar
- slackdump exports aren't viewable using slack-export-viewer HOT 1
- [Feature Request] Allow updating the base URL for reverse proxies
- xxx.zip is not a zipfile
- Feature request: ignore join/leave messages
- Feature request: hide usernames
- CSS is missing when running without external sources
- Viewer will not open
- Bug encoding of urls
- Access to localhost was deniedYou don't have authorization to view this page. HTTP ERROR 403 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slack-export-viewer.