2026-05-12 20:43:42,697 DEBUG:passlib.utils.compat:loaded lazy attr 'SafeConfigParser': <class 'configparser.ConfigParser'>
2026-05-12 20:43:42,697 DEBUG:passlib.utils.compat:loaded lazy attr 'NativeStringIO': <class '_io.StringIO'>
2026-05-12 20:43:42,698 DEBUG:passlib.utils.compat:loaded lazy attr 'BytesIO': <class '_io.BytesIO'>
2026-05-12 20:43:42,709 DEBUG:passlib.registry:registered 'bcrypt' handler: <class 'passlib.handlers.bcrypt.bcrypt'>
2026-05-12 20:43:43,215 ERROR:root:Expiry date not set in the database.
2026-05-12 20:43:43,233 DEBUG:root:Decrypted license value: 74589632145674
2026-05-12 20:43:43,233 INFO:root:License validation successful.
2026-05-12 20:43:43,234 INFO:root:Starting UR POS System.
2026-05-12 20:43:43,722 INFO:root:Database initialized.
2026-05-12 20:43:44,126 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-12 20:43:45,150 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/status HTTP/1.1" 200 114
2026-05-12 23:19:35,636 DEBUG:passlib.utils.compat:loaded lazy attr 'SafeConfigParser': <class 'configparser.ConfigParser'>
2026-05-12 23:19:35,636 DEBUG:passlib.utils.compat:loaded lazy attr 'NativeStringIO': <class '_io.StringIO'>
2026-05-12 23:19:35,636 DEBUG:passlib.utils.compat:loaded lazy attr 'BytesIO': <class '_io.BytesIO'>
2026-05-12 23:19:35,646 DEBUG:passlib.registry:registered 'bcrypt' handler: <class 'passlib.handlers.bcrypt.bcrypt'>
2026-05-12 23:19:36,348 ERROR:root:Expiry date not set in the database.
2026-05-12 23:19:36,368 DEBUG:root:Decrypted license value: 74589632145674
2026-05-12 23:19:36,369 INFO:root:License validation successful.
2026-05-12 23:19:36,371 INFO:root:Starting UR POS System.
2026-05-12 23:19:37,167 INFO:root:Database initialized.
2026-05-12 23:19:37,485 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-12 23:19:37,495 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/status HTTP/1.1" 200 114
2026-05-13 04:41:56,054 DEBUG:passlib.utils.compat:loaded lazy attr 'SafeConfigParser': <class 'configparser.ConfigParser'>
2026-05-13 04:41:56,054 DEBUG:passlib.utils.compat:loaded lazy attr 'NativeStringIO': <class '_io.StringIO'>
2026-05-13 04:41:56,054 DEBUG:passlib.utils.compat:loaded lazy attr 'BytesIO': <class '_io.BytesIO'>
2026-05-13 04:41:56,062 DEBUG:passlib.registry:registered 'bcrypt' handler: <class 'passlib.handlers.bcrypt.bcrypt'>
2026-05-13 04:41:56,532 ERROR:root:Expiry date not set in the database.
2026-05-13 04:41:56,536 DEBUG:root:Decrypted license value: 74589632145674
2026-05-13 04:41:56,536 INFO:root:License validation successful.
2026-05-13 04:41:56,538 INFO:root:Starting UR POS System.
2026-05-13 04:41:56,978 INFO:root:Database initialized.
2026-05-13 04:41:57,163 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 04:41:57,170 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/status HTTP/1.1" 200 114
2026-05-13 06:08:45,973 DEBUG:passlib.utils.compat:loaded lazy attr 'SafeConfigParser': <class 'configparser.ConfigParser'>
2026-05-13 06:08:45,973 DEBUG:passlib.utils.compat:loaded lazy attr 'NativeStringIO': <class '_io.StringIO'>
2026-05-13 06:08:45,973 DEBUG:passlib.utils.compat:loaded lazy attr 'BytesIO': <class '_io.BytesIO'>
2026-05-13 06:08:45,979 DEBUG:passlib.registry:registered 'bcrypt' handler: <class 'passlib.handlers.bcrypt.bcrypt'>
2026-05-13 06:08:46,318 ERROR:root:Expiry date not set in the database.
2026-05-13 06:08:46,322 DEBUG:root:Decrypted license value: 74589632145674
2026-05-13 06:08:46,322 INFO:root:License validation successful.
2026-05-13 06:08:46,323 INFO:root:Starting UR POS System.
2026-05-13 06:08:46,667 INFO:root:Database initialized.
2026-05-13 06:08:46,803 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:08:48,329 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/status HTTP/1.1" 200 114
2026-05-13 06:09:50,955 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:09:50,959 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/status HTTP/1.1" 200 114
2026-05-13 06:09:50,959 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:09:50,964 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "POST /api/login HTTP/1.1" 401 39
2026-05-13 06:09:50,983 INFO:views.main_window:User 'usmanmalikg7867@gmail.com' logged in successfully.
2026-05-13 06:09:51,490 DEBUG:views.main_window:Created button: Dashboard with object name: dashboard
2026-05-13 06:09:51,501 DEBUG:views.main_window:Created button: Sales Panel with object name: sales_panel
2026-05-13 06:09:51,520 DEBUG:views.main_window:Created button: CashBook with object name: cashbook
2026-05-13 06:09:51,531 DEBUG:views.main_window:Created button: Accounts with object name: accounts
2026-05-13 06:09:51,544 DEBUG:views.main_window:Created button: Sales History with object name: sales_history
2026-05-13 06:09:51,551 DEBUG:views.main_window:Created button: CashBook History with object name: cashbook_history
2026-05-13 06:09:51,562 DEBUG:views.main_window:Created button: Inventory & Stock with object name: inventory_&_stock
2026-05-13 06:09:51,575 DEBUG:views.main_window:Created button: Stock Management with object name: stock_management
2026-05-13 06:09:51,584 DEBUG:views.main_window:Created button: Web Orders with object name: web_orders
2026-05-13 06:09:51,592 DEBUG:views.main_window:Created button: Categories with object name: categories
2026-05-13 06:09:51,594 DEBUG:views.main_window:Created button: Flash Sales with object name: flash_sales
2026-05-13 06:09:51,606 DEBUG:views.main_window:Created button: Promo Coupons with object name: promo_coupons
2026-05-13 06:09:51,619 DEBUG:views.main_window:Created button: Shelves with object name: shelves
2026-05-13 06:09:51,627 DEBUG:views.main_window:Created button: Ware House with object name: ware_house
2026-05-13 06:09:51,628 DEBUG:views.main_window:Created button: Payments with object name: payments
2026-05-13 06:09:51,631 DEBUG:views.main_window:Created button: Dilay Profits with object name: dilay_profits
2026-05-13 06:09:51,634 DEBUG:views.main_window:Created button: Banks with object name: banks
2026-05-13 06:09:51,648 DEBUG:views.main_window:Created button: Expense with object name: expense
2026-05-13 06:09:51,659 DEBUG:views.main_window:Created button: User Management with object name: user_management
2026-05-13 06:09:51,669 DEBUG:views.main_window:Created button: Business Details with object name: business_details
2026-05-13 06:09:51,677 DEBUG:views.main_window:Created button: Employee Management with object name: employee_management
2026-05-13 06:09:51,700 DEBUG:views.main_window:Created button: Companies with object name: companies
2026-05-13 06:09:51,712 DEBUG:views.main_window:Created button: Backup Settings with object name: backup_settings
2026-05-13 06:09:51,715 DEBUG:views.main_window:Created button: Expirary with object name: expirary
2026-05-13 06:09:51,728 DEBUG:views.main_window:Created button: Purchase Orders with object name: purchase_orders
2026-05-13 06:09:51,735 DEBUG:views.main_window:Created button: Reports with object name: reports
2026-05-13 06:09:51,742 DEBUG:views.main_window:Created button: Route Paths with object name: route_paths
2026-05-13 06:09:52,188 INFO:views.main_window:RegisterView initialized (not opened as a tab).
2026-05-13 06:09:52,189 DEBUG:views.main_window:Sidebar buttons after creation: ['dashboard', 'sales_panel', 'cashbook', 'accounts', 'sales_history', 'cashbook_history', 'inventory_&_stock', 'stock_management', 'web_orders', 'categories', 'flash_sales', 'promo_coupons', 'shelves', 'ware_house', 'payments', 'dilay_profits', 'banks', 'expense', 'user_management', 'business_details', 'employee_management', 'companies', 'backup_settings', 'expirary', 'purchase_orders', 'reports', 'route_paths', 'toggle_full_screen']
2026-05-13 06:09:52,189 DEBUG:views.main_window:Sales Panel button found in sidebar_buttons
2026-05-13 06:09:52,189 INFO:views.main_window:Admin user detected. Full access granted.
2026-05-13 06:09:55,195 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:09:55,231 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/products HTTP/1.1" 200 3431
2026-05-13 06:09:55,233 WARNING:swiftcart_api.product_sync:SwiftCart pull: 'dict' object has no attribute 'status_code'
2026-05-13 06:09:55,294 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:09:55,317 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/products HTTP/1.1" 200 3431
2026-05-13 06:09:55,320 WARNING:swiftcart_api.product_sync:SwiftCart prune: 'dict' object has no attribute 'status_code'
2026-05-13 06:09:57,291 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:09:57,333 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/orders HTTP/1.1" 200 2651
2026-05-13 06:09:57,405 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:09:57,445 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/orders HTTP/1.1" 200 2651
2026-05-13 06:09:57,563 INFO:views.main_window:Tab changed to: Dashboard
2026-05-13 06:09:57,565 INFO:views.main_window:Opened tab: Dashboard
2026-05-13 06:09:58,241 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:09:58,298 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "POST /api/reports/pos-sync HTTP/1.1" 200 109
2026-05-13 06:09:58,301 INFO:views.main_window:SwiftCart report sync: synced sales=1, expenses=0
2026-05-13 06:09:59,433 INFO:views.main_window:Tab changed to: Sales Panel
2026-05-13 06:09:59,433 INFO:views.main_window:Opened tab: Sales Panel
2026-05-13 06:10:00,417 INFO:views.main_window:Tab changed to: CashBook
2026-05-13 06:10:00,419 INFO:views.main_window:Opened tab: CashBook
2026-05-13 06:10:01,962 INFO:views.main_window:Tab changed to: Accounts
2026-05-13 06:10:01,963 INFO:views.main_window:Opened tab: Accounts
2026-05-13 06:10:02,765 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:10:02,798 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/orders HTTP/1.1" 200 3167
2026-05-13 06:10:02,844 INFO:views.main_window:Tab changed to: Sales History
2026-05-13 06:10:02,844 INFO:views.main_window:Opened tab: Sales History
2026-05-13 06:10:07,085 INFO:views.main_window:Tab changed to: CashBook History
2026-05-13 06:10:07,086 INFO:views.main_window:Opened tab: CashBook History
2026-05-13 06:10:12,252 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:10:12,281 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/orders HTTP/1.1" 200 3167
2026-05-13 06:10:12,293 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:10:12,326 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/orders HTTP/1.1" 200 3167
2026-05-13 06:10:12,348 INFO:views.main_window:Tab changed to: Dashboard
2026-05-13 06:10:14,023 INFO:views.main_window:Tab changed to: Inventory & Stock
2026-05-13 06:10:14,023 INFO:views.main_window:Opened tab: Inventory & Stock
2026-05-13 06:10:33,072 INFO:views.category_view:Categories loaded successfully.
2026-05-13 06:10:33,098 INFO:views.main_window:Tab changed to: Categories
2026-05-13 06:10:33,100 INFO:views.main_window:Opened tab: Categories
2026-05-13 06:11:10,367 INFO:views.main_window:Tab changed to: Inventory & Stock
2026-05-13 06:21:35,080 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:21:35,086 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/categories HTTP/1.1" 200 23
2026-05-13 06:21:35,088 WARNING:swiftcart_api.product_sync:SwiftCart categories_list: 'dict' object has no attribute 'status_code'
2026-05-13 06:21:35,103 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:21:35,157 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "POST /api/products HTTP/1.1" 201 58
2026-05-13 06:21:35,171 INFO:swiftcart_api.product_sync:SwiftCart catalog sync: POST ok remote_id=6 local_id=6
2026-05-13 06:21:35,177 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5000
2026-05-13 06:21:35,205 DEBUG:urllib3.connectionpool:http://127.0.0.1:5000 "GET /api/products HTTP/1.1" 200 4094
2026-05-13 06:21:35,207 WARNING:swiftcart_api.product_sync:SwiftCart prune: 'dict' object has no attribute 'status_code'
2026-05-13 06:21:35,220 DEBUG:views.inventory_view:Product validated and accepted successfully.
