Skip to content

adding except blocks for task cancelation#72

Merged
matburt merged 1 commit intoproject-receptor:masterfrom
jhjaggars:handle-cancel
Dec 13, 2019
Merged

adding except blocks for task cancelation#72
matburt merged 1 commit intoproject-receptor:masterfrom
jhjaggars:handle-cancel

Conversation

@jhjaggars
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
@jhjaggars jhjaggars requested a review from matburt December 13, 2019 15:23
@matburt
Copy link
Copy Markdown
Member

matburt commented Dec 13, 2019

😢 I'm seeing the following error starting up the controller

$ receptor --debug -d ~/.receptor --node-id controller controller --stats-enable
INFO 2019-12-13 11:02:35,846 controller entrypoints Starting stats on port 8889
INFO 2019-12-13 11:02:35,849 controller controller Serving on receptor://0.0.0.0:8888
Task exception was never retrieved
future: <Task finished coro=<Receptor.watch_expire() done, defined at /c/Users/bsdma/Desktop/ansible/receptor/receptor/receptor.py:48> exception=TypeError('string indices must be integers',)>
Traceback (most recent call last):
  File "/c/Users/bsdma/Desktop/ansible/receptor/receptor/receptor.py", line 53, in watch_expire
    await buffer.expire()
  File "/c/Users/bsdma/Desktop/ansible/receptor/receptor/buffers/file.py", line 121, in expire
    ident = item["ident"]
TypeError: string indices must be integers

@matburt matburt merged commit fe3ca6a into project-receptor:master Dec 13, 2019
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

Successfully merging this pull request may close these issues.

2 participants