facebookresearch / facebookresearch/fairo

unclosed event loop

Open
#698 1 comment 0 reactions 1 assignee Claimed by @kavyasrinet View on GitHub
Dominant language
Jupyter Notebook
Stars
929
Forks
123
PR merge metrics
No merged PRs in 30d

Description

## Type of Issue

Select the type of issue:
- [x] Bug report (to report a bug)
- [ ] Feature request (to request an additional feature)
- [ ] Tracker (I am just using this as a tracker)
- [ ] Refactor request
- [ ] Documentation Ask

## Description
when running fake agent in pdb (e.g. when debugging integration tests) I get lots of

... droidlet_env/lib/python3.7/asyncio/base_events.py:626: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>
source=self)
ResourceWarning: Enable tracemalloc to get the object allocation traceback

making it hard to use interactive debugger

## Steps to reproduce

pick any test (e.g. https://github.com/facebookresearch/fairo/blob/main/droidlet/interpreter/craftassist/tests/test_interpreter.py ) and put in a pdb.set_trace()

mess around a bit.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.