Skip to content

key error in helper.py on start #694

@ExpandingMan

Description

@ExpandingMan

On starting zulip-term I get the following error

ERROR:root:225542
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/zulipterminal/cli/run.py", line 296, in main
    Controller(zuliprc_path,
  File "/usr/lib/python3.8/site-packages/zulipterminal/core.py", line 43, in __init__
    self.model = Model(self)
  File "/usr/lib/python3.8/site-packages/zulipterminal/model.py", line 115, in __init__
    self.unread_counts = classify_unread_counts(self)
  File "/usr/lib/python3.8/site-packages/zulipterminal/helper.py", line 414, in classify_unread_counts
    if [model.stream_dict[stream_id]['name'],
KeyError: 225542

As you can see, this is with Python 3.8. This is on manjaro with zulip-term 0.5.1 installed via pip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghigh priorityshould be done as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions