You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently testing this out for our use case. Followed everything right but this is the message we're getting:
Exporting channel from Slack...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/bin/slackchannel2pdf", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/slackchannel2pdf/cli.py", line 41, in main
result = exporter.run(
^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/slackchannel2pdf/channel_exporter.py", line 729, in run
self._write_messages_to_pdf(document, messages, threads)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/slackchannel2pdf/channel_exporter.py", line 512, in _write_messages_to_pdf
last_user_id = self._parse_message_and_write_to_pdf(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/slackchannel2pdf/channel_exporter.py", line 129, in _parse_message_and_write_to_pdf
self._write_blocks(document, msg, margin_left)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/slackchannel2pdf/channel_exporter.py", line 426, in _write_blocks
layout_block["text"]["text"],
~~~~~~~~~~~~^^^^^^^^
KeyError: 'text'
Not really versed with Python but it seems like a permission issue? Or something preventing the scripts to execute. How do we resolve this? Tried looking it up but can't find a similar issue.
The text was updated successfully, but these errors were encountered:
Hi there,
We're currently testing this out for our use case. Followed everything right but this is the message we're getting:
Not really versed with Python but it seems like a permission issue? Or something preventing the scripts to execute. How do we resolve this? Tried looking it up but can't find a similar issue.
The text was updated successfully, but these errors were encountered: