Code Monkey home page Code Monkey logo

Comments (3)

bamthomas avatar bamthomas commented on May 28, 2024 1

it should work now I will probably release a 0.9 soon with the byte/string PR

from aioimaplib.

bamthomas avatar bamthomas commented on May 28, 2024

hmm probably linked to this :
#59 (comment)

I have pushed a fix 76bd59f could you test with it (executing tests on the master) ?

from aioimaplib.

jamespo avatar jamespo commented on May 28, 2024

I get complaint about "with await" elsewhere (line 300) with that fix, I will test more this evening / over the weekend.

Task exception was never retrieved
future: <Task finished name='Task-4' coro=<IMAP4ClientProtocol.welcome() done, defined at /home/james/.venvs/39/lib/python3.9/site-packages/aioimaplib-0.8.0-py3.9.egg/aioimaplib/aioimaplib.py:298> exception=TypeError("object Condition can't be used in 'await' expression")>
Traceback (most recent call last):
  File "/home/james/.venvs/39/lib/python3.9/site-packages/aioimaplib-0.8.0-py3.9.egg/aioimaplib/aioimaplib.py", line 300, in wrapper
    with await self.state_condition:
TypeError: object Condition can't be used in 'await' expression
Traceback (most recent call last):
  File "/home/james/.venvs/39/lib/python3.9/site-packages/aioimaplib-0.8.0-py3.9.egg/aioimaplib/aioimaplib.py", line 595, in wait
    await self.state_condition.wait_for(lambda: state_re.match(self.state))
  File "/usr/lib/python3.9/asyncio/locks.py", line 317, in wait_for
    await self.wait()
  File "/usr/lib/python3.9/asyncio/locks.py", line 290, in wait
    await fut
asyncio.exceptions.CancelledError

from aioimaplib.

Related Issues (20)

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.