You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

300 lines
16 KiB

Watching for file changes with StatReloader
Watching for file changes with StatReloader
Watching for file changes with StatReloader
Not Found: /
"GET / HTTP/1.1" 404 2456
Not Found: /goods-reception
"GET /goods-reception HTTP/1.1" 404 2519
"GET /goods-reception/api HTTP/1.1" 301 0
"GET /goods-reception/api/ HTTP/1.1" 200 5454
"GET /static/rest_framework/css/prettify.css HTTP/1.1" 200 817
"GET /static/rest_framework/css/bootstrap-tweaks.css HTTP/1.1" 200 3426
"GET /static/rest_framework/css/default.css HTTP/1.1" 200 1152
"GET /static/rest_framework/js/ajax-form.js HTTP/1.1" 200 3796
"GET /static/rest_framework/js/prettify-min.js HTTP/1.1" 200 13632
"GET /static/rest_framework/css/bootstrap.min.css HTTP/1.1" 200 121457
"GET /static/rest_framework/js/default.js HTTP/1.1" 200 1268
"GET /static/rest_framework/js/csrf.js HTTP/1.1" 200 1793
"GET /static/rest_framework/js/jquery-3.7.1.min.js HTTP/1.1" 200 87533
"GET /static/rest_framework/js/load-ajax-form.js HTTP/1.1" 200 59
"GET /static/rest_framework/js/bootstrap.min.js HTTP/1.1" 200 39680
"GET /static/rest_framework/img/grid.png HTTP/1.1" 200 1458
"GET /goods-reception/api/ HTTP/1.1" 200 5454
"OPTIONS /goods-reception/api/ HTTP/1.1" 200 5662
"GET /goods-reception/api/ HTTP/1.1" 200 5454
Not Found: /goods-reception/swagger
"GET /goods-reception/swagger HTTP/1.1" 404 2637
"GET /api/swagger/ HTTP/1.1" 200 2456
"GET /api/swagger/?format=openapi HTTP/1.1" 200 21094
"GET /goods-reception/api/goods-receptions/ HTTP/1.1" 200 2
"GET /admin/ HTTP/1.1" 200 7189
/Users/darius/Documents/franchise_store/goods_reception/admin.py changed, reloading.
Watching for file changes with StatReloader
"GET /admin/ HTTP/1.1" 200 8161
"GET /admin/goods_reception/goodsreception/ HTTP/1.1" 200 10520
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /static/admin/img/icon-viewlink.svg HTTP/1.1" 200 581
"GET /admin/ HTTP/1.1" 200 8161
"GET /admin/product_directory/product/ HTTP/1.1" 200 11170
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/ HTTP/1.1" 200 8161
"GET /admin/goods_reception/goodsreception/ HTTP/1.1" 200 10520
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/goods_reception/goodsreception/add/ HTTP/1.1" 200 13670
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"POST /admin/goods_reception/goodsreception/add/ HTTP/1.1" 302 0
"GET /admin/goods_reception/goodsreception/ HTTP/1.1" 200 13308
"GET /static/admin/img/icon-no.svg HTTP/1.1" 200 560
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/goods_reception/goodsreception/1/change/ HTTP/1.1" 200 13985
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/goods_reception/goodsreception/ HTTP/1.1" 200 13062
Watching for file changes with StatReloader
"GET /admin/ HTTP/1.1" 200 9417
"GET /admin/ HTTP/1.1" 200 9417
"GET /admin/warehouse/stock/ HTTP/1.1" 200 10410
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/ HTTP/1.1" 200 9417
/Users/darius/Documents/franchise_store/warehouse/models.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/models.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/models.py changed, reloading.
Watching for file changes with StatReloader
Watching for file changes with StatReloader
"GET /admin/ HTTP/1.1" 200 10808
"GET /admin/warehouse/storagelocation/ HTTP/1.1" 200 11604
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/storagelocation/add/ HTTP/1.1" 200 13587
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/storagelocation/ HTTP/1.1" 200 11604
"GET /admin/ HTTP/1.1" 200 10808
"GET /admin/warehouse/warehouse/ HTTP/1.1" 200 10710
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/warehouse/add/ HTTP/1.1" 200 12376
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"POST /admin/warehouse/warehouse/add/ HTTP/1.1" 302 0
"GET /admin/warehouse/warehouse/ HTTP/1.1" 200 12695
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/warehouse/1/change/ HTTP/1.1" 200 12651
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/storagelocation/ HTTP/1.1" 200 11604
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/storagelocation/add/ HTTP/1.1" 200 13632
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"POST /admin/warehouse/storagelocation/add/ HTTP/1.1" 302 0
"GET /admin/warehouse/storagelocation/ HTTP/1.1" 200 13712
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 12593
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/add/ HTTP/1.1" 200 19071
"GET /static/admin/js/calendar.js HTTP/1.1" 200 9141
"GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 19319
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086
"GET /static/admin/img/calendar-icons.svg HTTP/1.1" 200 2455
"POST /admin/warehouse/stockoperation/add/ HTTP/1.1" 302 0
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 15070
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/1/change/ HTTP/1.1" 200 19394
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 14799
Watching for file changes with StatReloader
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 14886
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
Watching for file changes with StatReloader
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 14914
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
/Users/darius/Documents/franchise_store/warehouse/admin.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/admin.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/admin.py changed, reloading.
Watching for file changes with StatReloader
Watching for file changes with StatReloader
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 14886
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/statistics/ HTTP/1.1" 200 24699
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 14886
"GET /admin/warehouse/stockoperation/add/ HTTP/1.1" 200 19071
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/product_directory/product/1/change/?_to_field=id&_popup=1 HTTP/1.1" 200 10158
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/product_directory/product/1/change/?_to_field=id HTTP/1.1" 200 17244
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/add/ HTTP/1.1" 200 19071
"GET /admin/product_directory/product/add/?_to_field=id&_popup=1 HTTP/1.1" 200 10066
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"POST /admin/warehouse/stockoperation/add/ HTTP/1.1" 302 0
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 15687
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/statistics/ HTTP/1.1" 200 28103
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 15416
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/statistics/ HTTP/1.1" 200 28103
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 15416
Watching for file changes with StatReloader
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 15416
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 15416
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/ HTTP/1.1" 200 12404
"GET /admin/goods_reception/goodsreception/ HTTP/1.1" 200 14746
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/product_directory/product/ HTTP/1.1" 200 12854
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/storagelocation/ HTTP/1.1" 200 13458
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/warehouse/ HTTP/1.1" 200 12479
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 15416
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/statistics/ HTTP/1.1" 200 28103
"GET /admin/warehouse/stockoperation/ HTTP/1.1" 200 15416
"GET /admin/warehouse/stockoperation/?_facets=True HTTP/1.1" 200 15862
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /static/admin/img/icon-hidelink.svg HTTP/1.1" 200 784
"GET /admin/warehouse/stockoperation/? HTTP/1.1" 200 15416
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/?_facets=True HTTP/1.1" 200 15862
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/warehouse/stockoperation/? HTTP/1.1" 200 15416
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
Not Found: /
"GET / HTTP/1.1" 404 2609
"GET /admin/warehouse/stockoperation/? HTTP/1.1" 200 15416
/Users/darius/Documents/franchise_store/warehouse/urls.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/urls.py changed, reloading.
Watching for file changes with StatReloader
Not Found: /scan-barcode
"GET /scan-barcode HTTP/1.1" 404 2663
"GET /warehouse/scan-barcode HTTP/1.1" 301 0
Method Not Allowed (GET): /warehouse/scan-barcode/
Method Not Allowed: /warehouse/scan-barcode/
"GET /warehouse/scan-barcode/ HTTP/1.1" 405 0
Method Not Allowed (GET): /warehouse/scan-barcode/
Method Not Allowed: /warehouse/scan-barcode/
"GET /warehouse/scan-barcode/ HTTP/1.1" 405 0
/Users/darius/Documents/franchise_store/warehouse/urls.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/urls.py changed, reloading.
Watching for file changes with StatReloader
Method Not Allowed (GET): /warehouse/scan-barcode/
Method Not Allowed: /warehouse/scan-barcode/
"GET /warehouse/scan-barcode/ HTTP/1.1" 405 0
Watching for file changes with StatReloader
Method Not Allowed (GET): /warehouse/scan-barcode/
Method Not Allowed: /warehouse/scan-barcode/
"GET /warehouse/scan-barcode/ HTTP/1.1" 405 0
"GET /warehouse/scan-barcode-page/ HTTP/1.1" 200 1745
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/urls.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/urls.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/urls.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/urls.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/urls.py changed, reloading.
Watching for file changes with StatReloader
Not Found: /warehouse/scan-barcode-page/
"GET /warehouse/scan-barcode-page/ HTTP/1.1" 404 3373
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 3361
"GET /admin/ HTTP/1.1" 200 12404
"GET /admin/product_directory/product/ HTTP/1.1" 200 12854
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
Internal Server Error: /warehouse/scan-barcode/
Traceback (most recent call last):
File "/Users/darius/anaconda3/envs/django_env/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/Users/darius/anaconda3/envs/django_env/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/darius/anaconda3/envs/django_env/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 65, in _view_wrapper
return view_func(request, *args, **kwargs)
File "/Users/darius/Documents/franchise_store/warehouse/views.py", line 16, in process_barcode
country_code = int(barcode[:3])
ValueError: invalid literal for int() with base 10: 'som'
"POST /warehouse/scan-barcode/ HTTP/1.1" 500 66357
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 3361
"GET /admin/product_directory/product/add/ HTTP/1.1" 200 16845
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"POST /admin/product_directory/product/add/ HTTP/1.1" 200 17101
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"POST /admin/product_directory/product/add/ HTTP/1.1" 302 0
"GET /admin/product_directory/product/ HTTP/1.1" 200 13509
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"GET /admin/product_directory/product/2/change/ HTTP/1.1" 200 17176
"GET /admin/jsi18n/ HTTP/1.1" 200 3342
"POST /warehouse/scan-barcode/ HTTP/1.1" 200 222
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 3361
"POST /warehouse/scan-barcode/ HTTP/1.1" 200 222
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 3370
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 4245
Not Found: /warehouse/scan-barcode/4820024731015318/
"GET /warehouse/scan-barcode/4820024731015318/ HTTP/1.1" 404 3409
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 4440
Not Found: /process-barcode/
"POST /process-barcode/ HTTP/1.1" 404 2676
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 4440
Not Found: /process-barcode/
"POST /process-barcode/ HTTP/1.1" 404 2676
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 4440
Not Found: /process-barcode/
"POST /process-barcode/ HTTP/1.1" 404 2676
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
/Users/darius/Documents/franchise_store/warehouse/views.py changed, reloading.
Watching for file changes with StatReloader
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 4440
Not Found: /process-barcode/
"POST /process-barcode/ HTTP/1.1" 404 2676
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 4450
Not Found: /warehouse/process-barcode/
"POST /warehouse/process-barcode/ HTTP/1.1" 404 3368
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 4245
Not Found: /warehouse/scan-barcode/4820024700016/
"GET /warehouse/scan-barcode/4820024700016/ HTTP/1.1" 404 3400
"GET /warehouse/scan-barcode-camera/ HTTP/1.1" 200 4511
Not Found: /warehouse/process-barcode/
"POST /warehouse/process-barcode/ HTTP/1.1" 404 3368
Not Found: /docs/swagger
"GET /docs/swagger HTTP/1.1" 404 2663
Not Found: /favicon.ico
"GET /favicon.ico HTTP/1.1" 404 2660
"GET /api/swagger HTTP/1.1" 301 0
"GET /api/swagger/ HTTP/1.1" 200 2227
"GET /static/drf-yasg/style.css HTTP/1.1" 200 1047
"GET /static/drf-yasg/insQ.min.js HTTP/1.1" 200 2093
"GET /static/drf-yasg/swagger-ui-init.js HTTP/1.1" 200 15480
"GET /static/drf-yasg/immutable.min.js HTTP/1.1" 200 56904
"GET /static/drf-yasg/swagger-ui-dist/swagger-ui-standalone-preset.js HTTP/1.1" 200 322863
"GET /static/drf-yasg/swagger-ui-dist/swagger-ui.css HTTP/1.1" 200 145206
"GET /static/drf-yasg/swagger-ui-dist/swagger-ui-bundle.js HTTP/1.1" 200 1046583
"GET /api/swagger/?format=openapi HTTP/1.1" 200 23941
"GET /static/drf-yasg/swagger-ui-dist/favicon-32x32.png HTTP/1.1" 200 628
"GET /static/drf-yasg/swagger-ui-dist/favicon-32x32.png HTTP/1.1" 200 628