server.log 243 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496
  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: '无'