2024-11-18 14:51:41,624 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:52:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 14:52:41,630 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:53:41 CST)" (scheduled at 2024-11-18 14:52:41.614880+08:00)
|
2024-11-18 14:52:41,631 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:53:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 14:53:41,622 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:54:41 CST)" (scheduled at 2024-11-18 14:53:41.614880+08:00)
|
2024-11-18 14:53:41,623 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:54:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 14:54:41,618 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:55:41 CST)" (scheduled at 2024-11-18 14:54:41.614880+08:00)
|
2024-11-18 14:54:41,619 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:55:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 14:55:41,619 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:56:41 CST)" (scheduled at 2024-11-18 14:55:41.614880+08:00)
|
2024-11-18 14:55:41,620 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:56:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 14:56:41,624 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:57:41 CST)" (scheduled at 2024-11-18 14:56:41.614880+08:00)
|
2024-11-18 14:56:41,625 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:57:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 14:57:41,628 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:58:41 CST)" (scheduled at 2024-11-18 14:57:41.614880+08:00)
|
2024-11-18 14:57:41,629 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:58:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 14:58:41,626 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:59:41 CST)" (scheduled at 2024-11-18 14:58:41.614880+08:00)
|
2024-11-18 14:58:41,627 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 14:59:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 14:59:41,619 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:00:41 CST)" (scheduled at 2024-11-18 14:59:41.614880+08:00)
|
2024-11-18 14:59:41,620 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:00:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:00:41,620 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:01:41 CST)" (scheduled at 2024-11-18 15:00:41.614880+08:00)
|
2024-11-18 15:00:41,621 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:01:41 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:01:33,351 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:01:33,352 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:01:33,352 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:02:33,364 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:03:33 CST)" (scheduled at 2024-11-18 15:02:33.351142+08:00)
|
2024-11-18 15:02:33,368 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:03:33 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:02:46,291 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:02:46,292 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:02:46,292 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:03:02,953 - user - edit_user_pwd - line:123 - ERROR -: AppRegister.__init__() missing 1 required positional argument: 'db'
|
2024-11-18 15:03:46,306 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:04:46 CST)" (scheduled at 2024-11-18 15:03:46.291994+08:00)
|
2024-11-18 15:03:46,309 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:04:46 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:03:59,072 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:03:59,073 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:03:59,073 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:04:01,013 - user - edit_user_pwd - line:123 - ERROR -: 'int' object has no attribute 'app_type'
|
2024-11-18 15:05:00,006 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:05:00,007 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:05:00,007 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:05:51,077 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:05:51,347 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:05:51,686 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
|
2024-11-18 15:06:00,010 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:07:00 CST)" (scheduled at 2024-11-18 15:06:00.006230+08:00)
|
2024-11-18 15:06:00,013 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:07:00 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:07:00,018 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:08:00 CST)" (scheduled at 2024-11-18 15:07:00.006230+08:00)
|
2024-11-18 15:07:00,020 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:08:00 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:08:00,019 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:09:00 CST)" (scheduled at 2024-11-18 15:08:00.006230+08:00)
|
2024-11-18 15:08:00,020 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:09:00 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:09:00,018 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:10:00 CST)" (scheduled at 2024-11-18 15:09:00.006230+08:00)
|
2024-11-18 15:09:00,020 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:10:00 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:10:00,011 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:11:00 CST)" (scheduled at 2024-11-18 15:10:00.006230+08:00)
|
2024-11-18 15:10:00,013 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:11:00 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:11:00,017 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:12:00 CST)" (scheduled at 2024-11-18 15:11:00.006230+08:00)
|
2024-11-18 15:11:00,018 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:12:00 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:11:24,039 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:11:24,040 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:11:24,040 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:11:26,698 - user - edit_user_pwd - line:125 - ERROR -: BishengService.change_password_public() missing 1 required positional argument: 'new_password'
|
2024-11-18 15:11:58,671 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:11:58,672 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:11:58,672 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:12:01,321 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:12:01,322 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
|
2024-11-18 15:12:01,325 - user - edit_user_pwd - line:125 - ERROR -: BishengService.change_password_public() missing 1 required positional argument: 'new_password'
|
2024-11-18 15:12:58,686 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:13:58 CST)" (scheduled at 2024-11-18 15:12:58.671687+08:00)
|
2024-11-18 15:12:58,689 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:13:58 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:13:04,079 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:13:04,079 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:13:04,080 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:13:06,875 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:13:06,876 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
|
2024-11-18 15:13:07,021 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 500 Internal Server Error"
|
2024-11-18 15:13:07,021 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: Internal Server Error
|
2024-11-18 15:14:02,085 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:14:02,086 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:14:02,087 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:14:03,802 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:14:03,803 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
|
2024-11-18 15:14:03,855 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 500 Internal Server Error"
|
2024-11-18 15:14:03,855 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: Internal Server Error
|
2024-11-18 15:15:02,086 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:16:02 CST)" (scheduled at 2024-11-18 15:15:02.085338+08:00)
|
2024-11-18 15:15:02,088 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:16:02 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:16:02,086 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:17:02 CST)" (scheduled at 2024-11-18 15:16:02.085338+08:00)
|
2024-11-18 15:16:02,087 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:17:02 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:17:02,097 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:18:02 CST)" (scheduled at 2024-11-18 15:17:02.085338+08:00)
|
2024-11-18 15:17:02,099 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:18:02 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:18:02,088 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:19:02 CST)" (scheduled at 2024-11-18 15:18:02.085338+08:00)
|
2024-11-18 15:18:02,089 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:19:02 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:19:02,097 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:20:02 CST)" (scheduled at 2024-11-18 15:19:02.085338+08:00)
|
2024-11-18 15:19:02,098 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:20:02 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:20:02,089 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:21:02 CST)" (scheduled at 2024-11-18 15:20:02.085338+08:00)
|
2024-11-18 15:20:02,090 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:21:02 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:20:41,344 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:20:41,345 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:20:41,346 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:20:44,425 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:20:44,426 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
|
2024-11-18 15:20:44,473 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:20:44,541 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:20:44,541 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"账号或密码错误","data":null}
|
2024-11-18 15:21:35,948 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:21:35,949 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:21:35,949 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:21:37,778 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:21:37,779 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
|
2024-11-18 15:21:37,829 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:21:37,897 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:21:37,897 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"账号或密码错误","data":null}
|
2024-11-18 15:22:35,687 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:22:35,688 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:22:35,688 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:22:37,007 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:22:37,007 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
|
2024-11-18 15:22:37,056 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:22:37,125 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:22:37,125 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"账号或密码错误","data":null}
|
2024-11-18 15:22:54,746 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:22:54,746 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:22:54,747 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:22:56,269 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:22:56,270 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
|
2024-11-18 15:22:56,318 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:22:56,390 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:22:56,391 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"账号或密码错误","data":null}
|
2024-11-18 15:23:50,794 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:23:50,795 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:23:50,795 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:23:54,278 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:23:54,279 - ragflow - set_user_password - line:196 - INFO -: set_user_password:{}
|
2024-11-18 15:23:54,327 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:23:54,395 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:23:54,395 - user - edit_user_pwd - line:125 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"账号或密码错误","data":null}
|
2024-11-18 15:24:50,808 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:25:50 CST)" (scheduled at 2024-11-18 15:24:50.794246+08:00)
|
2024-11-18 15:24:50,810 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:25:50 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:25:02,352 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:25:02,353 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:25:02,353 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:25:04,412 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:25:04,413 - ragflow - set_user_password - line:196 - INFO -: set_user_password:{}
|
2024-11-18 15:25:04,458 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:25:04,527 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:25:04,527 - user - edit_user_pwd - line:126 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"账号或密码错误","data":null}
|
2024-11-18 15:26:02,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:26:02 CST)" (scheduled at 2024-11-18 15:26:02.352080+08:00)
|
2024-11-18 15:26:02,388 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:27:02 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:26:06,332 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:26:06,333 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:26:06,333 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:26:12,542 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:26:12,543 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
|
2024-11-18 15:26:12,590 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:26:12,663 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:26:12,663 - user - edit_user_pwd - line:126 - ERROR -: Failed to fetch data from Bisheng API: {"status_code":10600,"status_message":"账号或密码错误","data":null}
|
2024-11-18 15:27:06,343 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:28:06 CST)" (scheduled at 2024-11-18 15:27:06.332248+08:00)
|
2024-11-18 15:27:06,345 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:28:06 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:27:15,295 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:27:15,296 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:27:15,296 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:27:17,403 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:27:17,404 - ragflow - set_user_password - line:198 - INFO -: set_user_password:{}
|
2024-11-18 15:27:17,450 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:27:17,599 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:27:36,584 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:27:36,649 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:28:15,303 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:29:15 CST)" (scheduled at 2024-11-18 15:28:15.295491+08:00)
|
2024-11-18 15:28:15,305 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:29:15 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:29:15,296 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:30:15 CST)" (scheduled at 2024-11-18 15:29:15.295491+08:00)
|
2024-11-18 15:29:15,297 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:30:15 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:29:39,898 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:29:39,899 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:29:39,899 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:29:41,589 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:29:41,984 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:29:42,275 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
|
2024-11-18 15:30:39,912 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:31:39 CST)" (scheduled at 2024-11-18 15:30:39.898188+08:00)
|
2024-11-18 15:30:39,914 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:31:39 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:31:39,913 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:32:39 CST)" (scheduled at 2024-11-18 15:31:39.898188+08:00)
|
2024-11-18 15:31:39,915 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:32:39 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:32:39,910 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:33:39 CST)" (scheduled at 2024-11-18 15:32:39.898188+08:00)
|
2024-11-18 15:32:39,912 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:33:39 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:33:01,475 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:33:01,476 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:33:01,476 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:33:10,204 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:33:10,569 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
|
2024-11-18 15:33:11,546 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
|
2024-11-18 15:33:20,854 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:33:20,913 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:33:27,032 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:33:27,307 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:33:27,911 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
|
2024-11-18 15:33:38,908 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:33:38,910 - ragflow - set_user_password - line:200 - INFO -: set_user_password:{}
|
2024-11-18 15:33:38,956 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:33:39,201 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:33:47,384 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:33:47,489 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:33:52,948 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:33:53,151 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:33:53,402 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
|
2024-11-18 15:34:01,476 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:35:01 CST)" (scheduled at 2024-11-18 15:34:01.475933+08:00)
|
2024-11-18 15:34:01,478 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:35:01 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:35:01,488 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:36:01 CST)" (scheduled at 2024-11-18 15:35:01.475933+08:00)
|
2024-11-18 15:35:01,489 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:36:01 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:36:01,491 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:37:01 CST)" (scheduled at 2024-11-18 15:36:01.475933+08:00)
|
2024-11-18 15:36:01,492 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:37:01 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:37:01,476 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:38:01 CST)" (scheduled at 2024-11-18 15:37:01.475933+08:00)
|
2024-11-18 15:37:01,477 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:38:01 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:38:01,491 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:39:01 CST)" (scheduled at 2024-11-18 15:38:01.475933+08:00)
|
2024-11-18 15:38:01,493 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:39:01 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:39:01,487 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:40:01 CST)" (scheduled at 2024-11-18 15:39:01.475933+08:00)
|
2024-11-18 15:39:01,488 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:40:01 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:40:01,478 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:41:01 CST)" (scheduled at 2024-11-18 15:40:01.475933+08:00)
|
2024-11-18 15:40:01,480 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:41:01 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:41:01,488 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:42:01 CST)" (scheduled at 2024-11-18 15:41:01.475933+08:00)
|
2024-11-18 15:41:01,490 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:42:01 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:41:55,398 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
|
2024-11-18 15:41:55,399 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
|
2024-11-18 15:41:55,399 - base - start - line:181 - INFO -: Scheduler started
|
2024-11-18 15:42:06,068 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:42:06,440 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/regist "HTTP/1.1 201 Created"
|
2024-11-18 15:42:07,880 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/register "HTTP/1.1 200 OK"
|
2024-11-18 15:42:21,109 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:42:21,291 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:42:21,826 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
|
2024-11-18 15:42:55,403 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:43:55 CST)" (scheduled at 2024-11-18 15:42:55.398192+08:00)
|
2024-11-18 15:42:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:43:55 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:43:55,407 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:44:55 CST)" (scheduled at 2024-11-18 15:43:55.398192+08:00)
|
2024-11-18 15:43:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:44:55 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:44:55,409 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:45:55 CST)" (scheduled at 2024-11-18 15:44:55.398192+08:00)
|
2024-11-18 15:44:55,410 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:45:55 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:45:55,411 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:46:55 CST)" (scheduled at 2024-11-18 15:45:55.398192+08:00)
|
2024-11-18 15:45:55,412 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:46:55 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:45:58,191 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/setting "HTTP/1.1 200 OK"
|
2024-11-18 15:45:58,191 - ragflow - set_user_password - line:200 - INFO -: set_user_password:{}
|
2024-11-18 15:45:58,239 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:45:58,402 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/change_password_public "HTTP/1.1 200 OK"
|
2024-11-18 15:46:07,462 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:46:07,536 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:46:12,627 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: GET http://192.168.20.119:13001/api/v1/user/public_key "HTTP/1.1 200 OK"
|
2024-11-18 15:46:12,817 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:13001/api/v1/user/login "HTTP/1.1 201 Created"
|
2024-11-18 15:46:13,082 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/user/login "HTTP/1.1 200 OK"
|
2024-11-18 15:46:55,408 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:47:55 CST)" (scheduled at 2024-11-18 15:46:55.398192+08:00)
|
2024-11-18 15:46:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:47:55 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:47:55,413 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:48:55 CST)" (scheduled at 2024-11-18 15:47:55.398192+08:00)
|
2024-11-18 15:47:55,414 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:48:55 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:48:55,401 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:49:55 CST)" (scheduled at 2024-11-18 15:48:55.398192+08:00)
|
2024-11-18 15:48:55,402 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:49:55 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:49:55,399 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:50:55 CST)" (scheduled at 2024-11-18 15:49:55.398192+08:00)
|
2024-11-18 15:49:55,400 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:50:55 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|
2024-11-18 15:50:55,408 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:51:55 CST)" (scheduled at 2024-11-18 15:50:55.398192+08:00)
|
2024-11-18 15:50:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 15:51:55 CST)" raised an exception
|
Traceback (most recent call last):
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
|
retval = job.func(*job.args, **job.kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
|
asyncio.run(sync_knowledge())
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
|
return runner.run(main)
|
^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
|
return self._loop.run_until_complete(task)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
|
return future.result()
|
^^^^^^^^^^^^^^^
|
File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
|
register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
|
^^^^^^^^
|
AttributeError: 'Depends' object has no attribute 'query'
|