fix: system_all_log.html ReferenceError and other updates

This commit is contained in:
2026-01-17 14:06:27 +09:00
parent cf19d79ef8
commit 2681f5a096
24 changed files with 820 additions and 141 deletions

24
check_status.py Normal file
View File

@@ -0,0 +1,24 @@
import sys
import os
# FF 경로 설정
sys.path.append('/Volumes/WD/Users/Work/python/flaskfarm')
from framework import F
from gds_dviewer.logic import LogicExplorer
def check():
try:
logic = LogicExplorer(None) # 인스턴스 생성 (싱글톤 패턴일 경우 기존 인스턴스 접근 필요할 수도)
# 실제로는 LogicExplorer.instance 같은 게 있는지 확인 필요
# 하지만 gds_dviewer는 보통 P.logic에 저장됨.
# P instance 가져오기
from gds_dviewer.plugin import P
indexer = P.logic.explorer.indexer
print(f"Is Running: {indexer.is_running}")
print(f"Progress: {indexer.progress}")
except Exception as e:
print(f"Error: {e}")
if __name__ == "__main__":
check()