Skip to content

KeyError line 111 in _handle_cards #1

Description

@isFakeAccount

Hi,

I don't know if you this project is active or not but I was using your API to read a certain board and I got this error

Traceback (most recent call last):
  File "C:/Users/distr/Documents/PyCharm/fallout76marketplace/trello_blacklist.py", line 3, in <module>
    board = TrelloBoardReader(url='https://trello.com/b/0eCDKYHr/market76-blacklist')
  File "C:\Users\distr\Documents\PyCharm\fallout76marketplace\venv\lib\site-packages\trello_board_reader\reader.py", line 75, in __init__
    self._organize_data(self._raw_data)
  File "C:\Users\distr\Documents\PyCharm\fallout76marketplace\venv\lib\site-packages\trello_board_reader\reader.py", line 88, in _organize_data
    self._handle_cards(data['cards'])
  File "C:\Users\distr\Documents\PyCharm\fallout76marketplace\venv\lib\site-packages\trello_board_reader\reader.py", line 111, in _handle_cards
    self._list_ids[item['idList']]._add_card(card_obj)
KeyError: '5c33be76a192636e2152a2e5'

Do you know what this the reason for this error? Is it a bug? How should I solve it?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions