Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No handlers could be found for logger "trollius" #435

Closed
GregEremeev opened this issue Aug 6, 2015 · 5 comments
Closed

No handlers could be found for logger "trollius" #435

GregEremeev opened this issue Aug 6, 2015 · 5 comments
Labels

Comments

@GregEremeev
Copy link

Most likely it's trollius bug, but may be you advise how resolve this issues.

This occur when I try launch example (examples/asyncio/websocket/slowsquare, server_py2.py and client.py)
Issue arise when I launch the client while server_py2.py already launch. Message(No handlers could be found for logger "trollius") appears in console(server_py2.py) and interaction between client and server stops. This behavior doesn't repeat always, but often.

@oberstet
Copy link
Contributor

oberstet commented Aug 6, 2015

@hawkowl could you have a look?

@oberstet oberstet added the bug label Aug 6, 2015
@GregEremeev
Copy link
Author

@hawkowl
Copy link
Contributor

hawkowl commented Aug 6, 2015

@oberstet can do

@hawkowl
Copy link
Contributor

hawkowl commented Aug 14, 2015

Okay, figured out why.

On py3.4, this would usually raise something and log it. On py2, it does not log it, and it goes unhandled and breaks the execution flow. It happens "often" because of the "if x > 5, raise()" behaviour.

red ~/c/A/e/a/w/slowsquare (nohandler-trollius) [1]> python3.4 client.py
Request to square 3.434046344909054 sent.
Result received: 11.792674298983234
red ~/c/A/e/a/w/slowsquare (nohandler-trollius)> python3.4 client.py
Request to square 6.688077872282769 sent.

And then it froze.

@hawkowl
Copy link
Contributor

hawkowl commented Aug 14, 2015

This is running 3.4 as the server:

Request to square 5.145761737379083 sent.
Exception raised: number too large

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants