1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257 |
- <<<<<<< HEAD
- WARNING 2019-10-26 15:31:41,879 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:31:41,879 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- INFO 2019-10-26 15:35:42,526 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:35:46,076 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:35:46,076 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- WARNING 2019-10-26 15:37:52,221 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:37:52,222 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- WARNING 2019-10-26 15:39:56,569 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:39:56,570 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:40:06,688 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:40:06,688 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- INFO 2019-10-26 15:41:08,490 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:43:52,321 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:43:52,321 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- INFO 2019-10-26 15:44:05,338 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 15:44:32,840 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 15:44:36,934 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:44:36,934 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:44:55,973 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:44:55,973 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:45:16,193 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:45:16,194 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:45:32,802 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:40,839 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:45:43,261 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:45:43,262 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:45:51,198 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:53,169 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:56,463 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:57,690 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:58,635 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:59,382 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 15:46:39,703 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:39,704 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:46:40,883 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:40,883 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:46:44,675 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 15:46:47,737 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 15:46:48,995 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:48,996 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:46:52,536 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:46:53,809 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:53,809 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:46:55,169 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:55,169 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:47:22,946 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 15:47:25,783 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 15:47:46,364 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 15:47:48,702 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:47:48,702 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:57:11,237 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:57:13,888 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:57:13,889 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:57:15,422 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:57:15,422 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:57:42,581 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 15:57:44,459 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 15:58:22,380 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 16:00:24,377 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 16:01:06,398 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 16:01:08,375 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 16:01:08,376 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 16:01:41,337 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 16:01:42,339 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 16:01:42,339 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 16:01:55,226 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 16:01:55,227 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 16:10:06,833 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 16:11:23,976 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 16:11:51,199 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- ERROR 2019-10-26 16:22:50,204 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 101, in post
- ,datetime.datetime.strptime(RP_DD, '%Y-%m-%d'),RP_NO])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 542, in execute
- sql = self.format_sql(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 510, in format_sql
- sql = sql % tuple('?' * len(params))
- TypeError: not all arguments converted during string formatting
- ERROR 2019-10-26 16:22:50,206 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 500 110930
- INFO 2019-10-26 16:24:33,700 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 16:25:03,979 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 16:25:03,980 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 48
- INFO 2019-10-26 16:25:17,685 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 16:25:20,901 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 16:25:27,596 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 16:27:43,951 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 16:47:21,302 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 16:47:21,302 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 15
- WARNING 2019-10-26 16:49:22,716 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 16:49:22,716 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 15
- ERROR 2019-10-26 16:49:54,113 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 180, in put
- row_AMTN = cursor.execute("""SELECT AMTN_BC FROM TF_MON WHERE RP_NO=%s AND PR_ID='2'""", [RP_NO]).fetchall()[0][0]
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-26 16:49:54,117 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 500 126543
- ERROR 2019-10-26 16:50:35,155 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 180, in put
- row_AMTN = cursor.execute("""SELECT AMTN_BC FROM TF_MON WHERE RP_NO=%s AND PR_ID='2'""", [RP_NO]).fetchall()[0][0]
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-26 16:50:35,157 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 500 126546
- ERROR 2019-10-26 16:51:00,696 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 180, in put
- row_AMTN = cursor.execute("""SELECT AMTN_BC FROM TF_MON WHERE RP_NO=%s AND PR_ID='2'""", [RP_NO]).fetchall()[0][0]
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-26 16:51:00,698 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 500 126546
- WARNING 2019-10-26 17:00:46,983 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:00:46,983 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-10-26 17:00:59,051 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:00:59,051 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-10-26 17:01:35,345 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:01:35,345 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-10-26 17:02:54,095 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:02:54,095 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 21
- INFO 2019-10-26 17:03:37,523 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-26 17:04:55,512 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- WARNING 2019-10-26 17:30:24,738 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:30:24,739 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 403 15
- ERROR 2019-10-26 17:30:59,238 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 297, in delete
- cursor.execute("""DELETE FROM MF_BAC WHERE BB_NO=%s AND RP_ID='2'""", ['BT'+RP_NO[2::]])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-26 17:30:59,241 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 500 126111
- INFO 2019-10-26 17:33:53,187 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- WARNING 2019-10-26 17:34:25,873 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:34:25,874 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 36
- WARNING 2019-10-26 17:34:33,716 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:34:33,716 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 403 15
- INFO 2019-10-26 17:39:32,014 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 17:39:50,505 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-26 17:40:11,226 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 17:48:51,576 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 17:49:04,517 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-26 17:49:13,853 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 17:49:17,183 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- WARNING 2019-10-26 17:49:39,792 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:49:39,792 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 403 15
- INFO 2019-10-26 18:28:14,669 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-26 18:28:18,274 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 18:28:21,150 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 18:28:25,458 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 18:28:25,458 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- INFO 2019-10-26 18:30:04,306 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 18:30:19,015 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- WARNING 2019-10-26 18:30:28,836 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 18:30:28,837 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- INFO 2019-10-26 18:30:38,718 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 18:31:02,819 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-26 18:35:00,176 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-26 18:35:06,199 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 18:35:09,065 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 18:35:32,737 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 18:35:38,682 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-26 18:35:48,661 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 18:35:55,766 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-28 09:04:08,436 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-10-28 09:05:08,930 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:05:08,930 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 403 15
- INFO 2019-10-28 09:05:19,111 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- INFO 2019-10-28 09:14:12,133 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- INFO 2019-10-28 09:23:44,854 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- INFO 2019-10-28 09:24:13,707 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- WARNING 2019-10-28 09:24:58,993 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:24:58,993 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 403 27
- WARNING 2019-10-28 09:28:41,541 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:28:41,542 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 15
- WARNING 2019-10-28 09:29:03,803 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:29:03,803 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 15
- INFO 2019-10-28 09:30:24,164 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 200 45
- WARNING 2019-10-28 09:34:09,682 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:34:09,682 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 27
- INFO 2019-10-28 09:34:29,286 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-10-28 09:34:49,859 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- WARNING 2019-10-28 09:35:20,642 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:35:20,643 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 33
- WARNING 2019-10-28 09:35:37,100 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:35:37,101 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 33
- INFO 2019-10-28 09:39:00,461 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 200 45
- INFO 2019-10-28 09:39:06,134 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-28 09:39:09,613 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-28 09:39:34,619 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-28 09:39:56,474 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-10-28 09:40:00,198 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- WARNING 2019-10-28 09:40:35,489 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:40:35,490 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 33
- INFO 2019-10-28 09:40:42,079 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 200 45
- WARNING 2019-10-28 13:20:21,682 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 13:20:21,682 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-10-28 13:20:26,561 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- WARNING 2019-10-28 13:20:30,181 log 228 Forbidden: /invoice/
- WARNING 2019-10-28 13:20:30,182 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 48
- WARNING 2019-10-28 13:20:47,121 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-28 13:20:47,122 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 403 15
- INFO 2019-10-28 13:20:55,254 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-28 13:20:58,635 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-28 13:21:04,731 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-28 13:27:56,959 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-10-28 13:27:58,680 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 13:27:58,680 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-10-28 13:28:21,935 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- INFO 2019-10-28 13:34:02,390 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-28 13:35:23,918 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 200 55
- INFO 2019-10-28 15:36:48,198 basehttp 154 "PUT /expectedptoperation/ HTTP/1.1" 200 54
- INFO 2019-10-28 15:41:44,910 basehttp 154 "DELETE /expectedptoperation/ HTTP/1.1" 200 57
- WARNING 2019-10-28 15:41:47,353 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-10-28 15:41:47,353 basehttp 154 "DELETE /expectedptoperation/ HTTP/1.1" 403 15
- ERROR 2019-10-28 17:13:21,613 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 594, in fetchall
- return self.format_rows(self.cursor.fetchall())
- pyodbc.ProgrammingError: No results. Previous SQL was not a query.
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 25, in get
- row = cursor.fetchall()
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 594, in fetchall
- return self.format_rows(self.cursor.fetchall())
- django.db.utils.ProgrammingError: No results. Previous SQL was not a query.
- ERROR 2019-10-28 17:13:21,617 basehttp 154 "GET /invoice/ HTTP/1.1" 500 103126
- ERROR 2019-10-28 17:14:09,053 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 594, in fetchall
- return self.format_rows(self.cursor.fetchall())
- pyodbc.ProgrammingError: No results. Previous SQL was not a query.
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 26, in get
- row = cursor.fetchall()
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 594, in fetchall
- return self.format_rows(self.cursor.fetchall())
- django.db.utils.ProgrammingError: No results. Previous SQL was not a query.
- ERROR 2019-10-28 17:14:09,055 basehttp 154 "GET /invoice/ HTTP/1.1" 500 103121
- INFO 2019-10-28 17:14:37,315 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-28 17:18:40,853 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-28 17:46:37,114 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-28 17:47:59,023 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-28 17:48:24,002 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-29 17:17:19,858 basehttp 154 "GET /sales HTTP/1.1" 301 0
- INFO 2019-10-29 17:17:19,893 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-10-29 17:17:19,955 log 228 Not Found: /favicon.ico
- WARNING 2019-10-29 17:17:19,956 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 2790
- INFO 2019-10-30 08:53:29,962 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-10-30 09:01:13,540 log 228 Forbidden: /sales/
- WARNING 2019-10-30 09:01:13,540 basehttp 154 "POST /sales/ HTTP/1.1" 403 51
- ERROR 2019-10-30 09:01:22,412 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 82, in post
- INV_NO,datetime.datetime.strptime(LZ_DD, '%Y-%m-%d'),datetime.datetime.strptime(LZ_DD, '%Y-%m-%d')])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 542, in execute
- sql = self.format_sql(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 510, in format_sql
- sql = sql % tuple('?' * len(params))
- TypeError: not all arguments converted during string formatting
- ERROR 2019-10-30 09:01:22,414 basehttp 154 "POST /sales/ HTTP/1.1" 500 117057
- ERROR 2019-10-30 09:06:26,281 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 137, in _get_response
- "returned None instead." % (callback.__module__, view_name)
- ValueError: The view salesinvoice.views.salesView didn't return an HttpResponse object. It returned None instead.
- ERROR 2019-10-30 09:06:26,284 basehttp 154 "POST /sales/ HTTP/1.1" 500 61515
- ERROR 2019-10-30 09:08:20,019 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__MF_PSS'。不能在对象 'dbo.MF_PSS' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 71, in post
- datetime.datetime.strptime(LZ_DD, '%Y-%m-%d'),AMT])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__MF_PSS'。不能在对象 'dbo.MF_PSS' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- ERROR 2019-10-30 09:08:20,023 basehttp 154 "POST /sales/ HTTP/1.1" 500 133988
- WARNING 2019-10-30 09:09:07,909 log 228 Forbidden: /sales/
- WARNING 2019-10-30 09:09:07,909 basehttp 154 "POST /sales/ HTTP/1.1" 403 27
- INFO 2019-10-30 09:10:51,862 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:34:16,513 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- ERROR 2019-10-30 09:40:09,694 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__TF_LZ'。不能在对象 'dbo.TF_LZ' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 90, in post
- ('LZ',%s,1,%s,%s,%s,'AQ001',1,%s,5,1,1,'SA',1,'服務費用',%s,1,1)""",[ZL_NO, 'SA' + ZL_NO[2::],AMT,AMT,datetime.datetime.strptime(LZ_DD, '%Y-%m-%d'), CUS_NO])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__TF_LZ'。不能在对象 'dbo.TF_LZ' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- ERROR 2019-10-30 09:40:09,698 basehttp 154 "POST /sales/ HTTP/1.1" 500 133487
- INFO 2019-10-30 09:40:39,938 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:41:21,053 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:45:39,565 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:56:47,597 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:58:19,521 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:01:37,714 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-10-30 10:15:39,303 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:15:39,303 basehttp 154 "PUT /sales/ HTTP/1.1" 403 51
- INFO 2019-10-30 10:15:47,263 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- ERROR 2019-10-30 10:26:49,687 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 335, in delete
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-10-30 10:26:49,691 basehttp 154 "DELETE /invoice/?ZL_NO=LZS9A300001&ZHANG_ID=3 HTTP/1.1" 500 97827
- WARNING 2019-10-30 10:28:36,918 base 93 Method Not Allowed (DELETE): /sales/
- WARNING 2019-10-30 10:28:36,918 log 228 Method Not Allowed: /sales/
- WARNING 2019-10-30 10:28:36,918 basehttp 154 "DELETE /sales/ HTTP/1.1" 405 0
- WARNING 2019-10-30 10:29:14,406 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:29:14,406 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- INFO 2019-10-30 10:30:23,997 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 60
- INFO 2019-10-30 10:30:57,516 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 60
- WARNING 2019-10-30 10:31:36,845 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:31:36,846 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- WARNING 2019-10-30 10:31:41,341 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:31:41,341 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- ERROR 2019-10-30 10:32:19,311 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__MF_PSS'。不能在对象 'dbo.MF_PSS' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 75, in post
- datetime.datetime.strptime(LZ_DD, '%Y-%m-%d'),AMT])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__MF_PSS'。不能在对象 'dbo.MF_PSS' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- ERROR 2019-10-30 10:32:19,313 basehttp 154 "POST /sales/ HTTP/1.1" 500 133997
- INFO 2019-10-30 10:33:03,845 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:33:20,400 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- INFO 2019-10-30 10:33:29,120 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 10:34:34,157 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:34:36,603 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- INFO 2019-10-30 10:34:39,263 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 10:34:41,980 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:56:56,320 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- WARNING 2019-10-30 10:56:58,661 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:56:58,662 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- INFO 2019-10-30 10:57:02,371 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:57:05,316 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- INFO 2019-10-30 10:57:08,645 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- WARNING 2019-10-30 10:57:09,693 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:57:09,693 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- INFO 2019-10-30 11:02:59,771 basehttp 154 "GET /proceeds HTTP/1.1" 301 0
- INFO 2019-10-30 11:02:59,783 basehttp 154 "GET /proceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 11:36:24,589 log 228 Forbidden: /invoice/
- WARNING 2019-10-30 11:36:24,590 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-30 11:37:26,909 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- ERROR 2019-10-30 11:46:51,278 log 228 Internal Server Error: /proceeds
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\utils\deprecation.py", line 90, in __call__
- response = self.process_request(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\middleware\common.py", line 53, in process_request
- path = self.get_full_path_with_slash(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\middleware\common.py", line 93, in get_full_path_with_slash
- 'url': request.get_host() + new_path,
- RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 127.0.0.1:8000/proceeds/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.
- ERROR 2019-10-30 11:46:51,279 basehttp 154 "POST /proceeds HTTP/1.1" 500 68450
- ERROR 2019-10-30 11:47:31,389 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 341, in post
- row_AMT = cursor.execute("SELECT CAST(ISNULL(AMT,0) AS INT ),BIL_NO FROM MF_ARP WHERE BIL_NO=%s",[MF_LZ1]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-10-30 11:47:31,391 basehttp 154 "POST /proceeds/ HTTP/1.1" 500 85496
- INFO 2019-10-30 13:22:08,693 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:42:52,852 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:48:15,671 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:51:34,234 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:54:59,562 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:58:43,435 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 14:28:41,733 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 14:30:16,253 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 14:30:17,254 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 14:33:00,957 log 228 Forbidden: /proceeds/
- WARNING 2019-10-30 14:33:00,958 basehttp 154 "PUT /proceeds/ HTTP/1.1" 403 21
- INFO 2019-10-30 14:33:29,952 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- ERROR 2019-10-30 14:44:53,711 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 453, in delete
- row_AMTN_MF_ARP = cursor.execute("""SELECT AMTN FROM MF_ARP WHERE BIL_NO=%s""", [MF_LZ1]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-10-30 14:44:53,712 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 500 83376
- ERROR 2019-10-30 14:45:59,949 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 453, in delete
- row_AMTN_MF_ARP = cursor.execute("""SELECT AMTN FROM MF_ARP WHERE BIL_NO=%s""", [MF_LZ1]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-10-30 14:45:59,951 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 500 83376
- INFO 2019-10-30 14:47:40,695 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- INFO 2019-10-30 14:48:14,594 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 14:48:20,519 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 14:48:27,205 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 14:49:02,467 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 14:49:05,827 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- INFO 2019-10-30 14:51:28,576 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 14:51:31,576 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 14:51:33,701 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 14:51:37,598 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 14:56:00,429 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- WARNING 2019-10-30 15:01:11,277 log 228 Forbidden: /proceeds/
- WARNING 2019-10-30 15:01:11,277 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 403 21
- INFO 2019-10-30 15:01:14,914 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 15:01:18,717 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 15:01:23,694 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 15:01:27,030 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 15:01:32,025 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- INFO 2019-10-30 16:11:57,129 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-10-30 18:00:39,949 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 200 60
- ERROR 2019-10-30 18:08:10,643 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 626, in delete
- cursor.execute("""DELETE FROM MF_BAC WHERE BB_NO=%s AND RP_ID='2'""", ['BT' + RP_NO[2::]])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-30 18:08:10,646 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 500 125242
- ERROR 2019-10-30 18:08:34,925 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 626, in delete
- cursor.execute("""DELETE FROM MF_BAC WHERE BB_NO=%s AND RP_ID='2'""", ['BT' + RP_NO[2::]])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-30 18:08:34,928 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 500 125223
- INFO 2019-10-30 18:09:15,961 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 18:17:25,623 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 200 63
- INFO 2019-10-30 18:21:25,330 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-10-30 18:21:37,718 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 200 60
- INFO 2019-10-30 18:21:49,575 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 200 63
- INFO 2019-10-30 18:46:52,323 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:49:24,957 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:52:07,282 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:54:11,644 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:54:19,095 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:55:30,664 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:56:07,419 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:56:39,652 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 18:56:57,110 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-30 18:56:57,110 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- INFO 2019-10-30 18:57:26,353 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:57:44,762 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:58:17,613 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:58:46,677 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 18:59:32,970 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-30 18:59:32,971 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- ERROR 2019-10-30 19:03:56,102 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 19, in inner
- print(name)
- NameError: name 'name' is not defined
- ERROR 2019-10-30 19:03:56,103 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 500 58158
- INFO 2019-10-30 19:04:16,724 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 19:04:51,537 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-30 19:04:51,537 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- WARNING 2019-10-30 19:05:54,675 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-30 19:05:54,676 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- WARNING 2019-10-31 11:07:56,865 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-31 11:07:56,866 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- INFO 2019-10-31 11:08:37,578 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-31 11:29:48,607 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-10-31 11:34:16,468 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-31 11:34:38,641 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- ERROR 2019-10-31 11:36:32,992 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 512, in post
- row_usr = usr_data(USR, USR_NAME, datetime.datetime.strptime(RP_DD, '%Y-%m-%d'))
- TypeError: strptime() argument 1 must be str, not None
- ERROR 2019-10-31 11:36:32,995 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 500 83363
- ERROR 2019-10-31 11:39:07,545 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 702, in post
- yf_sum =round(yf_sum + cursor.execute("""SELECT AMTN FROM MF_ARP WHERE BIL_NO=%s""", [i["DH"]]).fetchall()[0][0], 4)
- IndexError: list index out of range
- ERROR 2019-10-31 11:39:07,548 basehttp 154 "POST /predictpayment/ HTTP/1.1" 500 84378
- INFO 2019-10-31 13:14:18,613 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- ERROR 2019-10-31 13:19:29,067 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 225, in delete
- if int(ZHANG_ID) != 1 and int(ZHANG_ID) != 2:
- TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
- ERROR 2019-10-31 13:19:29,069 basehttp 154 "DELETE /sales/ HTTP/1.1" 500 82324
- WARNING 2019-10-31 13:21:26,048 log 228 Forbidden: /sales/
- WARNING 2019-10-31 13:21:26,049 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- ERROR 2019-10-31 13:21:45,155 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 230, in delete
- row_TC_MON = examine_ood('TC_MON', 'RP_NO', 'AR' + ZL_NO[2::], 'RP_ID', '1')
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-10-31 13:21:45,157 basehttp 154 "DELETE /sales/ HTTP/1.1" 500 82315
- INFO 2019-10-31 13:24:53,745 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-31 13:25:03,975 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-31 13:25:22,981 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- INFO 2019-10-31 13:26:44,203 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- WARNING 2019-10-31 13:40:15,886 log 228 Forbidden: /predictpayment/
- WARNING 2019-10-31 13:40:15,888 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 18
- INFO 2019-10-31 13:40:40,334 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 200 54
- ERROR 2019-10-31 13:54:42,877 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'RP_ID' 附近有语法错误。 (102) (SQLExecDirectW); [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 891, in delete
- cursor.execute("""DELETE FROM TF_MON1 WHERE RP_NO=%s RP_ID='1'""", [RP_NO])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'RP_ID' 附近有语法错误。 (102) (SQLExecDirectW); [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-31 13:54:42,882 basehttp 154 "DELETE /predictpayment/ HTTP/1.1" 500 127177
- INFO 2019-10-31 13:58:39,440 basehttp 154 "DELETE /predictpayment/ HTTP/1.1" 200 57
- INFO 2019-10-31 13:59:16,898 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- INFO 2019-10-31 13:59:30,475 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 200 54
- INFO 2019-10-31 13:59:47,133 basehttp 154 "DELETE /predictpayment/ HTTP/1.1" 200 57
- WARNING 2019-11-01 13:19:01,710 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:19:01,815 basehttp 154 "POST /sales/ HTTP/1.1" 403 77
- INFO 2019-11-01 13:19:18,508 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-11-01 13:20:50,209 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:20:50,209 basehttp 154 "POST /sales/ HTTP/1.1" 403 27
- WARNING 2019-11-01 13:21:24,074 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:21:24,074 basehttp 154 "POST /sales/ HTTP/1.1" 403 27
- WARNING 2019-11-01 13:22:01,120 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:22:01,121 basehttp 154 "POST /sales/ HTTP/1.1" 403 77
- WARNING 2019-11-01 13:23:02,571 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:23:02,571 basehttp 154 "POST /sales/ HTTP/1.1" 403 21
- WARNING 2019-11-01 13:23:15,243 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:23:15,243 basehttp 154 "POST /sales/ HTTP/1.1" 403 27
- INFO 2019-11-01 13:23:27,865 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-11-01 13:31:04,968 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:31:04,968 basehttp 154 "PUT /sales/ HTTP/1.1" 403 45
- INFO 2019-11-01 13:32:14,626 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- ERROR 2019-11-01 13:33:57,082 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 182, in put
- if re.compile('(^-?[0-9](\d+)?(\.\d{1,6})?$)|(^0$)|(^\d\.\d{1,2}$)').match(AMT) is None:
- TypeError: expected string or bytes-like object
- ERROR 2019-11-01 13:33:57,084 basehttp 154 "PUT /sales/ HTTP/1.1" 500 85230
- ERROR 2019-11-01 13:34:35,913 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 182, in put
- if re.compile('(^-?[0-9](\d+)?(\.\d{1,6})?$)|(^0$)|(^\d\.\d{1,2}$)').match(AMT) is None:
- TypeError: expected string or bytes-like object
- ERROR 2019-11-01 13:34:35,971 basehttp 154 "PUT /sales/ HTTP/1.1" 500 85229
- WARNING 2019-11-01 13:36:30,555 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:36:30,556 basehttp 154 "PUT /sales/ HTTP/1.1" 403 51
- WARNING 2019-11-01 13:36:54,761 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:36:54,761 basehttp 154 "PUT /sales/ HTTP/1.1" 403 51
- INFO 2019-11-01 13:43:51,173 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-11-01 13:49:22,907 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-11-01 14:11:30,593 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:11:30,594 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 77
- WARNING 2019-11-01 14:11:39,487 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:11:39,488 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 77
- WARNING 2019-11-01 14:11:49,961 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:11:49,962 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 77
- WARNING 2019-11-01 14:12:55,961 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:12:55,962 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 77
- WARNING 2019-11-01 14:13:08,152 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:13:08,153 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 21
- INFO 2019-11-01 14:13:13,947 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- ERROR 2019-11-01 14:25:21,711 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 403, in put
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 355, in raw_decode
- obj, end = self.scan_once(s, idx)
- json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 17 (char 73)
- ERROR 2019-11-01 14:25:21,714 basehttp 154 "PUT /proceeds/ HTTP/1.1" 500 94811
- WARNING 2019-11-01 14:26:31,795 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:26:31,795 basehttp 154 "PUT /proceeds/ HTTP/1.1" 403 21
- ERROR 2019-11-01 14:26:55,614 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 403, in put
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 355, in raw_decode
- obj, end = self.scan_once(s, idx)
- json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 17 (char 73)
- ERROR 2019-11-01 14:26:55,616 basehttp 154 "PUT /proceeds/ HTTP/1.1" 500 94808
- WARNING 2019-11-01 14:27:03,962 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:27:03,963 basehttp 154 "PUT /proceeds/ HTTP/1.1" 403 21
- INFO 2019-11-01 14:29:09,194 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-11-01 14:34:53,249 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- WARNING 2019-11-01 14:49:17,092 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:49:17,093 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 14:49:24,441 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:49:24,441 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 14:49:58,609 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:49:58,610 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 14:50:23,437 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:50:23,437 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 14:50:40,875 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:50:40,876 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 21
- INFO 2019-11-01 14:51:20,192 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- WARNING 2019-11-01 15:22:53,636 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 15:22:53,636 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 15:23:04,357 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 15:23:04,358 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 15:23:12,163 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 15:23:12,164 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 403 21
- INFO 2019-11-01 15:23:16,541 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 200 60
- INFO 2019-11-01 15:23:30,904 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 200 60
- INFO 2019-11-01 15:33:26,037 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 200 63
- INFO 2019-11-01 15:34:24,768 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-11-01 15:34:43,307 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 200 63
- INFO 2019-11-01 15:35:49,807 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- WARNING 2019-11-01 16:04:28,431 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:04:28,432 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 81
- WARNING 2019-11-01 16:23:08,201 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:23:08,202 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 78
- WARNING 2019-11-01 16:23:54,853 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:23:54,854 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- WARNING 2019-11-01 16:24:53,507 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:24:53,507 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 24
- ERROR 2019-11-01 16:25:57,326 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 760, in post
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 355, in raw_decode
- obj, end = self.scan_once(s, idx)
- json.decoder.JSONDecodeError: Expecting ',' delimiter: line 9 column 19 (char 200)
- ERROR 2019-11-01 16:25:57,329 basehttp 154 "POST /predictpayment/ HTTP/1.1" 500 95999
- WARNING 2019-11-01 16:26:14,247 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:26:14,247 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 24
- WARNING 2019-11-01 16:27:08,761 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:27:08,761 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 24
- ERROR 2019-11-01 16:27:36,380 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 811, in post
- sum_ATM = round(sum_ATM + i["ATM"], 4)
- TypeError: unsupported operand type(s) for +: 'int' and 'str'
- ERROR 2019-11-01 16:27:36,380 basehttp 154 "POST /predictpayment/ HTTP/1.1" 500 84315
- WARNING 2019-11-01 16:28:56,052 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:28:56,052 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 21
- WARNING 2019-11-01 16:29:36,517 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:29:36,517 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- WARNING 2019-11-01 16:29:51,042 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:29:51,042 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- INFO 2019-11-01 16:31:22,212 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-11-01 16:31:48,381 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:31:48,381 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- WARNING 2019-11-01 16:32:48,505 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:32:48,506 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- WARNING 2019-11-01 16:33:19,688 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:33:19,688 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- ERROR 2019-11-01 16:34:02,695 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 818, in post
- sum_ATM = round(sum_ATM + i["ATM"], 4)
- TypeError: unsupported operand type(s) for +: 'int' and 'str'
- ERROR 2019-11-01 16:34:02,698 basehttp 154 "POST /predictpayment/ HTTP/1.1" 500 84445
- INFO 2019-11-01 16:34:47,995 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- WARNING 2019-11-01 16:45:10,035 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:45:10,036 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 78
- WARNING 2019-11-01 16:45:26,850 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:45:26,851 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 24
- WARNING 2019-11-01 16:45:33,334 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:45:33,334 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 21
- WARNING 2019-11-01 16:45:38,530 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:45:38,530 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 77
- INFO 2019-11-01 16:45:52,084 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 200 54
- INFO 2019-11-01 16:56:10,281 basehttp 154 "DELETE /predictpayment/ HTTP/1.1" 200 57
- INFO 2019-11-01 16:56:39,119 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- INFO 2019-11-01 16:56:42,481 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 200 54
- INFO 2019-11-01 17:08:00,063 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-11-01 17:09:56,722 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-11-03 09:31:11,225 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-11-03 09:33:59,721 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:33:59,722 basehttp 154 "POST /invoice/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:35:05,095 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:35:05,095 basehttp 154 "POST /invoice/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:35:20,688 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:35:20,689 basehttp 154 "POST /invoice/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:35:52,639 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:35:52,640 basehttp 154 "POST /invoice/ HTTP/1.1" 403 77
- INFO 2019-11-03 09:36:15,440 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-11-03 09:36:19,691 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:36:19,691 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-03 09:36:30,801 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:36:30,802 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-03 09:40:34,660 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-03 09:40:34,661 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 21
- WARNING 2019-11-03 09:44:21,215 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:44:21,215 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:44:32,753 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:44:32,753 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 51
- INFO 2019-11-03 09:44:40,144 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-11-03 09:51:45,857 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 09:52:28,758 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- WARNING 2019-11-03 09:56:09,368 log 228 Forbidden: /paymentoperation/
- WARNING 2019-11-03 09:56:09,368 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:56:30,717 log 228 Forbidden: /paymentoperation/
- WARNING 2019-11-03 09:56:30,717 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-11-03 09:56:42,839 log 228 Forbidden: /paymentoperation/
- WARNING 2019-11-03 09:56:42,839 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-11-03 10:09:35,938 log 228 Forbidden: /paymentoperation/
- WARNING 2019-11-03 10:09:35,939 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- INFO 2019-11-03 10:10:05,544 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 10:10:38,281 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 10:14:17,182 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 10:14:21,515 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 10:16:01,412 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-11-03 10:16:40,654 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-11-03 10:16:44,598 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- WARNING 2019-11-03 10:27:20,335 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-03 10:27:20,335 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 81
- WARNING 2019-11-03 10:27:37,242 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-03 10:27:37,243 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 21
- INFO 2019-11-03 10:27:42,844 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-11-03 10:32:17,179 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-03 10:32:17,179 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-11-03 10:32:21,650 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-11-03 10:48:13,967 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-11-03 10:49:09,912 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:49:09,912 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 78
- WARNING 2019-11-03 10:49:19,047 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:49:19,048 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 78
- WARNING 2019-11-03 10:53:16,383 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 10:53:16,383 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-11-03 10:53:23,953 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-11-03 10:55:32,096 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-11-03 10:56:30,153 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:56:30,154 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 78
- WARNING 2019-11-03 10:56:50,449 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:56:50,449 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 21
- WARNING 2019-11-03 10:57:13,811 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:57:13,811 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 21
- INFO 2019-11-03 10:58:47,136 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 200 55
- INFO 2019-11-03 10:59:54,774 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 200 55
- INFO 2019-11-03 11:07:29,842 basehttp 154 "GET /sales HTTP/1.1" 301 0
- INFO 2019-11-03 11:07:29,865 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:07:29,914 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:07:29,915 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3280
- ERROR 2019-11-03 11:09:07,485 exception 77 Invalid HTTP_HOST header: '192.168.137.1:8000'. You may need to add '192.168.137.1' to ALLOWED_HOSTS.
- WARNING 2019-11-03 11:09:07,524 log 228 Bad Request: /sales/
- WARNING 2019-11-03 11:09:07,525 basehttp 154 "GET /sales/ HTTP/1.1" 400 66679
- ERROR 2019-11-03 11:09:07,706 exception 77 Invalid HTTP_HOST header: '192.168.137.1:8000'. You may need to add '192.168.137.1' to ALLOWED_HOSTS.
- WARNING 2019-11-03 11:09:07,742 log 228 Bad Request: /favicon.ico
- WARNING 2019-11-03 11:09:07,742 basehttp 154 "GET /favicon.ico HTTP/1.1" 400 66668
- INFO 2019-11-03 11:12:55,385 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:12:55,413 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:12:55,413 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3284
- WARNING 2019-11-03 11:13:36,096 log 228 Not Found: /
- WARNING 2019-11-03 11:13:36,096 basehttp 154 "GET / HTTP/1.1" 404 3234
- WARNING 2019-11-03 11:13:53,887 log 228 Not Found: //sales/
- WARNING 2019-11-03 11:13:53,888 basehttp 154 "GET //sales/ HTTP/1.1" 404 3273
- WARNING 2019-11-03 11:13:54,057 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:13:54,058 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:14:00,119 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-03 11:15:08,274 basehttp 154 "GET /sales HTTP/1.1" 301 0
- INFO 2019-11-03 11:15:08,485 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-03 11:15:34,578 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:15:34,750 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:15:34,751 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:15:43,992 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:15:44,662 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:15:44,663 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:15:46,578 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:15:46,910 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:15:46,911 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:15:52,647 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:15:58,776 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:15:58,776 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:16:00,367 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:16:03,144 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:16:03,144 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:16:04,835 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:16:05,110 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:16:05,111 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:18:35,084 basehttp 154 "GET /sales/ HTTP/1.0" 200 54
- WARNING 2019-11-03 11:18:38,541 log 228 Not Found: /
- WARNING 2019-11-03 11:18:38,542 basehttp 154 "GET / HTTP/1.0" 404 3234
- INFO 2019-11-03 11:19:31,881 basehttp 154 "GET /invoice/ HTTP/1.0" 200 10
- INFO 2019-11-03 11:20:32,044 basehttp 154 "GET /invoice HTTP/1.1" 301 0
- WARNING 2019-11-03 11:20:41,040 log 228 Not Found: /
- WARNING 2019-11-03 11:20:41,041 basehttp 154 "HEAD / HTTP/1.1" 404 3235
- WARNING 2019-11-03 11:21:39,260 log 228 Not Found: /
- WARNING 2019-11-03 11:21:39,260 basehttp 154 "HEAD / HTTP/1.1" 404 3235
- INFO 2019-11-03 11:29:33,529 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:29:33,903 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:29:33,903 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:29:41,481 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-05 21:33:18,500 basehttp 154 "GET /predictpayment HTTP/1.1" 301 0
- INFO 2019-11-05 21:33:20,080 basehttp 154 "GET /predictpayment/ HTTP/1.1" 200 54
- WARNING 2019-11-05 21:33:20,108 log 228 Not Found: /favicon.ico
- WARNING 2019-11-05 21:33:20,109 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3284
- INFO 2019-11-05 21:47:09,730 basehttp 154 "GET /predictpayment/ HTTP/1.1" 200 54
- INFO 2019-11-05 23:00:01,830 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-05 23:00:01,930 log 228 Not Found: /favicon.ico
- WARNING 2019-11-05 23:00:01,930 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3280
- INFO 2019-11-08 09:33:38,919 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:33:49,455 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:34:47,820 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:35:01,386 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:35:27,500 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:37:33,632 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:39:12,188 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\setting\dev.py changed, reloading.
- INFO 2019-11-08 09:39:12,927 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:39:19,867 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\setting\dev.py changed, reloading.
- INFO 2019-11-08 09:39:20,619 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:39:21,033 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:40:28,193 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\setting\dev.py changed, reloading.
- INFO 2019-11-08 09:40:28,892 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:40:38,901 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:40:47,636 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-09 16:06:19,043 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-09 16:06:58,214 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-09 16:14:47,264 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\urls.py changed, reloading.
- INFO 2019-11-09 16:14:47,923 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-09 16:19:18,966 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\urls.py changed, reloading.
- INFO 2019-11-09 16:19:19,699 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-11 16:16:41,670 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-11 16:17:01,982 log 228 Not Found: /favicon.ico
- WARNING 2019-11-11 16:17:01,982 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 77
- INFO 2019-11-11 16:17:09,641 basehttp 154 "GET /sales HTTP/1.1" 301 0
- INFO 2019-11-11 16:17:09,666 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-11 16:17:09,922 log 228 Not Found: /favicon.ico
- WARNING 2019-11-11 16:17:09,924 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 77
- INFO 2019-11-11 16:17:14,643 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-11 16:32:32,833 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-11 16:32:33,757 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-11 16:33:46,402 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-11 16:33:47,295 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-11 16:37:45,902 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-11 16:37:47,798 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:37:47,902 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:37:57,001 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:37:57,002 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:38:00,350 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:38:00,350 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- INFO 2019-11-11 16:38:21,714 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-11 16:38:25,235 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:38:25,238 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:38:47,178 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:38:47,179 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- WARNING 2019-11-11 16:38:47,252 log 228 Not Found: /favicon.ico
- WARNING 2019-11-11 16:38:47,253 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 77
- INFO 2019-11-11 16:39:02,780 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-11 16:39:05,535 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:39:05,536 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:39:06,768 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:39:06,769 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:39:08,320 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:39:08,320 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- INFO 2019-11-11 16:39:28,518 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-11 16:39:30,999 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:40:17,795 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:40:34,826 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:40:34,959 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-12 14:40:34,991 log 228 Internal Server Error: /favicon.ico
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:40:34,992 basehttp 154 "GET /favicon.ico HTTP/1.1" 500 27
- INFO 2019-11-12 14:41:55,920 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:41:59,326 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:41:59,327 basehttp 154 "GET /sales/ HTTP/1.1" 500 73496
- ERROR 2019-11-12 14:41:59,575 log 228 Internal Server Error: /favicon.ico
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:41:59,577 basehttp 154 "GET /favicon.ico HTTP/1.1" 500 73597
- INFO 2019-11-12 14:44:10,525 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:44:14,891 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:44:14,892 basehttp 154 "GET /sales/ HTTP/1.1" 500 73537
- ERROR 2019-11-12 14:44:15,024 log 228 Internal Server Error: /favicon.ico
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:44:15,025 basehttp 154 "GET /favicon.ico HTTP/1.1" 500 73638
- INFO 2019-11-12 14:44:44,179 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:44:45,988 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-12 14:44:46,053 log 228 Not Found: /favicon.ico
- WARNING 2019-11-12 14:44:46,054 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3280
- INFO 2019-11-12 14:45:20,751 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:45:21,715 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:46:22,467 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:46:37,151 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:47:12,111 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:47:14,473 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:47:29,166 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:47:31,456 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:47:51,244 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:47:53,102 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:48:18,072 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:48:21,911 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:48:41,055 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:48:43,306 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:50:12,409 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:50:13,187 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 14:50:55,463 log 228 Forbidden: /sales/
- WARNING 2019-11-12 14:50:55,464 basehttp 154 "GET /sales/ HTTP/1.1" 403 27
- INFO 2019-11-12 14:52:22,141 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:52:23,594 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:52:51,587 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:54:17,547 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:54:18,321 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:56:21,151 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:56:22,161 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:56:34,244 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:57:09,461 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 11, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:57:09,463 basehttp 154 "POST /invoice/ HTTP/1.1" 500 88452
- INFO 2019-11-12 14:58:18,482 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:58:21,405 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 12, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:58:21,408 basehttp 154 "POST /invoice/ HTTP/1.1" 500 88493
- INFO 2019-11-12 15:00:00,823 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:00:03,448 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 13, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 15:00:03,449 basehttp 154 "POST /invoice/ HTTP/1.1" 500 88529
- INFO 2019-11-12 15:00:47,374 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 15:00:56,262 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:00:57,943 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- ERROR 2019-11-12 15:01:50,029 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 69, in post
- print(ZL_NO[:3])
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:01:50,036 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84293
- INFO 2019-11-12 15:01:58,863 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:02:02,319 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 69, in post
- print(ZL_NO[:3])
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:02:02,320 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84293
- INFO 2019-11-12 15:02:57,081 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:03:01,095 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 69, in post
- print(ZL_NO[:3])
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:03:01,097 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84293
- INFO 2019-11-12 15:03:57,379 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:04:00,651 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 14, in inner
- user = req_data.get("user") # 用户名
- AttributeError: 'str' object has no attribute 'get'
- ERROR 2019-11-12 15:04:00,655 basehttp 154 "POST /invoice/ HTTP/1.1" 500 58094
- INFO 2019-11-12 15:04:57,318 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:05:00,700 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 14, in inner
- user = req_data.get("user") # 用户名
- AttributeError: 'str' object has no attribute 'get'
- ERROR 2019-11-12 15:05:00,701 basehttp 154 "GET /sales/ HTTP/1.1" 500 58071
- INFO 2019-11-12 15:05:14,607 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:05:16,907 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- ERROR 2019-11-12 15:05:58,700 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 69, in post
- print(ZL_NO[:3])
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:05:58,701 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84293
- INFO 2019-11-12 15:06:40,324 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:06:43,978 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 71, in post
- if ZL_NO[:3] != 'LPF' or len(ZL_NO) != 10:
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:06:43,980 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84325
- INFO 2019-11-12 15:06:56,069 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py changed, reloading.
- INFO 2019-11-12 15:06:57,864 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:08:48,355 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:09:09,420 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:09:09,421 basehttp 154 "POST /invoice/ HTTP/1.1" 403 16
- INFO 2019-11-12 15:10:23,366 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 15:10:24,156 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:11:13,161 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:11:16,082 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:11:16,083 basehttp 154 "POST /invoice/ HTTP/1.1" 403 27
- INFO 2019-11-12 15:12:53,101 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 15:12:53,904 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:13:17,786 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:13:26,023 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:13:26,024 basehttp 154 "POST /invoice/ HTTP/1.1" 403 27
- INFO 2019-11-12 15:14:16,843 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:14:19,319 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:14:19,320 basehttp 154 "POST /invoice/ HTTP/1.1" 403 27
- INFO 2019-11-12 15:15:41,239 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:15:44,018 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:15:44,018 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-12 15:15:52,636 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:15:52,638 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-12 15:16:08,616 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:16:08,616 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-12 15:16:21,275 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:16:21,276 basehttp 154 "POST /invoice/ HTTP/1.1" 403 18
- INFO 2019-11-12 15:17:29,140 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:17:51,169 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-11-12 15:18:49,024 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:18:49,025 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-12 15:19:43,121 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:19:43,121 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-11-12 15:20:26,760 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:20:29,834 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:20:29,835 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 15
- WARNING 2019-11-12 15:20:49,384 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:20:49,384 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-11-12 15:21:19,639 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-11-12 15:22:23,031 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 15:22:24,106 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:37:34,924 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:38:19,360 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:38:19,361 basehttp 154 "POST /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 15:38:59,231 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:39:03,593 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-11-12 15:39:12,325 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:39:15,126 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:39:15,128 basehttp 154 "POST /invoice/ HTTP/1.1" 403 2868
- WARNING 2019-11-12 15:40:51,787 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:40:51,787 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 18
- WARNING 2019-11-12 15:41:12,896 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:41:12,896 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- WARNING 2019-11-12 15:44:11,969 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:44:11,969 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- WARNING 2019-11-12 15:50:04,312 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:50:04,313 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 15:50:17,119 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:53:05,171 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:53:05,172 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- WARNING 2019-11-12 15:53:44,032 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:53:44,033 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 15:54:05,117 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:54:30,324 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:54:30,325 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 16:19:49,910 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 16:20:27,691 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 16:22:12,626 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 16:22:12,627 basehttp 154 "POST /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 16:22:39,263 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 16:23:05,093 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 16:23:21,755 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 16:23:21,755 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-11-12 16:24:40,820 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-11-12 16:44:35,511 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- ERROR 2019-11-12 16:44:51,952 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'CHK_MAN' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'CLS_DATE' 无效。 (207); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 395, in post
- row_usr = usr_data(USR, USR_NAME, datetime.datetime.strptime(RP_DD, '%Y-%m-%d'))
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\usr_data.py", line 13, in usr_data
- cursor.execute("INSERT INTO SALM(SAL_NO,[NAME],USR,CHK_MAN,CLS_DATE,SYS_DATE)VALUES (%s,%s,'ADMIN','ADMIN',%s,%s)", [USR, USR_NAME,DATE,DATE])
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'CHK_MAN' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'CLS_DATE' 无效。 (207); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-11-12 16:44:51,956 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 133940
- INFO 2019-11-12 16:48:07,723 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\usr_data.py changed, reloading.
- INFO 2019-11-12 16:48:08,489 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 16:49:09,677 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 16:49:14,521 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-11-12 16:51:02,232 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:01:00,950 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:01:01,942 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:05:43,200 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:05:44,417 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:06:24,227 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:06:25,264 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:09:35,337 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:09:36,256 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:10:12,277 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:10:13,064 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:11:18,793 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:13:01,256 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 17:13:04,170 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-12 17:13:04,171 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- WARNING 2019-11-12 17:13:11,723 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-12 17:13:11,725 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 21
- INFO 2019-11-13 09:19:57,023 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:21:04,056 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:21:04,056 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 30
- ERROR 2019-11-13 09:21:16,725 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 388, in post
- sum_CACC_NO=et_CACC_NO(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py", line 21, in et_CACC_NO
- SUM_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 09:21:16,728 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 129920
- INFO 2019-11-13 09:22:20,447 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:22:24,316 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 388, in post
- sum_CACC_NO=et_CACC_NO(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py", line 22, in et_CACC_NO
- SUM_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 09:22:24,319 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 129926
- WARNING 2019-11-13 09:22:54,159 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:22:54,160 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 30
- INFO 2019-11-13 09:23:11,800 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py changed, reloading.
- INFO 2019-11-13 09:23:12,555 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:23:18,851 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:23:21,004 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:23:21,004 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 30
- ERROR 2019-11-13 09:23:29,487 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 388, in post
- sum_CACC_NO=et_CACC_NO(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py", line 22, in et_CACC_NO
- SUM_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 09:23:29,490 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 129912
- INFO 2019-11-13 09:23:58,046 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:24:00,932 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 389, in post
- if sum_CACC_NO <=0:
- TypeError: '<=' not supported between instances of 'HttpResponseForbidden' and 'int'
- ERROR 2019-11-13 09:24:00,933 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 85820
- INFO 2019-11-13 09:26:39,132 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:26:56,637 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 406, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:26:56,641 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86319
- INFO 2019-11-13 09:28:39,553 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:28:42,917 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 406, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:28:42,918 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:29:10,905 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:29:15,364 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 406, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:29:15,365 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:32:18,835 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:32:22,715 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 406, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:32:22,717 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:34:12,207 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:34:15,270 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 408, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:34:15,272 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:34:43,791 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:34:48,049 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:34:48,050 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:35:15,342 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:35:18,687 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:35:18,689 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:35:41,580 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:35:45,021 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:35:45,024 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:36:21,091 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:36:25,861 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:36:25,862 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:37:08,687 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:37:12,871 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:37:12,872 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86462
- INFO 2019-11-13 09:37:32,747 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:37:36,237 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:37:36,237 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-11-13 09:38:12,641 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 09:38:13,462 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:38:22,592 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:38:22,592 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-11-13 09:39:04,964 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 09:39:05,745 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:39:17,523 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py changed, reloading.
- INFO 2019-11-13 09:39:18,229 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:39:25,431 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 09:39:26,303 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:39:26,970 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:39:31,533 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:39:34,146 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 408, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:39:34,149 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86520
- INFO 2019-11-13 09:40:22,867 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 09:40:23,643 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:40:37,698 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py changed, reloading.
- INFO 2019-11-13 09:40:38,412 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:40:43,633 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:40:43,633 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 57
- WARNING 2019-11-13 09:40:50,145 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:40:50,146 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 57
- WARNING 2019-11-13 09:40:53,502 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:40:53,502 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 57
- INFO 2019-11-13 09:48:22,677 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 09:48:23,417 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 10:53:55,658 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:19:53,545 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:20:02,164 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:20:02,165 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 18
- ERROR 2019-11-13 17:21:00,492 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 577, in post
- tp_CACC_NO = if_account(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\if_account.py", line 16, in if_account
- IF_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 17:21:00,496 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 500 130318
- INFO 2019-11-13 17:22:14,700 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 17:22:20,255 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 577, in post
- tp_CACC_NO = if_account(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\if_account.py", line 16, in if_account
- IF_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 17:22:20,257 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 500 130295
- INFO 2019-11-13 17:23:09,092 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 17:23:11,442 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 577, in post
- tp_CACC_NO = if_account(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\if_account.py", line 16, in if_account
- IF_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 17:23:11,445 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 500 130319
- INFO 2019-11-13 17:23:34,892 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 17:23:38,103 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 578, in post
- tp_CACC_NO = if_account(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\if_account.py", line 16, in if_account
- IF_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 17:23:38,107 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 500 130219
- INFO 2019-11-13 17:24:38,806 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:24:49,548 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- WARNING 2019-11-13 17:24:55,731 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:24:55,732 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 24
- WARNING 2019-11-13 17:25:36,526 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:25:36,526 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 24
- INFO 2019-11-13 17:26:25,765 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:26:26,629 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:26:33,797 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:26:33,798 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 24
- INFO 2019-11-13 17:27:04,469 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:27:06,577 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:27:06,578 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 24
- INFO 2019-11-13 17:27:29,820 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:27:43,234 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:27:43,234 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 24
- INFO 2019-11-13 17:28:10,919 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:28:12,759 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:28:12,760 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 24
- INFO 2019-11-13 17:28:42,761 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:28:44,046 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:28:44,046 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 6
- INFO 2019-11-13 17:29:46,435 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 17:29:52,343 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 577, in post
- tp_CACC_NO = if_account(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\if_account.py", line 16, in if_account
- IF_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 17:29:52,345 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 500 89037
- INFO 2019-11-13 17:32:06,930 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 17:32:09,457 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 579, in post
- if int(tp_CACC_NO) == 1:
- TypeError: int() argument must be a string, a bytes-like object or a number, not 'HttpResponseForbidden'
- ERROR 2019-11-13 17:32:09,458 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 500 85490
- INFO 2019-11-13 17:35:00,403 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:35:01,384 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:35:19,514 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:35:21,533 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:35:21,533 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 36
- INFO 2019-11-13 17:36:40,343 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:36:43,378 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:36:43,378 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 57
- INFO 2019-11-13 17:38:25,760 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:38:26,506 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:39:50,385 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:39:51,280 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:42:52,983 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:42:53,749 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:43:58,637 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:43:59,349 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:45:06,136 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:45:06,136 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 24
- WARNING 2019-11-13 17:45:11,257 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:45:11,257 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 12
- INFO 2019-11-13 17:45:49,168 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 17:45:53,473 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-13 17:45:53,474 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 27
- INFO 2019-11-13 17:46:13,982 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-11-13 17:49:35,596 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:49:36,369 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:50:46,707 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:50:47,431 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:52:12,947 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:52:13,978 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:52:48,112 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:52:48,861 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:54:11,935 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:54:12,647 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:55:46,458 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:55:47,243 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:57:12,582 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:57:13,413 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:57:32,256 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:57:33,114 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:57:48,577 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:57:49,452 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:58:55,373 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:58:56,277 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:59:23,235 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:59:23,984 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 17:59:53,278 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 17:59:54,100 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:00:08,283 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 18:00:09,221 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:00:39,483 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 18:00:40,291 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:04:22,766 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:04:23,514 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:06:24,285 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:06:25,056 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:06:35,952 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:06:36,655 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:07:19,648 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:07:20,475 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:07:46,318 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:07:47,099 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:08:48,876 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:08:49,649 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:08:56,934 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:08:57,697 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:09:03,832 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:09:04,820 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:09:47,769 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:09:48,526 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:10:12,006 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:10:12,793 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:11:27,584 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:11:28,289 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:11:35,643 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:11:36,433 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:11:41,513 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:11:42,389 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:12:21,027 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:12:21,826 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:14:26,644 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:14:27,347 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:14:57,842 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:14:58,712 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:15:15,229 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 18:15:15,943 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:42:32,705 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\cust_data.py changed, reloading.
- INFO 2019-11-13 18:42:34,415 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 18:42:52,932 log 228 Forbidden: /invoice/
- WARNING 2019-11-13 18:42:52,933 basehttp 154 "GET /invoice/ HTTP/1.1" 403 27
- WARNING 2019-11-13 18:42:53,029 log 228 Forbidden: /favicon.ico
- WARNING 2019-11-13 18:42:53,030 basehttp 154 "GET /favicon.ico HTTP/1.1" 403 27
- INFO 2019-11-13 18:43:12,968 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 18:44:58,482 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:45:02,304 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 18:48:31,372 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:48:33,913 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 18:49:07,766 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:49:09,836 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 18:58:19,421 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 18:58:22,912 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 18:59:10,916 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:00:27,128 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:00:37,873 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:00:38,800 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:02:06,829 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:02:38,274 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 19:02:40,460 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 24, in get
- row_cus_no = customer_data(CUS_NO, CUS_NO_NAME, '1', datetime.datetime.strptime(LZ_DD, '%Y-%m-%d'))
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\cust_data.py", line 19, in customer_data
- """, [CUS_NO, CUS_NO_NAME,OBJ_ID,'ADMIN','ADMIN',DATE,DATE])
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 532, in execute
- sql = self.format_sql(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 500, in format_sql
- sql = sql % tuple('?' * len(params))
- TypeError: not all arguments converted during string formatting
- ERROR 2019-11-13 19:02:40,462 basehttp 154 "GET /invoice/ HTTP/1.1" 500 114737
- INFO 2019-11-13 19:03:26,982 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:03:31,714 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:06:04,515 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:06:11,006 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:07:40,635 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:07:43,300 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:09:35,179 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:09:47,533 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 19:09:50,761 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 24, in get
- row_cus_no = customer_data(CUS_NO, CUS_NO_NAME, 1, LZ_DD)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\cust_data.py", line 18, in customer_data
- """, [CUS_NO, CUS_NO_NAME,OBJ_ID,'ADMIN','ADMIN',DATE,DATE])
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 532, in execute
- sql = self.format_sql(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 500, in format_sql
- sql = sql % tuple('?' * len(params))
- TypeError: must be real number, not str
- ERROR 2019-11-13 19:09:50,764 basehttp 154 "GET /invoice/ HTTP/1.1" 500 113610
- INFO 2019-11-13 19:11:19,196 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:15:02,738 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\cust_data.py changed, reloading.
- INFO 2019-11-13 19:15:03,437 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:15:26,707 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\cust_data.py changed, reloading.
- INFO 2019-11-13 19:15:27,466 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:15:57,227 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:16:00,560 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:17:13,294 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:17:16,532 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:18:21,054 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:18:23,518 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:19:14,678 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:19:17,173 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:20:15,288 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:20:18,985 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:21:27,225 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:21:29,538 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:22:00,838 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:22:07,363 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:22:54,528 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:23:03,198 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:23:21,085 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:24:04,385 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:24:06,803 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:24:32,423 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:24:35,946 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:25:04,946 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:25:06,449 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:25:31,040 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 19:25:36,463 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-11-13 19:26:06,113 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\cust_data.py changed, reloading.
- INFO 2019-11-13 19:26:06,938 autoreload 597 Watching for file changes with StatReloader
- =======
- WARNING 2019-10-26 15:31:41,879 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:31:41,879 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- INFO 2019-10-26 15:35:42,526 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:35:46,076 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:35:46,076 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- WARNING 2019-10-26 15:37:52,221 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:37:52,222 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- WARNING 2019-10-26 15:39:56,569 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:39:56,570 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:40:06,688 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:40:06,688 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- INFO 2019-10-26 15:41:08,490 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:43:52,321 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:43:52,321 basehttp 154 "POST /invoice/ HTTP/1.1" 403 39
- INFO 2019-10-26 15:44:05,338 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 15:44:32,840 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 15:44:36,934 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:44:36,934 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:44:55,973 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:44:55,973 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:45:16,193 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:45:16,194 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:45:32,802 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:40,839 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:45:43,261 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:45:43,262 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:45:51,198 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:53,169 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:56,463 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:57,690 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:58,635 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 15:45:59,382 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 15:46:39,703 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:39,704 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:46:40,883 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:40,883 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:46:44,675 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 15:46:47,737 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 15:46:48,995 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:48,996 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:46:52,536 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:46:53,809 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:53,809 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:46:55,169 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:46:55,169 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:47:22,946 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 15:47:25,783 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 15:47:46,364 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 15:47:48,702 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:47:48,702 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:57:11,237 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 15:57:13,888 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:57:13,889 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 15:57:15,422 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 15:57:15,422 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 15:57:42,581 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 15:57:44,459 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 15:58:22,380 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 16:00:24,377 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-10-26 16:01:06,398 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 16:01:08,375 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 16:01:08,376 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 16:01:41,337 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 16:01:42,339 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 16:01:42,339 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-10-26 16:01:55,226 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 16:01:55,227 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-26 16:10:06,833 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 16:11:23,976 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 16:11:51,199 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- ERROR 2019-10-26 16:22:50,204 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 101, in post
- ,datetime.datetime.strptime(RP_DD, '%Y-%m-%d'),RP_NO])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 542, in execute
- sql = self.format_sql(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 510, in format_sql
- sql = sql % tuple('?' * len(params))
- TypeError: not all arguments converted during string formatting
- ERROR 2019-10-26 16:22:50,206 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 500 110930
- INFO 2019-10-26 16:24:33,700 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- WARNING 2019-10-26 16:25:03,979 log 228 Forbidden: /invoice/
- WARNING 2019-10-26 16:25:03,980 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 48
- INFO 2019-10-26 16:25:17,685 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 16:25:20,901 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 16:25:27,596 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 16:27:43,951 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 16:47:21,302 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 16:47:21,302 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 15
- WARNING 2019-10-26 16:49:22,716 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 16:49:22,716 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 15
- ERROR 2019-10-26 16:49:54,113 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 180, in put
- row_AMTN = cursor.execute("""SELECT AMTN_BC FROM TF_MON WHERE RP_NO=%s AND PR_ID='2'""", [RP_NO]).fetchall()[0][0]
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-26 16:49:54,117 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 500 126543
- ERROR 2019-10-26 16:50:35,155 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 180, in put
- row_AMTN = cursor.execute("""SELECT AMTN_BC FROM TF_MON WHERE RP_NO=%s AND PR_ID='2'""", [RP_NO]).fetchall()[0][0]
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-26 16:50:35,157 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 500 126546
- ERROR 2019-10-26 16:51:00,696 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 180, in put
- row_AMTN = cursor.execute("""SELECT AMTN_BC FROM TF_MON WHERE RP_NO=%s AND PR_ID='2'""", [RP_NO]).fetchall()[0][0]
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'PR_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-26 16:51:00,698 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 500 126546
- WARNING 2019-10-26 17:00:46,983 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:00:46,983 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-10-26 17:00:59,051 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:00:59,051 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-10-26 17:01:35,345 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:01:35,345 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-10-26 17:02:54,095 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:02:54,095 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 403 21
- INFO 2019-10-26 17:03:37,523 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-26 17:04:55,512 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- WARNING 2019-10-26 17:30:24,738 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:30:24,739 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 403 15
- ERROR 2019-10-26 17:30:59,238 log 228 Internal Server Error: /paymentoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 297, in delete
- cursor.execute("""DELETE FROM MF_BAC WHERE BB_NO=%s AND RP_ID='2'""", ['BT'+RP_NO[2::]])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-26 17:30:59,241 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 500 126111
- INFO 2019-10-26 17:33:53,187 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- WARNING 2019-10-26 17:34:25,873 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:34:25,874 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 36
- WARNING 2019-10-26 17:34:33,716 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:34:33,716 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 403 15
- INFO 2019-10-26 17:39:32,014 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 17:39:50,505 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-26 17:40:11,226 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 17:48:51,576 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 17:49:04,517 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-26 17:49:13,853 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 17:49:17,183 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- WARNING 2019-10-26 17:49:39,792 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 17:49:39,792 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 403 15
- INFO 2019-10-26 18:28:14,669 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-26 18:28:18,274 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 18:28:21,150 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-10-26 18:28:25,458 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 18:28:25,458 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- INFO 2019-10-26 18:30:04,306 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 18:30:19,015 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- WARNING 2019-10-26 18:30:28,836 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-26 18:30:28,837 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- INFO 2019-10-26 18:30:38,718 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 18:31:02,819 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-26 18:35:00,176 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-26 18:35:06,199 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-26 18:35:09,065 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-26 18:35:32,737 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 18:35:38,682 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-26 18:35:48,661 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-26 18:35:55,766 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-28 09:04:08,436 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-10-28 09:05:08,930 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:05:08,930 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 403 15
- INFO 2019-10-28 09:05:19,111 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- INFO 2019-10-28 09:14:12,133 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- INFO 2019-10-28 09:23:44,854 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- INFO 2019-10-28 09:24:13,707 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- WARNING 2019-10-28 09:24:58,993 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:24:58,993 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 403 27
- WARNING 2019-10-28 09:28:41,541 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:28:41,542 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 15
- WARNING 2019-10-28 09:29:03,803 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:29:03,803 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 15
- INFO 2019-10-28 09:30:24,164 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 200 45
- WARNING 2019-10-28 09:34:09,682 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:34:09,682 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 27
- INFO 2019-10-28 09:34:29,286 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-10-28 09:34:49,859 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- WARNING 2019-10-28 09:35:20,642 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:35:20,643 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 33
- WARNING 2019-10-28 09:35:37,100 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:35:37,101 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 33
- INFO 2019-10-28 09:39:00,461 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 200 45
- INFO 2019-10-28 09:39:06,134 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-10-28 09:39:09,613 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-28 09:39:34,619 basehttp 154 "PUT /paymentoperation/ HTTP/1.1" 200 36
- INFO 2019-10-28 09:39:56,474 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-10-28 09:40:00,198 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- WARNING 2019-10-28 09:40:35,489 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 09:40:35,490 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 33
- INFO 2019-10-28 09:40:42,079 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 200 45
- WARNING 2019-10-28 13:20:21,682 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 13:20:21,682 basehttp 154 "DELETE /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-10-28 13:20:26,561 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- WARNING 2019-10-28 13:20:30,181 log 228 Forbidden: /invoice/
- WARNING 2019-10-28 13:20:30,182 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 48
- WARNING 2019-10-28 13:20:47,121 log 228 Forbidden: /paymentoperation/
- WARNING 2019-10-28 13:20:47,122 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 403 15
- INFO 2019-10-28 13:20:55,254 basehttp 154 "DELETE /paymentoperation/ HTTP/1.1" 200 39
- INFO 2019-10-28 13:20:58,635 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-10-28 13:21:04,731 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-28 13:27:56,959 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-10-28 13:27:58,680 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-10-28 13:27:58,680 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-10-28 13:28:21,935 basehttp 154 "PUT /expectedpoperation/ HTTP/1.1" 200 42
- INFO 2019-10-28 13:34:02,390 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-10-28 13:35:23,918 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 200 55
- INFO 2019-10-28 15:36:48,198 basehttp 154 "PUT /expectedptoperation/ HTTP/1.1" 200 54
- INFO 2019-10-28 15:41:44,910 basehttp 154 "DELETE /expectedptoperation/ HTTP/1.1" 200 57
- WARNING 2019-10-28 15:41:47,353 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-10-28 15:41:47,353 basehttp 154 "DELETE /expectedptoperation/ HTTP/1.1" 403 15
- ERROR 2019-10-28 17:13:21,613 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 594, in fetchall
- return self.format_rows(self.cursor.fetchall())
- pyodbc.ProgrammingError: No results. Previous SQL was not a query.
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 25, in get
- row = cursor.fetchall()
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 594, in fetchall
- return self.format_rows(self.cursor.fetchall())
- django.db.utils.ProgrammingError: No results. Previous SQL was not a query.
- ERROR 2019-10-28 17:13:21,617 basehttp 154 "GET /invoice/ HTTP/1.1" 500 103126
- ERROR 2019-10-28 17:14:09,053 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 594, in fetchall
- return self.format_rows(self.cursor.fetchall())
- pyodbc.ProgrammingError: No results. Previous SQL was not a query.
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 26, in get
- row = cursor.fetchall()
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 96, in inner
- return func(*args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 594, in fetchall
- return self.format_rows(self.cursor.fetchall())
- django.db.utils.ProgrammingError: No results. Previous SQL was not a query.
- ERROR 2019-10-28 17:14:09,055 basehttp 154 "GET /invoice/ HTTP/1.1" 500 103121
- INFO 2019-10-28 17:14:37,315 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-28 17:18:40,853 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-28 17:46:37,114 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-28 17:47:59,023 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-28 17:48:24,002 basehttp 154 "GET /invoice/ HTTP/1.1" 200 10
- INFO 2019-10-29 17:17:19,858 basehttp 154 "GET /sales HTTP/1.1" 301 0
- INFO 2019-10-29 17:17:19,893 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-10-29 17:17:19,955 log 228 Not Found: /favicon.ico
- WARNING 2019-10-29 17:17:19,956 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 2790
- INFO 2019-10-30 08:53:29,962 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-10-30 09:01:13,540 log 228 Forbidden: /sales/
- WARNING 2019-10-30 09:01:13,540 basehttp 154 "POST /sales/ HTTP/1.1" 403 51
- ERROR 2019-10-30 09:01:22,412 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 82, in post
- INV_NO,datetime.datetime.strptime(LZ_DD, '%Y-%m-%d'),datetime.datetime.strptime(LZ_DD, '%Y-%m-%d')])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 542, in execute
- sql = self.format_sql(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 510, in format_sql
- sql = sql % tuple('?' * len(params))
- TypeError: not all arguments converted during string formatting
- ERROR 2019-10-30 09:01:22,414 basehttp 154 "POST /sales/ HTTP/1.1" 500 117057
- ERROR 2019-10-30 09:06:26,281 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 137, in _get_response
- "returned None instead." % (callback.__module__, view_name)
- ValueError: The view salesinvoice.views.salesView didn't return an HttpResponse object. It returned None instead.
- ERROR 2019-10-30 09:06:26,284 basehttp 154 "POST /sales/ HTTP/1.1" 500 61515
- ERROR 2019-10-30 09:08:20,019 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__MF_PSS'。不能在对象 'dbo.MF_PSS' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 71, in post
- datetime.datetime.strptime(LZ_DD, '%Y-%m-%d'),AMT])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__MF_PSS'。不能在对象 'dbo.MF_PSS' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- ERROR 2019-10-30 09:08:20,023 basehttp 154 "POST /sales/ HTTP/1.1" 500 133988
- WARNING 2019-10-30 09:09:07,909 log 228 Forbidden: /sales/
- WARNING 2019-10-30 09:09:07,909 basehttp 154 "POST /sales/ HTTP/1.1" 403 27
- INFO 2019-10-30 09:10:51,862 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:34:16,513 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- ERROR 2019-10-30 09:40:09,694 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__TF_LZ'。不能在对象 'dbo.TF_LZ' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 90, in post
- ('LZ',%s,1,%s,%s,%s,'AQ001',1,%s,5,1,1,'SA',1,'服務費用',%s,1,1)""",[ZL_NO, 'SA' + ZL_NO[2::],AMT,AMT,datetime.datetime.strptime(LZ_DD, '%Y-%m-%d'), CUS_NO])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__TF_LZ'。不能在对象 'dbo.TF_LZ' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- ERROR 2019-10-30 09:40:09,698 basehttp 154 "POST /sales/ HTTP/1.1" 500 133487
- INFO 2019-10-30 09:40:39,938 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:41:21,053 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:45:39,565 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:56:47,597 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 09:58:19,521 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:01:37,714 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-10-30 10:15:39,303 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:15:39,303 basehttp 154 "PUT /sales/ HTTP/1.1" 403 51
- INFO 2019-10-30 10:15:47,263 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- ERROR 2019-10-30 10:26:49,687 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 335, in delete
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-10-30 10:26:49,691 basehttp 154 "DELETE /invoice/?ZL_NO=LZS9A300001&ZHANG_ID=3 HTTP/1.1" 500 97827
- WARNING 2019-10-30 10:28:36,918 base 93 Method Not Allowed (DELETE): /sales/
- WARNING 2019-10-30 10:28:36,918 log 228 Method Not Allowed: /sales/
- WARNING 2019-10-30 10:28:36,918 basehttp 154 "DELETE /sales/ HTTP/1.1" 405 0
- WARNING 2019-10-30 10:29:14,406 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:29:14,406 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- INFO 2019-10-30 10:30:23,997 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 60
- INFO 2019-10-30 10:30:57,516 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 60
- WARNING 2019-10-30 10:31:36,845 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:31:36,846 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- WARNING 2019-10-30 10:31:41,341 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:31:41,341 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- ERROR 2019-10-30 10:32:19,311 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__MF_PSS'。不能在对象 'dbo.MF_PSS' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 75, in post
- datetime.datetime.strptime(LZ_DD, '%Y-%m-%d'),AMT])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.IntegrityError: ('23000', "[23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]违反了 PRIMARY KEY 约束 'PK__MF_PSS'。不能在对象 'dbo.MF_PSS' 中插入重复键。 (2627) (SQLExecDirectW); [23000] [Microsoft][SQL Server Native Client 10.0][SQL Server]语句已终止。 (3621)")
- ERROR 2019-10-30 10:32:19,313 basehttp 154 "POST /sales/ HTTP/1.1" 500 133997
- INFO 2019-10-30 10:33:03,845 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:33:20,400 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- INFO 2019-10-30 10:33:29,120 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 10:34:34,157 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:34:36,603 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- INFO 2019-10-30 10:34:39,263 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 10:34:41,980 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:56:56,320 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- WARNING 2019-10-30 10:56:58,661 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:56:58,662 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- INFO 2019-10-30 10:57:02,371 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 10:57:05,316 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- INFO 2019-10-30 10:57:08,645 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- WARNING 2019-10-30 10:57:09,693 log 228 Forbidden: /sales/
- WARNING 2019-10-30 10:57:09,693 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- INFO 2019-10-30 11:02:59,771 basehttp 154 "GET /proceeds HTTP/1.1" 301 0
- INFO 2019-10-30 11:02:59,783 basehttp 154 "GET /proceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 11:36:24,589 log 228 Forbidden: /invoice/
- WARNING 2019-10-30 11:36:24,590 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-10-30 11:37:26,909 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- ERROR 2019-10-30 11:46:51,278 log 228 Internal Server Error: /proceeds
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\utils\deprecation.py", line 90, in __call__
- response = self.process_request(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\middleware\common.py", line 53, in process_request
- path = self.get_full_path_with_slash(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\middleware\common.py", line 93, in get_full_path_with_slash
- 'url': request.get_host() + new_path,
- RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 127.0.0.1:8000/proceeds/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.
- ERROR 2019-10-30 11:46:51,279 basehttp 154 "POST /proceeds HTTP/1.1" 500 68450
- ERROR 2019-10-30 11:47:31,389 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 341, in post
- row_AMT = cursor.execute("SELECT CAST(ISNULL(AMT,0) AS INT ),BIL_NO FROM MF_ARP WHERE BIL_NO=%s",[MF_LZ1]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-10-30 11:47:31,391 basehttp 154 "POST /proceeds/ HTTP/1.1" 500 85496
- INFO 2019-10-30 13:22:08,693 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:42:52,852 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:48:15,671 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:51:34,234 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:54:59,562 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 13:58:43,435 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 14:28:41,733 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 14:30:16,253 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 14:30:17,254 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 14:33:00,957 log 228 Forbidden: /proceeds/
- WARNING 2019-10-30 14:33:00,958 basehttp 154 "PUT /proceeds/ HTTP/1.1" 403 21
- INFO 2019-10-30 14:33:29,952 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- ERROR 2019-10-30 14:44:53,711 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 453, in delete
- row_AMTN_MF_ARP = cursor.execute("""SELECT AMTN FROM MF_ARP WHERE BIL_NO=%s""", [MF_LZ1]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-10-30 14:44:53,712 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 500 83376
- ERROR 2019-10-30 14:45:59,949 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 453, in delete
- row_AMTN_MF_ARP = cursor.execute("""SELECT AMTN FROM MF_ARP WHERE BIL_NO=%s""", [MF_LZ1]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-10-30 14:45:59,951 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 500 83376
- INFO 2019-10-30 14:47:40,695 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- INFO 2019-10-30 14:48:14,594 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 14:48:20,519 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 14:48:27,205 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 14:49:02,467 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 14:49:05,827 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- INFO 2019-10-30 14:51:28,576 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 14:51:31,576 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 14:51:33,701 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 14:51:37,598 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 14:56:00,429 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- WARNING 2019-10-30 15:01:11,277 log 228 Forbidden: /proceeds/
- WARNING 2019-10-30 15:01:11,277 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 403 21
- INFO 2019-10-30 15:01:14,914 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 15:01:18,717 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-30 15:01:23,694 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-10-30 15:01:27,030 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 15:01:32,025 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- INFO 2019-10-30 16:11:57,129 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-10-30 18:00:39,949 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 200 60
- ERROR 2019-10-30 18:08:10,643 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 626, in delete
- cursor.execute("""DELETE FROM MF_BAC WHERE BB_NO=%s AND RP_ID='2'""", ['BT' + RP_NO[2::]])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-30 18:08:10,646 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 500 125242
- ERROR 2019-10-30 18:08:34,925 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 626, in delete
- cursor.execute("""DELETE FROM MF_BAC WHERE BB_NO=%s AND RP_ID='2'""", ['BT' + RP_NO[2::]])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'RP_ID' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-30 18:08:34,928 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 500 125223
- INFO 2019-10-30 18:09:15,961 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-10-30 18:17:25,623 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 200 63
- INFO 2019-10-30 18:21:25,330 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-10-30 18:21:37,718 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 200 60
- INFO 2019-10-30 18:21:49,575 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 200 63
- INFO 2019-10-30 18:46:52,323 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:49:24,957 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:52:07,282 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:54:11,644 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:54:19,095 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:55:30,664 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:56:07,419 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:56:39,652 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 18:56:57,110 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-30 18:56:57,110 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- INFO 2019-10-30 18:57:26,353 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:57:44,762 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:58:17,613 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-30 18:58:46,677 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 18:59:32,970 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-30 18:59:32,971 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- ERROR 2019-10-30 19:03:56,102 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 19, in inner
- print(name)
- NameError: name 'name' is not defined
- ERROR 2019-10-30 19:03:56,103 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 500 58158
- INFO 2019-10-30 19:04:16,724 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- WARNING 2019-10-30 19:04:51,537 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-30 19:04:51,537 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- WARNING 2019-10-30 19:05:54,675 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-30 19:05:54,676 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- WARNING 2019-10-31 11:07:56,865 log 228 Forbidden: /predictproceeds/
- WARNING 2019-10-31 11:07:56,866 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 403 21
- INFO 2019-10-31 11:08:37,578 basehttp 154 "GET /predictproceeds/ HTTP/1.1" 200 48
- INFO 2019-10-31 11:29:48,607 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-10-31 11:34:16,468 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-31 11:34:38,641 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- ERROR 2019-10-31 11:36:32,992 log 228 Internal Server Error: /predictproceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 512, in post
- row_usr = usr_data(USR, USR_NAME, datetime.datetime.strptime(RP_DD, '%Y-%m-%d'))
- TypeError: strptime() argument 1 must be str, not None
- ERROR 2019-10-31 11:36:32,995 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 500 83363
- ERROR 2019-10-31 11:39:07,545 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 702, in post
- yf_sum =round(yf_sum + cursor.execute("""SELECT AMTN FROM MF_ARP WHERE BIL_NO=%s""", [i["DH"]]).fetchall()[0][0], 4)
- IndexError: list index out of range
- ERROR 2019-10-31 11:39:07,548 basehttp 154 "POST /predictpayment/ HTTP/1.1" 500 84378
- INFO 2019-10-31 13:14:18,613 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- ERROR 2019-10-31 13:19:29,067 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 225, in delete
- if int(ZHANG_ID) != 1 and int(ZHANG_ID) != 2:
- TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
- ERROR 2019-10-31 13:19:29,069 basehttp 154 "DELETE /sales/ HTTP/1.1" 500 82324
- WARNING 2019-10-31 13:21:26,048 log 228 Forbidden: /sales/
- WARNING 2019-10-31 13:21:26,049 basehttp 154 "DELETE /sales/ HTTP/1.1" 403 21
- ERROR 2019-10-31 13:21:45,155 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 230, in delete
- row_TC_MON = examine_ood('TC_MON', 'RP_NO', 'AR' + ZL_NO[2::], 'RP_ID', '1')
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-10-31 13:21:45,157 basehttp 154 "DELETE /sales/ HTTP/1.1" 500 82315
- INFO 2019-10-31 13:24:53,745 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-31 13:25:03,975 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-10-31 13:25:22,981 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- INFO 2019-10-31 13:26:44,203 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- WARNING 2019-10-31 13:40:15,886 log 228 Forbidden: /predictpayment/
- WARNING 2019-10-31 13:40:15,888 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 18
- INFO 2019-10-31 13:40:40,334 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 200 54
- ERROR 2019-10-31 13:54:42,877 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'RP_ID' 附近有语法错误。 (102) (SQLExecDirectW); [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 891, in delete
- cursor.execute("""DELETE FROM TF_MON1 WHERE RP_NO=%s RP_ID='1'""", [RP_NO])
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 100, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\db\backends\utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\awj\lib\site-packages\sql_server\pyodbc\base.py", line 546, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'RP_ID' 附近有语法错误。 (102) (SQLExecDirectW); [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-10-31 13:54:42,882 basehttp 154 "DELETE /predictpayment/ HTTP/1.1" 500 127177
- INFO 2019-10-31 13:58:39,440 basehttp 154 "DELETE /predictpayment/ HTTP/1.1" 200 57
- INFO 2019-10-31 13:59:16,898 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- INFO 2019-10-31 13:59:30,475 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 200 54
- INFO 2019-10-31 13:59:47,133 basehttp 154 "DELETE /predictpayment/ HTTP/1.1" 200 57
- WARNING 2019-11-01 13:19:01,710 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:19:01,815 basehttp 154 "POST /sales/ HTTP/1.1" 403 77
- INFO 2019-11-01 13:19:18,508 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-11-01 13:20:50,209 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:20:50,209 basehttp 154 "POST /sales/ HTTP/1.1" 403 27
- WARNING 2019-11-01 13:21:24,074 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:21:24,074 basehttp 154 "POST /sales/ HTTP/1.1" 403 27
- WARNING 2019-11-01 13:22:01,120 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:22:01,121 basehttp 154 "POST /sales/ HTTP/1.1" 403 77
- WARNING 2019-11-01 13:23:02,571 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:23:02,571 basehttp 154 "POST /sales/ HTTP/1.1" 403 21
- WARNING 2019-11-01 13:23:15,243 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:23:15,243 basehttp 154 "POST /sales/ HTTP/1.1" 403 27
- INFO 2019-11-01 13:23:27,865 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-11-01 13:31:04,968 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:31:04,968 basehttp 154 "PUT /sales/ HTTP/1.1" 403 45
- INFO 2019-11-01 13:32:14,626 basehttp 154 "PUT /sales/ HTTP/1.1" 200 60
- ERROR 2019-11-01 13:33:57,082 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 182, in put
- if re.compile('(^-?[0-9](\d+)?(\.\d{1,6})?$)|(^0$)|(^\d\.\d{1,2}$)').match(AMT) is None:
- TypeError: expected string or bytes-like object
- ERROR 2019-11-01 13:33:57,084 basehttp 154 "PUT /sales/ HTTP/1.1" 500 85230
- ERROR 2019-11-01 13:34:35,913 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 182, in put
- if re.compile('(^-?[0-9](\d+)?(\.\d{1,6})?$)|(^0$)|(^\d\.\d{1,2}$)').match(AMT) is None:
- TypeError: expected string or bytes-like object
- ERROR 2019-11-01 13:34:35,971 basehttp 154 "PUT /sales/ HTTP/1.1" 500 85229
- WARNING 2019-11-01 13:36:30,555 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:36:30,556 basehttp 154 "PUT /sales/ HTTP/1.1" 403 51
- WARNING 2019-11-01 13:36:54,761 log 228 Forbidden: /sales/
- WARNING 2019-11-01 13:36:54,761 basehttp 154 "PUT /sales/ HTTP/1.1" 403 51
- INFO 2019-11-01 13:43:51,173 basehttp 154 "DELETE /sales/ HTTP/1.1" 200 63
- INFO 2019-11-01 13:49:22,907 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-11-01 14:11:30,593 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:11:30,594 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 77
- WARNING 2019-11-01 14:11:39,487 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:11:39,488 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 77
- WARNING 2019-11-01 14:11:49,961 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:11:49,962 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 77
- WARNING 2019-11-01 14:12:55,961 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:12:55,962 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 77
- WARNING 2019-11-01 14:13:08,152 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:13:08,153 basehttp 154 "POST /proceeds/ HTTP/1.1" 403 21
- INFO 2019-11-01 14:13:13,947 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- ERROR 2019-11-01 14:25:21,711 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 403, in put
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 355, in raw_decode
- obj, end = self.scan_once(s, idx)
- json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 17 (char 73)
- ERROR 2019-11-01 14:25:21,714 basehttp 154 "PUT /proceeds/ HTTP/1.1" 500 94811
- WARNING 2019-11-01 14:26:31,795 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:26:31,795 basehttp 154 "PUT /proceeds/ HTTP/1.1" 403 21
- ERROR 2019-11-01 14:26:55,614 log 228 Internal Server Error: /proceeds/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 403, in put
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 355, in raw_decode
- obj, end = self.scan_once(s, idx)
- json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 17 (char 73)
- ERROR 2019-11-01 14:26:55,616 basehttp 154 "PUT /proceeds/ HTTP/1.1" 500 94808
- WARNING 2019-11-01 14:27:03,962 log 228 Forbidden: /proceeds/
- WARNING 2019-11-01 14:27:03,963 basehttp 154 "PUT /proceeds/ HTTP/1.1" 403 21
- INFO 2019-11-01 14:29:09,194 basehttp 154 "PUT /proceeds/ HTTP/1.1" 200 48
- INFO 2019-11-01 14:34:53,249 basehttp 154 "DELETE /proceeds/ HTTP/1.1" 200 51
- WARNING 2019-11-01 14:49:17,092 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:49:17,093 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 14:49:24,441 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:49:24,441 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 14:49:58,609 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:49:58,610 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 14:50:23,437 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:50:23,437 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 14:50:40,875 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 14:50:40,876 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 403 21
- INFO 2019-11-01 14:51:20,192 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- WARNING 2019-11-01 15:22:53,636 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 15:22:53,636 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 15:23:04,357 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 15:23:04,358 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 403 81
- WARNING 2019-11-01 15:23:12,163 log 228 Forbidden: /predictproceeds/
- WARNING 2019-11-01 15:23:12,164 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 403 21
- INFO 2019-11-01 15:23:16,541 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 200 60
- INFO 2019-11-01 15:23:30,904 basehttp 154 "PUT /predictproceeds/ HTTP/1.1" 200 60
- INFO 2019-11-01 15:33:26,037 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 200 63
- INFO 2019-11-01 15:34:24,768 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-11-01 15:34:43,307 basehttp 154 "DELETE /predictproceeds/ HTTP/1.1" 200 63
- INFO 2019-11-01 15:35:49,807 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- WARNING 2019-11-01 16:04:28,431 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:04:28,432 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 81
- WARNING 2019-11-01 16:23:08,201 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:23:08,202 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 78
- WARNING 2019-11-01 16:23:54,853 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:23:54,854 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- WARNING 2019-11-01 16:24:53,507 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:24:53,507 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 24
- ERROR 2019-11-01 16:25:57,326 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 760, in post
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 355, in raw_decode
- obj, end = self.scan_once(s, idx)
- json.decoder.JSONDecodeError: Expecting ',' delimiter: line 9 column 19 (char 200)
- ERROR 2019-11-01 16:25:57,329 basehttp 154 "POST /predictpayment/ HTTP/1.1" 500 95999
- WARNING 2019-11-01 16:26:14,247 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:26:14,247 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 24
- WARNING 2019-11-01 16:27:08,761 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:27:08,761 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 24
- ERROR 2019-11-01 16:27:36,380 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 811, in post
- sum_ATM = round(sum_ATM + i["ATM"], 4)
- TypeError: unsupported operand type(s) for +: 'int' and 'str'
- ERROR 2019-11-01 16:27:36,380 basehttp 154 "POST /predictpayment/ HTTP/1.1" 500 84315
- WARNING 2019-11-01 16:28:56,052 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:28:56,052 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 21
- WARNING 2019-11-01 16:29:36,517 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:29:36,517 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- WARNING 2019-11-01 16:29:51,042 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:29:51,042 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- INFO 2019-11-01 16:31:22,212 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- WARNING 2019-11-01 16:31:48,381 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:31:48,381 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- WARNING 2019-11-01 16:32:48,505 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:32:48,506 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- WARNING 2019-11-01 16:33:19,688 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:33:19,688 basehttp 154 "POST /predictpayment/ HTTP/1.1" 403 77
- ERROR 2019-11-01 16:34:02,695 log 228 Internal Server Error: /predictpayment/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 68, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\awj\lib\site-packages\django\views\generic\base.py", line 88, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 818, in post
- sum_ATM = round(sum_ATM + i["ATM"], 4)
- TypeError: unsupported operand type(s) for +: 'int' and 'str'
- ERROR 2019-11-01 16:34:02,698 basehttp 154 "POST /predictpayment/ HTTP/1.1" 500 84445
- INFO 2019-11-01 16:34:47,995 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- WARNING 2019-11-01 16:45:10,035 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:45:10,036 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 78
- WARNING 2019-11-01 16:45:26,850 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:45:26,851 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 24
- WARNING 2019-11-01 16:45:33,334 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:45:33,334 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 21
- WARNING 2019-11-01 16:45:38,530 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-01 16:45:38,530 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 77
- INFO 2019-11-01 16:45:52,084 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 200 54
- INFO 2019-11-01 16:56:10,281 basehttp 154 "DELETE /predictpayment/ HTTP/1.1" 200 57
- INFO 2019-11-01 16:56:39,119 basehttp 154 "POST /predictpayment/ HTTP/1.1" 200 55
- INFO 2019-11-01 16:56:42,481 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 200 54
- INFO 2019-11-01 17:08:00,063 basehttp 154 "POST /predictproceeds/ HTTP/1.1" 200 61
- INFO 2019-11-01 17:09:56,722 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-11-03 09:31:11,225 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-11-03 09:33:59,721 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:33:59,722 basehttp 154 "POST /invoice/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:35:05,095 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:35:05,095 basehttp 154 "POST /invoice/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:35:20,688 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:35:20,689 basehttp 154 "POST /invoice/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:35:52,639 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:35:52,640 basehttp 154 "POST /invoice/ HTTP/1.1" 403 77
- INFO 2019-11-03 09:36:15,440 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-11-03 09:36:19,691 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:36:19,691 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-03 09:36:30,801 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:36:30,802 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-03 09:40:34,660 log 228 Forbidden: /predictpayment/
- WARNING 2019-11-03 09:40:34,661 basehttp 154 "PUT /predictpayment/ HTTP/1.1" 403 21
- WARNING 2019-11-03 09:44:21,215 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:44:21,215 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:44:32,753 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 09:44:32,753 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 51
- INFO 2019-11-03 09:44:40,144 basehttp 154 "PUT /invoice/ HTTP/1.1" 200 24
- INFO 2019-11-03 09:51:45,857 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 09:52:28,758 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- WARNING 2019-11-03 09:56:09,368 log 228 Forbidden: /paymentoperation/
- WARNING 2019-11-03 09:56:09,368 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 77
- WARNING 2019-11-03 09:56:30,717 log 228 Forbidden: /paymentoperation/
- WARNING 2019-11-03 09:56:30,717 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-11-03 09:56:42,839 log 228 Forbidden: /paymentoperation/
- WARNING 2019-11-03 09:56:42,839 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- WARNING 2019-11-03 10:09:35,938 log 228 Forbidden: /paymentoperation/
- WARNING 2019-11-03 10:09:35,939 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 403 21
- INFO 2019-11-03 10:10:05,544 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 10:10:38,281 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 10:14:17,182 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 10:14:21,515 basehttp 154 "POST /paymentoperation/ HTTP/1.1" 200 37
- INFO 2019-11-03 10:16:01,412 basehttp 154 "POST /sales/ HTTP/1.1" 200 61
- INFO 2019-11-03 10:16:40,654 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- INFO 2019-11-03 10:16:44,598 basehttp 154 "POST /proceeds/ HTTP/1.1" 200 49
- WARNING 2019-11-03 10:27:20,335 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-03 10:27:20,335 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 81
- WARNING 2019-11-03 10:27:37,242 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-03 10:27:37,243 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 21
- INFO 2019-11-03 10:27:42,844 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-11-03 10:32:17,179 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-03 10:32:17,179 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-11-03 10:32:21,650 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-11-03 10:48:13,967 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-11-03 10:49:09,912 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:49:09,912 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 78
- WARNING 2019-11-03 10:49:19,047 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:49:19,048 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 78
- WARNING 2019-11-03 10:53:16,383 log 228 Forbidden: /invoice/
- WARNING 2019-11-03 10:53:16,383 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-11-03 10:53:23,953 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-11-03 10:55:32,096 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- WARNING 2019-11-03 10:56:30,153 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:56:30,154 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 78
- WARNING 2019-11-03 10:56:50,449 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:56:50,449 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 21
- WARNING 2019-11-03 10:57:13,811 log 228 Forbidden: /expectedptoperation/
- WARNING 2019-11-03 10:57:13,811 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 403 21
- INFO 2019-11-03 10:58:47,136 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 200 55
- INFO 2019-11-03 10:59:54,774 basehttp 154 "POST /expectedptoperation/ HTTP/1.1" 200 55
- INFO 2019-11-03 11:07:29,842 basehttp 154 "GET /sales HTTP/1.1" 301 0
- INFO 2019-11-03 11:07:29,865 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:07:29,914 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:07:29,915 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3280
- ERROR 2019-11-03 11:09:07,485 exception 77 Invalid HTTP_HOST header: '192.168.137.1:8000'. You may need to add '192.168.137.1' to ALLOWED_HOSTS.
- WARNING 2019-11-03 11:09:07,524 log 228 Bad Request: /sales/
- WARNING 2019-11-03 11:09:07,525 basehttp 154 "GET /sales/ HTTP/1.1" 400 66679
- ERROR 2019-11-03 11:09:07,706 exception 77 Invalid HTTP_HOST header: '192.168.137.1:8000'. You may need to add '192.168.137.1' to ALLOWED_HOSTS.
- WARNING 2019-11-03 11:09:07,742 log 228 Bad Request: /favicon.ico
- WARNING 2019-11-03 11:09:07,742 basehttp 154 "GET /favicon.ico HTTP/1.1" 400 66668
- INFO 2019-11-03 11:12:55,385 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:12:55,413 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:12:55,413 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3284
- WARNING 2019-11-03 11:13:36,096 log 228 Not Found: /
- WARNING 2019-11-03 11:13:36,096 basehttp 154 "GET / HTTP/1.1" 404 3234
- WARNING 2019-11-03 11:13:53,887 log 228 Not Found: //sales/
- WARNING 2019-11-03 11:13:53,888 basehttp 154 "GET //sales/ HTTP/1.1" 404 3273
- WARNING 2019-11-03 11:13:54,057 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:13:54,058 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:14:00,119 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-03 11:15:08,274 basehttp 154 "GET /sales HTTP/1.1" 301 0
- INFO 2019-11-03 11:15:08,485 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-03 11:15:34,578 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:15:34,750 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:15:34,751 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:15:43,992 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:15:44,662 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:15:44,663 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:15:46,578 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:15:46,910 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:15:46,911 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:15:52,647 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:15:58,776 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:15:58,776 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:16:00,367 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:16:03,144 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:16:03,144 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:16:04,835 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:16:05,110 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:16:05,111 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:18:35,084 basehttp 154 "GET /sales/ HTTP/1.0" 200 54
- WARNING 2019-11-03 11:18:38,541 log 228 Not Found: /
- WARNING 2019-11-03 11:18:38,542 basehttp 154 "GET / HTTP/1.0" 404 3234
- INFO 2019-11-03 11:19:31,881 basehttp 154 "GET /invoice/ HTTP/1.0" 200 10
- INFO 2019-11-03 11:20:32,044 basehttp 154 "GET /invoice HTTP/1.1" 301 0
- WARNING 2019-11-03 11:20:41,040 log 228 Not Found: /
- WARNING 2019-11-03 11:20:41,041 basehttp 154 "HEAD / HTTP/1.1" 404 3235
- WARNING 2019-11-03 11:21:39,260 log 228 Not Found: /
- WARNING 2019-11-03 11:21:39,260 basehttp 154 "HEAD / HTTP/1.1" 404 3235
- INFO 2019-11-03 11:29:33,529 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-03 11:29:33,903 log 228 Not Found: /favicon.ico
- WARNING 2019-11-03 11:29:33,903 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3285
- INFO 2019-11-03 11:29:41,481 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-05 21:33:18,500 basehttp 154 "GET /predictpayment HTTP/1.1" 301 0
- INFO 2019-11-05 21:33:20,080 basehttp 154 "GET /predictpayment/ HTTP/1.1" 200 54
- WARNING 2019-11-05 21:33:20,108 log 228 Not Found: /favicon.ico
- WARNING 2019-11-05 21:33:20,109 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3284
- INFO 2019-11-05 21:47:09,730 basehttp 154 "GET /predictpayment/ HTTP/1.1" 200 54
- INFO 2019-11-05 23:00:01,830 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-05 23:00:01,930 log 228 Not Found: /favicon.ico
- WARNING 2019-11-05 23:00:01,930 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3280
- INFO 2019-11-08 09:33:38,919 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:33:49,455 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:34:47,820 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:35:01,386 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:35:27,500 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:37:33,632 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:39:12,188 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\setting\dev.py changed, reloading.
- INFO 2019-11-08 09:39:12,927 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:39:19,867 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\setting\dev.py changed, reloading.
- INFO 2019-11-08 09:39:20,619 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:39:21,033 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:40:28,193 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\setting\dev.py changed, reloading.
- INFO 2019-11-08 09:40:28,892 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:40:38,901 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-08 09:40:47,636 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-09 16:06:19,043 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-09 16:06:58,214 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-09 16:14:47,264 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\urls.py changed, reloading.
- INFO 2019-11-09 16:14:47,923 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-09 16:19:18,966 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\urls.py changed, reloading.
- INFO 2019-11-09 16:19:19,699 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-11 16:16:41,670 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-11 16:17:01,982 log 228 Not Found: /favicon.ico
- WARNING 2019-11-11 16:17:01,982 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 77
- INFO 2019-11-11 16:17:09,641 basehttp 154 "GET /sales HTTP/1.1" 301 0
- INFO 2019-11-11 16:17:09,666 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-11 16:17:09,922 log 228 Not Found: /favicon.ico
- WARNING 2019-11-11 16:17:09,924 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 77
- INFO 2019-11-11 16:17:14,643 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-11 16:32:32,833 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-11 16:32:33,757 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-11 16:33:46,402 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-11 16:33:47,295 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-11 16:37:45,902 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-11 16:37:47,798 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:37:47,902 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:37:57,001 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:37:57,002 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:38:00,350 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:38:00,350 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- INFO 2019-11-11 16:38:21,714 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-11 16:38:25,235 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:38:25,238 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:38:47,178 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:38:47,179 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- WARNING 2019-11-11 16:38:47,252 log 228 Not Found: /favicon.ico
- WARNING 2019-11-11 16:38:47,253 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 77
- INFO 2019-11-11 16:39:02,780 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-11 16:39:05,535 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:39:05,536 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:39:06,768 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:39:06,769 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-11 16:39:08,320 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py", line 25, in get
- return http.JsonResponse(json.dumps(context))
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\http\response.py", line 552, in __init__
- 'In order to allow non-dict objects to be serialized set the '
- TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
- ERROR 2019-11-11 16:39:08,320 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- INFO 2019-11-11 16:39:28,518 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-11 16:39:30,999 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:40:17,795 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:40:34,826 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:40:34,959 basehttp 154 "GET /sales/ HTTP/1.1" 500 27
- ERROR 2019-11-12 14:40:34,991 log 228 Internal Server Error: /favicon.ico
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:40:34,992 basehttp 154 "GET /favicon.ico HTTP/1.1" 500 27
- INFO 2019-11-12 14:41:55,920 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:41:59,326 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:41:59,327 basehttp 154 "GET /sales/ HTTP/1.1" 500 73496
- ERROR 2019-11-12 14:41:59,575 log 228 Internal Server Error: /favicon.ico
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:41:59,577 basehttp 154 "GET /favicon.ico HTTP/1.1" 500 73597
- INFO 2019-11-12 14:44:10,525 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:44:14,891 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:44:14,892 basehttp 154 "GET /sales/ HTTP/1.1" 500 73537
- ERROR 2019-11-12 14:44:15,024 log 228 Internal Server Error: /favicon.ico
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 10, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:44:15,025 basehttp 154 "GET /favicon.ico HTTP/1.1" 500 73638
- INFO 2019-11-12 14:44:44,179 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:44:45,988 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- WARNING 2019-11-12 14:44:46,053 log 228 Not Found: /favicon.ico
- WARNING 2019-11-12 14:44:46,054 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 3280
- INFO 2019-11-12 14:45:20,751 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:45:21,715 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:46:22,467 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:46:37,151 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:47:12,111 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:47:14,473 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:47:29,166 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:47:31,456 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:47:51,244 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:47:53,102 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:48:18,072 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:48:21,911 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:48:41,055 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:48:43,306 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:50:12,409 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:50:13,187 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 14:50:55,463 log 228 Forbidden: /sales/
- WARNING 2019-11-12 14:50:55,464 basehttp 154 "GET /sales/ HTTP/1.1" 403 27
- INFO 2019-11-12 14:52:22,141 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:52:23,594 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:52:51,587 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 14:54:17,547 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:54:18,321 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:56:21,151 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 14:56:22,161 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 14:56:34,244 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:57:09,461 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 11, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:57:09,463 basehttp 154 "POST /invoice/ HTTP/1.1" 500 88452
- INFO 2019-11-12 14:58:18,482 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 14:58:21,405 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 12, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 14:58:21,408 basehttp 154 "POST /invoice/ HTTP/1.1" 500 88493
- INFO 2019-11-12 15:00:00,823 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:00:03,448 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 13, in inner
- req_data = json.loads(request.body.decode())
- File "e:\12446\appdata\Lib\json\__init__.py", line 354, in loads
- return _default_decoder.decode(s)
- File "e:\12446\appdata\Lib\json\decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "e:\12446\appdata\Lib\json\decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ERROR 2019-11-12 15:00:03,449 basehttp 154 "POST /invoice/ HTTP/1.1" 500 88529
- INFO 2019-11-12 15:00:47,374 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- INFO 2019-11-12 15:00:56,262 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:00:57,943 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- ERROR 2019-11-12 15:01:50,029 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 69, in post
- print(ZL_NO[:3])
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:01:50,036 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84293
- INFO 2019-11-12 15:01:58,863 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:02:02,319 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 69, in post
- print(ZL_NO[:3])
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:02:02,320 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84293
- INFO 2019-11-12 15:02:57,081 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:03:01,095 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 69, in post
- print(ZL_NO[:3])
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:03:01,097 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84293
- INFO 2019-11-12 15:03:57,379 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:04:00,651 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 14, in inner
- user = req_data.get("user") # 用户名
- AttributeError: 'str' object has no attribute 'get'
- ERROR 2019-11-12 15:04:00,655 basehttp 154 "POST /invoice/ HTTP/1.1" 500 58094
- INFO 2019-11-12 15:04:57,318 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:05:00,700 log 228 Internal Server Error: /sales/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py", line 14, in inner
- user = req_data.get("user") # 用户名
- AttributeError: 'str' object has no attribute 'get'
- ERROR 2019-11-12 15:05:00,701 basehttp 154 "GET /sales/ HTTP/1.1" 500 58071
- INFO 2019-11-12 15:05:14,607 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:05:16,907 basehttp 154 "GET /sales/ HTTP/1.1" 200 54
- ERROR 2019-11-12 15:05:58,700 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 69, in post
- print(ZL_NO[:3])
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:05:58,701 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84293
- INFO 2019-11-12 15:06:40,324 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-12 15:06:43,978 log 228 Internal Server Error: /invoice/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py", line 71, in post
- if ZL_NO[:3] != 'LPF' or len(ZL_NO) != 10:
- TypeError: 'NoneType' object is not subscriptable
- ERROR 2019-11-12 15:06:43,980 basehttp 154 "POST /invoice/ HTTP/1.1" 500 84325
- INFO 2019-11-12 15:06:56,069 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\stockinvoice\views.py changed, reloading.
- INFO 2019-11-12 15:06:57,864 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:08:48,355 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:09:09,420 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:09:09,421 basehttp 154 "POST /invoice/ HTTP/1.1" 403 16
- INFO 2019-11-12 15:10:23,366 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 15:10:24,156 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:11:13,161 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:11:16,082 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:11:16,083 basehttp 154 "POST /invoice/ HTTP/1.1" 403 27
- INFO 2019-11-12 15:12:53,101 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 15:12:53,904 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:13:17,786 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:13:26,023 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:13:26,024 basehttp 154 "POST /invoice/ HTTP/1.1" 403 27
- INFO 2019-11-12 15:14:16,843 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:14:19,319 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:14:19,320 basehttp 154 "POST /invoice/ HTTP/1.1" 403 27
- INFO 2019-11-12 15:15:41,239 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:15:44,018 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:15:44,018 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-12 15:15:52,636 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:15:52,638 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-12 15:16:08,616 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:16:08,616 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-12 15:16:21,275 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:16:21,276 basehttp 154 "POST /invoice/ HTTP/1.1" 403 18
- INFO 2019-11-12 15:17:29,140 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:17:51,169 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- WARNING 2019-11-12 15:18:49,024 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:18:49,025 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- WARNING 2019-11-12 15:19:43,121 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:19:43,121 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-11-12 15:20:26,760 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:20:29,834 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:20:29,835 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 15
- WARNING 2019-11-12 15:20:49,384 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:20:49,384 basehttp 154 "DELETE /invoice/ HTTP/1.1" 403 21
- INFO 2019-11-12 15:21:19,639 basehttp 154 "DELETE /invoice/ HTTP/1.1" 200 27
- INFO 2019-11-12 15:22:23,031 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\middleware.py changed, reloading.
- INFO 2019-11-12 15:22:24,106 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:37:34,924 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:38:19,360 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:38:19,361 basehttp 154 "POST /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 15:38:59,231 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 15:39:03,593 basehttp 154 "POST /invoice/ HTTP/1.1" 200 25
- INFO 2019-11-12 15:39:12,325 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:39:15,126 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:39:15,128 basehttp 154 "POST /invoice/ HTTP/1.1" 403 2868
- WARNING 2019-11-12 15:40:51,787 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 15:40:51,787 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 18
- WARNING 2019-11-12 15:41:12,896 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:41:12,896 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- WARNING 2019-11-12 15:44:11,969 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:44:11,969 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- WARNING 2019-11-12 15:50:04,312 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:50:04,313 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 15:50:17,119 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:53:05,171 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:53:05,172 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- WARNING 2019-11-12 15:53:44,032 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:53:44,033 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 15:54:05,117 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 15:54:30,324 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 15:54:30,325 basehttp 154 "PUT /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 16:19:49,910 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 16:20:27,691 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 16:22:12,626 log 228 Forbidden (CSRF cookie not set.): /invoice/
- WARNING 2019-11-12 16:22:12,627 basehttp 154 "POST /invoice/ HTTP/1.1" 403 2868
- INFO 2019-11-12 16:22:39,263 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 16:23:05,093 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 16:23:21,755 log 228 Forbidden: /invoice/
- WARNING 2019-11-12 16:23:21,755 basehttp 154 "POST /invoice/ HTTP/1.1" 403 21
- INFO 2019-11-12 16:24:40,820 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-11-12 16:44:35,511 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- ERROR 2019-11-12 16:44:51,952 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'CHK_MAN' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'CLS_DATE' 无效。 (207); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 395, in post
- row_usr = usr_data(USR, USR_NAME, datetime.datetime.strptime(RP_DD, '%Y-%m-%d'))
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\usr_data.py", line 13, in usr_data
- cursor.execute("INSERT INTO SALM(SAL_NO,[NAME],USR,CHK_MAN,CLS_DATE,SYS_DATE)VALUES (%s,%s,'ADMIN','ADMIN',%s,%s)", [USR, USR_NAME,DATE,DATE])
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42S22', "[42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'CHK_MAN' 无效。 (207) (SQLExecDirectW); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]列名 'CLS_DATE' 无效。 (207); [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法预定义语句。 (8180)")
- ERROR 2019-11-12 16:44:51,956 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 133940
- INFO 2019-11-12 16:48:07,723 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\usr_data.py changed, reloading.
- INFO 2019-11-12 16:48:08,489 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 16:49:09,677 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 16:49:14,521 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 200 43
- INFO 2019-11-12 16:51:02,232 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:01:00,950 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:01:01,942 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:05:43,200 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:05:44,417 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:06:24,227 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:06:25,264 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:09:35,337 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:09:36,256 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:10:12,277 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-12 17:10:13,064 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:11:18,793 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-12 17:13:01,256 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-12 17:13:04,170 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-12 17:13:04,171 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- WARNING 2019-11-12 17:13:11,723 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-12 17:13:11,725 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 21
- INFO 2019-11-13 09:19:57,023 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:21:04,056 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:21:04,056 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 30
- ERROR 2019-11-13 09:21:16,725 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 388, in post
- sum_CACC_NO=et_CACC_NO(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py", line 21, in et_CACC_NO
- SUM_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 09:21:16,728 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 129920
- INFO 2019-11-13 09:22:20,447 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:22:24,316 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 388, in post
- sum_CACC_NO=et_CACC_NO(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py", line 22, in et_CACC_NO
- SUM_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 09:22:24,319 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 129926
- WARNING 2019-11-13 09:22:54,159 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:22:54,160 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 30
- INFO 2019-11-13 09:23:11,800 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py changed, reloading.
- INFO 2019-11-13 09:23:12,555 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:23:18,851 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:23:21,004 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:23:21,004 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 30
- ERROR 2019-11-13 09:23:29,487 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 388, in post
- sum_CACC_NO=et_CACC_NO(CACC_NO)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py", line 22, in et_CACC_NO
- SUM_CACC_NO = cursor.execute(sql).fetchall()[0][0]
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 99, in execute
- return super().execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
- return self.cursor.execute(sql)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]'=' 附近有语法错误。 (102) (SQLExecDirectW)")
- ERROR 2019-11-13 09:23:29,490 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 129912
- INFO 2019-11-13 09:23:58,046 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:24:00,932 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 389, in post
- if sum_CACC_NO <=0:
- TypeError: '<=' not supported between instances of 'HttpResponseForbidden' and 'int'
- ERROR 2019-11-13 09:24:00,933 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 85820
- INFO 2019-11-13 09:26:39,132 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:26:56,637 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 406, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:26:56,641 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86319
- INFO 2019-11-13 09:28:39,553 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:28:42,917 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 406, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:28:42,918 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:29:10,905 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:29:15,364 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 406, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:29:15,365 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:32:18,835 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:32:22,715 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 406, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:32:22,717 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:34:12,207 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:34:15,270 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 408, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:34:15,272 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:34:43,791 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:34:48,049 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:34:48,050 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:35:15,342 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:35:18,687 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:35:18,689 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:35:41,580 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:35:45,021 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:35:45,024 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:36:21,091 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:36:25,861 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:36:25,862 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86514
- INFO 2019-11-13 09:37:08,687 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:37:12,871 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 409, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:37:12,872 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86462
- INFO 2019-11-13 09:37:32,747 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:37:36,237 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:37:36,237 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-11-13 09:38:12,641 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 09:38:13,462 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:38:22,592 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:38:22,592 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 24
- INFO 2019-11-13 09:39:04,964 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 09:39:05,745 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:39:17,523 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py changed, reloading.
- INFO 2019-11-13 09:39:18,229 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:39:25,431 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 09:39:26,303 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:39:26,970 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:39:31,533 autoreload 597 Watching for file changes with StatReloader
- ERROR 2019-11-13 09:39:34,146 log 228 Internal Server Error: /expectedpoperation/
- Traceback (most recent call last):
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
- response = get_response(request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\12446\Envs\ceshi\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
- return handler(request, *args, **kwargs)
- File "e:\12446\appdata\Lib\contextlib.py", line 52, in inner
- return func(*args, **kwds)
- File "E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py", line 408, in post
- Acc_No_km = cursor.execute("""SELECT ISNULL(Acc_No,'') FROM BACC WHERE BACC_NO=%s""", [CACC_NO]).fetchall()[0][0]
- IndexError: list index out of range
- ERROR 2019-11-13 09:39:34,149 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 500 86520
- INFO 2019-11-13 09:40:22,867 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\PaymentOperation\views.py changed, reloading.
- INFO 2019-11-13 09:40:23,643 autoreload 597 Watching for file changes with StatReloader
- INFO 2019-11-13 09:40:37,698 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\utils\et_CACC_NO.py changed, reloading.
- INFO 2019-11-13 09:40:38,412 autoreload 597 Watching for file changes with StatReloader
- WARNING 2019-11-13 09:40:43,633 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:40:43,633 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 57
- WARNING 2019-11-13 09:40:50,145 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:40:50,146 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 57
- WARNING 2019-11-13 09:40:53,502 log 228 Forbidden: /expectedpoperation/
- WARNING 2019-11-13 09:40:53,502 basehttp 154 "POST /expectedpoperation/ HTTP/1.1" 403 57
- INFO 2019-11-13 09:48:22,677 autoreload 217 E:\12446\PycharmProjects\wangli\wanjia\awj\awj\apps\salesinvoice\views.py changed, reloading.
- INFO 2019-11-13 09:48:23,417 autoreload 597 Watching for file changes with StatReloader
- >>>>>>> 9ef74b8a8327dc14dd5b9d31dabf1eaf7e92f2ab
|