Giter Site home page Giter Site logo

test_autocomplete's People

Contributors

deadlemon avatar

Watchers

 avatar  avatar

test_autocomplete's Issues

Pending task destroyed error on KeyboardInterrupt

2017-09-23 02:55:43,063 asyncio ERROR Task was destroyed but it is pending!
source_traceback: Object created at (most recent call last):
  File "/Users/abdullakh/Desktop/test_autocomplete/client.py", line 61, in <module>
    loop.run_until_complete(coro)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 454, in run_until_complete
    self.run_forever()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 421, in run_forever
    self._run_once()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 1417, in _run_once
    handle._run()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/events.py", line 126, in _run
    self._callback(*self._args)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 802, in create_connection
    sock, protocol_factory, ssl, server_hostname)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 817, in _create_connection_transport
    protocol = protocol_factory()
  File "/Users/abdullakh/Desktop/test_autocomplete/client.py", line 58, in <lambda>
    protocol_factory=lambda: AutocompleteClientProtocol(loop),
  File "/Users/abdullakh/Desktop/test_autocomplete/client.py", line 22, in __init__
    task = self.loop.create_task(self.prompt_loop())
task: <Task pending coro=<AutocompleteClientProtocol.prompt_loop() done, defined at /Users/abdullakh/Desktop/test_autocomplete/client.py:35> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x103330048>()] created at /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py:275> created at /Users/abdullakh/Desktop/test_autocomplete/client.py:22>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.