Skip to content

Commit

Permalink
utf-8 encoding bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GregorioMonari committed Mar 28, 2023
1 parent d492191 commit b29a4c2
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 52 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
/4_UTILS
/5_RELEASES
/6_API_my2sec_executable_OLD
/6_API_my2sec
/1_ActivityWatchProducer/PY/my2sec_OLD
/6_API_my2sec
5 changes: 5 additions & 0 deletions 1_ActivityWatchProducer/PY/my2sec/main/API_my2sec.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@
import json
import aw_my2sec
import os
import io
import sys
import socket
from manage_csv import CheckFile, ReadCSV, EventsToCSV, WorkingEvents, UpdateSelectionCSV, UpdateCurrentCSV
import numpy as np
import logging
import builtins
import datetime

sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8')


app = Flask(__name__)
api = Api(app)
Expand Down
1 change: 0 additions & 1 deletion 1_ActivityWatchProducer/PY/my2sec/main/datetime.txt

This file was deleted.

14 changes: 9 additions & 5 deletions 1_ActivityWatchProducer/electron_main_modules/PythonApiRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,18 @@ class PythonApiRunner{
try{

this.log.info("Spawning python: "+cwd)
this.pyProcess=spawn("python",["API_my2sec.py"],{cwd});
this.pyProcess=spawn("python",["API_my2sec.py"],{
cwd:cwd,
stdio: ['pipe', 'pipe', 'pipe'],
encoding: 'utf-8'
});
this.log.info("** started python api")
}catch(e){
console.log(e)
console.log("TRYING WITH PYTHON 3")
console.log("Spawning python3: "+cwd)
this.pyProcess=spawn("python3",["API_my2sec.py"],{cwd});
this.log.info("** started python api")
//console.log("TRYING WITH PYTHON 3")
//console.log("Spawning python3: "+cwd)
//this.pyProcess=spawn("python3",["API_my2sec.py"],{cwd});
//this.log.info("** started python api")
}

//console.log("started python api")
Expand Down
88 changes: 44 additions & 44 deletions 1_ActivityWatchProducer/log.log
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
[2023-03-28 14:35:56.262] [info] [ My2secProducer logs ]
[2023-03-28 14:35:56.270] [info] # JSAP CONFIGURATOR STARTED #
[2023-03-28 14:35:56.272] [info] ------------------------< DETECTING RUNTIME ENVIRONMENT >------------------------
[2023-03-28 14:35:56.273] [info] - Running environment: windows/linux
[2023-03-28 14:35:56.275] [info] - Run mode: development (NODE_ENV=dev )
[2023-03-28 14:35:56.276] [info]
[2023-03-28 14:35:56.278] [info] ------------------------< GET LOOPBACK ADDRESS >------------------------
[2023-03-28 14:35:56.280] [info] ===============================
[2023-03-28 14:35:56.283] [info] ** Request 0: localhost **
[2023-03-28 14:35:56.556] [info] Response status: 200
[2023-03-28 14:35:56.557] [info] Response DATA: {"aw-watcher-afk_LAPTOP-A3FDT9J3":{"id":"aw-watcher-afk_LAPTOP-A3FDT9J3","created":"2022-08-04T17:47:01.646448+00:00","name":null,"type":"afkstatus","client":"aw-watcher-afk","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T12:35:50.964000+00:00"},"aw-watcher-window_LAPTOP-A3FDT9J3":{"id":"aw-watcher-window_LAPTOP-A3FDT9J3","created":"2022-08-04T17:47:01.737074+00:00","name":null,"type":"currentwindow","client":"aw-watcher-window","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T12:35:55.142000+00:00"},"aw-producer":{"id":"aw-producer","created":"2022-08-05T13:09:01.586327+00:00","name":null,"type":"sepaconnector","client":"aw-producer","hostname":"unknown","last_updated":"2023-03-24T08:35:54.314000+00:00"},"aw-watcher-scan_LAPTOP-A3FDT9J3":{"id":"aw-watcher-scan_LAPTOP-A3FDT9J3","created":"2022-10-17T14:34:37.689112+00:00","name":null,"type":"scan","client":"aw-my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2022-12-05T09:23:36.384000+00:00"},"aw-watcher-working_LAPTOP-A3FDT9J3":{"id":"aw-watcher-working_LAPTOP-A3FDT9J3","created":"2022-10-17T14:36:22.826305+00:00","name":null,"type":"working","client":"aw-watcher-working","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-23T23:08:14.262000+00:00"},"aw-watcher-start-stop_LAPTOP-A3FDT9J3":{"id":"aw-watcher-start-stop_LAPTOP-A3FDT9J3","created":"2022-12-05T12:35:53.528196+00:00","name":null,"type":"start-stop","client":"aw_my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T12:33:28.324000+00:00"},"aw-watcher-notshutdown_LAPTOP-A3FDT9J3":{"id":"aw-watcher-notshutdown_LAPTOP-A3FDT9J3","created":"2022-12-05T12:52:48.080634+00:00","name":null,"type":"not_shutdown","client":"aw_my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T12:32:26.197000+00:00"}}
[2023-03-28 14:35:56.559] [info] Request to localhost executed
[2023-03-28 14:35:56.560] [info] ===============================
[2023-03-28 14:35:56.560] [info] ** Request 1: 127.0.0.1 **
[2023-03-28 14:35:56.787] [info] Response status: 200
[2023-03-28 14:35:56.788] [info] Response DATA: {"aw-watcher-afk_LAPTOP-A3FDT9J3":{"id":"aw-watcher-afk_LAPTOP-A3FDT9J3","created":"2022-08-04T17:47:01.646448+00:00","name":null,"type":"afkstatus","client":"aw-watcher-afk","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T12:35:50.964000+00:00"},"aw-watcher-window_LAPTOP-A3FDT9J3":{"id":"aw-watcher-window_LAPTOP-A3FDT9J3","created":"2022-08-04T17:47:01.737074+00:00","name":null,"type":"currentwindow","client":"aw-watcher-window","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T12:35:55.142000+00:00"},"aw-producer":{"id":"aw-producer","created":"2022-08-05T13:09:01.586327+00:00","name":null,"type":"sepaconnector","client":"aw-producer","hostname":"unknown","last_updated":"2023-03-24T08:35:54.314000+00:00"},"aw-watcher-scan_LAPTOP-A3FDT9J3":{"id":"aw-watcher-scan_LAPTOP-A3FDT9J3","created":"2022-10-17T14:34:37.689112+00:00","name":null,"type":"scan","client":"aw-my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2022-12-05T09:23:36.384000+00:00"},"aw-watcher-working_LAPTOP-A3FDT9J3":{"id":"aw-watcher-working_LAPTOP-A3FDT9J3","created":"2022-10-17T14:36:22.826305+00:00","name":null,"type":"working","client":"aw-watcher-working","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-23T23:08:14.262000+00:00"},"aw-watcher-start-stop_LAPTOP-A3FDT9J3":{"id":"aw-watcher-start-stop_LAPTOP-A3FDT9J3","created":"2022-12-05T12:35:53.528196+00:00","name":null,"type":"start-stop","client":"aw_my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T12:33:28.324000+00:00"},"aw-watcher-notshutdown_LAPTOP-A3FDT9J3":{"id":"aw-watcher-notshutdown_LAPTOP-A3FDT9J3","created":"2022-12-05T12:52:48.080634+00:00","name":null,"type":"not_shutdown","client":"aw_my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T12:32:26.197000+00:00"}}
[2023-03-28 14:35:56.789] [info] Request to 127.0.0.1 executed
[2023-03-28 14:35:56.789] [info] ===============================
[2023-03-28 14:35:56.790] [info] ** Request 2: [::1] **
[2023-03-28 14:35:56.795] [error] Error: connect ECONNREFUSED ::1:5600
[2023-03-28 16:31:06.969] [info] [ My2secProducer logs ]
[2023-03-28 16:31:06.975] [info] # JSAP CONFIGURATOR STARTED #
[2023-03-28 16:31:06.976] [info] ------------------------< DETECTING RUNTIME ENVIRONMENT >------------------------
[2023-03-28 16:31:06.978] [info] - Running environment: windows/linux
[2023-03-28 16:31:06.980] [info] - Run mode: development (NODE_ENV=dev )
[2023-03-28 16:31:06.981] [info]
[2023-03-28 16:31:06.983] [info] ------------------------< GET LOOPBACK ADDRESS >------------------------
[2023-03-28 16:31:06.984] [info] ===============================
[2023-03-28 16:31:06.985] [info] ** Request 0: localhost **
[2023-03-28 16:31:07.275] [info] Response status: 200
[2023-03-28 16:31:07.276] [info] Response DATA: {"aw-watcher-afk_LAPTOP-A3FDT9J3":{"id":"aw-watcher-afk_LAPTOP-A3FDT9J3","created":"2022-08-04T17:47:01.646448+00:00","name":null,"type":"afkstatus","client":"aw-watcher-afk","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T14:30:54.066000+00:00"},"aw-watcher-window_LAPTOP-A3FDT9J3":{"id":"aw-watcher-window_LAPTOP-A3FDT9J3","created":"2022-08-04T17:47:01.737074+00:00","name":null,"type":"currentwindow","client":"aw-watcher-window","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T14:31:05.284000+00:00"},"aw-producer":{"id":"aw-producer","created":"2022-08-05T13:09:01.586327+00:00","name":null,"type":"sepaconnector","client":"aw-producer","hostname":"unknown","last_updated":"2023-03-24T08:35:54.314000+00:00"},"aw-watcher-scan_LAPTOP-A3FDT9J3":{"id":"aw-watcher-scan_LAPTOP-A3FDT9J3","created":"2022-10-17T14:34:37.689112+00:00","name":null,"type":"scan","client":"aw-my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2022-12-05T09:23:36.384000+00:00"},"aw-watcher-working_LAPTOP-A3FDT9J3":{"id":"aw-watcher-working_LAPTOP-A3FDT9J3","created":"2022-10-17T14:36:22.826305+00:00","name":null,"type":"working","client":"aw-watcher-working","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-23T23:08:14.262000+00:00"},"aw-watcher-start-stop_LAPTOP-A3FDT9J3":{"id":"aw-watcher-start-stop_LAPTOP-A3FDT9J3","created":"2022-12-05T12:35:53.528196+00:00","name":null,"type":"start-stop","client":"aw_my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T14:30:16.889000+00:00"},"aw-watcher-notshutdown_LAPTOP-A3FDT9J3":{"id":"aw-watcher-notshutdown_LAPTOP-A3FDT9J3","created":"2022-12-05T12:52:48.080634+00:00","name":null,"type":"not_shutdown","client":"aw_my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T14:30:03.224000+00:00"}}
[2023-03-28 16:31:07.277] [info] Request to localhost executed
[2023-03-28 16:31:07.280] [info] ===============================
[2023-03-28 16:31:07.281] [info] ** Request 1: 127.0.0.1 **
[2023-03-28 16:31:07.520] [info] Response status: 200
[2023-03-28 16:31:07.521] [info] Response DATA: {"aw-watcher-afk_LAPTOP-A3FDT9J3":{"id":"aw-watcher-afk_LAPTOP-A3FDT9J3","created":"2022-08-04T17:47:01.646448+00:00","name":null,"type":"afkstatus","client":"aw-watcher-afk","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T14:30:54.066000+00:00"},"aw-watcher-window_LAPTOP-A3FDT9J3":{"id":"aw-watcher-window_LAPTOP-A3FDT9J3","created":"2022-08-04T17:47:01.737074+00:00","name":null,"type":"currentwindow","client":"aw-watcher-window","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T14:31:05.284000+00:00"},"aw-producer":{"id":"aw-producer","created":"2022-08-05T13:09:01.586327+00:00","name":null,"type":"sepaconnector","client":"aw-producer","hostname":"unknown","last_updated":"2023-03-24T08:35:54.314000+00:00"},"aw-watcher-scan_LAPTOP-A3FDT9J3":{"id":"aw-watcher-scan_LAPTOP-A3FDT9J3","created":"2022-10-17T14:34:37.689112+00:00","name":null,"type":"scan","client":"aw-my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2022-12-05T09:23:36.384000+00:00"},"aw-watcher-working_LAPTOP-A3FDT9J3":{"id":"aw-watcher-working_LAPTOP-A3FDT9J3","created":"2022-10-17T14:36:22.826305+00:00","name":null,"type":"working","client":"aw-watcher-working","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-23T23:08:14.262000+00:00"},"aw-watcher-start-stop_LAPTOP-A3FDT9J3":{"id":"aw-watcher-start-stop_LAPTOP-A3FDT9J3","created":"2022-12-05T12:35:53.528196+00:00","name":null,"type":"start-stop","client":"aw_my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T14:30:16.889000+00:00"},"aw-watcher-notshutdown_LAPTOP-A3FDT9J3":{"id":"aw-watcher-notshutdown_LAPTOP-A3FDT9J3","created":"2022-12-05T12:52:48.080634+00:00","name":null,"type":"not_shutdown","client":"aw_my2sec","hostname":"LAPTOP-A3FDT9J3","last_updated":"2023-03-28T14:30:03.224000+00:00"}}
[2023-03-28 16:31:07.523] [info] Request to 127.0.0.1 executed
[2023-03-28 16:31:07.524] [info] ===============================
[2023-03-28 16:31:07.526] [info] ** Request 2: [::1] **
[2023-03-28 16:31:07.532] [error] Error: connect ECONNREFUSED ::1:5600
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16)
[2023-03-28 14:35:56.796] [info] Request to [::1] executed
[2023-03-28 14:35:56.798] [info]
[2023-03-28 14:35:56.799] [info] ------------------------< CONFIGURE JSAP >------------------------
[2023-03-28 14:35:56.803] [info] - modifying endpoint: ActivityWatch
[2023-03-28 14:35:56.804] [info] - modifying endpoint: AwApiRouter
[2023-03-28 14:35:56.805] [info] - modifying endpoint: My2secApi
[2023-03-28 14:35:56.806] [info] - modifying endpoint: MongoDbRouter
[2023-03-28 14:35:56.807] [info] {
[2023-03-28 16:31:07.533] [info] Request to [::1] executed
[2023-03-28 16:31:07.534] [info]
[2023-03-28 16:31:07.535] [info] ------------------------< CONFIGURE JSAP >------------------------
[2023-03-28 16:31:07.539] [info] - modifying endpoint: ActivityWatch
[2023-03-28 16:31:07.540] [info] - modifying endpoint: AwApiRouter
[2023-03-28 16:31:07.541] [info] - modifying endpoint: My2secApi
[2023-03-28 16:31:07.542] [info] - modifying endpoint: MongoDbRouter
[2023-03-28 16:31:07.543] [info] {
AwProducer: {
endpoints: {
Keycloak: 'https://keycloak.vaimee.org',
Expand All @@ -46,33 +46,33 @@
apiKey: 'd8f31b5a597d11be8f2037fbc3d7da3689a5c79dde45adc3fc12a457e0d76b94'
}
}
[2023-03-28 14:35:56.811] [info] 127.0.0.1:5600
[2023-03-28 14:35:56.815] [info] Preflight: testing ActivityWatch connection
[2023-03-28 14:35:56.822] [info] - AwApiRouter started
[2023-03-28 14:35:56.826] [info] STARTING PYTHON API IN DEV MODE
[2023-03-28 14:35:56.827] [info] Spawning python: C:\Users\Utente\git\my2sec\1_ActivityWatchProducer\PY\my2sec\main
[2023-03-28 14:35:56.867] [info] ** started python api
[2023-03-28 14:35:56.869] [info] - Python api started
[2023-03-28 14:35:56.875] [info] - MongoDbClient started
[2023-03-28 14:35:56.929] [info] aw api is listening on port 1340
[2023-03-28 14:35:57.298] [info] {"aw-watcher-afk_LAPTOP-A3FDT9J3": {"id": "aw-watcher-afk_LAPTOP-A3FDT9J3", "created": "2022-08-04T17:47:01.646448+00:00", "name": null, "type": "afkstatus", "client": "aw-watcher-afk", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-28T12:35:50.964000+00:00"}, "aw-watcher-window_LAPTOP-A3FDT9J3": {"id": "aw-watcher-window_LAPTOP-A3FDT9J3", "created": "2022-08-04T17:47:01.737074+00:00", "name": null, "type": "currentwindow", "client": "aw-watcher-window", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-28T12:35:55.142000+00:00"}, "aw-producer": {"id": "aw-producer", "created": "2022-08-05T13:09:01.586327+00:00", "name": null, "type": "sepaconnector", "client": "aw-producer", "hostname": "unknown", "last_updated": "2023-03-24T08:35:54.314000+00:00"}, "aw-watcher-scan_LAPTOP-A3FDT9J3": {"id": "aw-watcher-scan_LAPTOP-A3FDT9J3", "created": "2022-10-17T14:34:37.689112+00:00", "name": null, "type": "scan", "client": "aw-my2sec", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2022-12-05T09:23:36.384000+00:00"}, "aw-watcher-working_LAPTOP-A3FDT9J3": {"id": "aw-watcher-working_LAPTOP-A3FDT9J3", "created": "2022-10-17T14:36:22.826305+00:00", "name": null, "type": "working", "client": "aw-watcher-working", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-23T23:08:14.262000+00:00"}, "aw-watcher-start-stop_LAPTOP-A3FDT9J3": {"id": "aw-watcher-start-stop_LAPTOP-A3FDT9J3", "created": "2022-12-05T12:35:53.528196+00:00", "name": null, "type": "start-stop", "client": "aw_my2sec", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-28T12:33:28.324000+00:00"}, "aw-watcher-notshutdown_LAPTOP-A3FDT9J3": {"id": "aw-watcher-notshutdown_LAPTOP-A3FDT9J3", "created": "2022-12-05T12:52:48.080634+00:00", "name": null, "type": "not_shutdown", "client": "aw_my2sec", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-28T12:32:26.197000+00:00"}}
[2023-03-28 16:31:07.550] [info] 127.0.0.1:5600
[2023-03-28 16:31:07.555] [info] Preflight: testing ActivityWatch connection
[2023-03-28 16:31:07.560] [info] - AwApiRouter started
[2023-03-28 16:31:07.565] [info] STARTING PYTHON API IN DEV MODE
[2023-03-28 16:31:07.567] [info] Spawning python: C:\Users\Utente\git\my2sec\1_ActivityWatchProducer\PY\my2sec\main
[2023-03-28 16:31:07.603] [info] ** started python api
[2023-03-28 16:31:07.605] [info] - Python api started
[2023-03-28 16:31:07.611] [info] - MongoDbClient started
[2023-03-28 16:31:07.670] [info] aw api is listening on port 1340
[2023-03-28 16:31:08.051] [info] {"aw-watcher-afk_LAPTOP-A3FDT9J3": {"id": "aw-watcher-afk_LAPTOP-A3FDT9J3", "created": "2022-08-04T17:47:01.646448+00:00", "name": null, "type": "afkstatus", "client": "aw-watcher-afk", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-28T14:30:54.066000+00:00"}, "aw-watcher-window_LAPTOP-A3FDT9J3": {"id": "aw-watcher-window_LAPTOP-A3FDT9J3", "created": "2022-08-04T17:47:01.737074+00:00", "name": null, "type": "currentwindow", "client": "aw-watcher-window", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-28T14:31:05.284000+00:00"}, "aw-producer": {"id": "aw-producer", "created": "2022-08-05T13:09:01.586327+00:00", "name": null, "type": "sepaconnector", "client": "aw-producer", "hostname": "unknown", "last_updated": "2023-03-24T08:35:54.314000+00:00"}, "aw-watcher-scan_LAPTOP-A3FDT9J3": {"id": "aw-watcher-scan_LAPTOP-A3FDT9J3", "created": "2022-10-17T14:34:37.689112+00:00", "name": null, "type": "scan", "client": "aw-my2sec", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2022-12-05T09:23:36.384000+00:00"}, "aw-watcher-working_LAPTOP-A3FDT9J3": {"id": "aw-watcher-working_LAPTOP-A3FDT9J3", "created": "2022-10-17T14:36:22.826305+00:00", "name": null, "type": "working", "client": "aw-watcher-working", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-23T23:08:14.262000+00:00"}, "aw-watcher-start-stop_LAPTOP-A3FDT9J3": {"id": "aw-watcher-start-stop_LAPTOP-A3FDT9J3", "created": "2022-12-05T12:35:53.528196+00:00", "name": null, "type": "start-stop", "client": "aw_my2sec", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-28T14:30:16.889000+00:00"}, "aw-watcher-notshutdown_LAPTOP-A3FDT9J3": {"id": "aw-watcher-notshutdown_LAPTOP-A3FDT9J3", "created": "2022-12-05T12:52:48.080634+00:00", "name": null, "type": "not_shutdown", "client": "aw_my2sec", "hostname": "LAPTOP-A3FDT9J3", "last_updated": "2023-03-28T14:30:03.224000+00:00"}}

[2023-03-28 14:35:57.305] [info] DATASOURCE: OK!
[2023-03-28 16:31:08.055] [info] DATASOURCE: OK!

[2023-03-28 14:36:00.249] [error] stderr: [nltk_data] Downloading package stopwords to
[2023-03-28 16:31:11.273] [error] stderr: [nltk_data] Downloading package stopwords to
[nltk_data] C:\Users\Utente/nltk_data...

[2023-03-28 14:36:00.252] [error] stderr: [nltk_data] Package stopwords is already up-to-date!
[2023-03-28 16:31:11.276] [error] stderr: [nltk_data] Package stopwords is already up-to-date!
[nltk_data] Downloading package punkt to C:\Users\Utente/nltk_data...

[2023-03-28 14:36:00.287] [error] stderr: [nltk_data] Package punkt is already up-to-date!
[2023-03-28 16:31:11.323] [error] stderr: [nltk_data] Package punkt is already up-to-date!

[2023-03-28 14:36:00.304] [info] {
[2023-03-28 16:31:11.350] [info] {
type: 'Buffer',
data: [
49, 50, 55, 46, 48, 46, 48, 46, 49, 32, 45, 45,
32, 91, 50, 56, 47, 48, 51, 47, 50, 48, 50, 51,
32, 49, 52, 58, 51, 54, 58, 48, 48, 93, 32, 65,
32, 49, 54, 58, 51, 49, 58, 49, 49, 93, 32, 65,
80, 73, 58, 32, 65, 87, 83, 101, 114, 118, 101, 114,
32, 111, 110, 108, 105, 110, 101, 13, 10, 32, 42, 32,
83, 101, 114, 118, 105, 110, 103, 32, 70, 108, 97, 115,
Expand Down

0 comments on commit b29a4c2

Please sign in to comment.