File "C:\Users\Administrator\Downloads\zym工作\StockAnalysisSystem-web\StockAnalysisSystem\core\Utility\task_queue.py", line 258, in __task_thread_entry
task.run()
File "C:\Users\Administrator\Downloads\zym工作\StockAnalysisSystem-web\StockAnalysisSystem\ui\data_update_ui.py", line 163, in run
self.__ui.update_table_content()
File "C:\Users\Administrator\Downloads\zym工作\StockAnalysisSystem-web\StockAnalysisSystem\ui\data_update_ui.py", line 557, in update_table_content
line = self.generate_line_content(uri, update_details[index])
File "C:\Users\Administrator\Downloads\zym工作\StockAnalysisSystem-web\StockAnalysisSystem\ui\data_update_ui.py", line 566, in generate_line_content
since, until = self.__context.get_sas_interface().sas_get_local_data_range_from_update_table(update_tags)
File "C:\Users\Administrator\Downloads\zym工作\StockAnalysisSystem-web\StockAnalysisSystem\interface\interface_local.py", line 421, in sas_get_local_data_range_from_update_table
File "C:\Users\Administrator\Downloads\zym工作\StockAnalysisSystem-web\StockAnalysisSystem\core\api.py", line 126, in get_local_data_range_from_update_table
since, until = update_table().get_since_until(update_tags)
File "C:\Users\Administrator\Downloads\zym工作\StockAnalysisSystem-web\StockAnalysisSystem\core\Database\UpdateTableEx.py", line 23, in get_since_until
record = self.__table.query(self.__normalize_tags(tags), keys=['since', 'until'])
File "C:\Users\Administrator\Downloads\zym工作\StockAnalysisSystem-web\StockAnalysisSystem\core\Database\NoSqlRw.py", line 227, in query
return list(result)
File "C:\Users\Administrator\Downloads\Stockanaly\StockAnalysisSystem-master\venv\lib\site-packages\pymongo\cursor.py", line 1159, in next
if len(self.__data) or self._refresh():
File "C:\Users\Administrator\Downloads\Stockanaly\StockAnalysisSystem-master\venv\lib\site-packages\pymongo\cursor.py", line 1080, in _refresh
self.__send_message(q)
File "C:\Users\Administrator\Downloads\Stockanaly\StockAnalysisSystem-master\venv\lib\site-packages\pymongo\cursor.py", line 972, in __send_message
File "C:\Users\Administrator\Downloads\Stockanaly\StockAnalysisSystem-master\venv\lib\site-packages\pymongo\mongo_client.py", line 1217, in _run_operation
File "C:\Users\Administrator\Downloads\Stockanaly\StockAnalysisSystem-master\venv\lib\site-packages\pymongo\mongo_client.py", line 1306, in _retryable_read
read_pref, session, address=address)
File "C:\Users\Administrator\Downloads\Stockanaly\StockAnalysisSystem-master\venv\lib\site-packages\pymongo\mongo_client.py", line 1126, in _select_server
topology = self._get_topology()
File "C:\Users\Administrator\Downloads\Stockanaly\StockAnalysisSystem-master\venv\lib\site-packages\pymongo\mongo_client.py", line 1086, in _get_topology
self._topology.open()
File "C:\Users\Administrator\Downloads\Stockanaly\StockAnalysisSystem-master\venv\lib\site-packages\pymongo\topology.py", line 173, in open
self._ensure_opened()
File "C:\Users\Administrator\Downloads\Stockanaly\StockAnalysisSystem-master\venv\lib\site-packages\pymongo\topology.py", line 559, in _ensure_opened
raise InvalidOperation("Cannot use MongoClient after close")
pymongo.errors.InvalidOperation: Cannot use MongoClient after close