You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tictax kmer-lca --progress -f input.gz > /dev/null
Classifying sequences…
0%| | 0/1594659 [00:00<?, ?it/s]
Traceback (most recent call last):
File "[...]/lib/python3.5/site-packages/tictax/tictax.py", line 67, in oc_classify_single
async with session.post(url, data=payload, timeout=600) as response:
File "[...]/lib/python3.5/site-packages/aiohttp/client.py", line 626, in __aenter__
self._resp = yield from self._coro
File "[...]/lib/python3.5/site-packages/aiohttp/client.py", line 295, in _request
break
File "[...]/lib/python3.5/site-packages/aiohttp/helpers.py", line 695, in __exit__
raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "[...]/bin/tictax", line 9, in <module>
load_entry_point('tictax==0.1.2', 'console_scripts', 'tictax')()
File "[...]/lib/python3.5/site-packages/tictax/cli.py", line 31, in main
parser.dispatch()
File "[...]/lib/python3.5/site-packages/argh/helpers.py", line 55, in dispatch
return dispatch(self, *args, **kwargs)
File "[...]/lib/python3.5/site-packages/argh/dispatching.py", line 174, in dispatch
for line in lines:
File "[...]/lib/python3.5/site-packages/argh/dispatching.py", line 277, in _execute_command
for line in result:
File "[...]/lib/python3.5/site-packages/argh/dispatching.py", line 260, in _call
result = function(*positional, **keywords)
File "[...]/lib/python3.5/site-packages/tictax/cli.py", line 24, in kmer_lca
True))
File "[...]/lib/python3.5/asyncio/base_events.py", line 466, in run_until_complete
return future.result()
File "[...]/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "[...]/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "[...]/lib/python3.5/site-packages/tictax/tictax.py", line 116, in oc_classify
response = await f
File "[...]/lib/python3.5/asyncio/tasks.py", line 500, in _wait_for_one
return f.result() # May raise f.exception().
File "[...]/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "[...]/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "[...]/lib/python3.5/site-packages/tictax/tictax.py", line 98, in classify_taxify
classification = await oc_classify_single(oc_session, sequence_id, sequence)
File "[...]/lib/python3.5/site-packages/tictax/tictax.py", line 69, in oc_classify_single
except (asyncio.TimeoutError, aiohttp.errors.ClientOSError, json.decoder.JSONDecodeError):
AttributeError: module 'aiohttp' has no attribute 'errors'
The text was updated successfully, but these errors were encountered:
bede
changed the title
AttributeError: module 'aiohttp' has no attribute 'errors' etc
Uncaught exception while handling TimeoutError
Apr 3, 2017
From #1 (comment) by @mgalardini
The text was updated successfully, but these errors were encountered: