[InterfaceError] [Exception] Failed to complete request: network error

18 views
Skip to first unread message

ASing

unread,
Apr 14, 2024, 2:33:45 PMApr 14
to Arelle-users
Hello, 
I have been consistently getting this error when running Arelle via the command line on Windows: 
[InterfaceError] [Exception] Failed to complete request:
network error
['  File "D:\\a\\Arelle\\Arelle\\arelle\\CntlrCmdLine.py", line 1101, in run\n', '  File "C:\\Program Files\\Arelle\\plugin\\xbrlDB\\__init__.py", line 213, in xbrlDBCommandLineXbrlRun\n    storeIntoDB(dbConnection, modelXbrl, entrypoint=entrypoint)\n', '  File "C:\\Program Files\\Arelle\\plugin\\xbrlDB\\__init__.py", line 170, in storeIntoDB\n    result = insertIntoDB(modelXbrl, host=host, port=port, user=user, password=password, database=db, timeout=timeout, product=product, rssItem=rssItem, **kwargs)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', '  File "C:\\Program Files\\Arelle\\plugin\\xbrlDB\\XbrlSemanticSqlDB.py", line 68, in insertIntoDB\n    xbrlDbConn.insertXbrl(entrypoint, rssItem)\n', '  File "C:\\Program Files\\Arelle\\plugin\\xbrlDB\\XbrlSemanticSqlDB.py", line 136, in insertXbrl\n    self.lockTables((\'entity\', \'filing\', \'report\', \'document\', \'referenced_documents\'),\n', '  File "C:\\Program Files\\Arelle\\plugin\\xbrlDB\\SqlDb.py", line 312, in lockTables\n    result = self.execute(\'LOCK {} IN SHARE ROW EXCLUSIVE MODE\'.format(\', \'.join(tableNames)),\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', '  File "C:\\Program Files\\Arelle\\plugin\\xbrlDB\\SqlDb.py", line 340, in execute\n    cursor.execute(sql)\n', '  File "C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\pg8000\\legacy.py", line 251, in execute\n', '  File "C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\pg8000\\core.py", line 686, in execute_simple\n', '  File "C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\pg8000\\core.py", line 830, in handle_messages\n', '  File "C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\pg8000\\core.py", line 160, in _read\n'] - 

Does anyone know why this is and how to rectify it?

Thank you very much in advance.
Anne

Austin Matherne

unread,
Apr 17, 2024, 1:40:26 PMApr 17
to Arelle-users
Hi Anne.

It would be helpful if you can provide the command you're running.

Kind regards,
Austin Matherne

Reply all
Reply to author
Forward
0 new messages