Skip to content
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

rehistory error on slack call #904

Closed
grassdionera opened this issue Oct 5, 2023 · 1 comment
Closed

rehistory error on slack call #904

grassdionera opened this issue Oct 5, 2023 · 1 comment

Comments

@grassdionera
Copy link

grassdionera commented Oct 5, 2023

When i do /rehistory command on a specific private channel i got the following error

08:10 python: stdout/stderr: (slack): Traceback (most recent call last):
08:10 python: stdout/stderr: (slack):   File "/home/mg/.local/share/weechat/python/autoload/wee_slack.py", line 174, in wrapper
08:10 python: stdout/stderr: (slack):     return f(data, current_buffer, *args, **kwargs)
08:10 python: stdout/stderr: (slack):            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:10 python: stdout/stderr: (slack):   File "/home/mg/.local/share/weechat/python/autoload/wee_slack.py", line 187, in wrapper
08:10 python: stdout/stderr: (slack):     return f(*decode_from_utf8(args), **decode_from_utf8(kwargs))
08:10 python: stdout/stderr: (slack):            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:10 python: stdout/stderr: (slack):   File "/home/mg/.local/share/weechat/python/autoload/wee_slack.py", line 5845, in command_rehistory
08:10 python: stdout/stderr: (slack):     channel.reprint_messages(force_render=True)
08:10 python: stdout/stderr: (slack):   File "/home/mg/.local/share/weechat/python/autoload/wee_slack.py", line 1971, in reprint_messages
08:10 python: stdout/stderr: (slack):     self.prnt_message(message, history_message, no_log, force_render)
08:10 python: stdout/stderr: (slack):   File "/home/mg/.local/share/weechat/python/autoload/wee_slack.py", line 1909, in prnt_message
08:10 python: stdout/stderr: (slack):     text = self.render(message, force_render)
08:10 python: stdout/stderr: (slack):            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:10 python: stdout/stderr: (slack):   File "/home/mg/.local/share/weechat/python/autoload/wee_slack.py", line 2779, in render
08:10 python: stdout/stderr: (slack):     text = message.render(force)
08:10 python: stdout/stderr: (slack):            ^^^^^^^^^^^^^^^^^^^^^
08:10 python: stdout/stderr: (slack):   File "/home/mg/.local/share/weechat/python/autoload/wee_slack.py", line 3431, in render
08:10 python: stdout/stderr: (slack):     text += unfurl_refs(unwrap_huddle(self, self.message_json))
08:10 python: stdout/stderr: (slack):                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:10 python: stdout/stderr: (slack):   File "/home/mg/.local/share/weechat/python/autoload/wee_slack.py", line 4819, in unwrap_huddle
08:10 python: stdout/stderr: (slack):     for block in message_json.get("blocks"):
08:10 python: stdout/stderr: (slack): TypeError: 'NoneType' object is not iterable
08:10 =!= python: Fehler in Funktion "command_rehistory"

in the private channel i can see all messages until one message that is a Missed Slack Call.
with that message wee_slack is not loading any further messages for this channel

@grassdionera
Copy link
Author

problem is solved with newest version 2.10.1
sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant