log.log.3 98 KB

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