Spaces:
Sleeping
Sleeping
| C:\Users\hisha\.pyenv\pyenv-win\versions\3.12.0\Lib\site-packages\requests\__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.2) or chardet (7.0.1)/charset_normalizer (3.4.4) doesn't match a supported version! | |
| warnings.warn( | |
| >>> [LAUNCHER] Starting Hierarchical Seeding... | |
| >>> [SEED] Clearing existing data... | |
| - Cleared product_images | |
| - Cleared cart_items | |
| - Cleared reviews | |
| - Cleared payment_details | |
| - Cleared payments | |
| - Cleared order_items | |
| - Cleared orders | |
| - Cleared addresses | |
| - Cleared products | |
| - Cleared categories | |
| - Cleared coupons | |
| - Cleared store_settings | |
| - Cleared notifications | |
| >>> [SEED] Creating default store settings... | |
| >>> [SEED] Progress: 20 products committed... | |
| >>> [SEED] Progress: 40 products committed... | |
| >>> [SEED] Progress: 60 products committed... | |
| >>> [SEED] Progress: 80 products committed... | |
| >>> [SEED] Progress: 100 products committed... | |
| >>> [SEED] Progress: 120 products committed... | |
| >>> [SEED] Progress: 140 products committed... | |
| >>> [SEED] Progress: 160 products committed... | |
| >>> [LAUNCHER] Seeding Complete! | |
| >>> Result: {'message': '(psycopg2.errors.ForeignKeyViolation) insert or update on table "products" violates foreign key constraint "products_category_id_fkey"\nDETAIL: Key (category_id)=(79) is not present in table "categories".\n\n[SQL: INSERT INTO products (name_ar, name_en, description_ar, description_en, price, compare_price, stock, category_id, rating, rating_count, is_featured, is_active, specs, created_at, deleted_at, deleted_by, deletion_reason, quality_score) VALUES (%(name_ar)s, %(name_en)s, %(description_ar)s, %(description_en)s, %(price)s, %(compare_price)s, %(stock)s, %(category_id)s, %(rating)s, %(rating_count)s, %(is_featured)s, %(is_active)s, %(specs)s, %(created_at)s, %(deleted_at)s, %(deleted_by)s, %(deletion_reason)s, %(quality_score)s) RETURNING products.id]\n[parameters: {\'name_ar\': \'������� ������� ��� 36� 5 ��� 256 ���ǡ ����\', \'name_en\': \'SAMSUNG Galaxy A36, 5G, 256 GB, Awesome White\', \'description_ar\': \'����� ������� ������� ��� 36� 5 ��� 256 ���ǡ ���� �� ������ �����! .\', \'description_en\': \'Buy SAMSUNG Galaxy A36, 5G, 256 GB, Awesome White from eXtra today!\', \'price\': 1099.0, \'compare_price\': 1399.0, \'stock\': 53, \'category_id\': 79, \'rating\': 4.5, \'rating_count\': 20, \'is_featured\': False, \'is_active\': True, \'specs\': \'{"origin": "Saudi Arabia", "condition": "New Genuine", "rating": 3.73, "warranty": "1 Year Official KSA Warranty", "sku_base": "EXT-SKU-162", "source ... (4914 characters truncated) ... , "name_ar": "\\\\u0662\\\\u0665\\\\u0666 \\\\u062c\\\\u064a\\\\u062c\\\\u0627\\\\u0628\\\\u0627\\\\u064a\\\\u062a", "price_modifier": 0.0, "stock": 13, "image_url": ""}]}\', \'created_at\': datetime.datetime(2026, 3, 20, 21, 10, 27, 701730, tzinfo=datetime.timezone.utc), \'deleted_at\': None, \'deleted_by\': None, \'deletion_reason\': None, \'quality_score\': 100}]\n(Background on this error at: https://sqlalche.me/e/20/gkpj)'} | |