Traceback (most recent call last):
  File "/home/profildi/public_html/deltawaras/bot/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'app.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "app.py", line 1, in <module>
    from dewacuan import create_app
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/__init__.py", line 3, in <module>
    from flask import Flask, jsonify, request
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/home/profildi/public_html/deltawaras/bot/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'app.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "app.py", line 1, in <module>
    from dewacuan import create_app
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/__init__.py", line 3, in <module>
    from flask import Flask, jsonify, request
ModuleNotFoundError: No module named 'flask'
[UID:1946][3913431] Child process with pid: 3913591 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/profildi/public_html/deltawaras/bot/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'app.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "app.py", line 1, in <module>
    from dewacuan import create_app
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/__init__.py", line 3, in <module>
    from flask import Flask, jsonify, request
ModuleNotFoundError: No module named 'flask'
[UID:1946][3913431] Child process with pid: 3914245 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/profildi/public_html/deltawaras/bot/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'app.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "app.py", line 1, in <module>
    from dewacuan import create_app
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/__init__.py", line 3, in <module>
    from flask import Flask, jsonify, request
ModuleNotFoundError: No module named 'flask'
[UID:1946][3913431] Child process with pid: 3924040 was killed by signal: 15, core dumped: no
2026-04-25 22:02:46,691 ERROR dewacuan.handlers: Gagal mencari produk
Traceback (most recent call last):
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 195, in _handle_product_search
    result = self.laravel.search_products(self._with_actor(message, {"query": query}))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/clients.py", line 131, in search_products
    return self._post("/api/bot/products/search", payload)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/clients.py", line 212, in _post
    response.raise_for_status()
  File "/home/profildi/virtualenv/public_html/deltawaras/bot/3.12/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://deltawaras.my.id/api/bot/products/search
2026-04-25 22:06:10,382 ERROR dewacuan.handlers: Gagal memproses update Telegram
Traceback (most recent call last):
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 36, in handle_update
    self._handle_message(update["message"])
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 51, in _handle_message
    self._handle_photo_message(message)
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 146, in _handle_photo_message
    analysis = self.deepseek.analyze_invoice_image(image_bytes, caption=caption)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/clients.py", line 113, in analyze_invoice_image
    response.raise_for_status()
  File "/home/profildi/virtualenv/public_html/deltawaras/bot/3.12/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.deepseek.com/chat/completions
2026-04-25 22:14:40,594 ERROR dewacuan.handlers: Gagal memproses update Telegram
Traceback (most recent call last):
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 36, in handle_update
    self._handle_message(update["message"])
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 51, in _handle_message
    self._handle_photo_message(message)
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 146, in _handle_photo_message
    analysis = self.deepseek.analyze_invoice_image(image_bytes, caption=caption)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/clients.py", line 113, in analyze_invoice_image
    response.raise_for_status()
  File "/home/profildi/virtualenv/public_html/deltawaras/bot/3.12/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.deepseek.com/chat/completions
2026-04-25 22:56:56,369 ERROR dewacuan.handlers: Gagal mencari produk
Traceback (most recent call last):
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 195, in _handle_product_search
    result = self.laravel.search_products(self._with_actor(message, {"query": query}))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/clients.py", line 131, in search_products
    return self._post("/api/bot/products/search", payload)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/clients.py", line 212, in _post
    response.raise_for_status()
  File "/home/profildi/virtualenv/public_html/deltawaras/bot/3.12/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://deltawaras.my.id/api/bot/products/search
2026-04-25 22:57:55,345 ERROR dewacuan.handlers: Gagal memproses update Telegram
Traceback (most recent call last):
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 36, in handle_update
    self._handle_message(update["message"])
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 77, in _handle_message
    self._handle_purchase_order_message(message, text)
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/handlers.py", line 224, in _handle_purchase_order_message
    supplier_result = self.laravel.search_suppliers(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/clients.py", line 161, in search_suppliers
    return self._get("/api/bot/suppliers/search", {"query": query, "telegram_user_id": telegram_user_id})
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/profildi/public_html/deltawaras/bot/dewacuan/clients.py", line 225, in _get
    response.raise_for_status()
  File "/home/profildi/virtualenv/public_html/deltawaras/bot/3.12/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://deltawaras.my.id/api/bot/suppliers/search?query=apl&telegram_user_id=284443210
