app.log 7.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. 2025-07-24 16:55:26,259 - __main__:28 - INFO - Servidor corriendo en http://localhost:6001
  2. 2025-07-24 16:55:26,259 - __main__:32 - INFO - Datos del asistente cargados desde: /home/superti/workspace/pedidos_express/data/llm_data.json
  3. 2025-07-24 16:55:26,260 - routes.orders:67 - INFO - Starting order thread
  4. 2025-07-24 16:55:44,638 - routes.orders:21 - INFO - Printer order received
  5. 2025-07-24 16:55:44,638 - routes.orders:22 - INFO - customerName='' items=[ItemWeb(id=163, name='Hoppy Mosh', quantity=1, price=6500.0, itemTotal=6500.0), ItemWeb(id=15, name='Bendicion Gitana', quantity=1, price=5000.0, itemTotal=5000.0)] totalAmount=11500.0 orderDate='2025-07-24T16:55:44' table=12
  6. 2025-07-24 16:55:44,649 - routes.orders:25 - ERROR - Printer is not connected.
  7. 2025-07-24 16:56:42,340 - __main__:28 - INFO - Servidor corriendo en http://localhost:6001
  8. 2025-07-24 16:56:42,340 - __main__:32 - INFO - Datos del asistente cargados desde: /home/superti/workspace/pedidos_express/data/llm_data.json
  9. 2025-07-24 16:56:42,341 - routes.orders:67 - INFO - Starting order thread
  10. 2025-07-24 16:56:53,097 - routes.products:9 - INFO - Fetching all products
  11. 2025-07-24 16:56:53,112 - routes.chat:15 - INFO - App initialized from client: 127.0.0.1
  12. 2025-07-24 16:56:57,804 - routes.products:9 - INFO - Fetching all products
  13. 2025-07-24 16:56:57,808 - routes.chat:15 - INFO - App initialized from client: 127.0.0.1
  14. 2025-07-24 16:57:03,006 - routes.orders:21 - INFO - Printer order received
  15. 2025-07-24 16:57:03,006 - routes.orders:22 - INFO - customerName='' items=[ItemWeb(id=15, name='Bendicion Gitana', quantity=1, price=5000.0, itemTotal=5000.0)] totalAmount=5000.0 orderDate='2025-07-24T16:57:03' table=12
  16. 2025-07-24 16:57:03,020 - routes.orders:25 - ERROR - Printer is not connected.
  17. 2025-07-24 16:58:58,279 - main:28 - INFO - Servidor corriendo en http://localhost:6001
  18. 2025-07-24 16:58:58,279 - main:32 - INFO - Datos del asistente cargados desde: /home/superti/workspace/pedidos_express/data/llm_data.json
  19. 2025-07-24 16:58:58,279 - routes.orders:67 - INFO - Starting order thread
  20. 2025-07-24 16:59:01,287 - routes.orders:21 - INFO - Printer order received
  21. 2025-07-24 16:59:01,287 - routes.orders:22 - INFO - customerName='' items=[ItemWeb(id=15, name='Bendicion Gitana', quantity=1, price=5000.0, itemTotal=5000.0)] totalAmount=5000.0 orderDate='2025-07-24T16:59:01' table=12
  22. 2025-07-24 16:59:01,290 - fudo.fudo:42 - INFO - Token obtenido desde Redis cache
  23. 2025-07-24 16:59:02,284 - routes.orders:71 - INFO - Processing order: Orden de 24/07/2025
  24. [<impresora.order.Item object at 0x7f8060411f40>]
  25. Total: 5000.0
  26. 2025-07-24 16:59:02,293 - routes.orders:81 - ERROR - Error printing order: Device not found (Unable to open USB printer on (4070, 33054):
  27. USB device not found (Device (4070, 33054) not found or cable not plugged in.))
  28. 2025-07-24 16:59:44,706 - main:28 - INFO - Servidor corriendo en http://localhost:6001
  29. 2025-07-24 16:59:44,707 - main:32 - INFO - Datos del asistente cargados desde: /home/superti/workspace/pedidos_express/data/llm_data.json
  30. 2025-07-24 16:59:44,707 - routes.orders:67 - INFO - Starting order thread
  31. 2025-07-24 16:59:54,367 - routes.orders:21 - INFO - Printer order received
  32. 2025-07-24 16:59:54,367 - routes.orders:22 - INFO - customerName='' items=[ItemWeb(id=163, name='Hoppy Mosh', quantity=1, price=6500.0, itemTotal=6500.0), ItemWeb(id=15, name='Bendicion Gitana', quantity=1, price=5000.0, itemTotal=5000.0)] totalAmount=11500.0 orderDate='2025-07-24T16:59:54' table=12
  33. 2025-07-24 16:59:54,368 - fudo.fudo:42 - INFO - Token obtenido desde Redis cache
  34. 2025-07-24 16:59:54,368 - fudo.fudo:35 - INFO - Token obtenido desde variable global
  35. 2025-07-24 16:59:54,717 - routes.orders:71 - INFO - Processing order: Orden de 24/07/2025
  36. [<impresora.order.Item object at 0x7f446437ff40>, <impresora.order.Item object at 0x7f446437fd00>]
  37. Total: 11500.0
  38. 2025-07-24 16:59:54,726 - routes.orders:81 - ERROR - Error printing order: Device not found (Unable to open USB printer on (4070, 33054):
  39. USB device not found (Device (4070, 33054) not found or cable not plugged in.))
  40. 2025-07-24 17:04:35,588 - main:28 - INFO - Servidor corriendo en http://localhost:6001
  41. 2025-07-24 17:04:35,588 - main:32 - INFO - Datos del asistente cargados desde: /home/superti/workspace/pedidos_express/data/llm_data.json
  42. 2025-07-24 17:04:35,588 - routes.orders:67 - INFO - Starting order thread
  43. 2025-07-24 17:04:41,659 - routes.products:9 - INFO - Fetching all products
  44. 2025-07-24 17:04:41,684 - routes.chat:15 - INFO - App initialized from client: 127.0.0.1
  45. 2025-07-24 17:04:48,549 - routes.products:9 - INFO - Fetching all products
  46. 2025-07-24 17:04:48,562 - routes.chat:15 - INFO - App initialized from client: 127.0.0.1
  47. 2025-07-24 17:04:53,199 - routes.orders:21 - INFO - Printer order received
  48. 2025-07-24 17:04:53,199 - routes.orders:22 - INFO - customerName='' items=[ItemWeb(id=163, name='Hoppy Mosh', quantity=1, price=6500.0, itemTotal=6500.0)] totalAmount=6500.0 orderDate='2025-07-24T17:04:53' table=12
  49. 2025-07-24 17:04:53,214 - impresora.printer:87 - ERROR - Printer is not connected on USB port 4070:33054.
  50. 2025-07-24 17:04:53,214 - routes.orders:25 - ERROR - Printer is not connected.
  51. 2025-07-24 17:05:46,295 - main:28 - INFO - Servidor corriendo en http://localhost:6001
  52. 2025-07-24 17:05:46,295 - main:32 - INFO - Datos del asistente cargados desde: /home/superti/workspace/pedidos_express/data/llm_data.json
  53. 2025-07-24 17:05:46,295 - routes.orders:67 - INFO - Starting order thread
  54. 2025-07-24 17:05:51,230 - routes.orders:21 - INFO - Printer order received
  55. 2025-07-24 17:05:51,230 - routes.orders:22 - INFO - customerName='' items=[ItemWeb(id=163, name='Hoppy Mosh', quantity=1, price=6500.0, itemTotal=6500.0)] totalAmount=6500.0 orderDate='2025-07-24T17:05:51' table=12
  56. 2025-07-24 17:05:51,241 - impresora.printer:87 - ERROR - Printer is not connected on USB port 4070:33054.
  57. 2025-07-24 17:05:51,241 - routes.orders:25 - ERROR - Printer is not connected.
  58. 2025-07-24 17:09:38,842 - main:28 - INFO - Servidor corriendo en http://localhost:6001
  59. 2025-07-24 17:09:38,842 - main:32 - INFO - Datos del asistente cargados desde: /home/superti/workspace/pedidos_express/data/llm_data.json
  60. 2025-07-24 17:09:38,842 - routes.orders:71 - INFO - Starting order thread
  61. 2025-07-24 17:09:55,095 - routes.orders:22 - INFO - Printer order received
  62. 2025-07-24 17:09:55,095 - routes.orders:23 - INFO - customerName='' items=[ItemWeb(id=163, name='Hoppy Mosh', quantity=1, price=6500.0, itemTotal=6500.0)] totalAmount=6500.0 orderDate='2025-07-24T17:09:55' table=12
  63. 2025-07-24 17:09:55,109 - impresora.printer:89 - ERROR - Printer is not connected on USB port 4070:33054.
  64. 2025-07-24 17:09:55,109 - routes.orders:26 - ERROR - Printer is not connected.
  65. 2025-07-24 17:09:55,110 - routes.orders:30 - ERROR - Email sent to admin about printer issue.
  66. 2025-07-24 17:17:15,952 - main:28 - INFO - Servidor corriendo en http://localhost:6001
  67. 2025-07-24 17:17:15,952 - main:32 - INFO - Datos del asistente cargados desde: /home/superti/workspace/pedidos_express/data/llm_data.json
  68. 2025-07-24 17:17:15,952 - routes.orders:71 - INFO - Starting order thread
  69. 2025-07-24 17:17:15,953 - routes.orders:73 - INFO - Current printer orders: []
  70. 2025-07-24 17:17:16,954 - routes.orders:73 - INFO - Current printer orders: []
  71. 2025-07-24 17:17:17,956 - routes.orders:73 - INFO - Current printer orders: []
  72. 2025-07-24 17:17:18,957 - routes.orders:73 - INFO - Current printer orders: []
  73. 2025-07-24 17:17:19,958 - routes.orders:73 - INFO - Current printer orders: []
  74. 2025-07-24 17:17:20,959 - routes.orders:73 - INFO - Current printer orders: []
  75. 2025-07-24 17:17:21,960 - routes.orders:73 - INFO - Current printer orders: []
  76. 2025-07-24 17:17:22,961 - routes.orders:73 - INFO - Current printer orders: []