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