slackchannel2pdf icon indicating copy to clipboard operation
slackchannel2pdf copied to clipboard

KeyError: 'team'

Open Neznakomec opened this issue 2 years ago • 1 comments

Exporting channel from Slack... Traceback (most recent call last): File "C:\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Anaconda3\lib\runpy.py", line 87, in run_code exec(code, run_globals) File "C:\Anaconda3\Scripts\slackchannel2pdf.exe_main.py", line 7, in File "C:\Anaconda3\lib\site-packages\slackchannel2pdf\cli.py", line 79, in main exporter = SlackChannelExporter( File "C:\Anaconda3\lib\site-packages\slackchannel2pdf\channel_exporter.py", line 71, in init self._slack_service = SlackService(slack_token) File "C:\Anaconda3\lib\site-packages\slackchannel2pdf\slack_service.py", line 34, in init logger.info("Current Slack workspace: %s", self.team) File "C:\Anaconda3\lib\site-packages\slackchannel2pdf\slack_service.py", line 75, in team return self._workspace_info["team"] KeyError: 'team'

Neznakomec avatar May 15 '22 11:05 Neznakomec

It seems I can't create a token with all the permissions required. Slack offers to create App Token only

Neznakomec avatar May 15 '22 11:05 Neznakomec

Should be fixed with 1.5.1. Would be awesome if you could check and conform if the fix worked for you.

ErikKalkoken avatar Sep 03 '23 19:09 ErikKalkoken