To Our Amazing Educators Everywhere,
Happy Teacher Appreciation Week!
Found this content helpful? Log in or sign up to leave a like!
Hi support,
I try to initial the database of web_logs table with API 'initdb'.
dap initdb --connection-string postgresql://scott:password@localhost/testdb --namespace canvas_logs --table web_logs
The connection error prompts up and the process has been stopped.
======================================================================================
2023-11-15 12:14:00,794 - INFO - Downloading [object 3/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:14:01,921 - INFO - Downloading [object 1/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:14:07,020 - INFO - Downloading [object 2/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:14:12,496 - INFO - Downloading [object 4/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:14:56,407 - INFO - Downloading [object 5/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:15:51,952 - INFO - Downloading [object 6/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:16:54,126 - INFO - Downloading [object 7/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:18:01,415 - INFO - Downloading [object 8/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:19:10,043 - INFO - Downloading [object 9/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:20:20,514 - INFO - Downloading [object 10/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:22:11,609 - INFO - Downloading [object 11/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:24:30,321 - INFO - Downloading [object 12/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
ERROR:asyncio:Future exception was never retrieved
future: <Future finished exception=ConnectionError('unexpected connection_lost() call')>
ConnectionError: unexpected connection_lost() call
======================================================================================
I try several times and the error still came up. Does anyone encounter the same issue?
Please advise
I have yet to be able to init web_logs. I get an asyncio Cancelled error every time...
File "/opt/homebrew/lib/python3.11/site-packages/dap/integration/database.py", line 32, in open async with self._database_plugin.get_connection():
File "/opt/homebrew/lib/python3.11/site-packages/dap/integration/base_connection.py", line 65, in __aexit__ await self._raw_connection.__aexit__(exc_type, exc_val, exc_tb)
File "/opt/homebrew/lib/python3.11/site-packages/sqlalchemy/ext/asyncio/engine.py", line 893, in __aexit__ await asyncio.shield(task) asyncio.exceptions.CancelledError
I got tired of basically waiting for it to fail, so I put in a case...never gotten a good download of the canvas_logs.web_logs table. Case # 10287191
Unfortunately all of my CD2 cases are "on hold".
Yes, I submitted the ticket too. But no one replies me so far.
I suggest to postpone the deprecated time of CD1 after the end of 2023 until the issue is fixed.
To participate in the Instructure Community, you need to sign up or log in:
Sign In