12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451 |
- [2025-02-27 19:25:06,762][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: warehouse
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
- self.page = paginator.page(page_number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
- number = self.validate_number(number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
- if number > self.num_pages:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
- if self.count == 0 and not self.allow_empty_first_page:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
- return c()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
- return self.query.get_count(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
- return obj.get_aggregation(using, ["__count"])["__count"]
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: warehouse
- [2025-02-27 19:25:13,560][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: warehouse
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
- self.page = paginator.page(page_number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
- number = self.validate_number(number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
- if number > self.num_pages:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
- if self.count == 0 and not self.allow_empty_first_page:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
- return c()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
- return self.query.get_count(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
- return obj.get_aggregation(using, ["__count"])["__count"]
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: warehouse
- [2025-02-28 10:56:42,709][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: warehouse
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
- self.page = paginator.page(page_number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
- number = self.validate_number(number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
- if number > self.num_pages:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
- if self.count == 0 and not self.allow_empty_first_page:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
- return c()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
- return self.query.get_count(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
- return obj.get_aggregation(using, ["__count"])["__count"]
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: warehouse
- [2025-02-28 10:59:12,958][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: warehouse
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
- self.page = paginator.page(page_number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
- number = self.validate_number(number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
- if number > self.num_pages:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
- if self.count == 0 and not self.allow_empty_first_page:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
- return c()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
- return self.query.get_count(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
- return obj.get_aggregation(using, ["__count"])["__count"]
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: warehouse
- [2025-02-28 10:59:24,215][django.request.log_response():241] [ERROR] Internal Server Error: /register/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: user_profile
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
- return bound_method(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
- if Users.objects.filter(name=str(data['name']), developer=1, is_delete=0).exists():
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
- return self.query.has_results(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
- return compiler.has_results()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
- return bool(self.execute_sql(SINGLE))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: user_profile
- [2025-02-28 11:06:01,105][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: warehouse
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
- self.page = paginator.page(page_number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
- number = self.validate_number(number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
- if number > self.num_pages:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
- if self.count == 0 and not self.allow_empty_first_page:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
- return c()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
- return self.query.get_count(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
- return obj.get_aggregation(using, ["__count"])["__count"]
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: warehouse
- [2025-02-28 11:06:36,929][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: warehouse
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset
- self.page = paginator.page(page_number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page
- number = self.validate_number(number)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number
- if number > self.num_pages:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages
- if self.count == 0 and not self.allow_empty_first_page:
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count
- return c()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count
- return self.query.get_count(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count
- return obj.get_aggregation(using, ["__count"])["__count"]
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: warehouse
- [2025-02-28 11:09:28,852][django.request.log_response():241] [ERROR] Internal Server Error: /register/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: user_profile
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
- return bound_method(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
- if Users.objects.filter(name=str(data['name']), developer=1, is_delete=0).exists():
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
- return self.query.has_results(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
- return compiler.has_results()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
- return bool(self.execute_sql(SINGLE))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: user_profile
- [2025-02-28 11:10:28,041][django.request.log_response():241] [ERROR] Internal Server Error: /register/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: user_profile
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
- return bound_method(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
- if Users.objects.filter(name=str(data['name']), developer=1, is_delete=0).exists():
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
- return self.query.has_results(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
- return compiler.has_results()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
- return bool(self.execute_sql(SINGLE))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: user_profile
- [2025-02-28 11:22:16,975][django.request.log_response():241] [ERROR] Internal Server Error: /register/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: user_profile
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
- return bound_method(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
- # 检查是否存在名为 data['name'] 的开发者用户且未被删除
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
- return self.query.has_results(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
- return compiler.has_results()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
- return bool(self.execute_sql(SINGLE))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: user_profile
- [2025-02-28 11:22:22,226][django.request.log_response():241] [ERROR] Internal Server Error: /register/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: user_profile
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
- return bound_method(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
- # 检查是否存在名为 data['name'] 的开发者用户且未被删除
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
- return self.query.has_results(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
- return compiler.has_results()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
- return bool(self.execute_sql(SINGLE))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: user_profile
- [2025-02-28 11:24:32,849][django.request.log_response():241] [ERROR] Internal Server Error: /register/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such table: user_profile
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
- return bound_method(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register
- # 检查是否存在名为 data['name'] 的开发者用户且未被删除
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists
- return self.query.has_results(using=self.db)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results
- return compiler.has_results()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results
- return bool(self.execute_sql(SINGLE))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such table: user_profile
- [2025-02-28 15:21:53,672][django.security.SuspiciousSession.decode():108] [WARNING] Session data corrupted
- [2025-02-28 20:51:02,628][django.security.SuspiciousSession.decode():108] [WARNING] Session data corrupted
- [2025-02-28 22:30:32,193][django.security.SuspiciousSession.decode():108] [WARNING] Session data corrupted
- [2025-02-28 23:10:38,459][django.request.log_response():241] [WARNING] Not Found: /stock/stockbinlist
- [2025-02-28 23:11:22,350][django.request.log_response():241] [WARNING] Not Found: /stock/emptybin
- [2025-03-01 13:13:22,891][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/greater_wms/./warehouse/views.py", line 69, in create
- def create(self, request, *args, **kwargs):
- KeyError: 'warehouse_name'
- [2025-03-01 13:19:06,717][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/greater_wms/./warehouse/views.py", line 68, in create
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-01 13:33:37,542][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/greater_wms/./warehouse/views.py", line 68, in create
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-01 14:18:07,094][django.request.log_response():241] [WARNING] Not Found: /warehouse_1/
- [2025-03-10 19:59:30,989][django.request.log_response():241] [WARNING] Not Found: /dashboard/
- [2025-03-10 19:59:34,904][django.request.log_response():241] [WARNING] Not Found: /dashboard/
- [2025-03-12 15:23:43,311][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:23:45,231][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:23:45,234][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:23:51,359][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:23:52,259][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:23:52,275][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:24:03,304][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:24:03,313][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:24:22,409][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:24:22,424][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:24:57,499][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 15:24:58,923][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info
- [2025-03-12 20:51:21,094][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-12 20:52:08,884][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-12 20:52:20,960][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-12 22:37:39,830][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-12 22:37:44,179][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-13 10:50:38,257][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-13 10:56:25,952][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 10:57:23,167][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 10:58:01,494][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 11:01:20,743][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 11:07:09,331][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 11:07:16,578][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 21:36:36,576][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 21:36:39,157][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 21:36:42,406][django.request.log_response():241] [WARNING] Not Found: /warehouse/
- [2025-03-13 21:36:48,663][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 21:37:04,044][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 21:37:21,724][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 21:38:03,849][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 21:43:05,840][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:01:36,666][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:01:50,931][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:04:07,813][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:04:31,578][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:06:59,285][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:12:25,717][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:12:37,838][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:30:50,626][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:30:55,264][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:30:59,647][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-13 22:31:26,119][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 119, in create
- check_code = random.randint(1000, 9999)
- NameError: name 'random' is not defined
- [2025-03-13 22:31:34,462][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 119, in create
- check_code = random.randint(1000, 9999)
- NameError: name 'random' is not defined
- [2025-03-13 22:32:16,714][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 119, in create
- check_code = random.randint(1000, 9999)
- NameError: name 'random' is not defined
- [2025-03-13 22:33:09,371][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 120, in create
- staff.objects.create(staff_name=str(data['staff_name']),
- NameError: name 'staff' is not defined
- [2025-03-13 22:33:12,904][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 120, in create
- staff.objects.create(staff_name=str(data['staff_name']),
- NameError: name 'staff' is not defined
- [2025-03-14 10:06:47,430][django.request.log_response():241] [WARNING] Not Found: /staff/1/get
- [2025-03-14 11:25:14,368][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such column: staff.group_id
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
- return list(self.page)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
- return len(self.object_list)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
- self._fetch_all()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
- results = compiler.execute_sql(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such column: staff.group_id
- [2025-03-14 11:25:18,672][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such column: staff.group_id
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
- return list(self.page)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
- return len(self.object_list)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
- self._fetch_all()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
- results = compiler.execute_sql(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such column: staff.group_id
- [2025-03-14 11:25:20,078][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such column: staff.group_id
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
- return list(self.page)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
- return len(self.object_list)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
- self._fetch_all()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
- results = compiler.execute_sql(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such column: staff.group_id
- [2025-03-14 11:25:39,687][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such column: staff.group_id
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
- return list(self.page)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
- return len(self.object_list)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
- self._fetch_all()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
- results = compiler.execute_sql(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such column: staff.group_id
- [2025-03-14 11:25:42,559][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 11:25:42,605][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such column: staff.group_id
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
- return list(self.page)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
- return len(self.object_list)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
- self._fetch_all()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
- results = compiler.execute_sql(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such column: staff.group_id
- [2025-03-14 11:25:42,622][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such column: staff.group_id
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
- return list(self.page)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
- return len(self.object_list)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
- self._fetch_all()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
- results = compiler.execute_sql(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such column: staff.group_id
- [2025-03-14 11:25:49,761][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- sqlite3.OperationalError: no such column: staff.group_id
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list
- page = self.paginate_queryset(queryset)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
- return self.paginator.paginate_queryset(queryset, self.request, view=self)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
- return list(self.page)
- File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
- return len(self.object_list)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__
- self._fetch_all()
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__
- results = compiler.execute_sql(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute
- return Database.Cursor.execute(self, query, params)
- django.db.utils.OperationalError: no such column: staff.group_id
- [2025-03-14 11:37:13,619][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 11:37:22,315][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 11:37:25,483][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 11:37:37,221][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:04:22,541][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:04:45,609][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:04:48,366][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:35:25,405][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:36:31,183][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:36:40,906][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:37:39,646][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:37:50,206][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:37:57,781][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:39:20,465][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:41:20,108][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:41:34,125][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:42:16,984][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:42:24,816][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:43:04,207][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:46:20,027][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:47:44,445][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:47:51,761][django.request.log_response():241] [ERROR] Internal Server Error: /login/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 32, in login
- "appid": staff_detail.app_id,
- AttributeError: 'ListModel' object has no attribute 'app_id'
- [2025-03-14 14:48:22,914][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:49:38,845][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 14:52:52,158][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:11:44,097][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:11:52,055][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:11:56,885][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:12:22,078][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:12:34,790][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:13:25,204][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-14 15:13:26,719][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-14 15:13:28,211][django.request.log_response():241] [WARNING] Not Found: /warehouse/
- [2025-03-14 15:13:32,887][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-14 15:13:34,178][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-14 15:27:22,119][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:41:21,413][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:42:32,081][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:45:45,374][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:48:11,654][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:48:19,097][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:48:24,047][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 15:59:50,156][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:02:58,460][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 497, in dispatch
- self.initial(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 414, in initial
- self.perform_authentication(request)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 324, in perform_authentication
- request.user
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 227, in user
- self._authenticate()
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 380, in _authenticate
- user_auth_tuple = authenticator.authenticate(self)
- File "/home/flower/code/vue_ws/goods_wms/./utils/auth.py", line 14, in authenticate
- user = staffs.objects.filter(openid__exact=str(token)).first()
- NameError: name 'staffs' is not defined
- [2025-03-14 16:03:00,545][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 497, in dispatch
- self.initial(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 414, in initial
- self.perform_authentication(request)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 324, in perform_authentication
- request.user
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 227, in user
- self._authenticate()
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 380, in _authenticate
- user_auth_tuple = authenticator.authenticate(self)
- File "/home/flower/code/vue_ws/goods_wms/./utils/auth.py", line 14, in authenticate
- user = staffs.objects.filter(openid__exact=str(token)).first()
- NameError: name 'staffs' is not defined
- [2025-03-14 16:03:17,681][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 497, in dispatch
- self.initial(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 414, in initial
- self.perform_authentication(request)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 324, in perform_authentication
- request.user
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 227, in user
- self._authenticate()
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 380, in _authenticate
- user_auth_tuple = authenticator.authenticate(self)
- File "/home/flower/code/vue_ws/goods_wms/./utils/auth.py", line 14, in authenticate
- user = staffs.objects.filter(openid__exact=str(token)).first()
- NameError: name 'staffs' is not defined
- [2025-03-14 16:04:11,290][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:04:21,291][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:04:52,163][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:25:13,809][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:36:51,879][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:40:29,989][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:44:08,592][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:46:18,620][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:50:16,125][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 16:50:37,768][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 17:11:26,865][django.request.log_response():241] [ERROR] Internal Server Error: /login/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 48, in login
- auth.login(request, user)
- File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/__init__.py", line 144, in login
- user_logged_in.send(sender=user.__class__, request=request, user=user)
- File "/usr/local/lib/python3.10/dist-packages/django/dispatch/dispatcher.py", line 176, in send
- return [
- File "/usr/local/lib/python3.10/dist-packages/django/dispatch/dispatcher.py", line 177, in <listcomp>
- (receiver, receiver(signal=self, sender=sender, **named))
- File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 23, in update_last_login
- user.save(update_fields=["last_login"])
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 795, in save
- raise ValueError(
- ValueError: The following fields do not exist in this model, are m2m fields, or are non-concrete fields: last_login
- [2025-03-14 17:22:24,195][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 17:28:18,321][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 17:28:31,039][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 20:43:31,977][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 20:43:38,128][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 20:44:10,720][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 20:44:25,826][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 121, in create
- user = User.objects.create_user(username=str(data['staff_name']),
- File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 161, in create_user
- return self._create_user(username, email, password, **extra_fields)
- File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 154, in _create_user
- user.password = make_password(password)
- File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/hashers.py", line 86, in make_password
- raise TypeError(
- TypeError: Password must be a string or bytes, got int.
- [2025-03-14 20:44:31,078][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 121, in create
- user = User.objects.create_user(username=str(data['staff_name']),
- File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 161, in create_user
- return self._create_user(username, email, password, **extra_fields)
- File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 154, in _create_user
- user.password = make_password(password)
- File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/hashers.py", line 86, in make_password
- raise TypeError(
- TypeError: Password must be a string or bytes, got int.
- [2025-03-14 20:47:11,284][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 20:55:54,959][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 20:58:48,810][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 20:59:00,909][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 20:59:11,738][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:01:29,478][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:03:41,280][django.request.log_response():241] [ERROR] Internal Server Error: /register/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper
- return bound_method(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./userregister/views.py", line 19, in register
- post_data = json.loads(request.body.decode())
- File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
- return _default_decoder.decode(s)
- File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "/usr/lib/python3.10/json/decoder.py", line 353, in raw_decode
- obj, end = self.scan_once(s, idx)
- json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 2 (char 35)
- [2025-03-14 21:05:51,560][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:07:49,193][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:08:29,157][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:08:41,184][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:10:47,058][django.request.log_response():241] [ERROR] Internal Server Error: /login/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login
- staff_id = staff.objects.filter(openid=user_detail.openid, staff_name=str(user_detail.name)).first().id
- AttributeError: 'NoneType' object has no attribute 'openid'
- [2025-03-14 21:11:07,084][django.request.log_response():241] [ERROR] Internal Server Error: /login/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login
- staff_id = staff.objects.filter(openid=user_detail.openid, staff_name=str(user_detail.name)).first().id
- AttributeError: 'NoneType' object has no attribute 'openid'
- [2025-03-14 21:11:24,677][django.request.log_response():241] [ERROR] Internal Server Error: /login/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login
- staff_id = staff.objects.filter(openid=user_detail.openid, staff_name=str(user_detail.name)).first().id
- AttributeError: 'NoneType' object has no attribute 'openid'
- [2025-03-14 21:18:48,585][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:20:43,308][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:21:56,985][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:22:13,409][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:22:21,563][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:22:27,218][django.request.log_response():241] [ERROR] Internal Server Error: /login/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login
- data = {
- AttributeError: 'NoneType' object has no attribute 'openid'
- [2025-03-14 21:23:01,370][django.request.log_response():241] [ERROR] Internal Server Error: /login/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 27, in login
- staff_detail = staff.objects.filter(staff_name=str(user_detail.name)).first()
- NameError: name 'user_detail' is not defined
- [2025-03-14 21:23:39,383][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:23:44,482][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:28:59,181][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 21:52:28,140][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 78, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 38, in list
- queryset = self.filter_queryset(self.get_queryset())
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 94, in get_queryset
- del self.fields['check_code']
- AttributeError: 'APIViewSet' object has no attribute 'fields'
- [2025-03-14 22:04:28,496][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 78, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 42, in list
- serializer = self.get_serializer(page, many=True)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 178, in get_serializer
- if 'check_code' in serializer.fields:
- AttributeError: 'ListSerializer' object has no attribute 'fields'
- [2025-03-14 22:10:57,990][django.request.log_response():241] [ERROR] Internal Server Error: /staff/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 78, in list
- return super().list(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1164, in get_field_names
- assert field_name not in self._declared_fields, (
- 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`.
- [2025-03-14 22:13:34,574][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 22:13:56,327][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-14 22:14:31,905][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-14 22:14:31,913][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 22:29:08,955][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 22:29:12,510][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-14 22:29:13,492][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-14 22:54:48,492][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 22:56:00,428][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 22:56:21,902][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 22:56:25,044][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-14 22:56:29,449][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 14:37:09,303][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 14:41:38,560][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 14:44:11,069][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 14:44:17,884][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 14:44:37,180][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 14:44:41,300][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 14:45:30,925][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 14:51:36,442][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 15:20:21,544][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 16:09:08,613][django.request.log_response():241] [WARNING] Not Found: /stock/management/
- [2025-03-15 16:09:22,781][django.request.log_response():241] [WARNING] Not Found: /stock/management/
- [2025-03-15 16:17:35,904][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 16:17:50,416][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 16:18:20,970][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 83, in create
- serializer = self.get_serializer(data=request.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 108, in get_serializer
- serializer_class = self.get_serializer_class()
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 78, in get_serializer_class
- return serializers.stockShelfSerializer
- AttributeError: module 'stock.serializers' has no attribute 'stockShelfSerializer'
- [2025-03-15 16:23:35,107][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create
- serializer.is_valid(raise_exception=True)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid
- self._validated_data = self.run_validation(self.initial_data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation
- value = self.to_internal_value(data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
- assert field_name in fields, (
- AssertionError: The field 'row' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
- [2025-03-15 16:24:34,969][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create
- serializer.is_valid(raise_exception=True)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid
- self._validated_data = self.run_validation(self.initial_data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation
- value = self.to_internal_value(data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1124, in get_field_names
- assert not (fields is None and exclude is None), (
- 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.",)
- [2025-03-15 16:26:45,259][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 79, in create
- serializer = self.get_serializer(data=request.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 108, in get_serializer
- serializer_class = self.get_serializer_class()
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 122, in get_serializer_class
- assert self.serializer_class is not None, (
- AssertionError: 'stockshelfViewSet' should either include a `serializer_class` attribute, or override the `get_serializer_class()` method.
- [2025-03-15 16:33:14,414][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 16:33:36,708][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 16:34:01,764][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create
- serializer.is_valid(raise_exception=True)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid
- self._validated_data = self.run_validation(self.initial_data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation
- value = self.to_internal_value(data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
- assert field_name in fields, (
- AssertionError: The field 'ip' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
- [2025-03-15 16:35:14,837][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create
- serializer.is_valid(raise_exception=True)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid
- self._validated_data = self.run_validation(self.initial_data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation
- value = self.to_internal_value(data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
- assert field_name in fields, (
- AssertionError: The field 'ip_address' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
- [2025-03-15 16:43:42,844][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 86, in create
- return Response(request.data, status=200, headers=headers)
- NameError: name 'headers' is not defined
- [2025-03-15 16:48:29,330][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 110, in create
- instance = shelflist(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
- raise TypeError(
- TypeError: StockshelfModel() got unexpected keyword arguments: 'shelf_rows', 'shelf_cols', 'shelf_layers'
- [2025-03-15 16:50:58,170][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 123, in create
- with transaction.atomic():
- NameError: name 'transaction' is not defined
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 128, in create
- status=status.HTTP_500_INTERNAL_SERVER_ERROR
- NameError: name 'status' is not defined
- [2025-03-15 16:51:36,437][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 123, in create
- with transaction.atomic():
- NameError: name 'transaction' is not defined
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 128, in create
- status=status.HTTP_500_INTERNAL_SERVER_ERROR
- NameError: name 'status' is not defined
- [2025-03-15 16:52:26,278][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
- [2025-03-15 16:54:42,141][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
- [2025-03-15 16:58:10,934][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
- [2025-03-15 17:01:56,017][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
- [2025-03-15 17:02:09,481][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
- [2025-03-15 17:04:02,130][django.request.log_response():241] [WARNING] Bad Request: /stock/management/
- [2025-03-15 17:04:16,401][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- [2025-03-15 17:15:57,951][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 123, in create
- if instance.is_created():
- AttributeError: 'StockshelfModel' object has no attribute 'is_created'
- [2025-03-15 17:20:20,387][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 104, in create
- existing_positions = shelflist.get_existing_positions(shelf_name, rows, cols, layers)
- AttributeError: type object 'StockshelfModel' has no attribute 'get_existing_positions'
- [2025-03-15 17:21:54,421][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 104, in create
- existing_positions = shelflist.get_existing_positions(shelf_name, rows, cols, layers)
- AttributeError: type object 'StockshelfModel' has no attribute 'get_existing_positions'
- [2025-03-15 17:40:24,143][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/
- [2025-03-15 17:45:20,232][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-15 18:04:14,418][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 106, in create
- instances.append(shelflist(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
- raise TypeError(
- TypeError: StockshelfModel() got unexpected keyword arguments: 'stock_type'
- [2025-03-15 18:06:02,460][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 106, in create
- instances.append(shelflist(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
- raise TypeError(
- TypeError: StockshelfModel() got unexpected keyword arguments: 'stock_type'
- [2025-03-15 19:14:23,394][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 114, in create
- instances.append(shelflist(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
- raise TypeError(
- TypeError: StockshelfModel() got unexpected keyword arguments: 'total_rows', 'total_cols', 'total_layers'
- [2025-03-15 19:15:05,402][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- [2025-03-15 19:21:54,504][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-15 19:29:05,761][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-15 20:46:21,692][django.request.log_response():241] [WARNING] Not Found: /stock/management/1/
- [2025-03-15 20:49:15,791][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/1/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 511, in dispatch
- self.response = self.finalize_response(request, response, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 423, in finalize_response
- assert isinstance(response, HttpResponseBase), (
- AssertionError: Expected a `Response`, `HttpResponse` or `HttpStreamingResponse` to be returned from the view, but received a `<class 'NoneType'>`
- [2025-03-15 20:49:50,626][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1/
- [2025-03-15 20:50:21,987][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1/
- [2025-03-15 20:50:33,824][django.request.log_response():241] [WARNING] Bad Request: /stock/management/6/
- [2025-03-15 21:44:29,330][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 22:05:11,516][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
- [2025-03-15 22:13:57,683][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
- [2025-03-15 22:15:50,587][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
- [2025-03-15 22:17:02,750][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
- [2025-03-15 22:17:27,689][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/
- [2025-03-15 22:56:36,633][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-15 22:56:37,641][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-15 22:56:39,237][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-15 23:10:44,521][django.request.log_response():241] [WARNING] Not Found: /stock/management/shelf/2186/
- [2025-03-15 23:10:56,959][django.request.log_response():241] [WARNING] Not Found: /stock/management/shelf/2186/
- [2025-03-15 23:16:32,491][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:16:33,239][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:16:34,653][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:16:35,491][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-15 23:16:36,637][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-15 23:16:40,811][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-15 23:16:44,846][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-15 23:17:03,573][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:17:21,787][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:17:26,221][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:17:27,026][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:17:27,760][django.request.log_response():241] [WARNING] Not Found: /binproperty/
- [2025-03-15 23:17:28,390][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-15 23:17:29,162][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-15 23:17:29,702][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-15 23:17:36,348][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:17:37,131][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:17:37,650][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-15 23:17:38,189][django.request.log_response():241] [WARNING] Not Found: /binproperty/
- [2025-03-15 23:17:38,727][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-15 23:17:39,267][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-15 23:17:39,737][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-15 23:17:42,694][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-15 23:17:44,169][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-15 23:17:45,107][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-15 23:17:45,955][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-15 23:17:50,723][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-15 23:17:53,947][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-15 23:17:55,155][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-15 23:18:02,866][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-15 23:18:06,871][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-15 23:18:12,970][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-15 23:18:20,867][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-15 23:18:25,591][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-15 23:18:29,558][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 12:00:48,806][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 12:00:52,623][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 12:00:53,786][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 12:00:54,648][django.request.log_response():241] [WARNING] Not Found: /binproperty/
- [2025-03-16 12:00:55,336][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 12:00:56,281][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 13:54:47,764][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:55:09,046][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:55:11,118][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:55:11,934][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:55:13,114][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:55:14,686][django.request.log_response():241] [WARNING] Not Found: /binproperty/
- [2025-03-16 13:55:17,340][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 13:55:19,973][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 13:55:20,758][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-16 13:55:23,251][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:56:44,305][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 13:57:18,119][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 13:57:27,421][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 13:57:45,264][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:57:46,981][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:57:47,925][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:57:49,886][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 13:57:50,441][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 13:57:51,913][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-16 13:57:53,327][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 13:57:54,974][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 13:57:56,905][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 13:57:58,375][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 13:58:03,430][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:59:22,005][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 13:59:28,331][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:00:05,411][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:00:40,923][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:00:48,274][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:01:04,614][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:02:05,550][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:03:24,407][django.request.log_response():241] [WARNING] Not Found: /binproperty/
- [2025-03-16 14:03:28,187][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:03:29,025][django.request.log_response():241] [WARNING] Not Found: /binproperty/
- [2025-03-16 14:03:39,864][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:03:54,632][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:03:55,387][django.request.log_response():241] [WARNING] Not Found: /binproperty/
- [2025-03-16 14:03:57,958][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:04:03,248][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:04:06,129][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-16 14:04:08,502][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:04:09,047][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:04:22,775][django.request.log_response():241] [WARNING] Not Found: /binproperty/
- [2025-03-16 14:04:50,852][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:05:01,994][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:05:04,836][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:05:06,039][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:05:06,947][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:05:31,787][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:05:32,844][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:05:33,746][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:05:34,347][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:05:35,303][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:05:40,938][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:05:43,442][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-16 14:05:44,432][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:05:49,732][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:06:56,771][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:07:00,134][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:07:07,234][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:07:33,729][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:07:42,834][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:08:18,299][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:08:19,219][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-16 14:08:20,214][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 14:08:20,835][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:08:21,426][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:08:22,721][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:08:28,690][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:08:53,408][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:17:39,755][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:17:41,709][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 14:17:42,827][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:18:49,865][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:24:49,596][django.request.log_response():241] [WARNING] Not Found: /stock/bin/
- [2025-03-16 14:41:36,955][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
- assert field_name in fields, (
- AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
- [2025-03-16 14:41:38,092][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
- assert field_name in fields, (
- AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
- [2025-03-16 14:42:39,695][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 14:42:41,265][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
- assert field_name in fields, (
- AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
- [2025-03-16 14:44:47,940][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
- assert field_name in fields, (
- AssertionError: The field 'goods_batchgoods_std' was included on serializer stocklistSerializer in the 'exclude' option, but does not match any model field.
- [2025-03-16 14:46:10,116][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
- assert field_name in fields, (
- AssertionError: The field 'goods_batchgoods_std' was included on serializer stocklistSerializer in the 'exclude' option, but does not match any model field.
- [2025-03-16 14:52:42,946][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation
- for field in fields:
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields
- for field in self.fields.values():
- File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields
- for key, value in self.get_fields().items():
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields
- field_names = self.get_field_names(declared_fields, info)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names
- assert field_name in fields, (
- AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field.
- [2025-03-16 14:54:19,838][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 15:00:14,053][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 15:00:17,040][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 15:01:31,146][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 15:01:34,032][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 17:09:21,861][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 17:09:32,497][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 17:09:33,317][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 17:29:53,325][django.request.log_response():241] [WARNING] Not Found: /binset/
- [2025-03-16 17:32:05,198][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 17:32:09,904][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-16 17:32:11,567][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 17:32:13,154][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 17:32:31,444][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 17:32:41,750][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 17:33:46,980][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-16 17:33:47,695][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 17:33:48,909][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 17:34:00,206][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 17:35:04,030][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 17:35:05,515][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 17:36:43,735][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 17:36:45,882][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-16 17:36:47,261][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 17:37:44,462][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 17:37:45,415][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 17:38:05,094][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 17:39:00,434][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 17:39:01,656][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 17:40:44,860][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 17:46:35,691][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 19:32:45,590][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 19:32:47,629][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 19:33:56,137][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/
- [2025-03-16 19:35:15,500][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
- return int(value)
- ValueError: invalid literal for int() with base 10: ''
- [2025-03-16 19:36:46,324][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
- return int(value)
- ValueError: invalid literal for int() with base 10: ''
- [2025-03-16 19:40:38,901][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
- return int(value)
- ValueError: invalid literal for int() with base 10: ''
- [2025-03-16 19:41:34,080][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 19:41:39,104][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 19:41:55,154][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 19:42:29,235][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
- return int(value)
- ValueError: invalid literal for int() with base 10: ''
- [2025-03-16 19:52:56,036][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 19:52:57,886][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 19:53:08,274][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
- return int(value)
- ValueError: invalid literal for int() with base 10: '无'
- [2025-03-16 20:15:37,683][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 20:15:40,356][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:16:34,146][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:26:53,289][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:28:30,410][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:28:33,312][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 20:28:39,289][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-16 20:28:40,091][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 20:28:45,957][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:28:47,441][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 20:28:48,237][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-16 20:31:18,160][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:31:40,255][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:31:46,992][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-16 20:33:11,323][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 20:33:11,785][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:33:12,376][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:33:15,947][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:33:25,444][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:33:38,206][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:33:44,347][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:34:32,401][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:34:32,406][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:34:38,601][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:35:16,323][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:35:18,917][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 20:37:11,296][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 20:37:15,099][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 20:37:23,323][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 20:40:56,854][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 20:41:05,679][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/bin/
- [2025-03-16 21:17:26,360][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/1/
- [2025-03-16 21:26:47,332][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/1/
- [2025-03-16 22:18:02,443][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 22:20:41,145][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 22:20:53,061][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 22:20:54,929][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-16 22:20:55,745][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-16 22:21:02,749][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 22:21:05,173][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 22:21:10,984][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-16 22:21:13,741][django.request.log_response():241] [WARNING] Not Found: /asn/filedetail/
- [2025-03-16 22:22:20,611][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 22:23:14,318][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/1/
- [2025-03-16 22:24:46,407][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 22:25:00,842][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-16 22:25:05,129][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 22:25:42,398][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-16 22:38:31,119][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 10:46:28,242][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 10:46:49,741][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 10:50:06,108][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 10:50:18,447][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 14:45:34,298][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 14:46:53,464][django.request.log_response():241] [WARNING] Not Found: /reportcenter/file/document_date__range=2024-10-03,2024-10-05+
- [2025-03-17 15:09:04,270][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-17 15:09:27,811][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-17 15:09:30,667][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-17 15:09:32,285][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 15:09:32,764][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 15:09:41,974][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-17 15:09:49,442][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 15:09:56,641][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 15:10:00,919][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 15:10:49,485][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 15:10:59,893][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 15:11:57,378][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 15:12:49,826][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 15:19:12,452][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 15:19:16,442][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 15:19:18,751][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 15:20:38,021][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 15:23:04,813][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
- [2025-03-17 15:23:05,692][django.request.log_response():241] [WARNING] Not Found: /goodsclass/
- [2025-03-17 15:23:06,398][django.request.log_response():241] [WARNING] Not Found: /goodscolor/
- [2025-03-17 15:23:07,145][django.request.log_response():241] [WARNING] Not Found: /goodsbrand/
- [2025-03-17 15:23:07,647][django.request.log_response():241] [WARNING] Not Found: /goodsshape/
- [2025-03-17 15:23:08,134][django.request.log_response():241] [WARNING] Not Found: /goodsspecs/
- [2025-03-17 15:23:08,942][django.request.log_response():241] [WARNING] Not Found: /goodsorigin/
- [2025-03-17 15:23:10,638][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 15:41:27,233][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 16:24:54,284][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 16:26:08,556][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 16:26:16,807][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 16:26:28,160][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 16:26:59,685][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 16:27:00,941][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-17 16:27:04,641][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 16:27:15,258][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 16:27:27,979][django.request.log_response():241] [WARNING] Not Found: /stock/list/
- [2025-03-17 16:27:38,454][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 16:28:02,460][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 16:28:02,875][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-17 16:28:05,298][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 16:28:06,688][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
- [2025-03-17 16:28:07,315][django.request.log_response():241] [WARNING] Not Found: /goodsclass/
- [2025-03-17 16:28:07,750][django.request.log_response():241] [WARNING] Not Found: /goodsbrand/
- [2025-03-17 16:28:08,291][django.request.log_response():241] [WARNING] Not Found: /goodsspecs/
- [2025-03-17 16:28:08,826][django.request.log_response():241] [WARNING] Not Found: /goodsorigin/
- [2025-03-17 16:28:09,628][django.request.log_response():241] [WARNING] Not Found: /goodsshape/
- [2025-03-17 16:28:10,005][django.request.log_response():241] [WARNING] Not Found: /goodsclass/
- [2025-03-17 16:28:10,406][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
- [2025-03-17 16:28:10,761][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 16:29:00,648][django.request.log_response():241] [WARNING] Not Found: /goodsorigin/
- [2025-03-17 16:29:02,600][django.request.log_response():241] [WARNING] Not Found: /goodsspecs/
- [2025-03-17 16:29:03,095][django.request.log_response():241] [WARNING] Not Found: /goodsshape/
- [2025-03-17 16:29:03,784][django.request.log_response():241] [WARNING] Not Found: /goodsbrand/
- [2025-03-17 16:29:04,829][django.request.log_response():241] [WARNING] Not Found: /goodscolor/
- [2025-03-17 16:29:05,643][django.request.log_response():241] [WARNING] Not Found: /goodsclass/
- [2025-03-17 16:29:06,098][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
- [2025-03-17 16:29:07,324][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 16:29:14,942][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
- [2025-03-17 16:29:19,089][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 16:29:27,906][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-17 16:48:10,788][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 16:48:34,805][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:48:35,722][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:48:38,408][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 16:48:57,150][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:49:00,578][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:49:01,388][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:49:02,465][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:50:25,413][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-17 16:50:27,321][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 16:50:39,887][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:50:40,708][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:50:41,429][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:50:42,084][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:51:35,650][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:51:43,009][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:51:45,450][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:51:46,272][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:51:46,990][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:51:47,718][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:51:48,301][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:52:12,610][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 16:52:24,626][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:52:25,713][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 16:52:26,690][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:52:38,240][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 16:53:14,193][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:56:51,334][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:57:01,628][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:57:04,622][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:57:07,532][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:57:08,344][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:57:12,436][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:57:30,647][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 16:57:38,166][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:00:53,497][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:01:08,903][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:01:26,163][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:11:38,555][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:11:57,880][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:12:08,051][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:13:15,715][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:13:54,368][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:21:56,614][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:21:57,732][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:22:02,894][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:22:30,431][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:24:05,330][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:24:28,219][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:24:29,276][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:24:29,659][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:24:30,356][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:24:31,216][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:25:46,586][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:25:50,688][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:25:57,850][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:26:09,194][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:26:15,237][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:26:27,952][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:26:29,103][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:26:30,717][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:26:34,647][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:26:36,170][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:26:39,966][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:26:45,427][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:27:06,866][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:28:53,032][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:28:54,153][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:28:55,832][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-17 17:29:09,609][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:29:12,460][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:29:15,586][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:29:40,003][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:29:42,275][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:29:50,916][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:30:15,443][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:30:20,049][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:30:21,406][django.request.log_response():241] [WARNING] Not Found: /goodsunit/
- [2025-03-17 17:30:23,643][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:31:35,582][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:31:40,068][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:31:41,847][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:31:43,716][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:32:07,024][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:32:10,661][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:32:20,335][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:32:37,840][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:32:46,792][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-17 17:32:58,074][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:34:15,815][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:34:17,130][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:37:35,113][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:37:39,301][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/
- [2025-03-17 17:37:42,906][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-17 17:37:46,011][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 17:42:54,743][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-17 17:42:56,297][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 18:35:13,484][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 18:35:45,866][django.request.log_response():241] [WARNING] Not Found: /asn/list/
- [2025-03-17 18:58:28,072][django.request.log_response():241] [WARNING] Not Found: /reportcenter/asn/list/
- [2025-03-17 19:01:18,839][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
- data['openid'] = self.request.auth.openid
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-18 14:02:20,209][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
- data['openid'] = self.request.auth.openid
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-18 14:03:33,883][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
- data['openid'] = self.request.auth.openid
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-18 14:11:24,699][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 76, in create
- data['openid'] = self.request.auth.openid
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-18 14:13:58,860][django.request.log_response():241] [ERROR] Not Implemented: /asn/list/
- [2025-03-18 14:14:33,607][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 77, in create
- data['openid'] = self.request.auth.openid
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-18 14:14:59,812][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 77, in create
- data['creater'] = self.request.auth.openid
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-18 14:15:22,893][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 77, in create
- data['creater'] = self.request.auth.openid
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-18 14:15:59,981][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 77, in create
- data['openid'] = self.request.auth.openid
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__
- self._assert_mutable()
- File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable
- raise AttributeError("This QueryDict instance is immutable")
- AttributeError: This QueryDict instance is immutable
- [2025-03-18 14:25:51,586][django.request.log_response():241] [ERROR] Not Implemented: /asn/list/
- [2025-03-18 14:26:26,585][django.request.log_response():241] [ERROR] Not Implemented: /asn/list/
- [2025-03-18 14:35:33,455][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-18 14:35:37,764][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-18 14:36:36,108][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 88, in create
- scanner.objects.create(openid=self.request.auth.openid, mode="ASN", code=data['asn_code'], bar_code=data['bar_code'])
- NameError: name 'scanner' is not defined
- [2025-03-18 15:03:38,258][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 81, in create
- data['asn_code'] = data['asn_type'] + order_day + '1'
- KeyError: 'asn_type'
- [2025-03-18 15:03:43,553][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 81, in create
- data['asn_code'] = data['asn_type'] + order_day + '1'
- KeyError: 'asn_type'
- [2025-03-18 15:30:41,866][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
- qs_set = AsnListModel.objects.filter(openid=self.request.auth.openid,ans_type=data['asn_type'], is_delete=False)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/manager.py", line 85, in manager_method
- return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1420, in filter
- return self._filter_or_exclude(False, args, kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1438, in _filter_or_exclude
- clone._filter_or_exclude_inplace(negate, args, kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1445, in _filter_or_exclude_inplace
- self._query.add_q(Q(*args, **kwargs))
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1532, in add_q
- clause, _ = self._add_q(q_object, self.used_aliases)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1562, in _add_q
- child_clause, needed_inner = self.build_filter(
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1407, in build_filter
- lookups, parts, reffed_expression = self.solve_lookup_type(arg)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1217, in solve_lookup_type
- _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1709, in names_to_path
- raise FieldError(
- django.core.exceptions.FieldError: Cannot resolve keyword 'ans_type' into field. Choices are: asn_code, asn_status, asn_type, code, create_time, creater, goods_code, goods_desc, goods_qty, goods_weight, id, is_delete, openid, update_time
- [2025-03-18 16:32:45,827][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-18 16:48:26,954][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-18 18:04:56,720][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-18 18:19:16,616][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/6/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 96, in update
- serializer = self.get_serializer(qs, data=data)
- NameError: name 'qs' is not defined
- [2025-03-18 18:20:27,796][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/6/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 96, in update
- serializer = self.get_serializer(qs, data=data)
- NameError: name 'data' is not defined
- [2025-03-18 18:38:36,275][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/6/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 103, in update
- serializer_detail.is_valid(raise_exception=True)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 741, in is_valid
- assert hasattr(self, 'initial_data'), (
- AssertionError: Cannot call `.is_valid()` as no `data=` keyword argument was passed when instantiating the serializer instance.
- [2025-03-18 18:52:17,312][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 75, in create
- qs_set = AsnListModel.objects.filter(openid=self.request.auth.openid,asn_type=data['asn_type'], is_delete=False)
- KeyError: 'asn_type'
- [2025-03-18 19:08:54,675][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-18 19:16:59,428][django.request.log_response():241] [ERROR] Internal Server Error: /asn/list/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/flower/code/vue_ws/goods_wms/./asn/views.py", line 90, in create
- AsnDetailModel.objects.create(data=data)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/manager.py", line 85, in manager_method
- return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 669, in create
- obj = self.model(**kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__
- raise TypeError(
- TypeError: AsnDetailModel() got unexpected keyword arguments: 'data'
- [2025-03-18 19:44:31,248][django.request.log_response():241] [WARNING] Not Found: /asn/file/
- [2025-03-18 19:47:25,499][django.request.log_response():241] [WARNING] Not Found: /goods/
- [2025-03-18 19:47:27,538][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-18 19:47:29,375][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-18 19:47:44,822][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-18 19:47:52,007][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-18 19:47:59,052][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-18 19:48:02,177][django.request.log_response():241] [WARNING] Not Found: /dn/list/
- [2025-03-18 19:48:07,356][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-18 20:01:57,402][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-18 20:02:45,710][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-18 20:02:48,881][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-18 20:02:55,213][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-18 20:05:45,595][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-18 20:10:02,273][django.request.log_response():241] [WARNING] Not Found: /asn/detail/
- [2025-03-18 20:10:27,243][django.request.log_response():241] [ERROR] Internal Server Error: /asn/detail/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
- return int(value)
- ValueError: invalid literal for int() with base 10: '入库中'
- [2025-03-18 20:10:32,951][django.request.log_response():241] [ERROR] Internal Server Error: /asn/detail/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
- return int(value)
- ValueError: invalid literal for int() with base 10: '入库中'
- [2025-03-18 20:10:38,339][django.request.log_response():241] [ERROR] Internal Server Error: /asn/detail/
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler
- raise exc_info[1]
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner
- response = await get_response(request)
- File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async
- response = await wrapped_callback(
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__
- ret = await asyncio.wait_for(future, timeout=None)
- File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
- return await fut
- File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view
- return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch
- response = self.handle_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
- response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list
- return self.get_paginated_response(serializer.data)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data
- ret = super().data
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data
- self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation
- return [
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in <listcomp>
- self.child.to_representation(item) for item in iterable
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation
- return int(value)
- ValueError: invalid literal for int() with base 10: '入库中'
- [2025-03-19 13:19:27,671][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-19 13:28:55,012][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/
- [2025-03-19 13:29:44,378][django.request.log_response():241] [WARNING] Not Found: /dn/list/
|