Closed
Description
I'm using the python debugger in IntelliJ 15.0.3, and my asyncpg code gets a TypeError. It doesn't happen out of the debugger, nor does it happen if I use 0.7.0.
/Users/ryan/dev/crm-service/bin/python "/Users/ryan/Library/Application Support/IntelliJIdea15/python/helpers/pydev/pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 61772 --file /Users/ryan/dev/crm-service/run.py
pydev debugger: process 93542 is connecting
Connected to pydev debugger (build 143.1821)
Traceback (most recent call last):
File "/Users/ryan/Library/Application Support/IntelliJIdea15/python/helpers/pydev/pydevd.py", line 2403, in <module>
globals = debugger.run(setup['file'], None, None, is_module)
File "/Users/ryan/Library/Application Support/IntelliJIdea15/python/helpers/pydev/pydevd.py", line 1794, in run
launch(file, globals, locals) # execute the script
File "/Users/ryan/Library/Application Support/IntelliJIdea15/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/ryan/dev/crm-service/run.py", line 2, in <module>
from app import core
File "/Users/ryan/dev/crm-service/app/core.py", line 5, in <module>
from asyncpgsa import pg
File "/Users/ryan/dev/crm-service/lib/python3.5/site-packages/asyncpgsa/__init__.py", line 1, in <module>
from .pool import create_pool
File "/Users/ryan/dev/crm-service/lib/python3.5/site-packages/asyncpgsa/pool.py", line 1, in <module>
from asyncpg.pool import Pool
File "/Users/ryan/dev/crm-service/lib/python3.5/site-packages/asyncpg/__init__.py", line 8, in <module>
from .connection import connect # NOQA
File "/Users/ryan/dev/crm-service/lib/python3.5/site-packages/asyncpg/connection.py", line 19, in <module>
from . import protocol
File "/Users/ryan/dev/crm-service/lib/python3.5/site-packages/asyncpg/protocol/__init__.py", line 8, in <module>
from .protocol import Protocol
File "asyncpg/protocol/protocol.pyx", line 13, in init asyncpg.protocol.protocol (asyncpg/protocol/protocol.c:65550)
File "asyncpg/protocol/protocol.pyx", line 13, in PyMODINIT_FUNC PyInit_protocol(void)
TypeError: 'NoneType' object is not callable
Metadata
Metadata
Assignees
Labels
No labels