server.log 314 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451
  1. [2025-02-27 19:25:06,762][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
  2. Traceback (most recent call last):
  3. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  4. return self.cursor.execute(sql, params)
  5. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  6. return Database.Cursor.execute(self, query, params)
  7. sqlite3.OperationalError: no such table: warehouse
  8. The above exception was the direct cause of the following exception:
  9. Traceback (most recent call last):
  10. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  11. raise exc_info[1]
  12. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  13. response = await get_response(request)
  14. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  15. response = await wrapped_callback(
  16. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  17. ret = await asyncio.wait_for(future, timeout=None)
  18. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  19. return await fut
  20. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  21. result = self.fn(*self.args, **self.kwargs)
  22. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  23. return func(*args, **kwargs)
  24. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  25. return view_func(*args, **kwargs)
  26. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  27. return self.dispatch(request, *args, **kwargs)
  28. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  29. response = self.handle_exception(exc)
  30. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  31. self.raise_uncaught_exception(exc)
  32. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  33. raise exc
  34. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  35. response = handler(request, *args, **kwargs)
  36. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  37. page = self.paginate_queryset(queryset)
  38. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  39. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  40. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
  41. self.page = paginator.page(page_number)
  42. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
  43. number = self.validate_number(number)
  44. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
  45. if number > self.num_pages:
  46. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  47. res = instance.__dict__[self.name] = self.func(instance)
  48. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
  49. if self.count == 0 and not self.allow_empty_first_page:
  50. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  51. res = instance.__dict__[self.name] = self.func(instance)
  52. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
  53. return c()
  54. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
  55. return self.query.get_count(using=self.db)
  56. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
  57. return obj.get_aggregation(using, ["__count"])["__count"]
  58. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
  59. result = compiler.execute_sql(SINGLE)
  60. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  61. cursor.execute(sql, params)
  62. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  63. return super().execute(sql, params)
  64. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  65. return self._execute_with_wrappers(
  66. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  67. return executor(sql, params, many, context)
  68. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  69. with self.db.wrap_database_errors:
  70. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  71. raise dj_exc_value.with_traceback(traceback) from exc_value
  72. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  73. return self.cursor.execute(sql, params)
  74. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  75. return Database.Cursor.execute(self, query, params)
  76. django.db.utils.OperationalError: no such table: warehouse
  77. [2025-02-27 19:25:13,560][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
  78. Traceback (most recent call last):
  79. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  80. return self.cursor.execute(sql, params)
  81. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  82. return Database.Cursor.execute(self, query, params)
  83. sqlite3.OperationalError: no such table: warehouse
  84. The above exception was the direct cause of the following exception:
  85. Traceback (most recent call last):
  86. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  87. raise exc_info[1]
  88. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  89. response = await get_response(request)
  90. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  91. response = await wrapped_callback(
  92. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  93. ret = await asyncio.wait_for(future, timeout=None)
  94. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  95. return await fut
  96. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  97. result = self.fn(*self.args, **self.kwargs)
  98. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  99. return func(*args, **kwargs)
  100. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  101. return view_func(*args, **kwargs)
  102. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  103. return self.dispatch(request, *args, **kwargs)
  104. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  105. response = self.handle_exception(exc)
  106. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  107. self.raise_uncaught_exception(exc)
  108. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  109. raise exc
  110. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  111. response = handler(request, *args, **kwargs)
  112. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  113. page = self.paginate_queryset(queryset)
  114. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  115. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  116. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
  117. self.page = paginator.page(page_number)
  118. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
  119. number = self.validate_number(number)
  120. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
  121. if number > self.num_pages:
  122. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  123. res = instance.__dict__[self.name] = self.func(instance)
  124. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
  125. if self.count == 0 and not self.allow_empty_first_page:
  126. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  127. res = instance.__dict__[self.name] = self.func(instance)
  128. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
  129. return c()
  130. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
  131. return self.query.get_count(using=self.db)
  132. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
  133. return obj.get_aggregation(using, ["__count"])["__count"]
  134. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
  135. result = compiler.execute_sql(SINGLE)
  136. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  137. cursor.execute(sql, params)
  138. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  139. return super().execute(sql, params)
  140. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  141. return self._execute_with_wrappers(
  142. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  143. return executor(sql, params, many, context)
  144. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  145. with self.db.wrap_database_errors:
  146. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  147. raise dj_exc_value.with_traceback(traceback) from exc_value
  148. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  149. return self.cursor.execute(sql, params)
  150. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  151. return Database.Cursor.execute(self, query, params)
  152. django.db.utils.OperationalError: no such table: warehouse
  153. [2025-02-28 10:56:42,709][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
  154. Traceback (most recent call last):
  155. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  156. return self.cursor.execute(sql, params)
  157. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  158. return Database.Cursor.execute(self, query, params)
  159. sqlite3.OperationalError: no such table: warehouse
  160. The above exception was the direct cause of the following exception:
  161. Traceback (most recent call last):
  162. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  163. raise exc_info[1]
  164. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  165. response = await get_response(request)
  166. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  167. response = await wrapped_callback(
  168. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  169. ret = await asyncio.wait_for(future, timeout=None)
  170. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  171. return await fut
  172. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  173. result = self.fn(*self.args, **self.kwargs)
  174. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  175. return func(*args, **kwargs)
  176. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  177. return view_func(*args, **kwargs)
  178. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  179. return self.dispatch(request, *args, **kwargs)
  180. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  181. response = self.handle_exception(exc)
  182. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  183. self.raise_uncaught_exception(exc)
  184. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  185. raise exc
  186. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  187. response = handler(request, *args, **kwargs)
  188. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  189. page = self.paginate_queryset(queryset)
  190. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  191. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  192. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
  193. self.page = paginator.page(page_number)
  194. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
  195. number = self.validate_number(number)
  196. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
  197. if number > self.num_pages:
  198. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  199. res = instance.__dict__[self.name] = self.func(instance)
  200. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
  201. if self.count == 0 and not self.allow_empty_first_page:
  202. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  203. res = instance.__dict__[self.name] = self.func(instance)
  204. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
  205. return c()
  206. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
  207. return self.query.get_count(using=self.db)
  208. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
  209. return obj.get_aggregation(using, ["__count"])["__count"]
  210. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
  211. result = compiler.execute_sql(SINGLE)
  212. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  213. cursor.execute(sql, params)
  214. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  215. return super().execute(sql, params)
  216. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  217. return self._execute_with_wrappers(
  218. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  219. return executor(sql, params, many, context)
  220. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  221. with self.db.wrap_database_errors:
  222. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  223. raise dj_exc_value.with_traceback(traceback) from exc_value
  224. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  225. return self.cursor.execute(sql, params)
  226. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  227. return Database.Cursor.execute(self, query, params)
  228. django.db.utils.OperationalError: no such table: warehouse
  229. [2025-02-28 10:59:12,958][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
  230. Traceback (most recent call last):
  231. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  232. return self.cursor.execute(sql, params)
  233. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  234. return Database.Cursor.execute(self, query, params)
  235. sqlite3.OperationalError: no such table: warehouse
  236. The above exception was the direct cause of the following exception:
  237. Traceback (most recent call last):
  238. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  239. raise exc_info[1]
  240. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  241. response = await get_response(request)
  242. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  243. response = await wrapped_callback(
  244. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  245. ret = await asyncio.wait_for(future, timeout=None)
  246. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  247. return await fut
  248. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  249. result = self.fn(*self.args, **self.kwargs)
  250. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  251. return func(*args, **kwargs)
  252. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  253. return view_func(*args, **kwargs)
  254. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  255. return self.dispatch(request, *args, **kwargs)
  256. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  257. response = self.handle_exception(exc)
  258. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  259. self.raise_uncaught_exception(exc)
  260. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  261. raise exc
  262. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  263. response = handler(request, *args, **kwargs)
  264. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  265. page = self.paginate_queryset(queryset)
  266. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  267. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  268. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
  269. self.page = paginator.page(page_number)
  270. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
  271. number = self.validate_number(number)
  272. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
  273. if number > self.num_pages:
  274. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  275. res = instance.__dict__[self.name] = self.func(instance)
  276. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
  277. if self.count == 0 and not self.allow_empty_first_page:
  278. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  279. res = instance.__dict__[self.name] = self.func(instance)
  280. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
  281. return c()
  282. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
  283. return self.query.get_count(using=self.db)
  284. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
  285. return obj.get_aggregation(using, ["__count"])["__count"]
  286. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
  287. result = compiler.execute_sql(SINGLE)
  288. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  289. cursor.execute(sql, params)
  290. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  291. return super().execute(sql, params)
  292. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  293. return self._execute_with_wrappers(
  294. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  295. return executor(sql, params, many, context)
  296. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  297. with self.db.wrap_database_errors:
  298. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  299. raise dj_exc_value.with_traceback(traceback) from exc_value
  300. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  301. return self.cursor.execute(sql, params)
  302. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  303. return Database.Cursor.execute(self, query, params)
  304. django.db.utils.OperationalError: no such table: warehouse
  305. [2025-02-28 10:59:24,215][django.request.log_response():241] [ERROR] Internal Server Error: /register/
  306. Traceback (most recent call last):
  307. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  308. return self.cursor.execute(sql, params)
  309. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  310. return Database.Cursor.execute(self, query, params)
  311. sqlite3.OperationalError: no such table: user_profile
  312. The above exception was the direct cause of the following exception:
  313. Traceback (most recent call last):
  314. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  315. raise exc_info[1]
  316. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  317. response = await get_response(request)
  318. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  319. response = await wrapped_callback(
  320. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  321. ret = await asyncio.wait_for(future, timeout=None)
  322. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  323. return await fut
  324. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  325. result = self.fn(*self.args, **self.kwargs)
  326. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  327. return func(*args, **kwargs)
  328. File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
  329. return bound_method(*args, **kwargs)
  330. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  331. return view_func(*args, **kwargs)
  332. File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
  333. if Users.objects.filter(name=str(data['name']), developer=1, is_delete=0).exists():
  334. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
  335. return self.query.has_results(using=self.db)
  336. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
  337. return compiler.has_results()
  338. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
  339. return bool(self.execute_sql(SINGLE))
  340. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  341. cursor.execute(sql, params)
  342. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  343. return super().execute(sql, params)
  344. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  345. return self._execute_with_wrappers(
  346. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  347. return executor(sql, params, many, context)
  348. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  349. with self.db.wrap_database_errors:
  350. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  351. raise dj_exc_value.with_traceback(traceback) from exc_value
  352. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  353. return self.cursor.execute(sql, params)
  354. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  355. return Database.Cursor.execute(self, query, params)
  356. django.db.utils.OperationalError: no such table: user_profile
  357. [2025-02-28 11:06:01,105][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
  358. Traceback (most recent call last):
  359. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  360. return self.cursor.execute(sql, params)
  361. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  362. return Database.Cursor.execute(self, query, params)
  363. sqlite3.OperationalError: no such table: warehouse
  364. The above exception was the direct cause of the following exception:
  365. Traceback (most recent call last):
  366. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  367. raise exc_info[1]
  368. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  369. response = await get_response(request)
  370. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  371. response = await wrapped_callback(
  372. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  373. ret = await asyncio.wait_for(future, timeout=None)
  374. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  375. return await fut
  376. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  377. result = self.fn(*self.args, **self.kwargs)
  378. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  379. return func(*args, **kwargs)
  380. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  381. return view_func(*args, **kwargs)
  382. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  383. return self.dispatch(request, *args, **kwargs)
  384. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  385. response = self.handle_exception(exc)
  386. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  387. self.raise_uncaught_exception(exc)
  388. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  389. raise exc
  390. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  391. response = handler(request, *args, **kwargs)
  392. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  393. page = self.paginate_queryset(queryset)
  394. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  395. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  396. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
  397. self.page = paginator.page(page_number)
  398. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
  399. number = self.validate_number(number)
  400. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
  401. if number > self.num_pages:
  402. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  403. res = instance.__dict__[self.name] = self.func(instance)
  404. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
  405. if self.count == 0 and not self.allow_empty_first_page:
  406. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  407. res = instance.__dict__[self.name] = self.func(instance)
  408. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
  409. return c()
  410. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
  411. return self.query.get_count(using=self.db)
  412. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
  413. return obj.get_aggregation(using, ["__count"])["__count"]
  414. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
  415. result = compiler.execute_sql(SINGLE)
  416. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  417. cursor.execute(sql, params)
  418. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  419. return super().execute(sql, params)
  420. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  421. return self._execute_with_wrappers(
  422. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  423. return executor(sql, params, many, context)
  424. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  425. with self.db.wrap_database_errors:
  426. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  427. raise dj_exc_value.with_traceback(traceback) from exc_value
  428. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  429. return self.cursor.execute(sql, params)
  430. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  431. return Database.Cursor.execute(self, query, params)
  432. django.db.utils.OperationalError: no such table: warehouse
  433. [2025-02-28 11:06:36,929][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
  434. Traceback (most recent call last):
  435. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  436. return self.cursor.execute(sql, params)
  437. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  438. return Database.Cursor.execute(self, query, params)
  439. sqlite3.OperationalError: no such table: warehouse
  440. The above exception was the direct cause of the following exception:
  441. Traceback (most recent call last):
  442. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  443. raise exc_info[1]
  444. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  445. response = await get_response(request)
  446. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  447. response = await wrapped_callback(
  448. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  449. ret = await asyncio.wait_for(future, timeout=None)
  450. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  451. return await fut
  452. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  453. result = self.fn(*self.args, **self.kwargs)
  454. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  455. return func(*args, **kwargs)
  456. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  457. return view_func(*args, **kwargs)
  458. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  459. return self.dispatch(request, *args, **kwargs)
  460. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  461. response = self.handle_exception(exc)
  462. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  463. self.raise_uncaught_exception(exc)
  464. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  465. raise exc
  466. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  467. response = handler(request, *args, **kwargs)
  468. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  469. page = self.paginate_queryset(queryset)
  470. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  471. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  472. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
  473. self.page = paginator.page(page_number)
  474. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
  475. number = self.validate_number(number)
  476. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
  477. if number > self.num_pages:
  478. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  479. res = instance.__dict__[self.name] = self.func(instance)
  480. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
  481. if self.count == 0 and not self.allow_empty_first_page:
  482. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  483. res = instance.__dict__[self.name] = self.func(instance)
  484. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
  485. return c()
  486. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
  487. return self.query.get_count(using=self.db)
  488. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
  489. return obj.get_aggregation(using, ["__count"])["__count"]
  490. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
  491. result = compiler.execute_sql(SINGLE)
  492. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  493. cursor.execute(sql, params)
  494. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  495. return super().execute(sql, params)
  496. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  497. return self._execute_with_wrappers(
  498. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  499. return executor(sql, params, many, context)
  500. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  501. with self.db.wrap_database_errors:
  502. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  503. raise dj_exc_value.with_traceback(traceback) from exc_value
  504. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  505. return self.cursor.execute(sql, params)
  506. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  507. return Database.Cursor.execute(self, query, params)
  508. django.db.utils.OperationalError: no such table: warehouse
  509. [2025-02-28 11:09:28,852][django.request.log_response():241] [ERROR] Internal Server Error: /register/
  510. Traceback (most recent call last):
  511. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  512. return self.cursor.execute(sql, params)
  513. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  514. return Database.Cursor.execute(self, query, params)
  515. sqlite3.OperationalError: no such table: user_profile
  516. The above exception was the direct cause of the following exception:
  517. Traceback (most recent call last):
  518. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  519. raise exc_info[1]
  520. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  521. response = await get_response(request)
  522. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  523. response = await wrapped_callback(
  524. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  525. ret = await asyncio.wait_for(future, timeout=None)
  526. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  527. return await fut
  528. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  529. result = self.fn(*self.args, **self.kwargs)
  530. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  531. return func(*args, **kwargs)
  532. File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
  533. return bound_method(*args, **kwargs)
  534. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  535. return view_func(*args, **kwargs)
  536. File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
  537. if Users.objects.filter(name=str(data['name']), developer=1, is_delete=0).exists():
  538. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
  539. return self.query.has_results(using=self.db)
  540. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
  541. return compiler.has_results()
  542. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
  543. return bool(self.execute_sql(SINGLE))
  544. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  545. cursor.execute(sql, params)
  546. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  547. return super().execute(sql, params)
  548. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  549. return self._execute_with_wrappers(
  550. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  551. return executor(sql, params, many, context)
  552. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  553. with self.db.wrap_database_errors:
  554. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  555. raise dj_exc_value.with_traceback(traceback) from exc_value
  556. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  557. return self.cursor.execute(sql, params)
  558. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  559. return Database.Cursor.execute(self, query, params)
  560. django.db.utils.OperationalError: no such table: user_profile
  561. [2025-02-28 11:10:28,041][django.request.log_response():241] [ERROR] Internal Server Error: /register/
  562. Traceback (most recent call last):
  563. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  564. return self.cursor.execute(sql, params)
  565. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  566. return Database.Cursor.execute(self, query, params)
  567. sqlite3.OperationalError: no such table: user_profile
  568. The above exception was the direct cause of the following exception:
  569. Traceback (most recent call last):
  570. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  571. raise exc_info[1]
  572. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  573. response = await get_response(request)
  574. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  575. response = await wrapped_callback(
  576. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  577. ret = await asyncio.wait_for(future, timeout=None)
  578. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  579. return await fut
  580. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  581. result = self.fn(*self.args, **self.kwargs)
  582. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  583. return func(*args, **kwargs)
  584. File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
  585. return bound_method(*args, **kwargs)
  586. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  587. return view_func(*args, **kwargs)
  588. File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
  589. if Users.objects.filter(name=str(data['name']), developer=1, is_delete=0).exists():
  590. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
  591. return self.query.has_results(using=self.db)
  592. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
  593. return compiler.has_results()
  594. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
  595. return bool(self.execute_sql(SINGLE))
  596. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  597. cursor.execute(sql, params)
  598. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  599. return super().execute(sql, params)
  600. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  601. return self._execute_with_wrappers(
  602. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  603. return executor(sql, params, many, context)
  604. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  605. with self.db.wrap_database_errors:
  606. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  607. raise dj_exc_value.with_traceback(traceback) from exc_value
  608. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  609. return self.cursor.execute(sql, params)
  610. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  611. return Database.Cursor.execute(self, query, params)
  612. django.db.utils.OperationalError: no such table: user_profile
  613. [2025-02-28 11:22:16,975][django.request.log_response():241] [ERROR] Internal Server Error: /register/
  614. Traceback (most recent call last):
  615. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  616. return self.cursor.execute(sql, params)
  617. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  618. return Database.Cursor.execute(self, query, params)
  619. sqlite3.OperationalError: no such table: user_profile
  620. The above exception was the direct cause of the following exception:
  621. Traceback (most recent call last):
  622. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  623. raise exc_info[1]
  624. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  625. response = await get_response(request)
  626. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  627. response = await wrapped_callback(
  628. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  629. ret = await asyncio.wait_for(future, timeout=None)
  630. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  631. return await fut
  632. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  633. result = self.fn(*self.args, **self.kwargs)
  634. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  635. return func(*args, **kwargs)
  636. File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
  637. return bound_method(*args, **kwargs)
  638. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  639. return view_func(*args, **kwargs)
  640. File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
  641. # 检查是否存在名为 data['name'] 的开发者用户且未被删除
  642. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
  643. return self.query.has_results(using=self.db)
  644. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
  645. return compiler.has_results()
  646. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
  647. return bool(self.execute_sql(SINGLE))
  648. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  649. cursor.execute(sql, params)
  650. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  651. return super().execute(sql, params)
  652. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  653. return self._execute_with_wrappers(
  654. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  655. return executor(sql, params, many, context)
  656. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  657. with self.db.wrap_database_errors:
  658. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  659. raise dj_exc_value.with_traceback(traceback) from exc_value
  660. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  661. return self.cursor.execute(sql, params)
  662. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  663. return Database.Cursor.execute(self, query, params)
  664. django.db.utils.OperationalError: no such table: user_profile
  665. [2025-02-28 11:22:22,226][django.request.log_response():241] [ERROR] Internal Server Error: /register/
  666. Traceback (most recent call last):
  667. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  668. return self.cursor.execute(sql, params)
  669. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  670. return Database.Cursor.execute(self, query, params)
  671. sqlite3.OperationalError: no such table: user_profile
  672. The above exception was the direct cause of the following exception:
  673. Traceback (most recent call last):
  674. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  675. raise exc_info[1]
  676. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  677. response = await get_response(request)
  678. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  679. response = await wrapped_callback(
  680. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  681. ret = await asyncio.wait_for(future, timeout=None)
  682. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  683. return await fut
  684. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  685. result = self.fn(*self.args, **self.kwargs)
  686. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  687. return func(*args, **kwargs)
  688. File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
  689. return bound_method(*args, **kwargs)
  690. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  691. return view_func(*args, **kwargs)
  692. File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
  693. # 检查是否存在名为 data['name'] 的开发者用户且未被删除
  694. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
  695. return self.query.has_results(using=self.db)
  696. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
  697. return compiler.has_results()
  698. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
  699. return bool(self.execute_sql(SINGLE))
  700. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  701. cursor.execute(sql, params)
  702. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  703. return super().execute(sql, params)
  704. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  705. return self._execute_with_wrappers(
  706. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  707. return executor(sql, params, many, context)
  708. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  709. with self.db.wrap_database_errors:
  710. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  711. raise dj_exc_value.with_traceback(traceback) from exc_value
  712. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  713. return self.cursor.execute(sql, params)
  714. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  715. return Database.Cursor.execute(self, query, params)
  716. django.db.utils.OperationalError: no such table: user_profile
  717. [2025-02-28 11:24:32,849][django.request.log_response():241] [ERROR] Internal Server Error: /register/
  718. Traceback (most recent call last):
  719. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  720. return self.cursor.execute(sql, params)
  721. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  722. return Database.Cursor.execute(self, query, params)
  723. sqlite3.OperationalError: no such table: user_profile
  724. The above exception was the direct cause of the following exception:
  725. Traceback (most recent call last):
  726. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  727. raise exc_info[1]
  728. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  729. response = await get_response(request)
  730. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  731. response = await wrapped_callback(
  732. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  733. ret = await asyncio.wait_for(future, timeout=None)
  734. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  735. return await fut
  736. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  737. result = self.fn(*self.args, **self.kwargs)
  738. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  739. return func(*args, **kwargs)
  740. File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
  741. return bound_method(*args, **kwargs)
  742. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  743. return view_func(*args, **kwargs)
  744. File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
  745. # 检查是否存在名为 data['name'] 的开发者用户且未被删除
  746. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
  747. return self.query.has_results(using=self.db)
  748. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
  749. return compiler.has_results()
  750. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
  751. return bool(self.execute_sql(SINGLE))
  752. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  753. cursor.execute(sql, params)
  754. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  755. return super().execute(sql, params)
  756. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  757. return self._execute_with_wrappers(
  758. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  759. return executor(sql, params, many, context)
  760. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  761. with self.db.wrap_database_errors:
  762. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  763. raise dj_exc_value.with_traceback(traceback) from exc_value
  764. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  765. return self.cursor.execute(sql, params)
  766. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  767. return Database.Cursor.execute(self, query, params)
  768. django.db.utils.OperationalError: no such table: user_profile
  769. [2025-02-28 15:21:53,672][django.security.SuspiciousSession.decode():108] [WARNING] Session data corrupted
  770. [2025-02-28 20:51:02,628][django.security.SuspiciousSession.decode():108] [WARNING] Session data corrupted
  771. [2025-02-28 22:30:32,193][django.security.SuspiciousSession.decode():108] [WARNING] Session data corrupted
  772. [2025-02-28 23:10:38,459][django.request.log_response():241] [WARNING] Not Found: /stock/stockbinlist
  773. [2025-02-28 23:11:22,350][django.request.log_response():241] [WARNING] Not Found: /stock/emptybin
  774. [2025-03-01 13:13:22,891][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/
  775. Traceback (most recent call last):
  776. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  777. raise exc_info[1]
  778. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  779. response = await get_response(request)
  780. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  781. response = await wrapped_callback(
  782. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  783. ret = await asyncio.wait_for(future, timeout=None)
  784. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  785. return await fut
  786. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  787. result = self.fn(*self.args, **self.kwargs)
  788. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  789. return func(*args, **kwargs)
  790. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  791. return view_func(*args, **kwargs)
  792. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  793. return self.dispatch(request, *args, **kwargs)
  794. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  795. response = self.handle_exception(exc)
  796. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  797. self.raise_uncaught_exception(exc)
  798. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  799. raise exc
  800. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  801. response = handler(request, *args, **kwargs)
  802. File "/home/flower/code/vue_ws/greater_wms/./warehouse/views.py", line 69, in create
  803. def create(self, request, *args, **kwargs):
  804. KeyError: 'warehouse_name'
  805. [2025-03-01 13:19:06,717][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/
  806. Traceback (most recent call last):
  807. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  808. raise exc_info[1]
  809. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  810. response = await get_response(request)
  811. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  812. response = await wrapped_callback(
  813. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  814. ret = await asyncio.wait_for(future, timeout=None)
  815. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  816. return await fut
  817. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  818. result = self.fn(*self.args, **self.kwargs)
  819. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  820. return func(*args, **kwargs)
  821. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  822. return view_func(*args, **kwargs)
  823. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  824. return self.dispatch(request, *args, **kwargs)
  825. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  826. response = self.handle_exception(exc)
  827. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  828. self.raise_uncaught_exception(exc)
  829. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  830. raise exc
  831. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  832. response = handler(request, *args, **kwargs)
  833. File "/home/flower/code/vue_ws/greater_wms/./warehouse/views.py", line 68, in create
  834. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  835. self._assert_mutable()
  836. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  837. raise AttributeError("This QueryDict instance is immutable")
  838. AttributeError: This QueryDict instance is immutable
  839. [2025-03-01 13:33:37,542][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/
  840. Traceback (most recent call last):
  841. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  842. raise exc_info[1]
  843. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  844. response = await get_response(request)
  845. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  846. response = await wrapped_callback(
  847. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  848. ret = await asyncio.wait_for(future, timeout=None)
  849. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  850. return await fut
  851. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  852. result = self.fn(*self.args, **self.kwargs)
  853. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  854. return func(*args, **kwargs)
  855. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  856. return view_func(*args, **kwargs)
  857. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  858. return self.dispatch(request, *args, **kwargs)
  859. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  860. response = self.handle_exception(exc)
  861. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  862. self.raise_uncaught_exception(exc)
  863. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  864. raise exc
  865. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  866. response = handler(request, *args, **kwargs)
  867. File "/home/flower/code/vue_ws/greater_wms/./warehouse/views.py", line 68, in create
  868. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  869. self._assert_mutable()
  870. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  871. raise AttributeError("This QueryDict instance is immutable")
  872. AttributeError: This QueryDict instance is immutable
  873. [2025-03-01 14:18:07,094][django.request.log_response():241] [WARNING] Not Found: /warehouse_1/
  874. [2025-03-10 19:59:30,989][django.request.log_response():241] [WARNING] Not Found: /dashboard/
  875. [2025-03-10 19:59:34,904][django.request.log_response():241] [WARNING] Not Found: /dashboard/
  876. [2025-03-12 15:23:43,311][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  877. [2025-03-12 15:23:45,231][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  878. [2025-03-12 15:23:45,234][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  879. [2025-03-12 15:23:51,359][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  880. [2025-03-12 15:23:52,259][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  881. [2025-03-12 15:23:52,275][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  882. [2025-03-12 15:24:03,304][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  883. [2025-03-12 15:24:03,313][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  884. [2025-03-12 15:24:22,409][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  885. [2025-03-12 15:24:22,424][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  886. [2025-03-12 15:24:57,499][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  887. [2025-03-12 15:24:58,923][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
  888. [2025-03-12 20:51:21,094][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  889. [2025-03-12 20:52:08,884][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  890. [2025-03-12 20:52:20,960][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  891. [2025-03-12 22:37:39,830][django.request.log_response():241] [WARNING] Not Found: /binset/
  892. [2025-03-12 22:37:44,179][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  893. [2025-03-13 10:50:38,257][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  894. [2025-03-13 10:56:25,952][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  895. [2025-03-13 10:57:23,167][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  896. [2025-03-13 10:58:01,494][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  897. [2025-03-13 11:01:20,743][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  898. [2025-03-13 11:07:09,331][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  899. [2025-03-13 11:07:16,578][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  900. [2025-03-13 21:36:36,576][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  901. [2025-03-13 21:36:39,157][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  902. [2025-03-13 21:36:42,406][django.request.log_response():241] [WARNING] Not Found: /warehouse/
  903. [2025-03-13 21:36:48,663][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  904. [2025-03-13 21:37:04,044][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  905. [2025-03-13 21:37:21,724][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  906. [2025-03-13 21:38:03,849][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  907. [2025-03-13 21:43:05,840][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  908. [2025-03-13 22:01:36,666][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  909. [2025-03-13 22:01:50,931][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  910. [2025-03-13 22:04:07,813][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  911. [2025-03-13 22:04:31,578][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  912. [2025-03-13 22:06:59,285][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  913. [2025-03-13 22:12:25,717][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  914. [2025-03-13 22:12:37,838][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  915. [2025-03-13 22:30:50,626][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  916. [2025-03-13 22:30:55,264][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  917. [2025-03-13 22:30:59,647][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  918. [2025-03-13 22:31:26,119][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  919. Traceback (most recent call last):
  920. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  921. raise exc_info[1]
  922. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  923. response = await get_response(request)
  924. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  925. response = await wrapped_callback(
  926. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  927. ret = await asyncio.wait_for(future, timeout=None)
  928. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  929. return await fut
  930. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  931. result = self.fn(*self.args, **self.kwargs)
  932. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  933. return func(*args, **kwargs)
  934. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  935. return view_func(*args, **kwargs)
  936. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  937. return self.dispatch(request, *args, **kwargs)
  938. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  939. response = self.handle_exception(exc)
  940. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  941. self.raise_uncaught_exception(exc)
  942. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  943. raise exc
  944. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  945. response = handler(request, *args, **kwargs)
  946. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 119, in create
  947. check_code = random.randint(1000, 9999)
  948. NameError: name 'random' is not defined
  949. [2025-03-13 22:31:34,462][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  950. Traceback (most recent call last):
  951. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  952. raise exc_info[1]
  953. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  954. response = await get_response(request)
  955. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  956. response = await wrapped_callback(
  957. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  958. ret = await asyncio.wait_for(future, timeout=None)
  959. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  960. return await fut
  961. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  962. result = self.fn(*self.args, **self.kwargs)
  963. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  964. return func(*args, **kwargs)
  965. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  966. return view_func(*args, **kwargs)
  967. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  968. return self.dispatch(request, *args, **kwargs)
  969. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  970. response = self.handle_exception(exc)
  971. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  972. self.raise_uncaught_exception(exc)
  973. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  974. raise exc
  975. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  976. response = handler(request, *args, **kwargs)
  977. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 119, in create
  978. check_code = random.randint(1000, 9999)
  979. NameError: name 'random' is not defined
  980. [2025-03-13 22:32:16,714][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  981. Traceback (most recent call last):
  982. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  983. raise exc_info[1]
  984. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  985. response = await get_response(request)
  986. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  987. response = await wrapped_callback(
  988. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  989. ret = await asyncio.wait_for(future, timeout=None)
  990. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  991. return await fut
  992. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  993. result = self.fn(*self.args, **self.kwargs)
  994. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  995. return func(*args, **kwargs)
  996. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  997. return view_func(*args, **kwargs)
  998. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  999. return self.dispatch(request, *args, **kwargs)
  1000. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1001. response = self.handle_exception(exc)
  1002. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1003. self.raise_uncaught_exception(exc)
  1004. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1005. raise exc
  1006. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1007. response = handler(request, *args, **kwargs)
  1008. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 119, in create
  1009. check_code = random.randint(1000, 9999)
  1010. NameError: name 'random' is not defined
  1011. [2025-03-13 22:33:09,371][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1012. Traceback (most recent call last):
  1013. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1014. raise exc_info[1]
  1015. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1016. response = await get_response(request)
  1017. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1018. response = await wrapped_callback(
  1019. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1020. ret = await asyncio.wait_for(future, timeout=None)
  1021. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1022. return await fut
  1023. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1024. result = self.fn(*self.args, **self.kwargs)
  1025. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1026. return func(*args, **kwargs)
  1027. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1028. return view_func(*args, **kwargs)
  1029. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1030. return self.dispatch(request, *args, **kwargs)
  1031. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1032. response = self.handle_exception(exc)
  1033. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1034. self.raise_uncaught_exception(exc)
  1035. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1036. raise exc
  1037. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1038. response = handler(request, *args, **kwargs)
  1039. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 120, in create
  1040. staff.objects.create(staff_name=str(data['staff_name']),
  1041. NameError: name 'staff' is not defined
  1042. [2025-03-13 22:33:12,904][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1043. Traceback (most recent call last):
  1044. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1045. raise exc_info[1]
  1046. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1047. response = await get_response(request)
  1048. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1049. response = await wrapped_callback(
  1050. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1051. ret = await asyncio.wait_for(future, timeout=None)
  1052. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1053. return await fut
  1054. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1055. result = self.fn(*self.args, **self.kwargs)
  1056. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1057. return func(*args, **kwargs)
  1058. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1059. return view_func(*args, **kwargs)
  1060. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1061. return self.dispatch(request, *args, **kwargs)
  1062. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1063. response = self.handle_exception(exc)
  1064. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1065. self.raise_uncaught_exception(exc)
  1066. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1067. raise exc
  1068. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1069. response = handler(request, *args, **kwargs)
  1070. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 120, in create
  1071. staff.objects.create(staff_name=str(data['staff_name']),
  1072. NameError: name 'staff' is not defined
  1073. [2025-03-14 10:06:47,430][django.request.log_response():241] [WARNING] Not Found: /staff/1/get
  1074. [2025-03-14 11:25:14,368][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1075. Traceback (most recent call last):
  1076. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1077. return self.cursor.execute(sql, params)
  1078. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1079. return Database.Cursor.execute(self, query, params)
  1080. sqlite3.OperationalError: no such column: staff.group_id
  1081. The above exception was the direct cause of the following exception:
  1082. Traceback (most recent call last):
  1083. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1084. raise exc_info[1]
  1085. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1086. response = await get_response(request)
  1087. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1088. response = await wrapped_callback(
  1089. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1090. ret = await asyncio.wait_for(future, timeout=None)
  1091. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1092. return await fut
  1093. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1094. result = self.fn(*self.args, **self.kwargs)
  1095. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1096. return func(*args, **kwargs)
  1097. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1098. return view_func(*args, **kwargs)
  1099. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1100. return self.dispatch(request, *args, **kwargs)
  1101. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1102. response = self.handle_exception(exc)
  1103. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1104. self.raise_uncaught_exception(exc)
  1105. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1106. raise exc
  1107. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1108. response = handler(request, *args, **kwargs)
  1109. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
  1110. return super().list(request, *args, **kwargs)
  1111. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  1112. page = self.paginate_queryset(queryset)
  1113. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  1114. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  1115. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
  1116. return list(self.page)
  1117. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
  1118. return len(self.object_list)
  1119. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
  1120. self._fetch_all()
  1121. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
  1122. self._result_cache = list(self._iterable_class(self))
  1123. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
  1124. results = compiler.execute_sql(
  1125. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  1126. cursor.execute(sql, params)
  1127. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  1128. return super().execute(sql, params)
  1129. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  1130. return self._execute_with_wrappers(
  1131. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  1132. return executor(sql, params, many, context)
  1133. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  1134. with self.db.wrap_database_errors:
  1135. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  1136. raise dj_exc_value.with_traceback(traceback) from exc_value
  1137. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1138. return self.cursor.execute(sql, params)
  1139. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1140. return Database.Cursor.execute(self, query, params)
  1141. django.db.utils.OperationalError: no such column: staff.group_id
  1142. [2025-03-14 11:25:18,672][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1143. Traceback (most recent call last):
  1144. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1145. return self.cursor.execute(sql, params)
  1146. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1147. return Database.Cursor.execute(self, query, params)
  1148. sqlite3.OperationalError: no such column: staff.group_id
  1149. The above exception was the direct cause of the following exception:
  1150. Traceback (most recent call last):
  1151. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1152. raise exc_info[1]
  1153. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1154. response = await get_response(request)
  1155. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1156. response = await wrapped_callback(
  1157. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1158. ret = await asyncio.wait_for(future, timeout=None)
  1159. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1160. return await fut
  1161. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1162. result = self.fn(*self.args, **self.kwargs)
  1163. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1164. return func(*args, **kwargs)
  1165. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1166. return view_func(*args, **kwargs)
  1167. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1168. return self.dispatch(request, *args, **kwargs)
  1169. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1170. response = self.handle_exception(exc)
  1171. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1172. self.raise_uncaught_exception(exc)
  1173. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1174. raise exc
  1175. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1176. response = handler(request, *args, **kwargs)
  1177. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
  1178. return super().list(request, *args, **kwargs)
  1179. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  1180. page = self.paginate_queryset(queryset)
  1181. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  1182. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  1183. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
  1184. return list(self.page)
  1185. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
  1186. return len(self.object_list)
  1187. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
  1188. self._fetch_all()
  1189. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
  1190. self._result_cache = list(self._iterable_class(self))
  1191. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
  1192. results = compiler.execute_sql(
  1193. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  1194. cursor.execute(sql, params)
  1195. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  1196. return super().execute(sql, params)
  1197. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  1198. return self._execute_with_wrappers(
  1199. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  1200. return executor(sql, params, many, context)
  1201. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  1202. with self.db.wrap_database_errors:
  1203. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  1204. raise dj_exc_value.with_traceback(traceback) from exc_value
  1205. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1206. return self.cursor.execute(sql, params)
  1207. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1208. return Database.Cursor.execute(self, query, params)
  1209. django.db.utils.OperationalError: no such column: staff.group_id
  1210. [2025-03-14 11:25:20,078][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1211. Traceback (most recent call last):
  1212. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1213. return self.cursor.execute(sql, params)
  1214. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1215. return Database.Cursor.execute(self, query, params)
  1216. sqlite3.OperationalError: no such column: staff.group_id
  1217. The above exception was the direct cause of the following exception:
  1218. Traceback (most recent call last):
  1219. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1220. raise exc_info[1]
  1221. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1222. response = await get_response(request)
  1223. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1224. response = await wrapped_callback(
  1225. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1226. ret = await asyncio.wait_for(future, timeout=None)
  1227. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1228. return await fut
  1229. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1230. result = self.fn(*self.args, **self.kwargs)
  1231. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1232. return func(*args, **kwargs)
  1233. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1234. return view_func(*args, **kwargs)
  1235. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1236. return self.dispatch(request, *args, **kwargs)
  1237. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1238. response = self.handle_exception(exc)
  1239. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1240. self.raise_uncaught_exception(exc)
  1241. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1242. raise exc
  1243. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1244. response = handler(request, *args, **kwargs)
  1245. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
  1246. return super().list(request, *args, **kwargs)
  1247. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  1248. page = self.paginate_queryset(queryset)
  1249. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  1250. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  1251. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
  1252. return list(self.page)
  1253. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
  1254. return len(self.object_list)
  1255. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
  1256. self._fetch_all()
  1257. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
  1258. self._result_cache = list(self._iterable_class(self))
  1259. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
  1260. results = compiler.execute_sql(
  1261. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  1262. cursor.execute(sql, params)
  1263. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  1264. return super().execute(sql, params)
  1265. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  1266. return self._execute_with_wrappers(
  1267. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  1268. return executor(sql, params, many, context)
  1269. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  1270. with self.db.wrap_database_errors:
  1271. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  1272. raise dj_exc_value.with_traceback(traceback) from exc_value
  1273. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1274. return self.cursor.execute(sql, params)
  1275. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1276. return Database.Cursor.execute(self, query, params)
  1277. django.db.utils.OperationalError: no such column: staff.group_id
  1278. [2025-03-14 11:25:39,687][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1279. Traceback (most recent call last):
  1280. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1281. return self.cursor.execute(sql, params)
  1282. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1283. return Database.Cursor.execute(self, query, params)
  1284. sqlite3.OperationalError: no such column: staff.group_id
  1285. The above exception was the direct cause of the following exception:
  1286. Traceback (most recent call last):
  1287. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1288. raise exc_info[1]
  1289. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1290. response = await get_response(request)
  1291. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1292. response = await wrapped_callback(
  1293. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1294. ret = await asyncio.wait_for(future, timeout=None)
  1295. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1296. return await fut
  1297. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1298. result = self.fn(*self.args, **self.kwargs)
  1299. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1300. return func(*args, **kwargs)
  1301. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1302. return view_func(*args, **kwargs)
  1303. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1304. return self.dispatch(request, *args, **kwargs)
  1305. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1306. response = self.handle_exception(exc)
  1307. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1308. self.raise_uncaught_exception(exc)
  1309. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1310. raise exc
  1311. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1312. response = handler(request, *args, **kwargs)
  1313. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
  1314. return super().list(request, *args, **kwargs)
  1315. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  1316. page = self.paginate_queryset(queryset)
  1317. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  1318. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  1319. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
  1320. return list(self.page)
  1321. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
  1322. return len(self.object_list)
  1323. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
  1324. self._fetch_all()
  1325. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
  1326. self._result_cache = list(self._iterable_class(self))
  1327. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
  1328. results = compiler.execute_sql(
  1329. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  1330. cursor.execute(sql, params)
  1331. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  1332. return super().execute(sql, params)
  1333. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  1334. return self._execute_with_wrappers(
  1335. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  1336. return executor(sql, params, many, context)
  1337. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  1338. with self.db.wrap_database_errors:
  1339. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  1340. raise dj_exc_value.with_traceback(traceback) from exc_value
  1341. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1342. return self.cursor.execute(sql, params)
  1343. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1344. return Database.Cursor.execute(self, query, params)
  1345. django.db.utils.OperationalError: no such column: staff.group_id
  1346. [2025-03-14 11:25:42,559][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1347. [2025-03-14 11:25:42,605][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1348. Traceback (most recent call last):
  1349. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1350. return self.cursor.execute(sql, params)
  1351. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1352. return Database.Cursor.execute(self, query, params)
  1353. sqlite3.OperationalError: no such column: staff.group_id
  1354. The above exception was the direct cause of the following exception:
  1355. Traceback (most recent call last):
  1356. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1357. raise exc_info[1]
  1358. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1359. response = await get_response(request)
  1360. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1361. response = await wrapped_callback(
  1362. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1363. ret = await asyncio.wait_for(future, timeout=None)
  1364. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1365. return await fut
  1366. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1367. result = self.fn(*self.args, **self.kwargs)
  1368. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1369. return func(*args, **kwargs)
  1370. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1371. return view_func(*args, **kwargs)
  1372. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1373. return self.dispatch(request, *args, **kwargs)
  1374. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1375. response = self.handle_exception(exc)
  1376. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1377. self.raise_uncaught_exception(exc)
  1378. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1379. raise exc
  1380. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1381. response = handler(request, *args, **kwargs)
  1382. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
  1383. return super().list(request, *args, **kwargs)
  1384. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  1385. page = self.paginate_queryset(queryset)
  1386. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  1387. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  1388. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
  1389. return list(self.page)
  1390. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
  1391. return len(self.object_list)
  1392. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
  1393. self._fetch_all()
  1394. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
  1395. self._result_cache = list(self._iterable_class(self))
  1396. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
  1397. results = compiler.execute_sql(
  1398. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  1399. cursor.execute(sql, params)
  1400. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  1401. return super().execute(sql, params)
  1402. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  1403. return self._execute_with_wrappers(
  1404. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  1405. return executor(sql, params, many, context)
  1406. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  1407. with self.db.wrap_database_errors:
  1408. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  1409. raise dj_exc_value.with_traceback(traceback) from exc_value
  1410. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1411. return self.cursor.execute(sql, params)
  1412. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1413. return Database.Cursor.execute(self, query, params)
  1414. django.db.utils.OperationalError: no such column: staff.group_id
  1415. [2025-03-14 11:25:42,622][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1416. Traceback (most recent call last):
  1417. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1418. return self.cursor.execute(sql, params)
  1419. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1420. return Database.Cursor.execute(self, query, params)
  1421. sqlite3.OperationalError: no such column: staff.group_id
  1422. The above exception was the direct cause of the following exception:
  1423. Traceback (most recent call last):
  1424. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1425. raise exc_info[1]
  1426. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1427. response = await get_response(request)
  1428. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1429. response = await wrapped_callback(
  1430. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1431. ret = await asyncio.wait_for(future, timeout=None)
  1432. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1433. return await fut
  1434. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1435. result = self.fn(*self.args, **self.kwargs)
  1436. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1437. return func(*args, **kwargs)
  1438. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1439. return view_func(*args, **kwargs)
  1440. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1441. return self.dispatch(request, *args, **kwargs)
  1442. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1443. response = self.handle_exception(exc)
  1444. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1445. self.raise_uncaught_exception(exc)
  1446. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1447. raise exc
  1448. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1449. response = handler(request, *args, **kwargs)
  1450. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
  1451. return super().list(request, *args, **kwargs)
  1452. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  1453. page = self.paginate_queryset(queryset)
  1454. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  1455. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  1456. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
  1457. return list(self.page)
  1458. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
  1459. return len(self.object_list)
  1460. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
  1461. self._fetch_all()
  1462. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
  1463. self._result_cache = list(self._iterable_class(self))
  1464. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
  1465. results = compiler.execute_sql(
  1466. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  1467. cursor.execute(sql, params)
  1468. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  1469. return super().execute(sql, params)
  1470. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  1471. return self._execute_with_wrappers(
  1472. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  1473. return executor(sql, params, many, context)
  1474. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  1475. with self.db.wrap_database_errors:
  1476. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  1477. raise dj_exc_value.with_traceback(traceback) from exc_value
  1478. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1479. return self.cursor.execute(sql, params)
  1480. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1481. return Database.Cursor.execute(self, query, params)
  1482. django.db.utils.OperationalError: no such column: staff.group_id
  1483. [2025-03-14 11:25:49,761][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1484. Traceback (most recent call last):
  1485. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1486. return self.cursor.execute(sql, params)
  1487. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1488. return Database.Cursor.execute(self, query, params)
  1489. sqlite3.OperationalError: no such column: staff.group_id
  1490. The above exception was the direct cause of the following exception:
  1491. Traceback (most recent call last):
  1492. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1493. raise exc_info[1]
  1494. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1495. response = await get_response(request)
  1496. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1497. response = await wrapped_callback(
  1498. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1499. ret = await asyncio.wait_for(future, timeout=None)
  1500. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1501. return await fut
  1502. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1503. result = self.fn(*self.args, **self.kwargs)
  1504. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1505. return func(*args, **kwargs)
  1506. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1507. return view_func(*args, **kwargs)
  1508. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1509. return self.dispatch(request, *args, **kwargs)
  1510. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1511. response = self.handle_exception(exc)
  1512. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1513. self.raise_uncaught_exception(exc)
  1514. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1515. raise exc
  1516. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1517. response = handler(request, *args, **kwargs)
  1518. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
  1519. return super().list(request, *args, **kwargs)
  1520. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
  1521. page = self.paginate_queryset(queryset)
  1522. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
  1523. return self.paginator.paginate_queryset(queryset, self.request, view=self)
  1524. File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
  1525. return list(self.page)
  1526. File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
  1527. return len(self.object_list)
  1528. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
  1529. self._fetch_all()
  1530. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
  1531. self._result_cache = list(self._iterable_class(self))
  1532. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
  1533. results = compiler.execute_sql(
  1534. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
  1535. cursor.execute(sql, params)
  1536. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
  1537. return super().execute(sql, params)
  1538. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
  1539. return self._execute_with_wrappers(
  1540. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
  1541. return executor(sql, params, many, context)
  1542. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
  1543. with self.db.wrap_database_errors:
  1544. File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
  1545. raise dj_exc_value.with_traceback(traceback) from exc_value
  1546. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
  1547. return self.cursor.execute(sql, params)
  1548. File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
  1549. return Database.Cursor.execute(self, query, params)
  1550. django.db.utils.OperationalError: no such column: staff.group_id
  1551. [2025-03-14 11:37:13,619][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1552. [2025-03-14 11:37:22,315][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1553. [2025-03-14 11:37:25,483][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1554. [2025-03-14 11:37:37,221][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1555. [2025-03-14 14:04:22,541][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1556. [2025-03-14 14:04:45,609][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1557. [2025-03-14 14:04:48,366][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1558. [2025-03-14 14:35:25,405][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1559. [2025-03-14 14:36:31,183][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1560. [2025-03-14 14:36:40,906][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1561. [2025-03-14 14:37:39,646][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1562. [2025-03-14 14:37:50,206][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1563. [2025-03-14 14:37:57,781][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1564. [2025-03-14 14:39:20,465][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1565. [2025-03-14 14:41:20,108][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1566. [2025-03-14 14:41:34,125][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1567. [2025-03-14 14:42:16,984][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1568. [2025-03-14 14:42:24,816][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1569. [2025-03-14 14:43:04,207][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1570. [2025-03-14 14:46:20,027][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1571. [2025-03-14 14:47:44,445][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1572. [2025-03-14 14:47:51,761][django.request.log_response():241] [ERROR] Internal Server Error: /login/
  1573. Traceback (most recent call last):
  1574. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1575. raise exc_info[1]
  1576. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1577. response = await get_response(request)
  1578. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1579. response = await wrapped_callback(
  1580. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1581. ret = await asyncio.wait_for(future, timeout=None)
  1582. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1583. return await fut
  1584. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1585. result = self.fn(*self.args, **self.kwargs)
  1586. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1587. return func(*args, **kwargs)
  1588. File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 32, in login
  1589. "appid": staff_detail.app_id,
  1590. AttributeError: 'ListModel' object has no attribute 'app_id'
  1591. [2025-03-14 14:48:22,914][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1592. [2025-03-14 14:49:38,845][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1593. [2025-03-14 14:52:52,158][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1594. [2025-03-14 15:11:44,097][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1595. [2025-03-14 15:11:52,055][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1596. [2025-03-14 15:11:56,885][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1597. [2025-03-14 15:12:22,078][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1598. [2025-03-14 15:12:34,790][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1599. [2025-03-14 15:13:25,204][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  1600. [2025-03-14 15:13:26,719][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  1601. [2025-03-14 15:13:28,211][django.request.log_response():241] [WARNING] Not Found: /warehouse/
  1602. [2025-03-14 15:13:32,887][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  1603. [2025-03-14 15:13:34,178][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  1604. [2025-03-14 15:27:22,119][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1605. [2025-03-14 15:41:21,413][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1606. [2025-03-14 15:42:32,081][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1607. [2025-03-14 15:45:45,374][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1608. [2025-03-14 15:48:11,654][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1609. [2025-03-14 15:48:19,097][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1610. [2025-03-14 15:48:24,047][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1611. [2025-03-14 15:59:50,156][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1612. [2025-03-14 16:02:58,460][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1613. Traceback (most recent call last):
  1614. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1615. raise exc_info[1]
  1616. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1617. response = await get_response(request)
  1618. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1619. response = await wrapped_callback(
  1620. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1621. ret = await asyncio.wait_for(future, timeout=None)
  1622. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1623. return await fut
  1624. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1625. result = self.fn(*self.args, **self.kwargs)
  1626. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1627. return func(*args, **kwargs)
  1628. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1629. return view_func(*args, **kwargs)
  1630. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1631. return self.dispatch(request, *args, **kwargs)
  1632. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1633. response = self.handle_exception(exc)
  1634. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1635. self.raise_uncaught_exception(exc)
  1636. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1637. raise exc
  1638. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 497, in dispatch
  1639. self.initial(request, *args, **kwargs)
  1640. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 414, in initial
  1641. self.perform_authentication(request)
  1642. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 324, in perform_authentication
  1643. request.user
  1644. File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 227, in user
  1645. self._authenticate()
  1646. File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 380, in _authenticate
  1647. user_auth_tuple = authenticator.authenticate(self)
  1648. File "/home/flower/code/vue_ws/goods_wms/./utils/auth.py", line 14, in authenticate
  1649. user = staffs.objects.filter(openid__exact=str(token)).first()
  1650. NameError: name 'staffs' is not defined
  1651. [2025-03-14 16:03:00,545][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1652. Traceback (most recent call last):
  1653. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1654. raise exc_info[1]
  1655. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1656. response = await get_response(request)
  1657. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1658. response = await wrapped_callback(
  1659. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1660. ret = await asyncio.wait_for(future, timeout=None)
  1661. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1662. return await fut
  1663. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1664. result = self.fn(*self.args, **self.kwargs)
  1665. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1666. return func(*args, **kwargs)
  1667. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1668. return view_func(*args, **kwargs)
  1669. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1670. return self.dispatch(request, *args, **kwargs)
  1671. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1672. response = self.handle_exception(exc)
  1673. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1674. self.raise_uncaught_exception(exc)
  1675. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1676. raise exc
  1677. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 497, in dispatch
  1678. self.initial(request, *args, **kwargs)
  1679. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 414, in initial
  1680. self.perform_authentication(request)
  1681. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 324, in perform_authentication
  1682. request.user
  1683. File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 227, in user
  1684. self._authenticate()
  1685. File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 380, in _authenticate
  1686. user_auth_tuple = authenticator.authenticate(self)
  1687. File "/home/flower/code/vue_ws/goods_wms/./utils/auth.py", line 14, in authenticate
  1688. user = staffs.objects.filter(openid__exact=str(token)).first()
  1689. NameError: name 'staffs' is not defined
  1690. [2025-03-14 16:03:17,681][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1691. Traceback (most recent call last):
  1692. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1693. raise exc_info[1]
  1694. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1695. response = await get_response(request)
  1696. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1697. response = await wrapped_callback(
  1698. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1699. ret = await asyncio.wait_for(future, timeout=None)
  1700. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1701. return await fut
  1702. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1703. result = self.fn(*self.args, **self.kwargs)
  1704. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1705. return func(*args, **kwargs)
  1706. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1707. return view_func(*args, **kwargs)
  1708. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1709. return self.dispatch(request, *args, **kwargs)
  1710. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1711. response = self.handle_exception(exc)
  1712. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1713. self.raise_uncaught_exception(exc)
  1714. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1715. raise exc
  1716. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 497, in dispatch
  1717. self.initial(request, *args, **kwargs)
  1718. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 414, in initial
  1719. self.perform_authentication(request)
  1720. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 324, in perform_authentication
  1721. request.user
  1722. File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 227, in user
  1723. self._authenticate()
  1724. File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 380, in _authenticate
  1725. user_auth_tuple = authenticator.authenticate(self)
  1726. File "/home/flower/code/vue_ws/goods_wms/./utils/auth.py", line 14, in authenticate
  1727. user = staffs.objects.filter(openid__exact=str(token)).first()
  1728. NameError: name 'staffs' is not defined
  1729. [2025-03-14 16:04:11,290][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1730. [2025-03-14 16:04:21,291][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1731. [2025-03-14 16:04:52,163][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1732. [2025-03-14 16:25:13,809][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1733. [2025-03-14 16:36:51,879][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1734. [2025-03-14 16:40:29,989][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1735. [2025-03-14 16:44:08,592][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1736. [2025-03-14 16:46:18,620][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1737. [2025-03-14 16:50:16,125][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1738. [2025-03-14 16:50:37,768][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1739. [2025-03-14 17:11:26,865][django.request.log_response():241] [ERROR] Internal Server Error: /login/
  1740. Traceback (most recent call last):
  1741. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1742. raise exc_info[1]
  1743. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1744. response = await get_response(request)
  1745. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1746. response = await wrapped_callback(
  1747. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1748. ret = await asyncio.wait_for(future, timeout=None)
  1749. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1750. return await fut
  1751. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1752. result = self.fn(*self.args, **self.kwargs)
  1753. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1754. return func(*args, **kwargs)
  1755. File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 48, in login
  1756. auth.login(request, user)
  1757. File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/__init__.py", line 144, in login
  1758. user_logged_in.send(sender=user.__class__, request=request, user=user)
  1759. File "/usr/local/lib/python3.10/dist-packages/django/dispatch/dispatcher.py", line 176, in send
  1760. return [
  1761. File "/usr/local/lib/python3.10/dist-packages/django/dispatch/dispatcher.py", line 177, in <listcomp>
  1762. (receiver, receiver(signal=self, sender=sender, **named))
  1763. File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 23, in update_last_login
  1764. user.save(update_fields=["last_login"])
  1765. File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 795, in save
  1766. raise ValueError(
  1767. ValueError: The following fields do not exist in this model, are m2m fields, or are non-concrete fields: last_login
  1768. [2025-03-14 17:22:24,195][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1769. [2025-03-14 17:28:18,321][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1770. [2025-03-14 17:28:31,039][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1771. [2025-03-14 20:43:31,977][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1772. [2025-03-14 20:43:38,128][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1773. [2025-03-14 20:44:10,720][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1774. [2025-03-14 20:44:25,826][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1775. Traceback (most recent call last):
  1776. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1777. raise exc_info[1]
  1778. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1779. response = await get_response(request)
  1780. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1781. response = await wrapped_callback(
  1782. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1783. ret = await asyncio.wait_for(future, timeout=None)
  1784. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1785. return await fut
  1786. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1787. result = self.fn(*self.args, **self.kwargs)
  1788. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1789. return func(*args, **kwargs)
  1790. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1791. return view_func(*args, **kwargs)
  1792. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1793. return self.dispatch(request, *args, **kwargs)
  1794. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1795. response = self.handle_exception(exc)
  1796. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1797. self.raise_uncaught_exception(exc)
  1798. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1799. raise exc
  1800. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1801. response = handler(request, *args, **kwargs)
  1802. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 121, in create
  1803. user = User.objects.create_user(username=str(data['staff_name']),
  1804. File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 161, in create_user
  1805. return self._create_user(username, email, password, **extra_fields)
  1806. File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 154, in _create_user
  1807. user.password = make_password(password)
  1808. File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/hashers.py", line 86, in make_password
  1809. raise TypeError(
  1810. TypeError: Password must be a string or bytes, got int.
  1811. [2025-03-14 20:44:31,078][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1812. Traceback (most recent call last):
  1813. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1814. raise exc_info[1]
  1815. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1816. response = await get_response(request)
  1817. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1818. response = await wrapped_callback(
  1819. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1820. ret = await asyncio.wait_for(future, timeout=None)
  1821. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1822. return await fut
  1823. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1824. result = self.fn(*self.args, **self.kwargs)
  1825. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1826. return func(*args, **kwargs)
  1827. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1828. return view_func(*args, **kwargs)
  1829. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  1830. return self.dispatch(request, *args, **kwargs)
  1831. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  1832. response = self.handle_exception(exc)
  1833. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  1834. self.raise_uncaught_exception(exc)
  1835. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  1836. raise exc
  1837. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  1838. response = handler(request, *args, **kwargs)
  1839. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 121, in create
  1840. user = User.objects.create_user(username=str(data['staff_name']),
  1841. File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 161, in create_user
  1842. return self._create_user(username, email, password, **extra_fields)
  1843. File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 154, in _create_user
  1844. user.password = make_password(password)
  1845. File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/hashers.py", line 86, in make_password
  1846. raise TypeError(
  1847. TypeError: Password must be a string or bytes, got int.
  1848. [2025-03-14 20:47:11,284][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1849. [2025-03-14 20:55:54,959][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1850. [2025-03-14 20:58:48,810][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1851. [2025-03-14 20:59:00,909][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1852. [2025-03-14 20:59:11,738][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1853. [2025-03-14 21:01:29,478][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1854. [2025-03-14 21:03:41,280][django.request.log_response():241] [ERROR] Internal Server Error: /register/
  1855. Traceback (most recent call last):
  1856. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1857. raise exc_info[1]
  1858. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1859. response = await get_response(request)
  1860. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1861. response = await wrapped_callback(
  1862. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1863. ret = await asyncio.wait_for(future, timeout=None)
  1864. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1865. return await fut
  1866. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1867. result = self.fn(*self.args, **self.kwargs)
  1868. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1869. return func(*args, **kwargs)
  1870. File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
  1871. return bound_method(*args, **kwargs)
  1872. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  1873. return view_func(*args, **kwargs)
  1874. File "/home/flower/code/vue_ws/goods_wms/./userregister/views.py", line 19, in register
  1875. post_data = json.loads(request.body.decode())
  1876. File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
  1877. return _default_decoder.decode(s)
  1878. File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
  1879. obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  1880. File "/usr/lib/python3.10/json/decoder.py", line 353, in raw_decode
  1881. obj, end = self.scan_once(s, idx)
  1882. json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 2 (char 35)
  1883. [2025-03-14 21:05:51,560][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1884. [2025-03-14 21:07:49,193][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1885. [2025-03-14 21:08:29,157][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1886. [2025-03-14 21:08:41,184][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1887. [2025-03-14 21:10:47,058][django.request.log_response():241] [ERROR] Internal Server Error: /login/
  1888. Traceback (most recent call last):
  1889. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1890. raise exc_info[1]
  1891. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1892. response = await get_response(request)
  1893. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1894. response = await wrapped_callback(
  1895. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1896. ret = await asyncio.wait_for(future, timeout=None)
  1897. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1898. return await fut
  1899. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1900. result = self.fn(*self.args, **self.kwargs)
  1901. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1902. return func(*args, **kwargs)
  1903. File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login
  1904. staff_id = staff.objects.filter(openid=user_detail.openid, staff_name=str(user_detail.name)).first().id
  1905. AttributeError: 'NoneType' object has no attribute 'openid'
  1906. [2025-03-14 21:11:07,084][django.request.log_response():241] [ERROR] Internal Server Error: /login/
  1907. Traceback (most recent call last):
  1908. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1909. raise exc_info[1]
  1910. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1911. response = await get_response(request)
  1912. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1913. response = await wrapped_callback(
  1914. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1915. ret = await asyncio.wait_for(future, timeout=None)
  1916. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1917. return await fut
  1918. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1919. result = self.fn(*self.args, **self.kwargs)
  1920. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1921. return func(*args, **kwargs)
  1922. File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login
  1923. staff_id = staff.objects.filter(openid=user_detail.openid, staff_name=str(user_detail.name)).first().id
  1924. AttributeError: 'NoneType' object has no attribute 'openid'
  1925. [2025-03-14 21:11:24,677][django.request.log_response():241] [ERROR] Internal Server Error: /login/
  1926. Traceback (most recent call last):
  1927. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1928. raise exc_info[1]
  1929. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1930. response = await get_response(request)
  1931. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1932. response = await wrapped_callback(
  1933. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1934. ret = await asyncio.wait_for(future, timeout=None)
  1935. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1936. return await fut
  1937. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1938. result = self.fn(*self.args, **self.kwargs)
  1939. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1940. return func(*args, **kwargs)
  1941. File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login
  1942. staff_id = staff.objects.filter(openid=user_detail.openid, staff_name=str(user_detail.name)).first().id
  1943. AttributeError: 'NoneType' object has no attribute 'openid'
  1944. [2025-03-14 21:18:48,585][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1945. [2025-03-14 21:20:43,308][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1946. [2025-03-14 21:21:56,985][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1947. [2025-03-14 21:22:13,409][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1948. [2025-03-14 21:22:21,563][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1949. [2025-03-14 21:22:27,218][django.request.log_response():241] [ERROR] Internal Server Error: /login/
  1950. Traceback (most recent call last):
  1951. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1952. raise exc_info[1]
  1953. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1954. response = await get_response(request)
  1955. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1956. response = await wrapped_callback(
  1957. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1958. ret = await asyncio.wait_for(future, timeout=None)
  1959. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1960. return await fut
  1961. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1962. result = self.fn(*self.args, **self.kwargs)
  1963. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1964. return func(*args, **kwargs)
  1965. File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login
  1966. data = {
  1967. AttributeError: 'NoneType' object has no attribute 'openid'
  1968. [2025-03-14 21:23:01,370][django.request.log_response():241] [ERROR] Internal Server Error: /login/
  1969. Traceback (most recent call last):
  1970. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1971. raise exc_info[1]
  1972. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1973. response = await get_response(request)
  1974. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1975. response = await wrapped_callback(
  1976. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1977. ret = await asyncio.wait_for(future, timeout=None)
  1978. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  1979. return await fut
  1980. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  1981. result = self.fn(*self.args, **self.kwargs)
  1982. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  1983. return func(*args, **kwargs)
  1984. File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 27, in login
  1985. staff_detail = staff.objects.filter(staff_name=str(user_detail.name)).first()
  1986. NameError: name 'user_detail' is not defined
  1987. [2025-03-14 21:23:39,383][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1988. [2025-03-14 21:23:44,482][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1989. [2025-03-14 21:28:59,181][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  1990. [2025-03-14 21:52:28,140][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  1991. Traceback (most recent call last):
  1992. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  1993. raise exc_info[1]
  1994. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  1995. response = await get_response(request)
  1996. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  1997. response = await wrapped_callback(
  1998. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  1999. ret = await asyncio.wait_for(future, timeout=None)
  2000. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2001. return await fut
  2002. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2003. result = self.fn(*self.args, **self.kwargs)
  2004. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2005. return func(*args, **kwargs)
  2006. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2007. return view_func(*args, **kwargs)
  2008. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2009. return self.dispatch(request, *args, **kwargs)
  2010. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2011. response = self.handle_exception(exc)
  2012. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2013. self.raise_uncaught_exception(exc)
  2014. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2015. raise exc
  2016. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2017. response = handler(request, *args, **kwargs)
  2018. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 78, in list
  2019. return super().list(request, *args, **kwargs)
  2020. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 38, in list
  2021. queryset = self.filter_queryset(self.get_queryset())
  2022. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 94, in get_queryset
  2023. del self.fields['check_code']
  2024. AttributeError: 'APIViewSet' object has no attribute 'fields'
  2025. [2025-03-14 22:04:28,496][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  2026. Traceback (most recent call last):
  2027. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2028. raise exc_info[1]
  2029. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2030. response = await get_response(request)
  2031. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2032. response = await wrapped_callback(
  2033. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2034. ret = await asyncio.wait_for(future, timeout=None)
  2035. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2036. return await fut
  2037. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2038. result = self.fn(*self.args, **self.kwargs)
  2039. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2040. return func(*args, **kwargs)
  2041. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2042. return view_func(*args, **kwargs)
  2043. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2044. return self.dispatch(request, *args, **kwargs)
  2045. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2046. response = self.handle_exception(exc)
  2047. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2048. self.raise_uncaught_exception(exc)
  2049. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2050. raise exc
  2051. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2052. response = handler(request, *args, **kwargs)
  2053. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 78, in list
  2054. return super().list(request, *args, **kwargs)
  2055. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 42, in list
  2056. serializer = self.get_serializer(page, many=True)
  2057. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 178, in get_serializer
  2058. if 'check_code' in serializer.fields:
  2059. AttributeError: 'ListSerializer' object has no attribute 'fields'
  2060. [2025-03-14 22:10:57,990][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
  2061. Traceback (most recent call last):
  2062. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2063. raise exc_info[1]
  2064. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2065. response = await get_response(request)
  2066. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2067. response = await wrapped_callback(
  2068. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2069. ret = await asyncio.wait_for(future, timeout=None)
  2070. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2071. return await fut
  2072. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2073. result = self.fn(*self.args, **self.kwargs)
  2074. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2075. return func(*args, **kwargs)
  2076. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2077. return view_func(*args, **kwargs)
  2078. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2079. return self.dispatch(request, *args, **kwargs)
  2080. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2081. response = self.handle_exception(exc)
  2082. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2083. self.raise_uncaught_exception(exc)
  2084. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2085. raise exc
  2086. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2087. response = handler(request, *args, **kwargs)
  2088. File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 78, in list
  2089. return super().list(request, *args, **kwargs)
  2090. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  2091. return self.get_paginated_response(serializer.data)
  2092. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  2093. ret = super().data
  2094. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  2095. self._data = self.to_representation(self.instance)
  2096. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  2097. return [
  2098. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  2099. self.child.to_representation(item) for item in iterable
  2100. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
  2101. for field in fields:
  2102. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
  2103. for field in self.fields.values():
  2104. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  2105. res = instance.__dict__[self.name] = self.func(instance)
  2106. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  2107. for key, value in self.get_fields().items():
  2108. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  2109. field_names = self.get_field_names(declared_fields, info)
  2110. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1164, in get_field_names
  2111. assert field_name not in self._declared_fields, (
  2112. AssertionError: Cannot both declare the field 'check_code' and include it in the userStaffGetSerializer 'exclude' option. Remove the field or, if inherited from a parent serializer, disable with `check_code = None`.
  2113. [2025-03-14 22:13:34,574][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2114. [2025-03-14 22:13:56,327][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2115. [2025-03-14 22:14:31,905][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2116. [2025-03-14 22:14:31,913][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2117. [2025-03-14 22:29:08,955][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2118. [2025-03-14 22:29:12,510][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2119. [2025-03-14 22:29:13,492][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  2120. [2025-03-14 22:54:48,492][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2121. [2025-03-14 22:56:00,428][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2122. [2025-03-14 22:56:21,902][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2123. [2025-03-14 22:56:25,044][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2124. [2025-03-14 22:56:29,449][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2125. [2025-03-15 14:37:09,303][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2126. [2025-03-15 14:41:38,560][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2127. [2025-03-15 14:44:11,069][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2128. [2025-03-15 14:44:17,884][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2129. [2025-03-15 14:44:37,180][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2130. [2025-03-15 14:44:41,300][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2131. [2025-03-15 14:45:30,925][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2132. [2025-03-15 14:51:36,442][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2133. [2025-03-15 15:20:21,544][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2134. [2025-03-15 16:09:08,613][django.request.log_response():241] [WARNING] Not Found: /stock/management/
  2135. [2025-03-15 16:09:22,781][django.request.log_response():241] [WARNING] Not Found: /stock/management/
  2136. [2025-03-15 16:17:35,904][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2137. [2025-03-15 16:17:50,416][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2138. [2025-03-15 16:18:20,970][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2139. Traceback (most recent call last):
  2140. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2141. raise exc_info[1]
  2142. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2143. response = await get_response(request)
  2144. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2145. response = await wrapped_callback(
  2146. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2147. ret = await asyncio.wait_for(future, timeout=None)
  2148. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2149. return await fut
  2150. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2151. result = self.fn(*self.args, **self.kwargs)
  2152. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2153. return func(*args, **kwargs)
  2154. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2155. return view_func(*args, **kwargs)
  2156. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2157. return self.dispatch(request, *args, **kwargs)
  2158. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2159. response = self.handle_exception(exc)
  2160. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2161. self.raise_uncaught_exception(exc)
  2162. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2163. raise exc
  2164. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2165. response = handler(request, *args, **kwargs)
  2166. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 83, in create
  2167. serializer = self.get_serializer(data=request.data)
  2168. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 108, in get_serializer
  2169. serializer_class = self.get_serializer_class()
  2170. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 78, in get_serializer_class
  2171. return serializers.stockShelfSerializer
  2172. AttributeError: module 'stock.serializers' has no attribute 'stockShelfSerializer'
  2173. [2025-03-15 16:23:35,107][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2174. Traceback (most recent call last):
  2175. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2176. raise exc_info[1]
  2177. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2178. response = await get_response(request)
  2179. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2180. response = await wrapped_callback(
  2181. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2182. ret = await asyncio.wait_for(future, timeout=None)
  2183. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2184. return await fut
  2185. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2186. result = self.fn(*self.args, **self.kwargs)
  2187. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2188. return func(*args, **kwargs)
  2189. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2190. return view_func(*args, **kwargs)
  2191. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2192. return self.dispatch(request, *args, **kwargs)
  2193. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2194. response = self.handle_exception(exc)
  2195. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2196. self.raise_uncaught_exception(exc)
  2197. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2198. raise exc
  2199. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2200. response = handler(request, *args, **kwargs)
  2201. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create
  2202. serializer.is_valid(raise_exception=True)
  2203. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid
  2204. self._validated_data = self.run_validation(self.initial_data)
  2205. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation
  2206. value = self.to_internal_value(data)
  2207. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value
  2208. for field in fields:
  2209. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields
  2210. for field in self.fields.values():
  2211. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  2212. res = instance.__dict__[self.name] = self.func(instance)
  2213. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  2214. for key, value in self.get_fields().items():
  2215. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  2216. field_names = self.get_field_names(declared_fields, info)
  2217. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
  2218. assert field_name in fields, (
  2219. AssertionError: The field 'row' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
  2220. [2025-03-15 16:24:34,969][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2221. Traceback (most recent call last):
  2222. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2223. raise exc_info[1]
  2224. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2225. response = await get_response(request)
  2226. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2227. response = await wrapped_callback(
  2228. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2229. ret = await asyncio.wait_for(future, timeout=None)
  2230. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2231. return await fut
  2232. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2233. result = self.fn(*self.args, **self.kwargs)
  2234. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2235. return func(*args, **kwargs)
  2236. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2237. return view_func(*args, **kwargs)
  2238. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2239. return self.dispatch(request, *args, **kwargs)
  2240. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2241. response = self.handle_exception(exc)
  2242. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2243. self.raise_uncaught_exception(exc)
  2244. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2245. raise exc
  2246. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2247. response = handler(request, *args, **kwargs)
  2248. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create
  2249. serializer.is_valid(raise_exception=True)
  2250. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid
  2251. self._validated_data = self.run_validation(self.initial_data)
  2252. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation
  2253. value = self.to_internal_value(data)
  2254. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value
  2255. for field in fields:
  2256. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields
  2257. for field in self.fields.values():
  2258. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  2259. res = instance.__dict__[self.name] = self.func(instance)
  2260. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  2261. for key, value in self.get_fields().items():
  2262. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  2263. field_names = self.get_field_names(declared_fields, info)
  2264. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1124, in get_field_names
  2265. assert not (fields is None and exclude is None), (
  2266. AssertionError: ("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = '__all__' to the stockShelfSerializer serializer.",)
  2267. [2025-03-15 16:26:45,259][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2268. Traceback (most recent call last):
  2269. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2270. raise exc_info[1]
  2271. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2272. response = await get_response(request)
  2273. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2274. response = await wrapped_callback(
  2275. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2276. ret = await asyncio.wait_for(future, timeout=None)
  2277. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2278. return await fut
  2279. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2280. result = self.fn(*self.args, **self.kwargs)
  2281. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2282. return func(*args, **kwargs)
  2283. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2284. return view_func(*args, **kwargs)
  2285. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2286. return self.dispatch(request, *args, **kwargs)
  2287. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2288. response = self.handle_exception(exc)
  2289. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2290. self.raise_uncaught_exception(exc)
  2291. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2292. raise exc
  2293. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2294. response = handler(request, *args, **kwargs)
  2295. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 79, in create
  2296. serializer = self.get_serializer(data=request.data)
  2297. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 108, in get_serializer
  2298. serializer_class = self.get_serializer_class()
  2299. File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 122, in get_serializer_class
  2300. assert self.serializer_class is not None, (
  2301. AssertionError: 'stockshelfViewSet' should either include a `serializer_class` attribute, or override the `get_serializer_class()` method.
  2302. [2025-03-15 16:33:14,414][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2303. [2025-03-15 16:33:36,708][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2304. [2025-03-15 16:34:01,764][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2305. Traceback (most recent call last):
  2306. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2307. raise exc_info[1]
  2308. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2309. response = await get_response(request)
  2310. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2311. response = await wrapped_callback(
  2312. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2313. ret = await asyncio.wait_for(future, timeout=None)
  2314. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2315. return await fut
  2316. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2317. result = self.fn(*self.args, **self.kwargs)
  2318. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2319. return func(*args, **kwargs)
  2320. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2321. return view_func(*args, **kwargs)
  2322. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2323. return self.dispatch(request, *args, **kwargs)
  2324. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2325. response = self.handle_exception(exc)
  2326. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2327. self.raise_uncaught_exception(exc)
  2328. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2329. raise exc
  2330. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2331. response = handler(request, *args, **kwargs)
  2332. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create
  2333. serializer.is_valid(raise_exception=True)
  2334. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid
  2335. self._validated_data = self.run_validation(self.initial_data)
  2336. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation
  2337. value = self.to_internal_value(data)
  2338. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value
  2339. for field in fields:
  2340. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields
  2341. for field in self.fields.values():
  2342. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  2343. res = instance.__dict__[self.name] = self.func(instance)
  2344. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  2345. for key, value in self.get_fields().items():
  2346. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  2347. field_names = self.get_field_names(declared_fields, info)
  2348. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
  2349. assert field_name in fields, (
  2350. AssertionError: The field 'ip' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
  2351. [2025-03-15 16:35:14,837][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2352. Traceback (most recent call last):
  2353. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2354. raise exc_info[1]
  2355. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2356. response = await get_response(request)
  2357. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2358. response = await wrapped_callback(
  2359. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2360. ret = await asyncio.wait_for(future, timeout=None)
  2361. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2362. return await fut
  2363. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2364. result = self.fn(*self.args, **self.kwargs)
  2365. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2366. return func(*args, **kwargs)
  2367. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2368. return view_func(*args, **kwargs)
  2369. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2370. return self.dispatch(request, *args, **kwargs)
  2371. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2372. response = self.handle_exception(exc)
  2373. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2374. self.raise_uncaught_exception(exc)
  2375. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2376. raise exc
  2377. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2378. response = handler(request, *args, **kwargs)
  2379. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create
  2380. serializer.is_valid(raise_exception=True)
  2381. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid
  2382. self._validated_data = self.run_validation(self.initial_data)
  2383. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation
  2384. value = self.to_internal_value(data)
  2385. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value
  2386. for field in fields:
  2387. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields
  2388. for field in self.fields.values():
  2389. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  2390. res = instance.__dict__[self.name] = self.func(instance)
  2391. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  2392. for key, value in self.get_fields().items():
  2393. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  2394. field_names = self.get_field_names(declared_fields, info)
  2395. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
  2396. assert field_name in fields, (
  2397. AssertionError: The field 'ip_address' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
  2398. [2025-03-15 16:43:42,844][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2399. Traceback (most recent call last):
  2400. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2401. raise exc_info[1]
  2402. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2403. response = await get_response(request)
  2404. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2405. response = await wrapped_callback(
  2406. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2407. ret = await asyncio.wait_for(future, timeout=None)
  2408. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2409. return await fut
  2410. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2411. result = self.fn(*self.args, **self.kwargs)
  2412. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2413. return func(*args, **kwargs)
  2414. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2415. return view_func(*args, **kwargs)
  2416. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2417. return self.dispatch(request, *args, **kwargs)
  2418. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2419. response = self.handle_exception(exc)
  2420. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2421. self.raise_uncaught_exception(exc)
  2422. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2423. raise exc
  2424. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2425. response = handler(request, *args, **kwargs)
  2426. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 86, in create
  2427. return Response(request.data, status=200, headers=headers)
  2428. NameError: name 'headers' is not defined
  2429. [2025-03-15 16:48:29,330][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2430. Traceback (most recent call last):
  2431. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2432. raise exc_info[1]
  2433. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2434. response = await get_response(request)
  2435. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2436. response = await wrapped_callback(
  2437. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2438. ret = await asyncio.wait_for(future, timeout=None)
  2439. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2440. return await fut
  2441. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2442. result = self.fn(*self.args, **self.kwargs)
  2443. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2444. return func(*args, **kwargs)
  2445. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2446. return view_func(*args, **kwargs)
  2447. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2448. return self.dispatch(request, *args, **kwargs)
  2449. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2450. response = self.handle_exception(exc)
  2451. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2452. self.raise_uncaught_exception(exc)
  2453. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2454. raise exc
  2455. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2456. response = handler(request, *args, **kwargs)
  2457. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 110, in create
  2458. instance = shelflist(
  2459. File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
  2460. raise TypeError(
  2461. TypeError: StockshelfModel() got unexpected keyword arguments: 'shelf_rows', 'shelf_cols', 'shelf_layers'
  2462. [2025-03-15 16:50:58,170][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2463. Traceback (most recent call last):
  2464. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 123, in create
  2465. with transaction.atomic():
  2466. NameError: name 'transaction' is not defined
  2467. During handling of the above exception, another exception occurred:
  2468. Traceback (most recent call last):
  2469. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2470. raise exc_info[1]
  2471. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2472. response = await get_response(request)
  2473. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2474. response = await wrapped_callback(
  2475. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2476. ret = await asyncio.wait_for(future, timeout=None)
  2477. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2478. return await fut
  2479. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2480. result = self.fn(*self.args, **self.kwargs)
  2481. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2482. return func(*args, **kwargs)
  2483. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2484. return view_func(*args, **kwargs)
  2485. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2486. return self.dispatch(request, *args, **kwargs)
  2487. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2488. response = self.handle_exception(exc)
  2489. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2490. self.raise_uncaught_exception(exc)
  2491. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2492. raise exc
  2493. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2494. response = handler(request, *args, **kwargs)
  2495. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 128, in create
  2496. status=status.HTTP_500_INTERNAL_SERVER_ERROR
  2497. NameError: name 'status' is not defined
  2498. [2025-03-15 16:51:36,437][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2499. Traceback (most recent call last):
  2500. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 123, in create
  2501. with transaction.atomic():
  2502. NameError: name 'transaction' is not defined
  2503. During handling of the above exception, another exception occurred:
  2504. Traceback (most recent call last):
  2505. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2506. raise exc_info[1]
  2507. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2508. response = await get_response(request)
  2509. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2510. response = await wrapped_callback(
  2511. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2512. ret = await asyncio.wait_for(future, timeout=None)
  2513. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2514. return await fut
  2515. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2516. result = self.fn(*self.args, **self.kwargs)
  2517. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2518. return func(*args, **kwargs)
  2519. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2520. return view_func(*args, **kwargs)
  2521. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2522. return self.dispatch(request, *args, **kwargs)
  2523. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2524. response = self.handle_exception(exc)
  2525. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2526. self.raise_uncaught_exception(exc)
  2527. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2528. raise exc
  2529. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2530. response = handler(request, *args, **kwargs)
  2531. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 128, in create
  2532. status=status.HTTP_500_INTERNAL_SERVER_ERROR
  2533. NameError: name 'status' is not defined
  2534. [2025-03-15 16:52:26,278][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
  2535. [2025-03-15 16:54:42,141][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
  2536. [2025-03-15 16:58:10,934][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
  2537. [2025-03-15 17:01:56,017][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
  2538. [2025-03-15 17:02:09,481][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
  2539. [2025-03-15 17:04:02,130][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
  2540. [2025-03-15 17:04:16,401][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2541. [2025-03-15 17:15:57,951][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2542. Traceback (most recent call last):
  2543. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2544. raise exc_info[1]
  2545. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2546. response = await get_response(request)
  2547. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2548. response = await wrapped_callback(
  2549. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2550. ret = await asyncio.wait_for(future, timeout=None)
  2551. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2552. return await fut
  2553. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2554. result = self.fn(*self.args, **self.kwargs)
  2555. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2556. return func(*args, **kwargs)
  2557. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2558. return view_func(*args, **kwargs)
  2559. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2560. return self.dispatch(request, *args, **kwargs)
  2561. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2562. response = self.handle_exception(exc)
  2563. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2564. self.raise_uncaught_exception(exc)
  2565. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2566. raise exc
  2567. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2568. response = handler(request, *args, **kwargs)
  2569. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 123, in create
  2570. if instance.is_created():
  2571. AttributeError: 'StockshelfModel' object has no attribute 'is_created'
  2572. [2025-03-15 17:20:20,387][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2573. Traceback (most recent call last):
  2574. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2575. raise exc_info[1]
  2576. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2577. response = await get_response(request)
  2578. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2579. response = await wrapped_callback(
  2580. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2581. ret = await asyncio.wait_for(future, timeout=None)
  2582. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2583. return await fut
  2584. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2585. result = self.fn(*self.args, **self.kwargs)
  2586. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2587. return func(*args, **kwargs)
  2588. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2589. return view_func(*args, **kwargs)
  2590. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2591. return self.dispatch(request, *args, **kwargs)
  2592. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2593. response = self.handle_exception(exc)
  2594. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2595. self.raise_uncaught_exception(exc)
  2596. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2597. raise exc
  2598. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2599. response = handler(request, *args, **kwargs)
  2600. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 104, in create
  2601. existing_positions = shelflist.get_existing_positions(shelf_name, rows, cols, layers)
  2602. AttributeError: type object 'StockshelfModel' has no attribute 'get_existing_positions'
  2603. [2025-03-15 17:21:54,421][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2604. Traceback (most recent call last):
  2605. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2606. raise exc_info[1]
  2607. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2608. response = await get_response(request)
  2609. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2610. response = await wrapped_callback(
  2611. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2612. ret = await asyncio.wait_for(future, timeout=None)
  2613. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2614. return await fut
  2615. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2616. result = self.fn(*self.args, **self.kwargs)
  2617. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2618. return func(*args, **kwargs)
  2619. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2620. return view_func(*args, **kwargs)
  2621. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2622. return self.dispatch(request, *args, **kwargs)
  2623. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2624. response = self.handle_exception(exc)
  2625. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2626. self.raise_uncaught_exception(exc)
  2627. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2628. raise exc
  2629. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2630. response = handler(request, *args, **kwargs)
  2631. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 104, in create
  2632. existing_positions = shelflist.get_existing_positions(shelf_name, rows, cols, layers)
  2633. AttributeError: type object 'StockshelfModel' has no attribute 'get_existing_positions'
  2634. [2025-03-15 17:40:24,143][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
  2635. [2025-03-15 17:45:20,232][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2636. [2025-03-15 18:04:14,418][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2637. Traceback (most recent call last):
  2638. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2639. raise exc_info[1]
  2640. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2641. response = await get_response(request)
  2642. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2643. response = await wrapped_callback(
  2644. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2645. ret = await asyncio.wait_for(future, timeout=None)
  2646. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2647. return await fut
  2648. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2649. result = self.fn(*self.args, **self.kwargs)
  2650. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2651. return func(*args, **kwargs)
  2652. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2653. return view_func(*args, **kwargs)
  2654. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2655. return self.dispatch(request, *args, **kwargs)
  2656. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2657. response = self.handle_exception(exc)
  2658. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2659. self.raise_uncaught_exception(exc)
  2660. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2661. raise exc
  2662. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2663. response = handler(request, *args, **kwargs)
  2664. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 106, in create
  2665. instances.append(shelflist(
  2666. File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
  2667. raise TypeError(
  2668. TypeError: StockshelfModel() got unexpected keyword arguments: 'stock_type'
  2669. [2025-03-15 18:06:02,460][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2670. Traceback (most recent call last):
  2671. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2672. raise exc_info[1]
  2673. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2674. response = await get_response(request)
  2675. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2676. response = await wrapped_callback(
  2677. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2678. ret = await asyncio.wait_for(future, timeout=None)
  2679. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2680. return await fut
  2681. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2682. result = self.fn(*self.args, **self.kwargs)
  2683. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2684. return func(*args, **kwargs)
  2685. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2686. return view_func(*args, **kwargs)
  2687. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2688. return self.dispatch(request, *args, **kwargs)
  2689. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2690. response = self.handle_exception(exc)
  2691. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2692. self.raise_uncaught_exception(exc)
  2693. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2694. raise exc
  2695. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2696. response = handler(request, *args, **kwargs)
  2697. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 106, in create
  2698. instances.append(shelflist(
  2699. File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
  2700. raise TypeError(
  2701. TypeError: StockshelfModel() got unexpected keyword arguments: 'stock_type'
  2702. [2025-03-15 19:14:23,394][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2703. Traceback (most recent call last):
  2704. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2705. raise exc_info[1]
  2706. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2707. response = await get_response(request)
  2708. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2709. response = await wrapped_callback(
  2710. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2711. ret = await asyncio.wait_for(future, timeout=None)
  2712. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2713. return await fut
  2714. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2715. result = self.fn(*self.args, **self.kwargs)
  2716. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2717. return func(*args, **kwargs)
  2718. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2719. return view_func(*args, **kwargs)
  2720. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2721. return self.dispatch(request, *args, **kwargs)
  2722. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2723. response = self.handle_exception(exc)
  2724. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2725. self.raise_uncaught_exception(exc)
  2726. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2727. raise exc
  2728. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2729. response = handler(request, *args, **kwargs)
  2730. File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 114, in create
  2731. instances.append(shelflist(
  2732. File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
  2733. raise TypeError(
  2734. TypeError: StockshelfModel() got unexpected keyword arguments: 'total_rows', 'total_cols', 'total_layers'
  2735. [2025-03-15 19:15:05,402][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2736. [2025-03-15 19:21:54,504][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2737. [2025-03-15 19:29:05,761][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2738. [2025-03-15 20:46:21,692][django.request.log_response():241] [WARNING] Not Found: /stock/management/1/
  2739. [2025-03-15 20:49:15,791][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/1/
  2740. Traceback (most recent call last):
  2741. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2742. raise exc_info[1]
  2743. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2744. response = await get_response(request)
  2745. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2746. response = await wrapped_callback(
  2747. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2748. ret = await asyncio.wait_for(future, timeout=None)
  2749. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2750. return await fut
  2751. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2752. result = self.fn(*self.args, **self.kwargs)
  2753. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2754. return func(*args, **kwargs)
  2755. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2756. return view_func(*args, **kwargs)
  2757. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2758. return self.dispatch(request, *args, **kwargs)
  2759. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 511, in dispatch
  2760. self.response = self.finalize_response(request, response, *args, **kwargs)
  2761. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 423, in finalize_response
  2762. assert isinstance(response, HttpResponseBase), (
  2763. AssertionError: Expected a `Response`, `HttpResponse` or `HttpStreamingResponse` to be returned from the view, but received a `<class 'NoneType'>`
  2764. [2025-03-15 20:49:50,626][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1/
  2765. [2025-03-15 20:50:21,987][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1/
  2766. [2025-03-15 20:50:33,824][django.request.log_response():241] [WARNING] Bad Request: /stock/management/6/
  2767. [2025-03-15 21:44:29,330][django.request.log_response():241] [WARNING] Not Found: /binset/
  2768. [2025-03-15 22:05:11,516][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
  2769. [2025-03-15 22:13:57,683][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
  2770. [2025-03-15 22:15:50,587][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
  2771. [2025-03-15 22:17:02,750][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
  2772. [2025-03-15 22:17:27,689][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
  2773. [2025-03-15 22:56:36,633][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2774. [2025-03-15 22:56:37,641][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2775. [2025-03-15 22:56:39,237][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2776. [2025-03-15 23:10:44,521][django.request.log_response():241] [WARNING] Not Found: /stock/management/shelf/2186/
  2777. [2025-03-15 23:10:56,959][django.request.log_response():241] [WARNING] Not Found: /stock/management/shelf/2186/
  2778. [2025-03-15 23:16:32,491][django.request.log_response():241] [WARNING] Not Found: /binset/
  2779. [2025-03-15 23:16:33,239][django.request.log_response():241] [WARNING] Not Found: /binset/
  2780. [2025-03-15 23:16:34,653][django.request.log_response():241] [WARNING] Not Found: /binset/
  2781. [2025-03-15 23:16:35,491][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2782. [2025-03-15 23:16:36,637][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  2783. [2025-03-15 23:16:40,811][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2784. [2025-03-15 23:16:44,846][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2785. [2025-03-15 23:17:03,573][django.request.log_response():241] [WARNING] Not Found: /binset/
  2786. [2025-03-15 23:17:21,787][django.request.log_response():241] [WARNING] Not Found: /binset/
  2787. [2025-03-15 23:17:26,221][django.request.log_response():241] [WARNING] Not Found: /binset/
  2788. [2025-03-15 23:17:27,026][django.request.log_response():241] [WARNING] Not Found: /binset/
  2789. [2025-03-15 23:17:27,760][django.request.log_response():241] [WARNING] Not Found: /binproperty/
  2790. [2025-03-15 23:17:28,390][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2791. [2025-03-15 23:17:29,162][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2792. [2025-03-15 23:17:29,702][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  2793. [2025-03-15 23:17:36,348][django.request.log_response():241] [WARNING] Not Found: /binset/
  2794. [2025-03-15 23:17:37,131][django.request.log_response():241] [WARNING] Not Found: /binset/
  2795. [2025-03-15 23:17:37,650][django.request.log_response():241] [WARNING] Not Found: /binset/
  2796. [2025-03-15 23:17:38,189][django.request.log_response():241] [WARNING] Not Found: /binproperty/
  2797. [2025-03-15 23:17:38,727][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2798. [2025-03-15 23:17:39,267][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2799. [2025-03-15 23:17:39,737][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  2800. [2025-03-15 23:17:42,694][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2801. [2025-03-15 23:17:44,169][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2802. [2025-03-15 23:17:45,107][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  2803. [2025-03-15 23:17:45,955][django.request.log_response():241] [WARNING] Not Found: /goods/
  2804. [2025-03-15 23:17:50,723][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2805. [2025-03-15 23:17:53,947][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2806. [2025-03-15 23:17:55,155][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2807. [2025-03-15 23:18:02,866][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2808. [2025-03-15 23:18:06,871][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2809. [2025-03-15 23:18:12,970][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2810. [2025-03-15 23:18:20,867][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2811. [2025-03-15 23:18:25,591][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2812. [2025-03-15 23:18:29,558][django.request.log_response():241] [WARNING] Not Found: /goods/
  2813. [2025-03-16 12:00:48,806][django.request.log_response():241] [WARNING] Not Found: /binset/
  2814. [2025-03-16 12:00:52,623][django.request.log_response():241] [WARNING] Not Found: /binset/
  2815. [2025-03-16 12:00:53,786][django.request.log_response():241] [WARNING] Not Found: /binset/
  2816. [2025-03-16 12:00:54,648][django.request.log_response():241] [WARNING] Not Found: /binproperty/
  2817. [2025-03-16 12:00:55,336][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2818. [2025-03-16 12:00:56,281][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2819. [2025-03-16 13:54:47,764][django.request.log_response():241] [WARNING] Not Found: /binset/
  2820. [2025-03-16 13:55:09,046][django.request.log_response():241] [WARNING] Not Found: /binset/
  2821. [2025-03-16 13:55:11,118][django.request.log_response():241] [WARNING] Not Found: /binset/
  2822. [2025-03-16 13:55:11,934][django.request.log_response():241] [WARNING] Not Found: /binset/
  2823. [2025-03-16 13:55:13,114][django.request.log_response():241] [WARNING] Not Found: /binset/
  2824. [2025-03-16 13:55:14,686][django.request.log_response():241] [WARNING] Not Found: /binproperty/
  2825. [2025-03-16 13:55:17,340][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2826. [2025-03-16 13:55:19,973][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2827. [2025-03-16 13:55:20,758][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  2828. [2025-03-16 13:55:23,251][django.request.log_response():241] [WARNING] Not Found: /binset/
  2829. [2025-03-16 13:56:44,305][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2830. [2025-03-16 13:57:18,119][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2831. [2025-03-16 13:57:27,421][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2832. [2025-03-16 13:57:45,264][django.request.log_response():241] [WARNING] Not Found: /binset/
  2833. [2025-03-16 13:57:46,981][django.request.log_response():241] [WARNING] Not Found: /binset/
  2834. [2025-03-16 13:57:47,925][django.request.log_response():241] [WARNING] Not Found: /binset/
  2835. [2025-03-16 13:57:49,886][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2836. [2025-03-16 13:57:50,441][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2837. [2025-03-16 13:57:51,913][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  2838. [2025-03-16 13:57:53,327][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2839. [2025-03-16 13:57:54,974][django.request.log_response():241] [WARNING] Not Found: /goods/
  2840. [2025-03-16 13:57:56,905][django.request.log_response():241] [WARNING] Not Found: /goods/
  2841. [2025-03-16 13:57:58,375][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  2842. [2025-03-16 13:58:03,430][django.request.log_response():241] [WARNING] Not Found: /binset/
  2843. [2025-03-16 13:59:22,005][django.request.log_response():241] [WARNING] Not Found: /binset/
  2844. [2025-03-16 13:59:28,331][django.request.log_response():241] [WARNING] Not Found: /binset/
  2845. [2025-03-16 14:00:05,411][django.request.log_response():241] [WARNING] Not Found: /binset/
  2846. [2025-03-16 14:00:40,923][django.request.log_response():241] [WARNING] Not Found: /binset/
  2847. [2025-03-16 14:00:48,274][django.request.log_response():241] [WARNING] Not Found: /binset/
  2848. [2025-03-16 14:01:04,614][django.request.log_response():241] [WARNING] Not Found: /binset/
  2849. [2025-03-16 14:02:05,550][django.request.log_response():241] [WARNING] Not Found: /binset/
  2850. [2025-03-16 14:03:24,407][django.request.log_response():241] [WARNING] Not Found: /binproperty/
  2851. [2025-03-16 14:03:28,187][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2852. [2025-03-16 14:03:29,025][django.request.log_response():241] [WARNING] Not Found: /binproperty/
  2853. [2025-03-16 14:03:39,864][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2854. [2025-03-16 14:03:54,632][django.request.log_response():241] [WARNING] Not Found: /binset/
  2855. [2025-03-16 14:03:55,387][django.request.log_response():241] [WARNING] Not Found: /binproperty/
  2856. [2025-03-16 14:03:57,958][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2857. [2025-03-16 14:04:03,248][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2858. [2025-03-16 14:04:06,129][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  2859. [2025-03-16 14:04:08,502][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2860. [2025-03-16 14:04:09,047][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2861. [2025-03-16 14:04:22,775][django.request.log_response():241] [WARNING] Not Found: /binproperty/
  2862. [2025-03-16 14:04:50,852][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2863. [2025-03-16 14:05:01,994][django.request.log_response():241] [WARNING] Not Found: /binset/
  2864. [2025-03-16 14:05:04,836][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2865. [2025-03-16 14:05:06,039][django.request.log_response():241] [WARNING] Not Found: /binset/
  2866. [2025-03-16 14:05:06,947][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2867. [2025-03-16 14:05:31,787][django.request.log_response():241] [WARNING] Not Found: /binset/
  2868. [2025-03-16 14:05:32,844][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2869. [2025-03-16 14:05:33,746][django.request.log_response():241] [WARNING] Not Found: /binset/
  2870. [2025-03-16 14:05:34,347][django.request.log_response():241] [WARNING] Not Found: /binset/
  2871. [2025-03-16 14:05:35,303][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2872. [2025-03-16 14:05:40,938][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2873. [2025-03-16 14:05:43,442][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  2874. [2025-03-16 14:05:44,432][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2875. [2025-03-16 14:05:49,732][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2876. [2025-03-16 14:06:56,771][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2877. [2025-03-16 14:07:00,134][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2878. [2025-03-16 14:07:07,234][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2879. [2025-03-16 14:07:33,729][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2880. [2025-03-16 14:07:42,834][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2881. [2025-03-16 14:08:18,299][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2882. [2025-03-16 14:08:19,219][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  2883. [2025-03-16 14:08:20,214][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  2884. [2025-03-16 14:08:20,835][django.request.log_response():241] [WARNING] Not Found: /binset/
  2885. [2025-03-16 14:08:21,426][django.request.log_response():241] [WARNING] Not Found: /binset/
  2886. [2025-03-16 14:08:22,721][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2887. [2025-03-16 14:08:28,690][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2888. [2025-03-16 14:08:53,408][django.request.log_response():241] [WARNING] Not Found: /binset/
  2889. [2025-03-16 14:17:39,755][django.request.log_response():241] [WARNING] Not Found: /binset/
  2890. [2025-03-16 14:17:41,709][django.request.log_response():241] [WARNING] Not Found: /binset/
  2891. [2025-03-16 14:17:42,827][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2892. [2025-03-16 14:18:49,865][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2893. [2025-03-16 14:24:49,596][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
  2894. [2025-03-16 14:41:36,955][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/
  2895. Traceback (most recent call last):
  2896. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2897. raise exc_info[1]
  2898. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2899. response = await get_response(request)
  2900. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2901. response = await wrapped_callback(
  2902. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2903. ret = await asyncio.wait_for(future, timeout=None)
  2904. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2905. return await fut
  2906. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2907. result = self.fn(*self.args, **self.kwargs)
  2908. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2909. return func(*args, **kwargs)
  2910. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2911. return view_func(*args, **kwargs)
  2912. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2913. return self.dispatch(request, *args, **kwargs)
  2914. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2915. response = self.handle_exception(exc)
  2916. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2917. self.raise_uncaught_exception(exc)
  2918. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2919. raise exc
  2920. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2921. response = handler(request, *args, **kwargs)
  2922. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  2923. return self.get_paginated_response(serializer.data)
  2924. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  2925. ret = super().data
  2926. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  2927. self._data = self.to_representation(self.instance)
  2928. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  2929. return [
  2930. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  2931. self.child.to_representation(item) for item in iterable
  2932. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
  2933. for field in fields:
  2934. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
  2935. for field in self.fields.values():
  2936. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  2937. res = instance.__dict__[self.name] = self.func(instance)
  2938. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  2939. for key, value in self.get_fields().items():
  2940. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  2941. field_names = self.get_field_names(declared_fields, info)
  2942. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
  2943. assert field_name in fields, (
  2944. AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
  2945. [2025-03-16 14:41:38,092][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/
  2946. Traceback (most recent call last):
  2947. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  2948. raise exc_info[1]
  2949. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  2950. response = await get_response(request)
  2951. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  2952. response = await wrapped_callback(
  2953. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  2954. ret = await asyncio.wait_for(future, timeout=None)
  2955. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  2956. return await fut
  2957. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  2958. result = self.fn(*self.args, **self.kwargs)
  2959. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  2960. return func(*args, **kwargs)
  2961. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  2962. return view_func(*args, **kwargs)
  2963. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  2964. return self.dispatch(request, *args, **kwargs)
  2965. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  2966. response = self.handle_exception(exc)
  2967. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  2968. self.raise_uncaught_exception(exc)
  2969. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  2970. raise exc
  2971. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  2972. response = handler(request, *args, **kwargs)
  2973. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  2974. return self.get_paginated_response(serializer.data)
  2975. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  2976. ret = super().data
  2977. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  2978. self._data = self.to_representation(self.instance)
  2979. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  2980. return [
  2981. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  2982. self.child.to_representation(item) for item in iterable
  2983. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
  2984. for field in fields:
  2985. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
  2986. for field in self.fields.values():
  2987. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  2988. res = instance.__dict__[self.name] = self.func(instance)
  2989. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  2990. for key, value in self.get_fields().items():
  2991. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  2992. field_names = self.get_field_names(declared_fields, info)
  2993. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
  2994. assert field_name in fields, (
  2995. AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
  2996. [2025-03-16 14:42:39,695][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  2997. [2025-03-16 14:42:41,265][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  2998. Traceback (most recent call last):
  2999. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3000. raise exc_info[1]
  3001. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3002. response = await get_response(request)
  3003. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3004. response = await wrapped_callback(
  3005. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3006. ret = await asyncio.wait_for(future, timeout=None)
  3007. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3008. return await fut
  3009. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3010. result = self.fn(*self.args, **self.kwargs)
  3011. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3012. return func(*args, **kwargs)
  3013. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3014. return view_func(*args, **kwargs)
  3015. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3016. return self.dispatch(request, *args, **kwargs)
  3017. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3018. response = self.handle_exception(exc)
  3019. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3020. self.raise_uncaught_exception(exc)
  3021. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3022. raise exc
  3023. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3024. response = handler(request, *args, **kwargs)
  3025. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  3026. return self.get_paginated_response(serializer.data)
  3027. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  3028. ret = super().data
  3029. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  3030. self._data = self.to_representation(self.instance)
  3031. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  3032. return [
  3033. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  3034. self.child.to_representation(item) for item in iterable
  3035. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
  3036. for field in fields:
  3037. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
  3038. for field in self.fields.values():
  3039. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  3040. res = instance.__dict__[self.name] = self.func(instance)
  3041. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  3042. for key, value in self.get_fields().items():
  3043. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  3044. field_names = self.get_field_names(declared_fields, info)
  3045. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
  3046. assert field_name in fields, (
  3047. AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
  3048. [2025-03-16 14:44:47,940][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/
  3049. Traceback (most recent call last):
  3050. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3051. raise exc_info[1]
  3052. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3053. response = await get_response(request)
  3054. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3055. response = await wrapped_callback(
  3056. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3057. ret = await asyncio.wait_for(future, timeout=None)
  3058. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3059. return await fut
  3060. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3061. result = self.fn(*self.args, **self.kwargs)
  3062. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3063. return func(*args, **kwargs)
  3064. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3065. return view_func(*args, **kwargs)
  3066. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3067. return self.dispatch(request, *args, **kwargs)
  3068. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3069. response = self.handle_exception(exc)
  3070. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3071. self.raise_uncaught_exception(exc)
  3072. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3073. raise exc
  3074. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3075. response = handler(request, *args, **kwargs)
  3076. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  3077. return self.get_paginated_response(serializer.data)
  3078. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  3079. ret = super().data
  3080. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  3081. self._data = self.to_representation(self.instance)
  3082. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  3083. return [
  3084. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  3085. self.child.to_representation(item) for item in iterable
  3086. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
  3087. for field in fields:
  3088. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
  3089. for field in self.fields.values():
  3090. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  3091. res = instance.__dict__[self.name] = self.func(instance)
  3092. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  3093. for key, value in self.get_fields().items():
  3094. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  3095. field_names = self.get_field_names(declared_fields, info)
  3096. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
  3097. assert field_name in fields, (
  3098. AssertionError: The field 'goods_batchgoods_std' was included on serializer stocklistSerializer in the 'exclude' option, but does not match any model field.
  3099. [2025-03-16 14:46:10,116][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/
  3100. Traceback (most recent call last):
  3101. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3102. raise exc_info[1]
  3103. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3104. response = await get_response(request)
  3105. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3106. response = await wrapped_callback(
  3107. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3108. ret = await asyncio.wait_for(future, timeout=None)
  3109. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3110. return await fut
  3111. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3112. result = self.fn(*self.args, **self.kwargs)
  3113. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3114. return func(*args, **kwargs)
  3115. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3116. return view_func(*args, **kwargs)
  3117. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3118. return self.dispatch(request, *args, **kwargs)
  3119. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3120. response = self.handle_exception(exc)
  3121. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3122. self.raise_uncaught_exception(exc)
  3123. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3124. raise exc
  3125. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3126. response = handler(request, *args, **kwargs)
  3127. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  3128. return self.get_paginated_response(serializer.data)
  3129. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  3130. ret = super().data
  3131. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  3132. self._data = self.to_representation(self.instance)
  3133. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  3134. return [
  3135. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  3136. self.child.to_representation(item) for item in iterable
  3137. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
  3138. for field in fields:
  3139. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
  3140. for field in self.fields.values():
  3141. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  3142. res = instance.__dict__[self.name] = self.func(instance)
  3143. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  3144. for key, value in self.get_fields().items():
  3145. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  3146. field_names = self.get_field_names(declared_fields, info)
  3147. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
  3148. assert field_name in fields, (
  3149. AssertionError: The field 'goods_batchgoods_std' was included on serializer stocklistSerializer in the 'exclude' option, but does not match any model field.
  3150. [2025-03-16 14:52:42,946][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
  3151. Traceback (most recent call last):
  3152. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3153. raise exc_info[1]
  3154. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3155. response = await get_response(request)
  3156. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3157. response = await wrapped_callback(
  3158. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3159. ret = await asyncio.wait_for(future, timeout=None)
  3160. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3161. return await fut
  3162. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3163. result = self.fn(*self.args, **self.kwargs)
  3164. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3165. return func(*args, **kwargs)
  3166. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3167. return view_func(*args, **kwargs)
  3168. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3169. return self.dispatch(request, *args, **kwargs)
  3170. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3171. response = self.handle_exception(exc)
  3172. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3173. self.raise_uncaught_exception(exc)
  3174. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3175. raise exc
  3176. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3177. response = handler(request, *args, **kwargs)
  3178. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  3179. return self.get_paginated_response(serializer.data)
  3180. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  3181. ret = super().data
  3182. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  3183. self._data = self.to_representation(self.instance)
  3184. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  3185. return [
  3186. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  3187. self.child.to_representation(item) for item in iterable
  3188. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
  3189. for field in fields:
  3190. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
  3191. for field in self.fields.values():
  3192. File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
  3193. res = instance.__dict__[self.name] = self.func(instance)
  3194. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
  3195. for key, value in self.get_fields().items():
  3196. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
  3197. field_names = self.get_field_names(declared_fields, info)
  3198. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
  3199. assert field_name in fields, (
  3200. AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
  3201. [2025-03-16 14:54:19,838][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3202. [2025-03-16 15:00:14,053][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3203. [2025-03-16 15:00:17,040][django.request.log_response():241] [WARNING] Not Found: /goods/
  3204. [2025-03-16 15:01:31,146][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3205. [2025-03-16 15:01:34,032][django.request.log_response():241] [WARNING] Not Found: /binset/
  3206. [2025-03-16 17:09:21,861][django.request.log_response():241] [WARNING] Not Found: /binset/
  3207. [2025-03-16 17:09:32,497][django.request.log_response():241] [WARNING] Not Found: /binset/
  3208. [2025-03-16 17:09:33,317][django.request.log_response():241] [WARNING] Not Found: /binset/
  3209. [2025-03-16 17:29:53,325][django.request.log_response():241] [WARNING] Not Found: /binset/
  3210. [2025-03-16 17:32:05,198][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3211. [2025-03-16 17:32:09,904][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  3212. [2025-03-16 17:32:11,567][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3213. [2025-03-16 17:32:13,154][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3214. [2025-03-16 17:32:31,444][django.request.log_response():241] [WARNING] Not Found: /goods/
  3215. [2025-03-16 17:32:41,750][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3216. [2025-03-16 17:33:46,980][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3217. [2025-03-16 17:33:47,695][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3218. [2025-03-16 17:33:48,909][django.request.log_response():241] [WARNING] Not Found: /goods/
  3219. [2025-03-16 17:34:00,206][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3220. [2025-03-16 17:35:04,030][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3221. [2025-03-16 17:35:05,515][django.request.log_response():241] [WARNING] Not Found: /goods/
  3222. [2025-03-16 17:36:43,735][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3223. [2025-03-16 17:36:45,882][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3224. [2025-03-16 17:36:47,261][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3225. [2025-03-16 17:37:44,462][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3226. [2025-03-16 17:37:45,415][django.request.log_response():241] [WARNING] Not Found: /goods/
  3227. [2025-03-16 17:38:05,094][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3228. [2025-03-16 17:39:00,434][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3229. [2025-03-16 17:39:01,656][django.request.log_response():241] [WARNING] Not Found: /goods/
  3230. [2025-03-16 17:40:44,860][django.request.log_response():241] [WARNING] Not Found: /goods/
  3231. [2025-03-16 17:46:35,691][django.request.log_response():241] [WARNING] Not Found: /goods/
  3232. [2025-03-16 19:32:45,590][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3233. [2025-03-16 19:32:47,629][django.request.log_response():241] [WARNING] Not Found: /goods/
  3234. [2025-03-16 19:33:56,137][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/
  3235. [2025-03-16 19:35:15,500][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
  3236. Traceback (most recent call last):
  3237. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3238. raise exc_info[1]
  3239. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3240. response = await get_response(request)
  3241. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3242. response = await wrapped_callback(
  3243. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3244. ret = await asyncio.wait_for(future, timeout=None)
  3245. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3246. return await fut
  3247. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3248. result = self.fn(*self.args, **self.kwargs)
  3249. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3250. return func(*args, **kwargs)
  3251. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3252. return view_func(*args, **kwargs)
  3253. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3254. return self.dispatch(request, *args, **kwargs)
  3255. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3256. response = self.handle_exception(exc)
  3257. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3258. self.raise_uncaught_exception(exc)
  3259. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3260. raise exc
  3261. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3262. response = handler(request, *args, **kwargs)
  3263. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  3264. return self.get_paginated_response(serializer.data)
  3265. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  3266. ret = super().data
  3267. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  3268. self._data = self.to_representation(self.instance)
  3269. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  3270. return [
  3271. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  3272. self.child.to_representation(item) for item in iterable
  3273. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
  3274. ret[field.field_name] = field.to_representation(attribute)
  3275. File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
  3276. return int(value)
  3277. ValueError: invalid literal for int() with base 10: ''
  3278. [2025-03-16 19:36:46,324][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
  3279. Traceback (most recent call last):
  3280. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3281. raise exc_info[1]
  3282. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3283. response = await get_response(request)
  3284. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3285. response = await wrapped_callback(
  3286. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3287. ret = await asyncio.wait_for(future, timeout=None)
  3288. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3289. return await fut
  3290. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3291. result = self.fn(*self.args, **self.kwargs)
  3292. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3293. return func(*args, **kwargs)
  3294. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3295. return view_func(*args, **kwargs)
  3296. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3297. return self.dispatch(request, *args, **kwargs)
  3298. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3299. response = self.handle_exception(exc)
  3300. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3301. self.raise_uncaught_exception(exc)
  3302. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3303. raise exc
  3304. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3305. response = handler(request, *args, **kwargs)
  3306. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  3307. return self.get_paginated_response(serializer.data)
  3308. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  3309. ret = super().data
  3310. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  3311. self._data = self.to_representation(self.instance)
  3312. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  3313. return [
  3314. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  3315. self.child.to_representation(item) for item in iterable
  3316. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
  3317. ret[field.field_name] = field.to_representation(attribute)
  3318. File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
  3319. return int(value)
  3320. ValueError: invalid literal for int() with base 10: ''
  3321. [2025-03-16 19:40:38,901][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
  3322. Traceback (most recent call last):
  3323. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3324. raise exc_info[1]
  3325. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3326. response = await get_response(request)
  3327. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3328. response = await wrapped_callback(
  3329. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3330. ret = await asyncio.wait_for(future, timeout=None)
  3331. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3332. return await fut
  3333. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3334. result = self.fn(*self.args, **self.kwargs)
  3335. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3336. return func(*args, **kwargs)
  3337. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3338. return view_func(*args, **kwargs)
  3339. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3340. return self.dispatch(request, *args, **kwargs)
  3341. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3342. response = self.handle_exception(exc)
  3343. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3344. self.raise_uncaught_exception(exc)
  3345. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3346. raise exc
  3347. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3348. response = handler(request, *args, **kwargs)
  3349. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  3350. return self.get_paginated_response(serializer.data)
  3351. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  3352. ret = super().data
  3353. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  3354. self._data = self.to_representation(self.instance)
  3355. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  3356. return [
  3357. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  3358. self.child.to_representation(item) for item in iterable
  3359. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
  3360. ret[field.field_name] = field.to_representation(attribute)
  3361. File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
  3362. return int(value)
  3363. ValueError: invalid literal for int() with base 10: ''
  3364. [2025-03-16 19:41:34,080][django.request.log_response():241] [WARNING] Not Found: /goods/
  3365. [2025-03-16 19:41:39,104][django.request.log_response():241] [WARNING] Not Found: /goods/
  3366. [2025-03-16 19:41:55,154][django.request.log_response():241] [WARNING] Not Found: /goods/
  3367. [2025-03-16 19:42:29,235][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
  3368. Traceback (most recent call last):
  3369. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3370. raise exc_info[1]
  3371. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3372. response = await get_response(request)
  3373. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3374. response = await wrapped_callback(
  3375. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3376. ret = await asyncio.wait_for(future, timeout=None)
  3377. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3378. return await fut
  3379. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3380. result = self.fn(*self.args, **self.kwargs)
  3381. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3382. return func(*args, **kwargs)
  3383. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3384. return view_func(*args, **kwargs)
  3385. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3386. return self.dispatch(request, *args, **kwargs)
  3387. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3388. response = self.handle_exception(exc)
  3389. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3390. self.raise_uncaught_exception(exc)
  3391. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3392. raise exc
  3393. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3394. response = handler(request, *args, **kwargs)
  3395. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  3396. return self.get_paginated_response(serializer.data)
  3397. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  3398. ret = super().data
  3399. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  3400. self._data = self.to_representation(self.instance)
  3401. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  3402. return [
  3403. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  3404. self.child.to_representation(item) for item in iterable
  3405. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
  3406. ret[field.field_name] = field.to_representation(attribute)
  3407. File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
  3408. return int(value)
  3409. ValueError: invalid literal for int() with base 10: ''
  3410. [2025-03-16 19:52:56,036][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3411. [2025-03-16 19:52:57,886][django.request.log_response():241] [WARNING] Not Found: /goods/
  3412. [2025-03-16 19:53:08,274][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
  3413. Traceback (most recent call last):
  3414. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3415. raise exc_info[1]
  3416. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3417. response = await get_response(request)
  3418. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3419. response = await wrapped_callback(
  3420. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3421. ret = await asyncio.wait_for(future, timeout=None)
  3422. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3423. return await fut
  3424. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3425. result = self.fn(*self.args, **self.kwargs)
  3426. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3427. return func(*args, **kwargs)
  3428. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3429. return view_func(*args, **kwargs)
  3430. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3431. return self.dispatch(request, *args, **kwargs)
  3432. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3433. response = self.handle_exception(exc)
  3434. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3435. self.raise_uncaught_exception(exc)
  3436. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3437. raise exc
  3438. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3439. response = handler(request, *args, **kwargs)
  3440. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  3441. return self.get_paginated_response(serializer.data)
  3442. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  3443. ret = super().data
  3444. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  3445. self._data = self.to_representation(self.instance)
  3446. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  3447. return [
  3448. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  3449. self.child.to_representation(item) for item in iterable
  3450. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
  3451. ret[field.field_name] = field.to_representation(attribute)
  3452. File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
  3453. return int(value)
  3454. ValueError: invalid literal for int() with base 10: '无'
  3455. [2025-03-16 20:15:37,683][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3456. [2025-03-16 20:15:40,356][django.request.log_response():241] [WARNING] Not Found: /goods/
  3457. [2025-03-16 20:16:34,146][django.request.log_response():241] [WARNING] Not Found: /goods/
  3458. [2025-03-16 20:26:53,289][django.request.log_response():241] [WARNING] Not Found: /goods/
  3459. [2025-03-16 20:28:30,410][django.request.log_response():241] [WARNING] Not Found: /goods/
  3460. [2025-03-16 20:28:33,312][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3461. [2025-03-16 20:28:39,289][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3462. [2025-03-16 20:28:40,091][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3463. [2025-03-16 20:28:45,957][django.request.log_response():241] [WARNING] Not Found: /goods/
  3464. [2025-03-16 20:28:47,441][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3465. [2025-03-16 20:28:48,237][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3466. [2025-03-16 20:31:18,160][django.request.log_response():241] [WARNING] Not Found: /goods/
  3467. [2025-03-16 20:31:40,255][django.request.log_response():241] [WARNING] Not Found: /goods/
  3468. [2025-03-16 20:31:46,992][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3469. [2025-03-16 20:33:11,323][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3470. [2025-03-16 20:33:11,785][django.request.log_response():241] [WARNING] Not Found: /goods/
  3471. [2025-03-16 20:33:12,376][django.request.log_response():241] [WARNING] Not Found: /goods/
  3472. [2025-03-16 20:33:15,947][django.request.log_response():241] [WARNING] Not Found: /goods/
  3473. [2025-03-16 20:33:25,444][django.request.log_response():241] [WARNING] Not Found: /goods/
  3474. [2025-03-16 20:33:38,206][django.request.log_response():241] [WARNING] Not Found: /goods/
  3475. [2025-03-16 20:33:44,347][django.request.log_response():241] [WARNING] Not Found: /goods/
  3476. [2025-03-16 20:34:32,401][django.request.log_response():241] [WARNING] Not Found: /goods/
  3477. [2025-03-16 20:34:32,406][django.request.log_response():241] [WARNING] Not Found: /goods/
  3478. [2025-03-16 20:34:38,601][django.request.log_response():241] [WARNING] Not Found: /goods/
  3479. [2025-03-16 20:35:16,323][django.request.log_response():241] [WARNING] Not Found: /goods/
  3480. [2025-03-16 20:35:18,917][django.request.log_response():241] [WARNING] Not Found: /goods/
  3481. [2025-03-16 20:37:11,296][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3482. [2025-03-16 20:37:15,099][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3483. [2025-03-16 20:37:23,323][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3484. [2025-03-16 20:40:56,854][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3485. [2025-03-16 20:41:05,679][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/bin/
  3486. [2025-03-16 21:17:26,360][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/1/
  3487. [2025-03-16 21:26:47,332][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/1/
  3488. [2025-03-16 22:18:02,443][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3489. [2025-03-16 22:20:41,145][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3490. [2025-03-16 22:20:53,061][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3491. [2025-03-16 22:20:54,929][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3492. [2025-03-16 22:20:55,745][django.request.log_response():241] [WARNING] Not Found: /goods/
  3493. [2025-03-16 22:21:02,749][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3494. [2025-03-16 22:21:05,173][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3495. [2025-03-16 22:21:10,984][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3496. [2025-03-16 22:21:13,741][django.request.log_response():241] [WARNING] Not Found: /asn/filedetail/
  3497. [2025-03-16 22:22:20,611][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3498. [2025-03-16 22:23:14,318][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/1/
  3499. [2025-03-16 22:24:46,407][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3500. [2025-03-16 22:25:00,842][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3501. [2025-03-16 22:25:05,129][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3502. [2025-03-16 22:25:42,398][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3503. [2025-03-16 22:38:31,119][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3504. [2025-03-17 10:46:28,242][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3505. [2025-03-17 10:46:49,741][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3506. [2025-03-17 10:50:06,108][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3507. [2025-03-17 10:50:18,447][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3508. [2025-03-17 14:45:34,298][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3509. [2025-03-17 14:46:53,464][django.request.log_response():241] [WARNING] Not Found: /reportcenter/file/document_date__range=2024-10-03,2024-10-05+
  3510. [2025-03-17 15:09:04,270][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3511. [2025-03-17 15:09:27,811][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3512. [2025-03-17 15:09:30,667][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  3513. [2025-03-17 15:09:32,285][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3514. [2025-03-17 15:09:32,764][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3515. [2025-03-17 15:09:41,974][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3516. [2025-03-17 15:09:49,442][django.request.log_response():241] [WARNING] Not Found: /goods/
  3517. [2025-03-17 15:09:56,641][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3518. [2025-03-17 15:10:00,919][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3519. [2025-03-17 15:10:49,485][django.request.log_response():241] [WARNING] Not Found: /goods/
  3520. [2025-03-17 15:10:59,893][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3521. [2025-03-17 15:11:57,378][django.request.log_response():241] [WARNING] Not Found: /goods/
  3522. [2025-03-17 15:12:49,826][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3523. [2025-03-17 15:19:12,452][django.request.log_response():241] [WARNING] Not Found: /goods/
  3524. [2025-03-17 15:19:16,442][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3525. [2025-03-17 15:19:18,751][django.request.log_response():241] [WARNING] Not Found: /goods/
  3526. [2025-03-17 15:20:38,021][django.request.log_response():241] [WARNING] Not Found: /goods/
  3527. [2025-03-17 15:23:04,813][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
  3528. [2025-03-17 15:23:05,692][django.request.log_response():241] [WARNING] Not Found: /goodsclass/
  3529. [2025-03-17 15:23:06,398][django.request.log_response():241] [WARNING] Not Found: /goodscolor/
  3530. [2025-03-17 15:23:07,145][django.request.log_response():241] [WARNING] Not Found: /goodsbrand/
  3531. [2025-03-17 15:23:07,647][django.request.log_response():241] [WARNING] Not Found: /goodsshape/
  3532. [2025-03-17 15:23:08,134][django.request.log_response():241] [WARNING] Not Found: /goodsspecs/
  3533. [2025-03-17 15:23:08,942][django.request.log_response():241] [WARNING] Not Found: /goodsorigin/
  3534. [2025-03-17 15:23:10,638][django.request.log_response():241] [WARNING] Not Found: /goods/
  3535. [2025-03-17 15:41:27,233][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3536. [2025-03-17 16:24:54,284][django.request.log_response():241] [WARNING] Not Found: /goods/
  3537. [2025-03-17 16:26:08,556][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3538. [2025-03-17 16:26:16,807][django.request.log_response():241] [WARNING] Not Found: /goods/
  3539. [2025-03-17 16:26:28,160][django.request.log_response():241] [WARNING] Not Found: /goods/
  3540. [2025-03-17 16:26:59,685][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3541. [2025-03-17 16:27:00,941][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3542. [2025-03-17 16:27:04,641][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3543. [2025-03-17 16:27:15,258][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3544. [2025-03-17 16:27:27,979][django.request.log_response():241] [WARNING] Not Found: /stock/list/
  3545. [2025-03-17 16:27:38,454][django.request.log_response():241] [WARNING] Not Found: /goods/
  3546. [2025-03-17 16:28:02,460][django.request.log_response():241] [WARNING] Not Found: /goods/
  3547. [2025-03-17 16:28:02,875][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3548. [2025-03-17 16:28:05,298][django.request.log_response():241] [WARNING] Not Found: /goods/
  3549. [2025-03-17 16:28:06,688][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
  3550. [2025-03-17 16:28:07,315][django.request.log_response():241] [WARNING] Not Found: /goodsclass/
  3551. [2025-03-17 16:28:07,750][django.request.log_response():241] [WARNING] Not Found: /goodsbrand/
  3552. [2025-03-17 16:28:08,291][django.request.log_response():241] [WARNING] Not Found: /goodsspecs/
  3553. [2025-03-17 16:28:08,826][django.request.log_response():241] [WARNING] Not Found: /goodsorigin/
  3554. [2025-03-17 16:28:09,628][django.request.log_response():241] [WARNING] Not Found: /goodsshape/
  3555. [2025-03-17 16:28:10,005][django.request.log_response():241] [WARNING] Not Found: /goodsclass/
  3556. [2025-03-17 16:28:10,406][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
  3557. [2025-03-17 16:28:10,761][django.request.log_response():241] [WARNING] Not Found: /goods/
  3558. [2025-03-17 16:29:00,648][django.request.log_response():241] [WARNING] Not Found: /goodsorigin/
  3559. [2025-03-17 16:29:02,600][django.request.log_response():241] [WARNING] Not Found: /goodsspecs/
  3560. [2025-03-17 16:29:03,095][django.request.log_response():241] [WARNING] Not Found: /goodsshape/
  3561. [2025-03-17 16:29:03,784][django.request.log_response():241] [WARNING] Not Found: /goodsbrand/
  3562. [2025-03-17 16:29:04,829][django.request.log_response():241] [WARNING] Not Found: /goodscolor/
  3563. [2025-03-17 16:29:05,643][django.request.log_response():241] [WARNING] Not Found: /goodsclass/
  3564. [2025-03-17 16:29:06,098][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
  3565. [2025-03-17 16:29:07,324][django.request.log_response():241] [WARNING] Not Found: /goods/
  3566. [2025-03-17 16:29:14,942][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
  3567. [2025-03-17 16:29:19,089][django.request.log_response():241] [WARNING] Not Found: /goods/
  3568. [2025-03-17 16:29:27,906][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3569. [2025-03-17 16:48:10,788][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3570. [2025-03-17 16:48:34,805][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3571. [2025-03-17 16:48:35,722][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3572. [2025-03-17 16:48:38,408][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3573. [2025-03-17 16:48:57,150][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3574. [2025-03-17 16:49:00,578][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3575. [2025-03-17 16:49:01,388][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3576. [2025-03-17 16:49:02,465][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3577. [2025-03-17 16:50:25,413][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3578. [2025-03-17 16:50:27,321][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3579. [2025-03-17 16:50:39,887][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3580. [2025-03-17 16:50:40,708][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3581. [2025-03-17 16:50:41,429][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3582. [2025-03-17 16:50:42,084][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3583. [2025-03-17 16:51:35,650][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3584. [2025-03-17 16:51:43,009][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3585. [2025-03-17 16:51:45,450][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3586. [2025-03-17 16:51:46,272][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3587. [2025-03-17 16:51:46,990][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3588. [2025-03-17 16:51:47,718][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3589. [2025-03-17 16:51:48,301][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3590. [2025-03-17 16:52:12,610][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3591. [2025-03-17 16:52:24,626][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3592. [2025-03-17 16:52:25,713][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3593. [2025-03-17 16:52:26,690][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3594. [2025-03-17 16:52:38,240][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3595. [2025-03-17 16:53:14,193][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3596. [2025-03-17 16:56:51,334][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3597. [2025-03-17 16:57:01,628][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3598. [2025-03-17 16:57:04,622][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3599. [2025-03-17 16:57:07,532][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3600. [2025-03-17 16:57:08,344][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3601. [2025-03-17 16:57:12,436][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3602. [2025-03-17 16:57:30,647][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3603. [2025-03-17 16:57:38,166][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3604. [2025-03-17 17:00:53,497][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3605. [2025-03-17 17:01:08,903][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3606. [2025-03-17 17:01:26,163][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3607. [2025-03-17 17:11:38,555][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3608. [2025-03-17 17:11:57,880][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3609. [2025-03-17 17:12:08,051][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3610. [2025-03-17 17:13:15,715][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3611. [2025-03-17 17:13:54,368][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3612. [2025-03-17 17:21:56,614][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3613. [2025-03-17 17:21:57,732][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3614. [2025-03-17 17:22:02,894][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3615. [2025-03-17 17:22:30,431][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3616. [2025-03-17 17:24:05,330][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3617. [2025-03-17 17:24:28,219][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3618. [2025-03-17 17:24:29,276][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3619. [2025-03-17 17:24:29,659][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3620. [2025-03-17 17:24:30,356][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3621. [2025-03-17 17:24:31,216][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3622. [2025-03-17 17:25:46,586][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3623. [2025-03-17 17:25:50,688][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3624. [2025-03-17 17:25:57,850][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3625. [2025-03-17 17:26:09,194][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3626. [2025-03-17 17:26:15,237][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3627. [2025-03-17 17:26:27,952][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3628. [2025-03-17 17:26:29,103][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3629. [2025-03-17 17:26:30,717][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3630. [2025-03-17 17:26:34,647][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3631. [2025-03-17 17:26:36,170][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3632. [2025-03-17 17:26:39,966][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3633. [2025-03-17 17:26:45,427][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3634. [2025-03-17 17:27:06,866][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3635. [2025-03-17 17:28:53,032][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3636. [2025-03-17 17:28:54,153][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3637. [2025-03-17 17:28:55,832][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  3638. [2025-03-17 17:29:09,609][django.request.log_response():241] [WARNING] Not Found: /goods/
  3639. [2025-03-17 17:29:12,460][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3640. [2025-03-17 17:29:15,586][django.request.log_response():241] [WARNING] Not Found: /goods/
  3641. [2025-03-17 17:29:40,003][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3642. [2025-03-17 17:29:42,275][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3643. [2025-03-17 17:29:50,916][django.request.log_response():241] [WARNING] Not Found: /goods/
  3644. [2025-03-17 17:30:15,443][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3645. [2025-03-17 17:30:20,049][django.request.log_response():241] [WARNING] Not Found: /goods/
  3646. [2025-03-17 17:30:21,406][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
  3647. [2025-03-17 17:30:23,643][django.request.log_response():241] [WARNING] Not Found: /goods/
  3648. [2025-03-17 17:31:35,582][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3649. [2025-03-17 17:31:40,068][django.request.log_response():241] [WARNING] Not Found: /goods/
  3650. [2025-03-17 17:31:41,847][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3651. [2025-03-17 17:31:43,716][django.request.log_response():241] [WARNING] Not Found: /goods/
  3652. [2025-03-17 17:32:07,024][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3653. [2025-03-17 17:32:10,661][django.request.log_response():241] [WARNING] Not Found: /goods/
  3654. [2025-03-17 17:32:20,335][django.request.log_response():241] [WARNING] Not Found: /goods/
  3655. [2025-03-17 17:32:37,840][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3656. [2025-03-17 17:32:46,792][django.request.log_response():241] [WARNING] Not Found: /goods/
  3657. [2025-03-17 17:32:58,074][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3658. [2025-03-17 17:34:15,815][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3659. [2025-03-17 17:34:17,130][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3660. [2025-03-17 17:37:35,113][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3661. [2025-03-17 17:37:39,301][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
  3662. [2025-03-17 17:37:42,906][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3663. [2025-03-17 17:37:46,011][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3664. [2025-03-17 17:42:54,743][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  3665. [2025-03-17 17:42:56,297][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3666. [2025-03-17 18:35:13,484][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3667. [2025-03-17 18:35:45,866][django.request.log_response():241] [WARNING] Not Found: /asn/list/
  3668. [2025-03-17 18:58:28,072][django.request.log_response():241] [WARNING] Not Found: /reportcenter/asn/list/
  3669. [2025-03-17 19:01:18,839][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3670. Traceback (most recent call last):
  3671. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3672. raise exc_info[1]
  3673. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3674. response = await get_response(request)
  3675. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3676. response = await wrapped_callback(
  3677. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3678. ret = await asyncio.wait_for(future, timeout=None)
  3679. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3680. return await fut
  3681. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3682. result = self.fn(*self.args, **self.kwargs)
  3683. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3684. return func(*args, **kwargs)
  3685. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3686. return view_func(*args, **kwargs)
  3687. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3688. return self.dispatch(request, *args, **kwargs)
  3689. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3690. response = self.handle_exception(exc)
  3691. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3692. self.raise_uncaught_exception(exc)
  3693. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3694. raise exc
  3695. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3696. response = handler(request, *args, **kwargs)
  3697. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
  3698. data['openid'] = self.request.auth.openid
  3699. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  3700. self._assert_mutable()
  3701. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  3702. raise AttributeError("This QueryDict instance is immutable")
  3703. AttributeError: This QueryDict instance is immutable
  3704. [2025-03-18 14:02:20,209][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3705. Traceback (most recent call last):
  3706. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3707. raise exc_info[1]
  3708. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3709. response = await get_response(request)
  3710. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3711. response = await wrapped_callback(
  3712. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3713. ret = await asyncio.wait_for(future, timeout=None)
  3714. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3715. return await fut
  3716. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3717. result = self.fn(*self.args, **self.kwargs)
  3718. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3719. return func(*args, **kwargs)
  3720. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3721. return view_func(*args, **kwargs)
  3722. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3723. return self.dispatch(request, *args, **kwargs)
  3724. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3725. response = self.handle_exception(exc)
  3726. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3727. self.raise_uncaught_exception(exc)
  3728. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3729. raise exc
  3730. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3731. response = handler(request, *args, **kwargs)
  3732. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
  3733. data['openid'] = self.request.auth.openid
  3734. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  3735. self._assert_mutable()
  3736. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  3737. raise AttributeError("This QueryDict instance is immutable")
  3738. AttributeError: This QueryDict instance is immutable
  3739. [2025-03-18 14:03:33,883][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3740. Traceback (most recent call last):
  3741. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3742. raise exc_info[1]
  3743. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3744. response = await get_response(request)
  3745. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3746. response = await wrapped_callback(
  3747. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3748. ret = await asyncio.wait_for(future, timeout=None)
  3749. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3750. return await fut
  3751. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3752. result = self.fn(*self.args, **self.kwargs)
  3753. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3754. return func(*args, **kwargs)
  3755. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3756. return view_func(*args, **kwargs)
  3757. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3758. return self.dispatch(request, *args, **kwargs)
  3759. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3760. response = self.handle_exception(exc)
  3761. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3762. self.raise_uncaught_exception(exc)
  3763. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3764. raise exc
  3765. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3766. response = handler(request, *args, **kwargs)
  3767. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
  3768. data['openid'] = self.request.auth.openid
  3769. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  3770. self._assert_mutable()
  3771. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  3772. raise AttributeError("This QueryDict instance is immutable")
  3773. AttributeError: This QueryDict instance is immutable
  3774. [2025-03-18 14:11:24,699][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3775. Traceback (most recent call last):
  3776. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3777. raise exc_info[1]
  3778. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3779. response = await get_response(request)
  3780. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3781. response = await wrapped_callback(
  3782. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3783. ret = await asyncio.wait_for(future, timeout=None)
  3784. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3785. return await fut
  3786. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3787. result = self.fn(*self.args, **self.kwargs)
  3788. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3789. return func(*args, **kwargs)
  3790. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3791. return view_func(*args, **kwargs)
  3792. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3793. return self.dispatch(request, *args, **kwargs)
  3794. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3795. response = self.handle_exception(exc)
  3796. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3797. self.raise_uncaught_exception(exc)
  3798. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3799. raise exc
  3800. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3801. response = handler(request, *args, **kwargs)
  3802. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 76, in create
  3803. data['openid'] = self.request.auth.openid
  3804. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  3805. self._assert_mutable()
  3806. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  3807. raise AttributeError("This QueryDict instance is immutable")
  3808. AttributeError: This QueryDict instance is immutable
  3809. [2025-03-18 14:13:58,860][django.request.log_response():241] [ERROR] Not Implemented: /asn/list/
  3810. [2025-03-18 14:14:33,607][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3811. Traceback (most recent call last):
  3812. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3813. raise exc_info[1]
  3814. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3815. response = await get_response(request)
  3816. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3817. response = await wrapped_callback(
  3818. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3819. ret = await asyncio.wait_for(future, timeout=None)
  3820. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3821. return await fut
  3822. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3823. result = self.fn(*self.args, **self.kwargs)
  3824. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3825. return func(*args, **kwargs)
  3826. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3827. return view_func(*args, **kwargs)
  3828. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3829. return self.dispatch(request, *args, **kwargs)
  3830. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3831. response = self.handle_exception(exc)
  3832. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3833. self.raise_uncaught_exception(exc)
  3834. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3835. raise exc
  3836. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3837. response = handler(request, *args, **kwargs)
  3838. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 77, in create
  3839. data['openid'] = self.request.auth.openid
  3840. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  3841. self._assert_mutable()
  3842. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  3843. raise AttributeError("This QueryDict instance is immutable")
  3844. AttributeError: This QueryDict instance is immutable
  3845. [2025-03-18 14:14:59,812][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3846. Traceback (most recent call last):
  3847. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3848. raise exc_info[1]
  3849. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3850. response = await get_response(request)
  3851. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3852. response = await wrapped_callback(
  3853. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3854. ret = await asyncio.wait_for(future, timeout=None)
  3855. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3856. return await fut
  3857. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3858. result = self.fn(*self.args, **self.kwargs)
  3859. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3860. return func(*args, **kwargs)
  3861. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3862. return view_func(*args, **kwargs)
  3863. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3864. return self.dispatch(request, *args, **kwargs)
  3865. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3866. response = self.handle_exception(exc)
  3867. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3868. self.raise_uncaught_exception(exc)
  3869. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3870. raise exc
  3871. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3872. response = handler(request, *args, **kwargs)
  3873. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 77, in create
  3874. data['creater'] = self.request.auth.openid
  3875. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  3876. self._assert_mutable()
  3877. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  3878. raise AttributeError("This QueryDict instance is immutable")
  3879. AttributeError: This QueryDict instance is immutable
  3880. [2025-03-18 14:15:22,893][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3881. Traceback (most recent call last):
  3882. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3883. raise exc_info[1]
  3884. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3885. response = await get_response(request)
  3886. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3887. response = await wrapped_callback(
  3888. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3889. ret = await asyncio.wait_for(future, timeout=None)
  3890. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3891. return await fut
  3892. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3893. result = self.fn(*self.args, **self.kwargs)
  3894. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3895. return func(*args, **kwargs)
  3896. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3897. return view_func(*args, **kwargs)
  3898. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3899. return self.dispatch(request, *args, **kwargs)
  3900. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3901. response = self.handle_exception(exc)
  3902. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3903. self.raise_uncaught_exception(exc)
  3904. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3905. raise exc
  3906. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3907. response = handler(request, *args, **kwargs)
  3908. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 77, in create
  3909. data['creater'] = self.request.auth.openid
  3910. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  3911. self._assert_mutable()
  3912. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  3913. raise AttributeError("This QueryDict instance is immutable")
  3914. AttributeError: This QueryDict instance is immutable
  3915. [2025-03-18 14:15:59,981][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3916. Traceback (most recent call last):
  3917. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3918. raise exc_info[1]
  3919. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3920. response = await get_response(request)
  3921. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3922. response = await wrapped_callback(
  3923. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3924. ret = await asyncio.wait_for(future, timeout=None)
  3925. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3926. return await fut
  3927. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3928. result = self.fn(*self.args, **self.kwargs)
  3929. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3930. return func(*args, **kwargs)
  3931. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3932. return view_func(*args, **kwargs)
  3933. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3934. return self.dispatch(request, *args, **kwargs)
  3935. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3936. response = self.handle_exception(exc)
  3937. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3938. self.raise_uncaught_exception(exc)
  3939. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3940. raise exc
  3941. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3942. response = handler(request, *args, **kwargs)
  3943. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 77, in create
  3944. data['openid'] = self.request.auth.openid
  3945. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
  3946. self._assert_mutable()
  3947. File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
  3948. raise AttributeError("This QueryDict instance is immutable")
  3949. AttributeError: This QueryDict instance is immutable
  3950. [2025-03-18 14:25:51,586][django.request.log_response():241] [ERROR] Not Implemented: /asn/list/
  3951. [2025-03-18 14:26:26,585][django.request.log_response():241] [ERROR] Not Implemented: /asn/list/
  3952. [2025-03-18 14:35:33,455][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3953. [2025-03-18 14:35:37,764][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  3954. [2025-03-18 14:36:36,108][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3955. Traceback (most recent call last):
  3956. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3957. raise exc_info[1]
  3958. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3959. response = await get_response(request)
  3960. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3961. response = await wrapped_callback(
  3962. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3963. ret = await asyncio.wait_for(future, timeout=None)
  3964. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3965. return await fut
  3966. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3967. result = self.fn(*self.args, **self.kwargs)
  3968. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  3969. return func(*args, **kwargs)
  3970. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  3971. return view_func(*args, **kwargs)
  3972. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  3973. return self.dispatch(request, *args, **kwargs)
  3974. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  3975. response = self.handle_exception(exc)
  3976. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  3977. self.raise_uncaught_exception(exc)
  3978. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  3979. raise exc
  3980. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  3981. response = handler(request, *args, **kwargs)
  3982. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 88, in create
  3983. scanner.objects.create(openid=self.request.auth.openid, mode="ASN", code=data['asn_code'], bar_code=data['bar_code'])
  3984. NameError: name 'scanner' is not defined
  3985. [2025-03-18 15:03:38,258][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  3986. Traceback (most recent call last):
  3987. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  3988. raise exc_info[1]
  3989. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  3990. response = await get_response(request)
  3991. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  3992. response = await wrapped_callback(
  3993. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  3994. ret = await asyncio.wait_for(future, timeout=None)
  3995. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  3996. return await fut
  3997. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  3998. result = self.fn(*self.args, **self.kwargs)
  3999. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4000. return func(*args, **kwargs)
  4001. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4002. return view_func(*args, **kwargs)
  4003. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4004. return self.dispatch(request, *args, **kwargs)
  4005. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4006. response = self.handle_exception(exc)
  4007. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4008. self.raise_uncaught_exception(exc)
  4009. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4010. raise exc
  4011. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4012. response = handler(request, *args, **kwargs)
  4013. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 81, in create
  4014. data['asn_code'] = data['asn_type'] + order_day + '1'
  4015. KeyError: 'asn_type'
  4016. [2025-03-18 15:03:43,553][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  4017. Traceback (most recent call last):
  4018. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4019. raise exc_info[1]
  4020. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4021. response = await get_response(request)
  4022. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4023. response = await wrapped_callback(
  4024. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4025. ret = await asyncio.wait_for(future, timeout=None)
  4026. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4027. return await fut
  4028. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4029. result = self.fn(*self.args, **self.kwargs)
  4030. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4031. return func(*args, **kwargs)
  4032. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4033. return view_func(*args, **kwargs)
  4034. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4035. return self.dispatch(request, *args, **kwargs)
  4036. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4037. response = self.handle_exception(exc)
  4038. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4039. self.raise_uncaught_exception(exc)
  4040. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4041. raise exc
  4042. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4043. response = handler(request, *args, **kwargs)
  4044. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 81, in create
  4045. data['asn_code'] = data['asn_type'] + order_day + '1'
  4046. KeyError: 'asn_type'
  4047. [2025-03-18 15:30:41,866][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  4048. Traceback (most recent call last):
  4049. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4050. raise exc_info[1]
  4051. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4052. response = await get_response(request)
  4053. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4054. response = await wrapped_callback(
  4055. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4056. ret = await asyncio.wait_for(future, timeout=None)
  4057. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4058. return await fut
  4059. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4060. result = self.fn(*self.args, **self.kwargs)
  4061. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4062. return func(*args, **kwargs)
  4063. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4064. return view_func(*args, **kwargs)
  4065. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4066. return self.dispatch(request, *args, **kwargs)
  4067. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4068. response = self.handle_exception(exc)
  4069. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4070. self.raise_uncaught_exception(exc)
  4071. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4072. raise exc
  4073. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4074. response = handler(request, *args, **kwargs)
  4075. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
  4076. qs_set = AsnListModel.objects.filter(openid=self.request.auth.openid,ans_type=data['asn_type'], is_delete=False)
  4077. File "/usr/local/lib/python3.10/dist-packages/django/db/models/manager.py", line 85, in manager_method
  4078. return getattr(self.get_queryset(), name)(*args, **kwargs)
  4079. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1420, in filter
  4080. return self._filter_or_exclude(False, args, kwargs)
  4081. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1438, in _filter_or_exclude
  4082. clone._filter_or_exclude_inplace(negate, args, kwargs)
  4083. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1445, in _filter_or_exclude_inplace
  4084. self._query.add_q(Q(*args, **kwargs))
  4085. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1532, in add_q
  4086. clause, _ = self._add_q(q_object, self.used_aliases)
  4087. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1562, in _add_q
  4088. child_clause, needed_inner = self.build_filter(
  4089. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1407, in build_filter
  4090. lookups, parts, reffed_expression = self.solve_lookup_type(arg)
  4091. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1217, in solve_lookup_type
  4092. _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())
  4093. File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1709, in names_to_path
  4094. raise FieldError(
  4095. django.core.exceptions.FieldError: Cannot resolve keyword 'ans_type' into field. Choices are: asn_code, asn_status, asn_type, code, create_time, creater, goods_code, goods_desc, goods_qty, goods_weight, id, is_delete, openid, update_time
  4096. [2025-03-18 16:32:45,827][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  4097. [2025-03-18 16:48:26,954][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  4098. [2025-03-18 18:04:56,720][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  4099. [2025-03-18 18:19:16,616][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/6/
  4100. Traceback (most recent call last):
  4101. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4102. raise exc_info[1]
  4103. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4104. response = await get_response(request)
  4105. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4106. response = await wrapped_callback(
  4107. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4108. ret = await asyncio.wait_for(future, timeout=None)
  4109. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4110. return await fut
  4111. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4112. result = self.fn(*self.args, **self.kwargs)
  4113. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4114. return func(*args, **kwargs)
  4115. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4116. return view_func(*args, **kwargs)
  4117. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4118. return self.dispatch(request, *args, **kwargs)
  4119. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4120. response = self.handle_exception(exc)
  4121. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4122. self.raise_uncaught_exception(exc)
  4123. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4124. raise exc
  4125. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4126. response = handler(request, *args, **kwargs)
  4127. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 96, in update
  4128. serializer = self.get_serializer(qs, data=data)
  4129. NameError: name 'qs' is not defined
  4130. [2025-03-18 18:20:27,796][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/6/
  4131. Traceback (most recent call last):
  4132. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4133. raise exc_info[1]
  4134. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4135. response = await get_response(request)
  4136. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4137. response = await wrapped_callback(
  4138. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4139. ret = await asyncio.wait_for(future, timeout=None)
  4140. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4141. return await fut
  4142. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4143. result = self.fn(*self.args, **self.kwargs)
  4144. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4145. return func(*args, **kwargs)
  4146. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4147. return view_func(*args, **kwargs)
  4148. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4149. return self.dispatch(request, *args, **kwargs)
  4150. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4151. response = self.handle_exception(exc)
  4152. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4153. self.raise_uncaught_exception(exc)
  4154. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4155. raise exc
  4156. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4157. response = handler(request, *args, **kwargs)
  4158. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 96, in update
  4159. serializer = self.get_serializer(qs, data=data)
  4160. NameError: name 'data' is not defined
  4161. [2025-03-18 18:38:36,275][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/6/
  4162. Traceback (most recent call last):
  4163. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4164. raise exc_info[1]
  4165. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4166. response = await get_response(request)
  4167. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4168. response = await wrapped_callback(
  4169. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4170. ret = await asyncio.wait_for(future, timeout=None)
  4171. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4172. return await fut
  4173. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4174. result = self.fn(*self.args, **self.kwargs)
  4175. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4176. return func(*args, **kwargs)
  4177. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4178. return view_func(*args, **kwargs)
  4179. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4180. return self.dispatch(request, *args, **kwargs)
  4181. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4182. response = self.handle_exception(exc)
  4183. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4184. self.raise_uncaught_exception(exc)
  4185. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4186. raise exc
  4187. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4188. response = handler(request, *args, **kwargs)
  4189. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 103, in update
  4190. serializer_detail.is_valid(raise_exception=True)
  4191. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 741, in is_valid
  4192. assert hasattr(self, 'initial_data'), (
  4193. AssertionError: Cannot call `.is_valid()` as no `data=` keyword argument was passed when instantiating the serializer instance.
  4194. [2025-03-18 18:52:17,312][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  4195. Traceback (most recent call last):
  4196. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4197. raise exc_info[1]
  4198. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4199. response = await get_response(request)
  4200. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4201. response = await wrapped_callback(
  4202. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4203. ret = await asyncio.wait_for(future, timeout=None)
  4204. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4205. return await fut
  4206. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4207. result = self.fn(*self.args, **self.kwargs)
  4208. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4209. return func(*args, **kwargs)
  4210. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4211. return view_func(*args, **kwargs)
  4212. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4213. return self.dispatch(request, *args, **kwargs)
  4214. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4215. response = self.handle_exception(exc)
  4216. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4217. self.raise_uncaught_exception(exc)
  4218. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4219. raise exc
  4220. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4221. response = handler(request, *args, **kwargs)
  4222. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
  4223. qs_set = AsnListModel.objects.filter(openid=self.request.auth.openid,asn_type=data['asn_type'], is_delete=False)
  4224. KeyError: 'asn_type'
  4225. [2025-03-18 19:08:54,675][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  4226. [2025-03-18 19:16:59,428][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
  4227. Traceback (most recent call last):
  4228. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4229. raise exc_info[1]
  4230. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4231. response = await get_response(request)
  4232. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4233. response = await wrapped_callback(
  4234. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4235. ret = await asyncio.wait_for(future, timeout=None)
  4236. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4237. return await fut
  4238. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4239. result = self.fn(*self.args, **self.kwargs)
  4240. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4241. return func(*args, **kwargs)
  4242. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4243. return view_func(*args, **kwargs)
  4244. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4245. return self.dispatch(request, *args, **kwargs)
  4246. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4247. response = self.handle_exception(exc)
  4248. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4249. self.raise_uncaught_exception(exc)
  4250. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4251. raise exc
  4252. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4253. response = handler(request, *args, **kwargs)
  4254. File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 90, in create
  4255. AsnDetailModel.objects.create(data=data)
  4256. File "/usr/local/lib/python3.10/dist-packages/django/db/models/manager.py", line 85, in manager_method
  4257. return getattr(self.get_queryset(), name)(*args, **kwargs)
  4258. File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 669, in create
  4259. obj = self.model(**kwargs)
  4260. File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
  4261. raise TypeError(
  4262. TypeError: AsnDetailModel() got unexpected keyword arguments: 'data'
  4263. [2025-03-18 19:44:31,248][django.request.log_response():241] [WARNING] Not Found: /asn/file/
  4264. [2025-03-18 19:47:25,499][django.request.log_response():241] [WARNING] Not Found: /goods/
  4265. [2025-03-18 19:47:27,538][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  4266. [2025-03-18 19:47:29,375][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  4267. [2025-03-18 19:47:44,822][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  4268. [2025-03-18 19:47:52,007][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  4269. [2025-03-18 19:47:59,052][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  4270. [2025-03-18 19:48:02,177][django.request.log_response():241] [WARNING] Not Found: /dn/list/
  4271. [2025-03-18 19:48:07,356][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  4272. [2025-03-18 20:01:57,402][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  4273. [2025-03-18 20:02:45,710][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  4274. [2025-03-18 20:02:48,881][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  4275. [2025-03-18 20:02:55,213][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  4276. [2025-03-18 20:05:45,595][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  4277. [2025-03-18 20:10:02,273][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
  4278. [2025-03-18 20:10:27,243][django.request.log_response():241] [ERROR] Internal Server Error: /asn/detail/
  4279. Traceback (most recent call last):
  4280. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4281. raise exc_info[1]
  4282. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4283. response = await get_response(request)
  4284. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4285. response = await wrapped_callback(
  4286. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4287. ret = await asyncio.wait_for(future, timeout=None)
  4288. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4289. return await fut
  4290. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4291. result = self.fn(*self.args, **self.kwargs)
  4292. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4293. return func(*args, **kwargs)
  4294. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4295. return view_func(*args, **kwargs)
  4296. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4297. return self.dispatch(request, *args, **kwargs)
  4298. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4299. response = self.handle_exception(exc)
  4300. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4301. self.raise_uncaught_exception(exc)
  4302. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4303. raise exc
  4304. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4305. response = handler(request, *args, **kwargs)
  4306. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  4307. return self.get_paginated_response(serializer.data)
  4308. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  4309. ret = super().data
  4310. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  4311. self._data = self.to_representation(self.instance)
  4312. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  4313. return [
  4314. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  4315. self.child.to_representation(item) for item in iterable
  4316. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
  4317. ret[field.field_name] = field.to_representation(attribute)
  4318. File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
  4319. return int(value)
  4320. ValueError: invalid literal for int() with base 10: '入库中'
  4321. [2025-03-18 20:10:32,951][django.request.log_response():241] [ERROR] Internal Server Error: /asn/detail/
  4322. Traceback (most recent call last):
  4323. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4324. raise exc_info[1]
  4325. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4326. response = await get_response(request)
  4327. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4328. response = await wrapped_callback(
  4329. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4330. ret = await asyncio.wait_for(future, timeout=None)
  4331. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4332. return await fut
  4333. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4334. result = self.fn(*self.args, **self.kwargs)
  4335. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4336. return func(*args, **kwargs)
  4337. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4338. return view_func(*args, **kwargs)
  4339. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4340. return self.dispatch(request, *args, **kwargs)
  4341. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4342. response = self.handle_exception(exc)
  4343. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4344. self.raise_uncaught_exception(exc)
  4345. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4346. raise exc
  4347. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4348. response = handler(request, *args, **kwargs)
  4349. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  4350. return self.get_paginated_response(serializer.data)
  4351. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  4352. ret = super().data
  4353. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  4354. self._data = self.to_representation(self.instance)
  4355. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  4356. return [
  4357. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  4358. self.child.to_representation(item) for item in iterable
  4359. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
  4360. ret[field.field_name] = field.to_representation(attribute)
  4361. File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
  4362. return int(value)
  4363. ValueError: invalid literal for int() with base 10: '入库中'
  4364. [2025-03-18 20:10:38,339][django.request.log_response():241] [ERROR] Internal Server Error: /asn/detail/
  4365. Traceback (most recent call last):
  4366. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
  4367. raise exc_info[1]
  4368. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
  4369. response = await get_response(request)
  4370. File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
  4371. response = await wrapped_callback(
  4372. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
  4373. ret = await asyncio.wait_for(future, timeout=None)
  4374. File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
  4375. return await fut
  4376. File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  4377. result = self.fn(*self.args, **self.kwargs)
  4378. File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
  4379. return func(*args, **kwargs)
  4380. File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  4381. return view_func(*args, **kwargs)
  4382. File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
  4383. return self.dispatch(request, *args, **kwargs)
  4384. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
  4385. response = self.handle_exception(exc)
  4386. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
  4387. self.raise_uncaught_exception(exc)
  4388. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  4389. raise exc
  4390. File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
  4391. response = handler(request, *args, **kwargs)
  4392. File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
  4393. return self.get_paginated_response(serializer.data)
  4394. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
  4395. ret = super().data
  4396. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
  4397. self._data = self.to_representation(self.instance)
  4398. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
  4399. return [
  4400. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
  4401. self.child.to_representation(item) for item in iterable
  4402. File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
  4403. ret[field.field_name] = field.to_representation(attribute)
  4404. File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
  4405. return int(value)
  4406. ValueError: invalid literal for int() with base 10: '入库中'
  4407. [2025-03-19 13:19:27,671][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  4408. [2025-03-19 13:28:55,012][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
  4409. [2025-03-19 13:29:44,378][django.request.log_response():241] [WARNING] Not Found: /dn/list/