log.log.2 98 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284
  1. 2024-11-18 18:59:55,407 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:00:55 CST)" raised an exception
  2. Traceback (most recent call last):
  3. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  4. retval = job.func(*job.args, **job.kwargs)
  5. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  6. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  7. asyncio.run(sync_knowledge())
  8. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  9. return runner.run(main)
  10. ^^^^^^^^^^^^^^^^
  11. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  12. return self._loop.run_until_complete(task)
  13. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  14. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  15. return future.result()
  16. ^^^^^^^^^^^^^^^
  17. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  18. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  19. ^^^^^^^^
  20. AttributeError: 'Depends' object has no attribute 'query'
  21. 2024-11-18 19:00:55,406 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:01:55 CST)" (scheduled at 2024-11-18 19:00:55.398192+08:00)
  22. 2024-11-18 19:00:55,407 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:01:55 CST)" raised an exception
  23. Traceback (most recent call last):
  24. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  25. retval = job.func(*job.args, **job.kwargs)
  26. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  27. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  28. asyncio.run(sync_knowledge())
  29. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  30. return runner.run(main)
  31. ^^^^^^^^^^^^^^^^
  32. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  33. return self._loop.run_until_complete(task)
  34. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  35. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  36. return future.result()
  37. ^^^^^^^^^^^^^^^
  38. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  39. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  40. ^^^^^^^^
  41. AttributeError: 'Depends' object has no attribute 'query'
  42. 2024-11-18 19:01:55,408 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:02:55 CST)" (scheduled at 2024-11-18 19:01:55.398192+08:00)
  43. 2024-11-18 19:01:55,409 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:02:55 CST)" raised an exception
  44. Traceback (most recent call last):
  45. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  46. retval = job.func(*job.args, **job.kwargs)
  47. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  48. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  49. asyncio.run(sync_knowledge())
  50. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  51. return runner.run(main)
  52. ^^^^^^^^^^^^^^^^
  53. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  54. return self._loop.run_until_complete(task)
  55. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  56. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  57. return future.result()
  58. ^^^^^^^^^^^^^^^
  59. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  60. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  61. ^^^^^^^^
  62. AttributeError: 'Depends' object has no attribute 'query'
  63. 2024-11-18 19:02:55,404 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:03:55 CST)" (scheduled at 2024-11-18 19:02:55.398192+08:00)
  64. 2024-11-18 19:02:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:03:55 CST)" raised an exception
  65. Traceback (most recent call last):
  66. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  67. retval = job.func(*job.args, **job.kwargs)
  68. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  69. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  70. asyncio.run(sync_knowledge())
  71. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  72. return runner.run(main)
  73. ^^^^^^^^^^^^^^^^
  74. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  75. return self._loop.run_until_complete(task)
  76. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  77. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  78. return future.result()
  79. ^^^^^^^^^^^^^^^
  80. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  81. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  82. ^^^^^^^^
  83. AttributeError: 'Depends' object has no attribute 'query'
  84. 2024-11-18 19:03:55,411 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:04:55 CST)" (scheduled at 2024-11-18 19:03:55.398192+08:00)
  85. 2024-11-18 19:03:55,412 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:04:55 CST)" raised an exception
  86. Traceback (most recent call last):
  87. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  88. retval = job.func(*job.args, **job.kwargs)
  89. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  90. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  91. asyncio.run(sync_knowledge())
  92. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  93. return runner.run(main)
  94. ^^^^^^^^^^^^^^^^
  95. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  96. return self._loop.run_until_complete(task)
  97. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  98. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  99. return future.result()
  100. ^^^^^^^^^^^^^^^
  101. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  102. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  103. ^^^^^^^^
  104. AttributeError: 'Depends' object has no attribute 'query'
  105. 2024-11-18 19:04:55,409 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:05:55 CST)" (scheduled at 2024-11-18 19:04:55.398192+08:00)
  106. 2024-11-18 19:04:55,410 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:05:55 CST)" raised an exception
  107. Traceback (most recent call last):
  108. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  109. retval = job.func(*job.args, **job.kwargs)
  110. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  111. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  112. asyncio.run(sync_knowledge())
  113. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  114. return runner.run(main)
  115. ^^^^^^^^^^^^^^^^
  116. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  117. return self._loop.run_until_complete(task)
  118. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  119. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  120. return future.result()
  121. ^^^^^^^^^^^^^^^
  122. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  123. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  124. ^^^^^^^^
  125. AttributeError: 'Depends' object has no attribute 'query'
  126. 2024-11-18 19:05:55,404 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:06:55 CST)" (scheduled at 2024-11-18 19:05:55.398192+08:00)
  127. 2024-11-18 19:05:55,405 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:06:55 CST)" raised an exception
  128. Traceback (most recent call last):
  129. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  130. retval = job.func(*job.args, **job.kwargs)
  131. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  132. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  133. asyncio.run(sync_knowledge())
  134. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  135. return runner.run(main)
  136. ^^^^^^^^^^^^^^^^
  137. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  138. return self._loop.run_until_complete(task)
  139. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  140. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  141. return future.result()
  142. ^^^^^^^^^^^^^^^
  143. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  144. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  145. ^^^^^^^^
  146. AttributeError: 'Depends' object has no attribute 'query'
  147. 2024-11-18 19:06:11,782 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
  148. 2024-11-18 19:06:11,783 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
  149. 2024-11-18 19:06:11,784 - base - start - line:181 - INFO -: Scheduler started
  150. 2024-11-18 19:07:11,792 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:08:11 CST)" (scheduled at 2024-11-18 19:07:11.782521+08:00)
  151. 2024-11-18 19:07:11,795 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:08:11 CST)" raised an exception
  152. Traceback (most recent call last):
  153. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  154. retval = job.func(*job.args, **job.kwargs)
  155. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  156. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  157. asyncio.run(sync_knowledge())
  158. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  159. return runner.run(main)
  160. ^^^^^^^^^^^^^^^^
  161. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  162. return self._loop.run_until_complete(task)
  163. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  164. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  165. return future.result()
  166. ^^^^^^^^^^^^^^^
  167. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  168. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  169. ^^^^^^^^
  170. AttributeError: 'Depends' object has no attribute 'query'
  171. 2024-11-18 19:07:25,943 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
  172. 2024-11-18 19:07:26,094 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant//user "HTTP/1.1 200 OK"
  173. 2024-11-18 19:08:11,791 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:09:11 CST)" (scheduled at 2024-11-18 19:08:11.782521+08:00)
  174. 2024-11-18 19:08:11,792 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:09:11 CST)" raised an exception
  175. Traceback (most recent call last):
  176. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  177. retval = job.func(*job.args, **job.kwargs)
  178. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  179. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  180. asyncio.run(sync_knowledge())
  181. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  182. return runner.run(main)
  183. ^^^^^^^^^^^^^^^^
  184. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  185. return self._loop.run_until_complete(task)
  186. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  187. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  188. return future.result()
  189. ^^^^^^^^^^^^^^^
  190. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  191. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  192. ^^^^^^^^
  193. AttributeError: 'Depends' object has no attribute 'query'
  194. 2024-11-18 19:09:11,790 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:10:11 CST)" (scheduled at 2024-11-18 19:09:11.782521+08:00)
  195. 2024-11-18 19:09:11,791 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:10:11 CST)" raised an exception
  196. Traceback (most recent call last):
  197. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  198. retval = job.func(*job.args, **job.kwargs)
  199. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  200. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  201. asyncio.run(sync_knowledge())
  202. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  203. return runner.run(main)
  204. ^^^^^^^^^^^^^^^^
  205. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  206. return self._loop.run_until_complete(task)
  207. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  208. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  209. return future.result()
  210. ^^^^^^^^^^^^^^^
  211. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  212. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  213. ^^^^^^^^
  214. AttributeError: 'Depends' object has no attribute 'query'
  215. 2024-11-18 19:10:11,787 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:11:11 CST)" (scheduled at 2024-11-18 19:10:11.782521+08:00)
  216. 2024-11-18 19:10:11,788 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:11:11 CST)" raised an exception
  217. Traceback (most recent call last):
  218. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  219. retval = job.func(*job.args, **job.kwargs)
  220. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  221. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  222. asyncio.run(sync_knowledge())
  223. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  224. return runner.run(main)
  225. ^^^^^^^^^^^^^^^^
  226. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  227. return self._loop.run_until_complete(task)
  228. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  229. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  230. return future.result()
  231. ^^^^^^^^^^^^^^^
  232. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  233. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  234. ^^^^^^^^
  235. AttributeError: 'Depends' object has no attribute 'query'
  236. 2024-11-18 19:11:11,789 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:12:11 CST)" (scheduled at 2024-11-18 19:11:11.782521+08:00)
  237. 2024-11-18 19:11:11,790 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:12:11 CST)" raised an exception
  238. Traceback (most recent call last):
  239. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  240. retval = job.func(*job.args, **job.kwargs)
  241. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  242. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  243. asyncio.run(sync_knowledge())
  244. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  245. return runner.run(main)
  246. ^^^^^^^^^^^^^^^^
  247. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  248. return self._loop.run_until_complete(task)
  249. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  250. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  251. return future.result()
  252. ^^^^^^^^^^^^^^^
  253. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  254. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  255. ^^^^^^^^
  256. AttributeError: 'Depends' object has no attribute 'query'
  257. 2024-11-18 19:12:11,796 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:13:11 CST)" (scheduled at 2024-11-18 19:12:11.782521+08:00)
  258. 2024-11-18 19:12:11,797 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:13:11 CST)" raised an exception
  259. Traceback (most recent call last):
  260. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  261. retval = job.func(*job.args, **job.kwargs)
  262. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  263. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  264. asyncio.run(sync_knowledge())
  265. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  266. return runner.run(main)
  267. ^^^^^^^^^^^^^^^^
  268. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  269. return self._loop.run_until_complete(task)
  270. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  271. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  272. return future.result()
  273. ^^^^^^^^^^^^^^^
  274. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  275. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  276. ^^^^^^^^
  277. AttributeError: 'Depends' object has no attribute 'query'
  278. 2024-11-18 19:13:11,794 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:14:11 CST)" (scheduled at 2024-11-18 19:13:11.782521+08:00)
  279. 2024-11-18 19:13:11,796 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:14:11 CST)" raised an exception
  280. Traceback (most recent call last):
  281. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  282. retval = job.func(*job.args, **job.kwargs)
  283. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  284. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  285. asyncio.run(sync_knowledge())
  286. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  287. return runner.run(main)
  288. ^^^^^^^^^^^^^^^^
  289. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  290. return self._loop.run_until_complete(task)
  291. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  292. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  293. return future.result()
  294. ^^^^^^^^^^^^^^^
  295. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  296. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  297. ^^^^^^^^
  298. AttributeError: 'Depends' object has no attribute 'query'
  299. 2024-11-18 19:14:11,796 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:15:11 CST)" (scheduled at 2024-11-18 19:14:11.782521+08:00)
  300. 2024-11-18 19:14:11,797 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:15:11 CST)" raised an exception
  301. Traceback (most recent call last):
  302. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  303. retval = job.func(*job.args, **job.kwargs)
  304. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  305. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  306. asyncio.run(sync_knowledge())
  307. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  308. return runner.run(main)
  309. ^^^^^^^^^^^^^^^^
  310. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  311. return self._loop.run_until_complete(task)
  312. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  313. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  314. return future.result()
  315. ^^^^^^^^^^^^^^^
  316. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  317. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  318. ^^^^^^^^
  319. AttributeError: 'Depends' object has no attribute 'query'
  320. 2024-11-18 19:15:11,785 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:16:11 CST)" (scheduled at 2024-11-18 19:15:11.782521+08:00)
  321. 2024-11-18 19:15:11,786 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:16:11 CST)" raised an exception
  322. Traceback (most recent call last):
  323. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  324. retval = job.func(*job.args, **job.kwargs)
  325. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  326. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  327. asyncio.run(sync_knowledge())
  328. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  329. return runner.run(main)
  330. ^^^^^^^^^^^^^^^^
  331. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  332. return self._loop.run_until_complete(task)
  333. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  334. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  335. return future.result()
  336. ^^^^^^^^^^^^^^^
  337. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  338. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  339. ^^^^^^^^
  340. AttributeError: 'Depends' object has no attribute 'query'
  341. 2024-11-18 19:16:11,796 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:17:11 CST)" (scheduled at 2024-11-18 19:16:11.782521+08:00)
  342. 2024-11-18 19:16:11,797 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:17:11 CST)" raised an exception
  343. Traceback (most recent call last):
  344. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  345. retval = job.func(*job.args, **job.kwargs)
  346. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  347. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  348. asyncio.run(sync_knowledge())
  349. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  350. return runner.run(main)
  351. ^^^^^^^^^^^^^^^^
  352. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  353. return self._loop.run_until_complete(task)
  354. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  355. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  356. return future.result()
  357. ^^^^^^^^^^^^^^^
  358. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  359. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  360. ^^^^^^^^
  361. AttributeError: 'Depends' object has no attribute 'query'
  362. 2024-11-18 19:17:11,785 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:18:11 CST)" (scheduled at 2024-11-18 19:17:11.782521+08:00)
  363. 2024-11-18 19:17:11,786 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:18:11 CST)" raised an exception
  364. Traceback (most recent call last):
  365. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  366. retval = job.func(*job.args, **job.kwargs)
  367. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  368. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  369. asyncio.run(sync_knowledge())
  370. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  371. return runner.run(main)
  372. ^^^^^^^^^^^^^^^^
  373. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  374. return self._loop.run_until_complete(task)
  375. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  376. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  377. return future.result()
  378. ^^^^^^^^^^^^^^^
  379. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  380. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  381. ^^^^^^^^
  382. AttributeError: 'Depends' object has no attribute 'query'
  383. 2024-11-18 19:17:17,667 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
  384. 2024-11-18 19:17:17,668 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
  385. 2024-11-18 19:17:17,668 - base - start - line:181 - INFO -: Scheduler started
  386. 2024-11-18 19:17:44,044 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
  387. 2024-11-18 19:17:44,075 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant//user "HTTP/1.1 200 OK"
  388. 2024-11-18 19:18:17,678 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:19:17 CST)" (scheduled at 2024-11-18 19:18:17.667608+08:00)
  389. 2024-11-18 19:18:17,680 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:19:17 CST)" raised an exception
  390. Traceback (most recent call last):
  391. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  392. retval = job.func(*job.args, **job.kwargs)
  393. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  394. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  395. asyncio.run(sync_knowledge())
  396. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  397. return runner.run(main)
  398. ^^^^^^^^^^^^^^^^
  399. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  400. return self._loop.run_until_complete(task)
  401. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  402. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  403. return future.result()
  404. ^^^^^^^^^^^^^^^
  405. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  406. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  407. ^^^^^^^^
  408. AttributeError: 'Depends' object has no attribute 'query'
  409. 2024-11-18 19:18:41,132 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
  410. 2024-11-18 19:18:41,133 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
  411. 2024-11-18 19:18:41,133 - base - start - line:181 - INFO -: Scheduler started
  412. 2024-11-18 19:19:10,193 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
  413. 2024-11-18 19:19:10,223 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant//user "HTTP/1.1 200 OK"
  414. 2024-11-18 19:19:41,139 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:20:41 CST)" (scheduled at 2024-11-18 19:19:41.132420+08:00)
  415. 2024-11-18 19:19:41,141 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:20:41 CST)" raised an exception
  416. Traceback (most recent call last):
  417. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  418. retval = job.func(*job.args, **job.kwargs)
  419. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  420. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  421. asyncio.run(sync_knowledge())
  422. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  423. return runner.run(main)
  424. ^^^^^^^^^^^^^^^^
  425. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  426. return self._loop.run_until_complete(task)
  427. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  428. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  429. return future.result()
  430. ^^^^^^^^^^^^^^^
  431. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  432. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  433. ^^^^^^^^
  434. AttributeError: 'Depends' object has no attribute 'query'
  435. 2024-11-18 19:20:21,003 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
  436. 2024-11-18 19:20:21,196 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/fe24dd2c9be611ef92880242ac160006/user "HTTP/1.1 200 OK"
  437. 2024-11-18 19:20:41,145 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:21:41 CST)" (scheduled at 2024-11-18 19:20:41.132420+08:00)
  438. 2024-11-18 19:20:41,146 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:21:41 CST)" raised an exception
  439. Traceback (most recent call last):
  440. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  441. retval = job.func(*job.args, **job.kwargs)
  442. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  443. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  444. asyncio.run(sync_knowledge())
  445. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  446. return runner.run(main)
  447. ^^^^^^^^^^^^^^^^
  448. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  449. return self._loop.run_until_complete(task)
  450. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  451. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  452. return future.result()
  453. ^^^^^^^^^^^^^^^
  454. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  455. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  456. ^^^^^^^^
  457. AttributeError: 'Depends' object has no attribute 'query'
  458. 2024-11-18 19:21:29,360 - base - add_job - line:454 - INFO -: Adding job tentatively -- it will be properly scheduled when the scheduler starts
  459. 2024-11-18 19:21:29,361 - base - _real_add_job - line:895 - INFO -: Added job "sync_resource" to job store "default"
  460. 2024-11-18 19:21:29,362 - base - start - line:181 - INFO -: Scheduler started
  461. 2024-11-18 19:21:54,535 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
  462. 2024-11-18 19:21:54,582 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/fe24dd2c9be611ef92880242ac160006/user "HTTP/1.1 200 OK"
  463. 2024-11-18 19:22:29,367 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:23:29 CST)" (scheduled at 2024-11-18 19:22:29.360601+08:00)
  464. 2024-11-18 19:22:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:23:29 CST)" raised an exception
  465. Traceback (most recent call last):
  466. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  467. retval = job.func(*job.args, **job.kwargs)
  468. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  469. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  470. asyncio.run(sync_knowledge())
  471. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  472. return runner.run(main)
  473. ^^^^^^^^^^^^^^^^
  474. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  475. return self._loop.run_until_complete(task)
  476. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  477. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  478. return future.result()
  479. ^^^^^^^^^^^^^^^
  480. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  481. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  482. ^^^^^^^^
  483. AttributeError: 'Depends' object has no attribute 'query'
  484. 2024-11-18 19:23:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:24:29 CST)" (scheduled at 2024-11-18 19:23:29.360601+08:00)
  485. 2024-11-18 19:23:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:24:29 CST)" raised an exception
  486. Traceback (most recent call last):
  487. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  488. retval = job.func(*job.args, **job.kwargs)
  489. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  490. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  491. asyncio.run(sync_knowledge())
  492. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  493. return runner.run(main)
  494. ^^^^^^^^^^^^^^^^
  495. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  496. return self._loop.run_until_complete(task)
  497. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  498. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  499. return future.result()
  500. ^^^^^^^^^^^^^^^
  501. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  502. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  503. ^^^^^^^^
  504. AttributeError: 'Depends' object has no attribute 'query'
  505. 2024-11-18 19:24:29,373 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:25:29 CST)" (scheduled at 2024-11-18 19:24:29.360601+08:00)
  506. 2024-11-18 19:24:29,374 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:25:29 CST)" raised an exception
  507. Traceback (most recent call last):
  508. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  509. retval = job.func(*job.args, **job.kwargs)
  510. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  511. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  512. asyncio.run(sync_knowledge())
  513. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  514. return runner.run(main)
  515. ^^^^^^^^^^^^^^^^
  516. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  517. return self._loop.run_until_complete(task)
  518. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  519. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  520. return future.result()
  521. ^^^^^^^^^^^^^^^
  522. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  523. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  524. ^^^^^^^^
  525. AttributeError: 'Depends' object has no attribute 'query'
  526. 2024-11-18 19:25:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:26:29 CST)" (scheduled at 2024-11-18 19:25:29.360601+08:00)
  527. 2024-11-18 19:25:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:26:29 CST)" raised an exception
  528. Traceback (most recent call last):
  529. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  530. retval = job.func(*job.args, **job.kwargs)
  531. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  532. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  533. asyncio.run(sync_knowledge())
  534. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  535. return runner.run(main)
  536. ^^^^^^^^^^^^^^^^
  537. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  538. return self._loop.run_until_complete(task)
  539. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  540. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  541. return future.result()
  542. ^^^^^^^^^^^^^^^
  543. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  544. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  545. ^^^^^^^^
  546. AttributeError: 'Depends' object has no attribute 'query'
  547. 2024-11-18 19:26:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:27:29 CST)" (scheduled at 2024-11-18 19:26:29.360601+08:00)
  548. 2024-11-18 19:26:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:27:29 CST)" raised an exception
  549. Traceback (most recent call last):
  550. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  551. retval = job.func(*job.args, **job.kwargs)
  552. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  553. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  554. asyncio.run(sync_knowledge())
  555. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  556. return runner.run(main)
  557. ^^^^^^^^^^^^^^^^
  558. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  559. return self._loop.run_until_complete(task)
  560. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  561. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  562. return future.result()
  563. ^^^^^^^^^^^^^^^
  564. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  565. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  566. ^^^^^^^^
  567. AttributeError: 'Depends' object has no attribute 'query'
  568. 2024-11-18 19:27:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:28:29 CST)" (scheduled at 2024-11-18 19:27:29.360601+08:00)
  569. 2024-11-18 19:27:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:28:29 CST)" raised an exception
  570. Traceback (most recent call last):
  571. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  572. retval = job.func(*job.args, **job.kwargs)
  573. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  574. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  575. asyncio.run(sync_knowledge())
  576. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  577. return runner.run(main)
  578. ^^^^^^^^^^^^^^^^
  579. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  580. return self._loop.run_until_complete(task)
  581. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  582. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  583. return future.result()
  584. ^^^^^^^^^^^^^^^
  585. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  586. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  587. ^^^^^^^^
  588. AttributeError: 'Depends' object has no attribute 'query'
  589. 2024-11-18 19:28:18,574 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/a9155a70a19311ef94530242ac130006/user "HTTP/1.1 200 OK"
  590. 2024-11-18 19:28:18,623 - _client - _send_single_request - line:1786 - INFO -: HTTP Request: POST http://192.168.20.119:11080/v1/tenant/fe24dd2c9be611ef92880242ac160006/user "HTTP/1.1 200 OK"
  591. 2024-11-18 19:28:29,367 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:29:29 CST)" (scheduled at 2024-11-18 19:28:29.360601+08:00)
  592. 2024-11-18 19:28:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:29:29 CST)" raised an exception
  593. Traceback (most recent call last):
  594. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  595. retval = job.func(*job.args, **job.kwargs)
  596. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  597. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  598. asyncio.run(sync_knowledge())
  599. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  600. return runner.run(main)
  601. ^^^^^^^^^^^^^^^^
  602. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  603. return self._loop.run_until_complete(task)
  604. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  605. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  606. return future.result()
  607. ^^^^^^^^^^^^^^^
  608. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  609. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  610. ^^^^^^^^
  611. AttributeError: 'Depends' object has no attribute 'query'
  612. 2024-11-18 19:29:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:30:29 CST)" (scheduled at 2024-11-18 19:29:29.360601+08:00)
  613. 2024-11-18 19:29:29,366 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:30:29 CST)" raised an exception
  614. Traceback (most recent call last):
  615. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  616. retval = job.func(*job.args, **job.kwargs)
  617. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  618. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  619. asyncio.run(sync_knowledge())
  620. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  621. return runner.run(main)
  622. ^^^^^^^^^^^^^^^^
  623. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  624. return self._loop.run_until_complete(task)
  625. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  626. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  627. return future.result()
  628. ^^^^^^^^^^^^^^^
  629. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  630. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  631. ^^^^^^^^
  632. AttributeError: 'Depends' object has no attribute 'query'
  633. 2024-11-18 19:30:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:31:29 CST)" (scheduled at 2024-11-18 19:30:29.360601+08:00)
  634. 2024-11-18 19:30:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:31:29 CST)" raised an exception
  635. Traceback (most recent call last):
  636. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  637. retval = job.func(*job.args, **job.kwargs)
  638. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  639. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  640. asyncio.run(sync_knowledge())
  641. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  642. return runner.run(main)
  643. ^^^^^^^^^^^^^^^^
  644. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  645. return self._loop.run_until_complete(task)
  646. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  647. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  648. return future.result()
  649. ^^^^^^^^^^^^^^^
  650. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  651. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  652. ^^^^^^^^
  653. AttributeError: 'Depends' object has no attribute 'query'
  654. 2024-11-18 19:31:29,368 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:32:29 CST)" (scheduled at 2024-11-18 19:31:29.360601+08:00)
  655. 2024-11-18 19:31:29,369 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:32:29 CST)" raised an exception
  656. Traceback (most recent call last):
  657. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  658. retval = job.func(*job.args, **job.kwargs)
  659. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  660. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  661. asyncio.run(sync_knowledge())
  662. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  663. return runner.run(main)
  664. ^^^^^^^^^^^^^^^^
  665. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  666. return self._loop.run_until_complete(task)
  667. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  668. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  669. return future.result()
  670. ^^^^^^^^^^^^^^^
  671. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  672. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  673. ^^^^^^^^
  674. AttributeError: 'Depends' object has no attribute 'query'
  675. 2024-11-18 19:32:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:33:29 CST)" (scheduled at 2024-11-18 19:32:29.360601+08:00)
  676. 2024-11-18 19:32:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:33:29 CST)" raised an exception
  677. Traceback (most recent call last):
  678. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  679. retval = job.func(*job.args, **job.kwargs)
  680. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  681. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  682. asyncio.run(sync_knowledge())
  683. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  684. return runner.run(main)
  685. ^^^^^^^^^^^^^^^^
  686. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  687. return self._loop.run_until_complete(task)
  688. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  689. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  690. return future.result()
  691. ^^^^^^^^^^^^^^^
  692. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  693. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  694. ^^^^^^^^
  695. AttributeError: 'Depends' object has no attribute 'query'
  696. 2024-11-18 19:33:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:34:29 CST)" (scheduled at 2024-11-18 19:33:29.360601+08:00)
  697. 2024-11-18 19:33:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:34:29 CST)" raised an exception
  698. Traceback (most recent call last):
  699. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  700. retval = job.func(*job.args, **job.kwargs)
  701. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  702. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  703. asyncio.run(sync_knowledge())
  704. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  705. return runner.run(main)
  706. ^^^^^^^^^^^^^^^^
  707. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  708. return self._loop.run_until_complete(task)
  709. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  710. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  711. return future.result()
  712. ^^^^^^^^^^^^^^^
  713. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  714. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  715. ^^^^^^^^
  716. AttributeError: 'Depends' object has no attribute 'query'
  717. 2024-11-18 19:34:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:35:29 CST)" (scheduled at 2024-11-18 19:34:29.360601+08:00)
  718. 2024-11-18 19:34:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:35:29 CST)" raised an exception
  719. Traceback (most recent call last):
  720. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  721. retval = job.func(*job.args, **job.kwargs)
  722. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  723. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  724. asyncio.run(sync_knowledge())
  725. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  726. return runner.run(main)
  727. ^^^^^^^^^^^^^^^^
  728. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  729. return self._loop.run_until_complete(task)
  730. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  731. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  732. return future.result()
  733. ^^^^^^^^^^^^^^^
  734. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  735. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  736. ^^^^^^^^
  737. AttributeError: 'Depends' object has no attribute 'query'
  738. 2024-11-18 19:35:29,373 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:36:29 CST)" (scheduled at 2024-11-18 19:35:29.360601+08:00)
  739. 2024-11-18 19:35:29,374 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:36:29 CST)" raised an exception
  740. Traceback (most recent call last):
  741. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  742. retval = job.func(*job.args, **job.kwargs)
  743. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  744. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  745. asyncio.run(sync_knowledge())
  746. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  747. return runner.run(main)
  748. ^^^^^^^^^^^^^^^^
  749. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  750. return self._loop.run_until_complete(task)
  751. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  752. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  753. return future.result()
  754. ^^^^^^^^^^^^^^^
  755. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  756. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  757. ^^^^^^^^
  758. AttributeError: 'Depends' object has no attribute 'query'
  759. 2024-11-18 19:36:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:37:29 CST)" (scheduled at 2024-11-18 19:36:29.360601+08:00)
  760. 2024-11-18 19:36:29,375 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:37:29 CST)" raised an exception
  761. Traceback (most recent call last):
  762. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  763. retval = job.func(*job.args, **job.kwargs)
  764. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  765. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  766. asyncio.run(sync_knowledge())
  767. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  768. return runner.run(main)
  769. ^^^^^^^^^^^^^^^^
  770. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  771. return self._loop.run_until_complete(task)
  772. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  773. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  774. return future.result()
  775. ^^^^^^^^^^^^^^^
  776. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  777. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  778. ^^^^^^^^
  779. AttributeError: 'Depends' object has no attribute 'query'
  780. 2024-11-18 19:37:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:38:29 CST)" (scheduled at 2024-11-18 19:37:29.360601+08:00)
  781. 2024-11-18 19:37:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:38:29 CST)" raised an exception
  782. Traceback (most recent call last):
  783. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  784. retval = job.func(*job.args, **job.kwargs)
  785. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  786. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  787. asyncio.run(sync_knowledge())
  788. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  789. return runner.run(main)
  790. ^^^^^^^^^^^^^^^^
  791. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  792. return self._loop.run_until_complete(task)
  793. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  794. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  795. return future.result()
  796. ^^^^^^^^^^^^^^^
  797. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  798. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  799. ^^^^^^^^
  800. AttributeError: 'Depends' object has no attribute 'query'
  801. 2024-11-18 19:38:29,370 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:39:29 CST)" (scheduled at 2024-11-18 19:38:29.360601+08:00)
  802. 2024-11-18 19:38:29,371 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:39:29 CST)" raised an exception
  803. Traceback (most recent call last):
  804. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  805. retval = job.func(*job.args, **job.kwargs)
  806. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  807. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  808. asyncio.run(sync_knowledge())
  809. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  810. return runner.run(main)
  811. ^^^^^^^^^^^^^^^^
  812. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  813. return self._loop.run_until_complete(task)
  814. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  815. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  816. return future.result()
  817. ^^^^^^^^^^^^^^^
  818. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  819. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  820. ^^^^^^^^
  821. AttributeError: 'Depends' object has no attribute 'query'
  822. 2024-11-18 19:39:29,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:40:29 CST)" (scheduled at 2024-11-18 19:39:29.360601+08:00)
  823. 2024-11-18 19:39:29,362 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:40:29 CST)" raised an exception
  824. Traceback (most recent call last):
  825. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  826. retval = job.func(*job.args, **job.kwargs)
  827. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  828. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  829. asyncio.run(sync_knowledge())
  830. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  831. return runner.run(main)
  832. ^^^^^^^^^^^^^^^^
  833. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  834. return self._loop.run_until_complete(task)
  835. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  836. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  837. return future.result()
  838. ^^^^^^^^^^^^^^^
  839. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  840. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  841. ^^^^^^^^
  842. AttributeError: 'Depends' object has no attribute 'query'
  843. 2024-11-18 19:40:29,362 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:41:29 CST)" (scheduled at 2024-11-18 19:40:29.360601+08:00)
  844. 2024-11-18 19:40:29,363 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:41:29 CST)" raised an exception
  845. Traceback (most recent call last):
  846. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  847. retval = job.func(*job.args, **job.kwargs)
  848. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  849. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  850. asyncio.run(sync_knowledge())
  851. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  852. return runner.run(main)
  853. ^^^^^^^^^^^^^^^^
  854. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  855. return self._loop.run_until_complete(task)
  856. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  857. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  858. return future.result()
  859. ^^^^^^^^^^^^^^^
  860. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  861. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  862. ^^^^^^^^
  863. AttributeError: 'Depends' object has no attribute 'query'
  864. 2024-11-18 19:41:29,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:42:29 CST)" (scheduled at 2024-11-18 19:41:29.360601+08:00)
  865. 2024-11-18 19:41:29,362 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:42:29 CST)" raised an exception
  866. Traceback (most recent call last):
  867. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  868. retval = job.func(*job.args, **job.kwargs)
  869. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  870. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  871. asyncio.run(sync_knowledge())
  872. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  873. return runner.run(main)
  874. ^^^^^^^^^^^^^^^^
  875. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  876. return self._loop.run_until_complete(task)
  877. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  878. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  879. return future.result()
  880. ^^^^^^^^^^^^^^^
  881. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  882. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  883. ^^^^^^^^
  884. AttributeError: 'Depends' object has no attribute 'query'
  885. 2024-11-18 19:42:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:43:29 CST)" (scheduled at 2024-11-18 19:42:29.360601+08:00)
  886. 2024-11-18 19:42:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:43:29 CST)" raised an exception
  887. Traceback (most recent call last):
  888. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  889. retval = job.func(*job.args, **job.kwargs)
  890. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  891. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  892. asyncio.run(sync_knowledge())
  893. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  894. return runner.run(main)
  895. ^^^^^^^^^^^^^^^^
  896. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  897. return self._loop.run_until_complete(task)
  898. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  899. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  900. return future.result()
  901. ^^^^^^^^^^^^^^^
  902. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  903. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  904. ^^^^^^^^
  905. AttributeError: 'Depends' object has no attribute 'query'
  906. 2024-11-18 19:43:29,372 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:44:29 CST)" (scheduled at 2024-11-18 19:43:29.360601+08:00)
  907. 2024-11-18 19:43:29,373 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:44:29 CST)" raised an exception
  908. Traceback (most recent call last):
  909. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  910. retval = job.func(*job.args, **job.kwargs)
  911. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  912. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  913. asyncio.run(sync_knowledge())
  914. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  915. return runner.run(main)
  916. ^^^^^^^^^^^^^^^^
  917. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  918. return self._loop.run_until_complete(task)
  919. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  920. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  921. return future.result()
  922. ^^^^^^^^^^^^^^^
  923. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  924. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  925. ^^^^^^^^
  926. AttributeError: 'Depends' object has no attribute 'query'
  927. 2024-11-18 19:44:29,363 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:45:29 CST)" (scheduled at 2024-11-18 19:44:29.360601+08:00)
  928. 2024-11-18 19:44:29,364 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:45:29 CST)" raised an exception
  929. Traceback (most recent call last):
  930. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  931. retval = job.func(*job.args, **job.kwargs)
  932. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  933. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  934. asyncio.run(sync_knowledge())
  935. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  936. return runner.run(main)
  937. ^^^^^^^^^^^^^^^^
  938. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  939. return self._loop.run_until_complete(task)
  940. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  941. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  942. return future.result()
  943. ^^^^^^^^^^^^^^^
  944. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  945. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  946. ^^^^^^^^
  947. AttributeError: 'Depends' object has no attribute 'query'
  948. 2024-11-18 19:45:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:46:29 CST)" (scheduled at 2024-11-18 19:45:29.360601+08:00)
  949. 2024-11-18 19:45:29,376 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:46:29 CST)" raised an exception
  950. Traceback (most recent call last):
  951. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  952. retval = job.func(*job.args, **job.kwargs)
  953. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  954. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  955. asyncio.run(sync_knowledge())
  956. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  957. return runner.run(main)
  958. ^^^^^^^^^^^^^^^^
  959. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  960. return self._loop.run_until_complete(task)
  961. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  962. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  963. return future.result()
  964. ^^^^^^^^^^^^^^^
  965. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  966. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  967. ^^^^^^^^
  968. AttributeError: 'Depends' object has no attribute 'query'
  969. 2024-11-18 19:46:29,373 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:47:29 CST)" (scheduled at 2024-11-18 19:46:29.360601+08:00)
  970. 2024-11-18 19:46:29,374 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:47:29 CST)" raised an exception
  971. Traceback (most recent call last):
  972. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  973. retval = job.func(*job.args, **job.kwargs)
  974. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  975. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  976. asyncio.run(sync_knowledge())
  977. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  978. return runner.run(main)
  979. ^^^^^^^^^^^^^^^^
  980. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  981. return self._loop.run_until_complete(task)
  982. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  983. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  984. return future.result()
  985. ^^^^^^^^^^^^^^^
  986. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  987. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  988. ^^^^^^^^
  989. AttributeError: 'Depends' object has no attribute 'query'
  990. 2024-11-18 19:47:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:48:29 CST)" (scheduled at 2024-11-18 19:47:29.360601+08:00)
  991. 2024-11-18 19:47:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:48:29 CST)" raised an exception
  992. Traceback (most recent call last):
  993. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  994. retval = job.func(*job.args, **job.kwargs)
  995. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  996. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  997. asyncio.run(sync_knowledge())
  998. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  999. return runner.run(main)
  1000. ^^^^^^^^^^^^^^^^
  1001. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1002. return self._loop.run_until_complete(task)
  1003. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1004. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1005. return future.result()
  1006. ^^^^^^^^^^^^^^^
  1007. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1008. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1009. ^^^^^^^^
  1010. AttributeError: 'Depends' object has no attribute 'query'
  1011. 2024-11-18 19:48:29,366 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:49:29 CST)" (scheduled at 2024-11-18 19:48:29.360601+08:00)
  1012. 2024-11-18 19:48:29,367 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:49:29 CST)" raised an exception
  1013. Traceback (most recent call last):
  1014. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1015. retval = job.func(*job.args, **job.kwargs)
  1016. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1017. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1018. asyncio.run(sync_knowledge())
  1019. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1020. return runner.run(main)
  1021. ^^^^^^^^^^^^^^^^
  1022. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1023. return self._loop.run_until_complete(task)
  1024. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1025. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1026. return future.result()
  1027. ^^^^^^^^^^^^^^^
  1028. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1029. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1030. ^^^^^^^^
  1031. AttributeError: 'Depends' object has no attribute 'query'
  1032. 2024-11-18 19:49:29,376 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:50:29 CST)" (scheduled at 2024-11-18 19:49:29.360601+08:00)
  1033. 2024-11-18 19:49:29,377 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:50:29 CST)" raised an exception
  1034. Traceback (most recent call last):
  1035. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1036. retval = job.func(*job.args, **job.kwargs)
  1037. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1038. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1039. asyncio.run(sync_knowledge())
  1040. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1041. return runner.run(main)
  1042. ^^^^^^^^^^^^^^^^
  1043. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1044. return self._loop.run_until_complete(task)
  1045. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1046. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1047. return future.result()
  1048. ^^^^^^^^^^^^^^^
  1049. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1050. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1051. ^^^^^^^^
  1052. AttributeError: 'Depends' object has no attribute 'query'
  1053. 2024-11-18 19:50:29,372 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:51:29 CST)" (scheduled at 2024-11-18 19:50:29.360601+08:00)
  1054. 2024-11-18 19:50:29,373 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:51:29 CST)" raised an exception
  1055. Traceback (most recent call last):
  1056. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1057. retval = job.func(*job.args, **job.kwargs)
  1058. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1059. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1060. asyncio.run(sync_knowledge())
  1061. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1062. return runner.run(main)
  1063. ^^^^^^^^^^^^^^^^
  1064. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1065. return self._loop.run_until_complete(task)
  1066. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1067. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1068. return future.result()
  1069. ^^^^^^^^^^^^^^^
  1070. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1071. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1072. ^^^^^^^^
  1073. AttributeError: 'Depends' object has no attribute 'query'
  1074. 2024-11-18 19:51:29,371 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:52:29 CST)" (scheduled at 2024-11-18 19:51:29.360601+08:00)
  1075. 2024-11-18 19:51:29,372 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:52:29 CST)" raised an exception
  1076. Traceback (most recent call last):
  1077. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1078. retval = job.func(*job.args, **job.kwargs)
  1079. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1080. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1081. asyncio.run(sync_knowledge())
  1082. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1083. return runner.run(main)
  1084. ^^^^^^^^^^^^^^^^
  1085. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1086. return self._loop.run_until_complete(task)
  1087. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1088. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1089. return future.result()
  1090. ^^^^^^^^^^^^^^^
  1091. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1092. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1093. ^^^^^^^^
  1094. AttributeError: 'Depends' object has no attribute 'query'
  1095. 2024-11-18 19:52:29,369 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:53:29 CST)" (scheduled at 2024-11-18 19:52:29.360601+08:00)
  1096. 2024-11-18 19:52:29,370 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:53:29 CST)" raised an exception
  1097. Traceback (most recent call last):
  1098. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1099. retval = job.func(*job.args, **job.kwargs)
  1100. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1101. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1102. asyncio.run(sync_knowledge())
  1103. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1104. return runner.run(main)
  1105. ^^^^^^^^^^^^^^^^
  1106. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1107. return self._loop.run_until_complete(task)
  1108. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1109. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1110. return future.result()
  1111. ^^^^^^^^^^^^^^^
  1112. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1113. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1114. ^^^^^^^^
  1115. AttributeError: 'Depends' object has no attribute 'query'
  1116. 2024-11-18 19:53:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:54:29 CST)" (scheduled at 2024-11-18 19:53:29.360601+08:00)
  1117. 2024-11-18 19:53:29,375 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:54:29 CST)" raised an exception
  1118. Traceback (most recent call last):
  1119. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1120. retval = job.func(*job.args, **job.kwargs)
  1121. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1122. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1123. asyncio.run(sync_knowledge())
  1124. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1125. return runner.run(main)
  1126. ^^^^^^^^^^^^^^^^
  1127. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1128. return self._loop.run_until_complete(task)
  1129. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1130. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1131. return future.result()
  1132. ^^^^^^^^^^^^^^^
  1133. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1134. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1135. ^^^^^^^^
  1136. AttributeError: 'Depends' object has no attribute 'query'
  1137. 2024-11-18 19:54:29,369 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:55:29 CST)" (scheduled at 2024-11-18 19:54:29.360601+08:00)
  1138. 2024-11-18 19:54:29,370 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:55:29 CST)" raised an exception
  1139. Traceback (most recent call last):
  1140. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1141. retval = job.func(*job.args, **job.kwargs)
  1142. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1143. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1144. asyncio.run(sync_knowledge())
  1145. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1146. return runner.run(main)
  1147. ^^^^^^^^^^^^^^^^
  1148. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1149. return self._loop.run_until_complete(task)
  1150. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1151. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1152. return future.result()
  1153. ^^^^^^^^^^^^^^^
  1154. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1155. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1156. ^^^^^^^^
  1157. AttributeError: 'Depends' object has no attribute 'query'
  1158. 2024-11-18 19:55:29,369 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:56:29 CST)" (scheduled at 2024-11-18 19:55:29.360601+08:00)
  1159. 2024-11-18 19:55:29,370 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:56:29 CST)" raised an exception
  1160. Traceback (most recent call last):
  1161. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1162. retval = job.func(*job.args, **job.kwargs)
  1163. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1164. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1165. asyncio.run(sync_knowledge())
  1166. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1167. return runner.run(main)
  1168. ^^^^^^^^^^^^^^^^
  1169. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1170. return self._loop.run_until_complete(task)
  1171. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1172. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1173. return future.result()
  1174. ^^^^^^^^^^^^^^^
  1175. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1176. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1177. ^^^^^^^^
  1178. AttributeError: 'Depends' object has no attribute 'query'
  1179. 2024-11-18 19:56:29,374 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:57:29 CST)" (scheduled at 2024-11-18 19:56:29.360601+08:00)
  1180. 2024-11-18 19:56:29,375 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:57:29 CST)" raised an exception
  1181. Traceback (most recent call last):
  1182. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1183. retval = job.func(*job.args, **job.kwargs)
  1184. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1185. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1186. asyncio.run(sync_knowledge())
  1187. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1188. return runner.run(main)
  1189. ^^^^^^^^^^^^^^^^
  1190. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1191. return self._loop.run_until_complete(task)
  1192. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1193. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1194. return future.result()
  1195. ^^^^^^^^^^^^^^^
  1196. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1197. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1198. ^^^^^^^^
  1199. AttributeError: 'Depends' object has no attribute 'query'
  1200. 2024-11-18 19:57:29,365 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:58:29 CST)" (scheduled at 2024-11-18 19:57:29.360601+08:00)
  1201. 2024-11-18 19:57:29,366 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:58:29 CST)" raised an exception
  1202. Traceback (most recent call last):
  1203. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1204. retval = job.func(*job.args, **job.kwargs)
  1205. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1206. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1207. asyncio.run(sync_knowledge())
  1208. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1209. return runner.run(main)
  1210. ^^^^^^^^^^^^^^^^
  1211. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1212. return self._loop.run_until_complete(task)
  1213. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1214. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1215. return future.result()
  1216. ^^^^^^^^^^^^^^^
  1217. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1218. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1219. ^^^^^^^^
  1220. AttributeError: 'Depends' object has no attribute 'query'
  1221. 2024-11-18 19:58:29,361 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:59:29 CST)" (scheduled at 2024-11-18 19:58:29.360601+08:00)
  1222. 2024-11-18 19:58:29,362 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 19:59:29 CST)" raised an exception
  1223. Traceback (most recent call last):
  1224. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1225. retval = job.func(*job.args, **job.kwargs)
  1226. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1227. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1228. asyncio.run(sync_knowledge())
  1229. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1230. return runner.run(main)
  1231. ^^^^^^^^^^^^^^^^
  1232. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1233. return self._loop.run_until_complete(task)
  1234. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1235. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1236. return future.result()
  1237. ^^^^^^^^^^^^^^^
  1238. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1239. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1240. ^^^^^^^^
  1241. AttributeError: 'Depends' object has no attribute 'query'
  1242. 2024-11-18 19:59:29,372 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:00:29 CST)" (scheduled at 2024-11-18 19:59:29.360601+08:00)
  1243. 2024-11-18 19:59:29,373 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:00:29 CST)" raised an exception
  1244. Traceback (most recent call last):
  1245. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1246. retval = job.func(*job.args, **job.kwargs)
  1247. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1248. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1249. asyncio.run(sync_knowledge())
  1250. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1251. return runner.run(main)
  1252. ^^^^^^^^^^^^^^^^
  1253. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1254. return self._loop.run_until_complete(task)
  1255. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1256. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1257. return future.result()
  1258. ^^^^^^^^^^^^^^^
  1259. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1260. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1261. ^^^^^^^^
  1262. AttributeError: 'Depends' object has no attribute 'query'
  1263. 2024-11-18 20:00:29,370 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:01:29 CST)" (scheduled at 2024-11-18 20:00:29.360601+08:00)
  1264. 2024-11-18 20:00:29,371 - base - run_job - line:131 - ERROR -: Job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:01:29 CST)" raised an exception
  1265. Traceback (most recent call last):
  1266. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
  1267. retval = job.func(*job.args, **job.kwargs)
  1268. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1269. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 15, in sync_resource
  1270. asyncio.run(sync_knowledge())
  1271. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 188, in run
  1272. return runner.run(main)
  1273. ^^^^^^^^^^^^^^^^
  1274. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 120, in run
  1275. return self._loop.run_until_complete(task)
  1276. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1277. File "C:\Users\stone\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
  1278. return future.result()
  1279. ^^^^^^^^^^^^^^^
  1280. File "C:\Users\stone\Desktop\workfile\rag-gateway\app\task\sync_resources.py", line 25, in sync_knowledge
  1281. register_app = db.query(AppRegisterModel).filter(AppRegisterModel.status.__eq__(1)).all()
  1282. ^^^^^^^^
  1283. AttributeError: 'Depends' object has no attribute 'query'
  1284. 2024-11-18 20:01:29,375 - base - run_job - line:123 - INFO -: Running job "sync_resource (trigger: interval[0:01:00], next run at: 2024-11-18 20:02:29 CST)" (scheduled at 2024-11-18 20:01:29.360601+08:00)