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