python /home/admin/mtr/script_for_cron.py -j api -m 20 -a '-Dhttp.port=8998 -Dlogger.file=conf/logger.xml -Dhttps.keyStore=/home/admin/.https/marlene.fotonower.com-keystore.jks -Dhttps.keyStorePassword=mrvr220401 -Dhttps.port=4243 -Duser.language=fr' -s api -M 0 -S 0 -U 150,150,150 Play server process ID is 3522630 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. [info] play - database [default] connected at jdbc:mysql://sql.fotonower.com/MTRBack?useSSL=false&useUnicode=true&characterSetResults=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&character-set-client-handshake=FALSE&characterEncoding=utf-8&serverTimezone=Europe/Paris [info] application - [securesocial] loaded templates plugin: service.MyViews [info] play - Starting application default Akka system. [WARN] [07/18/2025 13:51:50.635] [main] [EventStream(akka://play)] [akka.event-handlers] config is deprecated, use [akka.loggers] [debug] application - [securesocial] calling deleteExpiredTokens() [info] application - [securesocial] loaded user service: class service.DBUserService [info] application - [securesocial] loaded password hasher bcrypt [info] application - [securesocial] loaded identity provider: userpass [debug] a.c.DBUserService - TOKEN expired token : Map() [debug] a.c.DBUserService - all token : Map() [info] play - Application started (Prod) [info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:8998 [info] play - Listening for HTTPS on port /0:0:0:0:0:0:0:0:4243 [warn] application - [securesocial] IMPORTANT: Play is running in production mode but you did not turn SSL on for SecureSocial.Not using SSL can make it really easy for an attacker to steal your users' credentials and/or the authenticator cookie and gain access to the system. getSimpleUser in getUserObj getSimpleUser in getUserObj getSimpleUser in getUserObj false false false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 List(25050138) List(25050138) List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 [error] application - ! @8a648cppf - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] token_used : Some(035006c8a8acff541e6b264f3a90e0b8) mtr_user_id : 739 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_50_05_29332.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4f44eaa0 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_49_36_30341.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4fa62690 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_49_05_30342.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@77935197 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_48_35_29348.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@588f8537 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_48_06_30353.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6ee5accd basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_47_35_30352.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@10899527 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25071833) [info] a.c.Photo - given_mtr_portfolio_id : Some(25071833) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1715418996608596842asTemporaryFile -n 0daccf124f947db3b0b55cc19cd96e69 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_50_05_29332.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1715418996608596842asTemporaryFile -n 0daccf124f947db3b0b55cc19cd96e69 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_51_55_10135.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@c39ccde basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_51_45_10132.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@38ca015 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_51_35_10134.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@377b5d78 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_51_25_10140.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3939d054 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_51_14_10136.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7b24a491 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_51_04_10165.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1d4e3fe8 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050138) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050138) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] list_hashtags : List([nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7637481486652610654asTemporaryFile -n 38a30556cafe24aab7f36ffbba171f29 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_51_55_10135.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7637481486652610654asTemporaryFile -n 38a30556cafe24aab7f36ffbba171f29 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_14_25_39590.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@17c5602d basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_15_06_40599.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5a50a542 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_15_45_39575.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2d20368b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_16_25_39659.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@519a22fb basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_17_06_40575.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6de2e4ed basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_17_45_39585.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@32c736a6 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2860439040757307938asTemporaryFile -n 1d8d33824beac9776d951d474564071f --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_14_25_39590.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2860439040757307938asTemporaryFile -n 1d8d33824beac9776d951d474564071f --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:04-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38242 (37K) [image/jpeg] Enregistre : «/tmp/0daccf124f947db3b0b55cc19cd96e69.jpg» 0K .......... .......... .......... ....... 100% 35,8M=0,001s 2025-07-18 13:52:04 (35,8 MB/s) - «/tmp/0daccf124f947db3b0b55cc19cd96e69.jpg» enregistré [38242/38242] --2025-07-18 13:52:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 227125 (222K) [image/jpeg] Enregistre : «/tmp/38a30556cafe24aab7f36ffbba171f29.jpg» 0K .......... .......... .......... .......... .......... 22% 2,47M 0s 50K .......... .......... .......... .......... .......... 45% 4,87M 0s 100K .......... .......... .......... .......... .......... 67% 64,6M 0s 150K .......... .......... .......... .......... .......... 90% 81,9M 0s 200K .......... .......... . 100% 2,51M=0,04s 2025-07-18 13:52:05 (5,47 MB/s) - «/tmp/38a30556cafe24aab7f36ffbba171f29.jpg» enregistré [227125/227125] --2025-07-18 13:52:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 242606 (237K) [image/jpeg] Enregistre : «/tmp/1d8d33824beac9776d951d474564071f.jpg» 0K .......... .......... .......... .......... .......... 21% 2,42M 0s 50K .......... .......... .......... .......... .......... 42% 4,96M 0s 100K .......... .......... .......... .......... .......... 63% 97,0M 0s 150K .......... .......... .......... .......... .......... 84% 5,18M 0s 200K .......... .......... .......... ...... 100% 131M=0,04s 2025-07-18 13:52:06 (5,76 MB/s) - «/tmp/1d8d33824beac9776d951d474564071f.jpg» enregistré [242606/242606] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1715418996608596842asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1715418996608596842asTemporaryFile : 38242 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69.jpg -O /tmp/0daccf124f947db3b0b55cc19cd96e69.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0daccf124f947db3b0b55cc19cd96e69-big.jpg : 33770 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0daccf124f947db3b0b55cc19cd96e69-medium.jpg : 11657 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0daccf124f947db3b0b55cc19cd96e69-small.jpg : 4115 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.409841 Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69.jpg", "TemporaryFile(/tmp/multipartBody1715418996608596842asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69-big.jpg", "TemporaryFile(/tmp/multipartBody1715418996608596842asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69-medium.jpg", "TemporaryFile(/tmp/multipartBody1715418996608596842asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0daccf124f947db3b0b55cc19cd96e69-small.jpg", "TemporaryFile(/tmp/multipartBody1715418996608596842asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518730 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518730" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4864677299068947502asTemporaryFile -n 3c4958460f578b7afdb2c8fba7f0e754 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_49_36_30341.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4864677299068947502asTemporaryFile -n 3c4958460f578b7afdb2c8fba7f0e754 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7637481486652610654asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7637481486652610654asTemporaryFile : 227125 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29.jpg -O /tmp/38a30556cafe24aab7f36ffbba171f29.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29-small.jpg type_mfp mfpopt2025 size_object of file /tmp/38a30556cafe24aab7f36ffbba171f29-big.jpg : 56911 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/38a30556cafe24aab7f36ffbba171f29-medium.jpg : 16593 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/38a30556cafe24aab7f36ffbba171f29-small.jpg : 5332 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.464731 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29.jpg", "TemporaryFile(/tmp/multipartBody7637481486652610654asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29-big.jpg", "TemporaryFile(/tmp/multipartBody7637481486652610654asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29-medium.jpg", "TemporaryFile(/tmp/multipartBody7637481486652610654asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38a30556cafe24aab7f36ffbba171f29-small.jpg", "TemporaryFile(/tmp/multipartBody7637481486652610654asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518731 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518731" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4678149010589441268asTemporaryFile -n dd8115c6e856ec2f72c9b9c554b899ed --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_51_45_10132.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4678149010589441268asTemporaryFile -n dd8115c6e856ec2f72c9b9c554b899ed --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 [error] application - ! @8a648d7a9 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2860439040757307938asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2860439040757307938asTemporaryFile : 242606 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f.jpg -O /tmp/1d8d33824beac9776d951d474564071f.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f-small.jpg type_mfp mfpopt2025 size_object of file /tmp/1d8d33824beac9776d951d474564071f-big.jpg : 99494 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1d8d33824beac9776d951d474564071f-medium.jpg : 23207 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1d8d33824beac9776d951d474564071f-small.jpg : 6221 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.687312 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f.jpg", "TemporaryFile(/tmp/multipartBody2860439040757307938asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f-big.jpg", "TemporaryFile(/tmp/multipartBody2860439040757307938asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f-medium.jpg", "TemporaryFile(/tmp/multipartBody2860439040757307938asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d8d33824beac9776d951d474564071f-small.jpg", "TemporaryFile(/tmp/multipartBody2860439040757307938asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518732 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518732" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2687764255086843752asTemporaryFile -n fb4f6e83af3ab9578b73e9c6c8398b8d --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_15_06_40599.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2687764255086843752asTemporaryFile -n fb4f6e83af3ab9578b73e9c6c8398b8d --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:08-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38271 (37K) [image/jpeg] Enregistre : «/tmp/3c4958460f578b7afdb2c8fba7f0e754.jpg» 0K .......... .......... .......... ....... 100% 90,3M=0s 2025-07-18 13:52:08 (90,3 MB/s) - «/tmp/3c4958460f578b7afdb2c8fba7f0e754.jpg» enregistré [38271/38271] --2025-07-18 13:52:09-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 209610 (205K) [image/jpeg] Enregistre : «/tmp/dd8115c6e856ec2f72c9b9c554b899ed.jpg» 0K .......... .......... .......... .......... .......... 24% 2,47M 0s 50K .......... .......... .......... .......... .......... 48% 5,02M 0s 100K .......... .......... .......... .......... .......... 73% 86,0M 0s 150K .......... .......... .......... .......... .......... 97% 60,4M 0s 200K .... 100% 68,4M=0,03s 2025-07-18 13:52:09 (6,46 MB/s) - «/tmp/dd8115c6e856ec2f72c9b9c554b899ed.jpg» enregistré [209610/209610] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 [error] application - ! @8a648d9p3 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] --2025-07-18 13:52:09-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 244873 (239K) [image/jpeg] Enregistre : «/tmp/fb4f6e83af3ab9578b73e9c6c8398b8d.jpg» 0K .......... .......... .......... .......... .......... 20% 2,43M 0s 50K .......... .......... .......... .......... .......... 41% 4,93M 0s 100K .......... .......... .......... .......... .......... 62% 97,0M 0s 150K .......... .......... .......... .......... .......... 83% 123M 0s 200K .......... .......... .......... ......... 100% 4,06M=0,04s 2025-07-18 13:52:09 (5,80 MB/s) - «/tmp/fb4f6e83af3ab9578b73e9c6c8398b8d.jpg» enregistré [244873/244873] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 [error] application - ! @8a648db40 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 [error] application - ! @8a648dbdk - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 [error] application - ! @8a648dboj - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4864677299068947502asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4864677299068947502asTemporaryFile : 38271 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754.jpg -O /tmp/3c4958460f578b7afdb2c8fba7f0e754.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754-small.jpg type_mfp mfpopt2025 size_object of file /tmp/3c4958460f578b7afdb2c8fba7f0e754-big.jpg : 33818 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3c4958460f578b7afdb2c8fba7f0e754-medium.jpg : 11680 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3c4958460f578b7afdb2c8fba7f0e754-small.jpg : 4110 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.099195 Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4678149010589441268asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4678149010589441268asTemporaryFile : 209610 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed.jpg -O /tmp/dd8115c6e856ec2f72c9b9c554b899ed.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed-small.jpg type_mfp mfpopt2025 size_object of file /tmp/dd8115c6e856ec2f72c9b9c554b899ed-big.jpg : 53855 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/dd8115c6e856ec2f72c9b9c554b899ed-medium.jpg : 16260 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/dd8115c6e856ec2f72c9b9c554b899ed-small.jpg : 5298 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.448245 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754.jpg", "TemporaryFile(/tmp/multipartBody4864677299068947502asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed.jpg", "TemporaryFile(/tmp/multipartBody4678149010589441268asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 [error] application - ! @8a648dcak - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754-big.jpg", "TemporaryFile(/tmp/multipartBody4864677299068947502asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed-big.jpg", "TemporaryFile(/tmp/multipartBody4678149010589441268asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754-medium.jpg", "TemporaryFile(/tmp/multipartBody4864677299068947502asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed-medium.jpg", "TemporaryFile(/tmp/multipartBody4678149010589441268asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3c4958460f578b7afdb2c8fba7f0e754-small.jpg", "TemporaryFile(/tmp/multipartBody4864677299068947502asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8115c6e856ec2f72c9b9c554b899ed-small.jpg", "TemporaryFile(/tmp/multipartBody4678149010589441268asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 latitude : 0.0 longitude : 0.0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518739 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518739" [info] a.models.Photo - source_id_submit_photo from insertion : 379518740 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518740" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5199595835284214541asTemporaryFile -n 586fb3d9a6a0f1016d7f18e5baba38b8 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_49_05_30342.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5199595835284214541asTemporaryFile -n 586fb3d9a6a0f1016d7f18e5baba38b8 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3319091714932383290asTemporaryFile -n 059dc73f119d90437ca5e8a94f2f537a --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_51_35_10134.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3319091714932383290asTemporaryFile -n 059dc73f119d90437ca5e8a94f2f537a --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 [error] application - ! @8a648dcmj - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2687764255086843752asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2687764255086843752asTemporaryFile : 244873 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d.jpg -O /tmp/fb4f6e83af3ab9578b73e9c6c8398b8d.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d-small.jpg type_mfp mfpopt2025 size_object of file /tmp/fb4f6e83af3ab9578b73e9c6c8398b8d-big.jpg : 101618 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/fb4f6e83af3ab9578b73e9c6c8398b8d-medium.jpg : 23539 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/fb4f6e83af3ab9578b73e9c6c8398b8d-small.jpg : 6303 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.495096 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d.jpg", "TemporaryFile(/tmp/multipartBody2687764255086843752asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 [error] application - ! @8a648dd7k - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d-big.jpg", "TemporaryFile(/tmp/multipartBody2687764255086843752asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d-medium.jpg", "TemporaryFile(/tmp/multipartBody2687764255086843752asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb4f6e83af3ab9578b73e9c6c8398b8d-small.jpg", "TemporaryFile(/tmp/multipartBody2687764255086843752asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518741 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518741" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1075531601539385212asTemporaryFile -n ef7b0d68b308c3b05936d3e03dbd0d68 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_15_45_39575.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1075531601539385212asTemporaryFile -n ef7b0d68b308c3b05936d3e03dbd0d68 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:12-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 [error] application - ! @8a648df2k - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] 200 OK Taille : 38277 (37K) [image/jpeg] Enregistre : «/tmp/586fb3d9a6a0f1016d7f18e5baba38b8.jpg» 0K .......... .......... .......... ....... 100% 116M=0s 2025-07-18 13:52:13 (116 MB/s) - «/tmp/586fb3d9a6a0f1016d7f18e5baba38b8.jpg» enregistré [38277/38277] --2025-07-18 13:52:13-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 210261 (205K) [image/jpeg] Enregistre : «/tmp/059dc73f119d90437ca5e8a94f2f537a.jpg» 0K .......... .......... .......... .......... .......... 24% 4,85M 0s 50K .......... .......... .......... .......... .......... 48% 4,93M 0s 100K .......... .......... .......... .......... .......... 73% 124M 0s 150K .......... .......... .......... .......... .......... 97% 5,08M 0s 200K ..... 100% 10172G=0,03s 2025-07-18 13:52:13 (6,69 MB/s) - «/tmp/059dc73f119d90437ca5e8a94f2f537a.jpg» enregistré [210261/210261] --2025-07-18 13:52:13-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 246226 (240K) [image/jpeg] Enregistre : «/tmp/ef7b0d68b308c3b05936d3e03dbd0d68.jpg» 0K .......... .......... .......... .......... .......... 20% 4,81M 0s 50K .......... .......... .......... .......... .......... 41% 4,83M 0s 100K .......... .......... .......... .......... .......... 62% 120M 0s 150K .......... .......... .......... .......... .......... 83% 5,05M 0s 200K .......... .......... .......... .......... 100% 141M=0,03s 2025-07-18 13:52:13 (7,67 MB/s) - «/tmp/ef7b0d68b308c3b05936d3e03dbd0d68.jpg» enregistré [246226/246226] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5199595835284214541asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5199595835284214541asTemporaryFile : 38277 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8.jpg -O /tmp/586fb3d9a6a0f1016d7f18e5baba38b8.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8-small.jpg type_mfp mfpopt2025 size_object of file /tmp/586fb3d9a6a0f1016d7f18e5baba38b8-big.jpg : 33758 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/586fb3d9a6a0f1016d7f18e5baba38b8-medium.jpg : 11654 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/586fb3d9a6a0f1016d7f18e5baba38b8-small.jpg : 4106 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.388790 Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8.jpg", "TemporaryFile(/tmp/multipartBody5199595835284214541asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8-big.jpg", "TemporaryFile(/tmp/multipartBody5199595835284214541asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8-medium.jpg", "TemporaryFile(/tmp/multipartBody5199595835284214541asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/586fb3d9a6a0f1016d7f18e5baba38b8-small.jpg", "TemporaryFile(/tmp/multipartBody5199595835284214541asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518742 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518742" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3319091714932383290asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3319091714932383290asTemporaryFile : 210261 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a.jpg -O /tmp/059dc73f119d90437ca5e8a94f2f537a.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a-small.jpg type_mfp mfpopt2025 size_object of file /tmp/059dc73f119d90437ca5e8a94f2f537a-big.jpg : 54043 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/059dc73f119d90437ca5e8a94f2f537a-medium.jpg : 16253 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/059dc73f119d90437ca5e8a94f2f537a-small.jpg : 5294 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.546140 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a.jpg", "TemporaryFile(/tmp/multipartBody3319091714932383290asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a-big.jpg", "TemporaryFile(/tmp/multipartBody3319091714932383290asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody404458513663740741asTemporaryFile -n 78c03e0cebf64f5f90b59462d2c685ad --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_48_35_29348.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody404458513663740741asTemporaryFile -n 78c03e0cebf64f5f90b59462d2c685ad --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a-medium.jpg", "TemporaryFile(/tmp/multipartBody3319091714932383290asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059dc73f119d90437ca5e8a94f2f537a-small.jpg", "TemporaryFile(/tmp/multipartBody3319091714932383290asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518743 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518743" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody805329134804125895asTemporaryFile -n ed333bb748f17317cd318bd6eec7bb47 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_51_25_10140.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody805329134804125895asTemporaryFile -n ed333bb748f17317cd318bd6eec7bb47 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 [error] application - ! @8a648dikc - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1075531601539385212asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1075531601539385212asTemporaryFile : 246226 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68.jpg -O /tmp/ef7b0d68b308c3b05936d3e03dbd0d68.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ef7b0d68b308c3b05936d3e03dbd0d68-big.jpg : 101943 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ef7b0d68b308c3b05936d3e03dbd0d68-medium.jpg : 23670 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ef7b0d68b308c3b05936d3e03dbd0d68-small.jpg : 6367 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.827962 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68.jpg", "TemporaryFile(/tmp/multipartBody1075531601539385212asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68-big.jpg", "TemporaryFile(/tmp/multipartBody1075531601539385212asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68-medium.jpg", "TemporaryFile(/tmp/multipartBody1075531601539385212asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef7b0d68b308c3b05936d3e03dbd0d68-small.jpg", "TemporaryFile(/tmp/multipartBody1075531601539385212asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518744 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518744" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5038448977023386517asTemporaryFile -n 7b59569ca61a40237676b5897aeb45b4 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_16_25_39659.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5038448977023386517asTemporaryFile -n 7b59569ca61a40237676b5897aeb45b4 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:16-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38490 (38K) [image/jpeg] Enregistre : «/tmp/78c03e0cebf64f5f90b59462d2c685ad.jpg» 0K .......... .......... .......... ....... 100% 104M=0s 2025-07-18 13:52:16 (104 MB/s) - «/tmp/78c03e0cebf64f5f90b59462d2c685ad.jpg» enregistré [38490/38490] --2025-07-18 13:52:17-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 210316 (205K) [image/jpeg] Enregistre : «/tmp/ed333bb748f17317cd318bd6eec7bb47.jpg» 0K .......... .......... .......... .......... .......... 24% 1,97M 0s 50K .......... .......... .......... .......... .......... 48% 5,12M 0s 100K .......... .......... .......... .......... .......... 73% 62,8M 0s 150K .......... .......... .......... .......... .......... 97% 5,32M 0s 200K ..... 100% 66,3M=0,04s 2025-07-18 13:52:17 (4,52 MB/s) - «/tmp/ed333bb748f17317cd318bd6eec7bb47.jpg» enregistré [210316/210316] --2025-07-18 13:52:17-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 247239 (241K) [image/jpeg] Enregistre : «/tmp/7b59569ca61a40237676b5897aeb45b4.jpg» 0K .......... .......... .......... .......... .......... 20% 4,81M 0s 50K .......... .......... .......... .......... .......... 41% 4,86M 0s 100K .......... .......... .......... .......... .......... 62% 105M 0s 150K .......... .......... .......... .......... .......... 82% 5,11M 0s 200K .......... .......... .......... .......... . 100% 113M=0,03s 2025-07-18 13:52:17 (7,71 MB/s) - «/tmp/7b59569ca61a40237676b5897aeb45b4.jpg» enregistré [247239/247239] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody404458513663740741asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody404458513663740741asTemporaryFile : 38490 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad.jpg -O /tmp/78c03e0cebf64f5f90b59462d2c685ad.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad-small.jpg type_mfp mfpopt2025 size_object of file /tmp/78c03e0cebf64f5f90b59462d2c685ad-big.jpg : 33881 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/78c03e0cebf64f5f90b59462d2c685ad-medium.jpg : 11643 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/78c03e0cebf64f5f90b59462d2c685ad-small.jpg : 4107 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.489463 Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad.jpg", "TemporaryFile(/tmp/multipartBody404458513663740741asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad-big.jpg", "TemporaryFile(/tmp/multipartBody404458513663740741asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad-medium.jpg", "TemporaryFile(/tmp/multipartBody404458513663740741asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78c03e0cebf64f5f90b59462d2c685ad-small.jpg", "TemporaryFile(/tmp/multipartBody404458513663740741asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 145 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518745 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518745" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4132289902246575151asTemporaryFile -n 8caf985faecfb0cf511bae968d66b16c --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_48_06_30353.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4132289902246575151asTemporaryFile -n 8caf985faecfb0cf511bae968d66b16c --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody805329134804125895asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody805329134804125895asTemporaryFile : 210316 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47.jpg -O /tmp/ed333bb748f17317cd318bd6eec7bb47.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ed333bb748f17317cd318bd6eec7bb47-big.jpg : 54005 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ed333bb748f17317cd318bd6eec7bb47-medium.jpg : 16293 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ed333bb748f17317cd318bd6eec7bb47-small.jpg : 5292 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.246890 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47.jpg", "TemporaryFile(/tmp/multipartBody805329134804125895asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47-big.jpg", "TemporaryFile(/tmp/multipartBody805329134804125895asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47-medium.jpg", "TemporaryFile(/tmp/multipartBody805329134804125895asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5038448977023386517asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5038448977023386517asTemporaryFile : 247239 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4.jpg -O /tmp/7b59569ca61a40237676b5897aeb45b4.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4-small.jpg type_mfp mfpopt2025 size_object of file /tmp/7b59569ca61a40237676b5897aeb45b4-big.jpg : 102163 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7b59569ca61a40237676b5897aeb45b4-medium.jpg : 23734 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7b59569ca61a40237676b5897aeb45b4-small.jpg : 6361 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.553453 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4.jpg", "TemporaryFile(/tmp/multipartBody5038448977023386517asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ed333bb748f17317cd318bd6eec7bb47-small.jpg", "TemporaryFile(/tmp/multipartBody805329134804125895asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4-big.jpg", "TemporaryFile(/tmp/multipartBody5038448977023386517asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - source_id_submit_photo from insertion : 379518746 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518746" [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4-medium.jpg", "TemporaryFile(/tmp/multipartBody5038448977023386517asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b59569ca61a40237676b5897aeb45b4-small.jpg", "TemporaryFile(/tmp/multipartBody5038448977023386517asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5370912400731299410asTemporaryFile -n c05f80b1fd236d03e67f453118ecfef6 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_51_14_10136.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5370912400731299410asTemporaryFile -n c05f80b1fd236d03e67f453118ecfef6 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518747 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518747" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9108003014031686528asTemporaryFile -n dc9f46eaca3c5aecdc369417eebb2ce7 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_17_06_40575.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9108003014031686528asTemporaryFile -n dc9f46eaca3c5aecdc369417eebb2ce7 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:20-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38495 (38K) [image/jpeg] Enregistre : «/tmp/8caf985faecfb0cf511bae968d66b16c.jpg» 0K .......... .......... .......... ....... 100% 3,52M=0,01s 2025-07-18 13:52:20 (3,52 MB/s) - «/tmp/8caf985faecfb0cf511bae968d66b16c.jpg» enregistré [38495/38495] --2025-07-18 13:52:21-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. --2025-07-18 13:52:21-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… requête HTTP transmise, en attente de la réponse… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 178494 (174K) [image/jpeg] Enregistre : «/tmp/c05f80b1fd236d03e67f453118ecfef6.jpg» 0K .200 OK Taille : 246004 (240K) [image/jpeg] Enregistre : «/tmp/dc9f46eaca3c5aecdc369417eebb2ce7.jpg» ......... .......... .......... ... 0K .......... .......... ............. .......... 28% 2,39M 0s 50K .......... .......... .......... ..... .......... .......... 20% 2,38M 0s 50K .......... .......... ........... .......... 57% 4,88M 0s 100K .......... .......... .......... .......... .......... 86% 111M 0s 150K .......... .......... .... 100% 66,9M=0,03s 2025-07-18 13:52:21 (5,45 MB/s) - «/tmp/c05f80b1fd236d03e67f453118ecfef6.jpg» enregistré [178494/178494] ........ .......... .......... 41% 5,44M 0s 100K .......... .......... .......... .......... .......... 62% 37,2M 0s 150K .......... .......... .......... .......... .......... 83% 5,59M 0s 200K .......... .......... .......... .......... 100% 42,1M=0,04s 2025-07-18 13:52:21 (5,80 MB/s) - «/tmp/dc9f46eaca3c5aecdc369417eebb2ce7.jpg» enregistré [246004/246004] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4132289902246575151asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4132289902246575151asTemporaryFile : 38495 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c.jpg -O /tmp/8caf985faecfb0cf511bae968d66b16c.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c-small.jpg type_mfp mfpopt2025 size_object of file /tmp/8caf985faecfb0cf511bae968d66b16c-big.jpg : 33854 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8caf985faecfb0cf511bae968d66b16c-medium.jpg : 11729 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8caf985faecfb0cf511bae968d66b16c-small.jpg : 4113 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.402316 Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 145 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3431 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 145 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3431 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c.jpg", "TemporaryFile(/tmp/multipartBody4132289902246575151asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c-big.jpg", "TemporaryFile(/tmp/multipartBody4132289902246575151asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c-medium.jpg", "TemporaryFile(/tmp/multipartBody4132289902246575151asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8caf985faecfb0cf511bae968d66b16c-small.jpg", "TemporaryFile(/tmp/multipartBody4132289902246575151asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 145 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3431 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518748 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518748" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8165397424343644159asTemporaryFile -n 52dd3939510833d06e43e18167440adb --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_47_35_30352.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8165397424343644159asTemporaryFile -n 52dd3939510833d06e43e18167440adb --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5370912400731299410asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5370912400731299410asTemporaryFile : 178494 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6.jpg -O /tmp/c05f80b1fd236d03e67f453118ecfef6.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c05f80b1fd236d03e67f453118ecfef6-big.jpg : 47350 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c05f80b1fd236d03e67f453118ecfef6-medium.jpg : 15631 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c05f80b1fd236d03e67f453118ecfef6-small.jpg : 5326 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.572704 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3624 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3624 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6.jpg", "TemporaryFile(/tmp/multipartBody5370912400731299410asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6-big.jpg", "TemporaryFile(/tmp/multipartBody5370912400731299410asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6-medium.jpg", "TemporaryFile(/tmp/multipartBody5370912400731299410asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c05f80b1fd236d03e67f453118ecfef6-small.jpg", "TemporaryFile(/tmp/multipartBody5370912400731299410asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3624 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518749 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518749" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5762582297379483297asTemporaryFile -n e09b17493236e3993c8a0b63109cffe6 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_51_04_10165.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5762582297379483297asTemporaryFile -n e09b17493236e3993c8a0b63109cffe6 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9108003014031686528asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9108003014031686528asTemporaryFile : 246004 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7.jpg -O /tmp/dc9f46eaca3c5aecdc369417eebb2ce7.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7-small.jpg type_mfp mfpopt2025 size_object of file /tmp/dc9f46eaca3c5aecdc369417eebb2ce7-big.jpg : 102104 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/dc9f46eaca3c5aecdc369417eebb2ce7-medium.jpg : 23643 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/dc9f46eaca3c5aecdc369417eebb2ce7-small.jpg : 6361 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.893520 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3921 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3921 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7.jpg", "TemporaryFile(/tmp/multipartBody9108003014031686528asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7-big.jpg", "TemporaryFile(/tmp/multipartBody9108003014031686528asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7-medium.jpg", "TemporaryFile(/tmp/multipartBody9108003014031686528asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dc9f46eaca3c5aecdc369417eebb2ce7-small.jpg", "TemporaryFile(/tmp/multipartBody9108003014031686528asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3921 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518750 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518750" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7643324472165840037asTemporaryFile -n b2ff1196c9b0c88525d8d09681e3dea6 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_17_45_39585.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7643324472165840037asTemporaryFile -n b2ff1196c9b0c88525d8d09681e3dea6 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:24-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38557 (38K) [image/jpeg] Enregistre : «/tmp/52dd3939510833d06e43e18167440adb.jpg» 0K .......... .......... .......... ....... 100% 3,68M=0,01s 2025-07-18 13:52:24 (3,68 MB/s) - «/tmp/52dd3939510833d06e43e18167440adb.jpg» enregistré [38557/38557] --2025-07-18 13:52:25-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 181936 (178K) [image/jpeg] Enregistre : «/tmp/e09b17493236e3993c8a0b63109cffe6.jpg» 0K .......... .......... .......... .......... .......... 28% 4,83M 0s 50K .......... .......... .......... .......... .......... 56% 4,90M 0s 100K .......... .......... .......... .......... .......... 84% 93,5M 0s 150K .......... .......... ....... 100% 127M=0,02s 2025-07-18 13:52:25 (8,35 MB/s) - «/tmp/e09b17493236e3993c8a0b63109cffe6.jpg» enregistré [181936/181936] --2025-07-18 13:52:25-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 246256 (240K) [image/jpeg] Enregistre : «/tmp/b2ff1196c9b0c88525d8d09681e3dea6.jpg» 0K .......... .......... .......... .......... .......... 20% 2,48M 0s 50K .......... .......... .......... .......... .......... 41% 4,85M 0s 100K .......... .......... .......... .......... .......... 62% 107M 0s 150K .......... .......... .......... .......... .......... 83% 5,19M 0s 200K .......... .......... .......... .......... 100% 97,3M=0,04s 2025-07-18 13:52:25 (5,87 MB/s) - «/tmp/b2ff1196c9b0c88525d8d09681e3dea6.jpg» enregistré [246256/246256] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8165397424343644159asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8165397424343644159asTemporaryFile : 38557 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb.jpg -O /tmp/52dd3939510833d06e43e18167440adb.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb-small.jpg type_mfp mfpopt2025 size_object of file /tmp/52dd3939510833d06e43e18167440adb-big.jpg : 33905 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/52dd3939510833d06e43e18167440adb-medium.jpg : 11683 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/52dd3939510833d06e43e18167440adb-small.jpg : 4111 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.408056 Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 145 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3431 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 3443 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 145 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3431 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 3443 Before insertPortfolioPhotoId , duration 24 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb.jpg", "TemporaryFile(/tmp/multipartBody8165397424343644159asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb-big.jpg", "TemporaryFile(/tmp/multipartBody8165397424343644159asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 [error] application - ! @8a648e8aj - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb-medium.jpg", "TemporaryFile(/tmp/multipartBody8165397424343644159asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52dd3939510833d06e43e18167440adb-small.jpg", "TemporaryFile(/tmp/multipartBody8165397424343644159asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 145 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3431 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 3443 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518751 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518751" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25071833) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631561, 1372631570, 1372631573, 1372631576, 1372631579, 1372631582) 0 [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 [error] application - ! @8a648e8jd - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25071833, 1372631573,1372631573, "1" ,0,739, NOW()), (25071833, 1372631582,1372631582, "1" ,0,739, NOW()), (25071833, 1372631576,1372631576, "1" ,0,739, NOW()), (25071833, 1372631561,1372631561, "1" ,0,739, NOW()), (25071833, 1372631579,1372631579, "1" ,0,739, NOW()), (25071833, 1372631570,1372631570, "1" ,0,739, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 [error] application - ! @8a648e927 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 145 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3431 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 3443 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 138After insertPortfolioPhotoId , duration 26 : 382 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5762582297379483297asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5762582297379483297asTemporaryFile : 181936 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6.jpg -O /tmp/e09b17493236e3993c8a0b63109cffe6.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6-small.jpg type_mfp mfpopt2025 size_object of file /tmp/e09b17493236e3993c8a0b63109cffe6-big.jpg : 46497 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e09b17493236e3993c8a0b63109cffe6-medium.jpg : 15017 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e09b17493236e3993c8a0b63109cffe6-small.jpg : 5158 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.427410 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3624 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3461 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3624 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3461 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6.jpg", "TemporaryFile(/tmp/multipartBody5762582297379483297asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6-big.jpg", "TemporaryFile(/tmp/multipartBody5762582297379483297asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6-medium.jpg", "TemporaryFile(/tmp/multipartBody5762582297379483297asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e09b17493236e3993c8a0b63109cffe6-small.jpg", "TemporaryFile(/tmp/multipartBody5762582297379483297asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3624 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3461 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 152 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518752 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518752" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050138) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631562, 1372631571, 1372631574, 1372631577, 1372631580, 1372631583) 0 0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050138, 1372631571,1372631571, "1" ,0,979, NOW()), (25050138, 1372631574,1372631574, "1" ,0,979, NOW()), (25050138, 1372631580,1372631580, "1" ,0,979, NOW()), (25050138, 1372631583,1372631583, "1" ,0,979, NOW()), (25050138, 1372631577,1372631577, "1" ,0,979, NOW()), (25050138, 1372631562,1372631562, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7643324472165840037asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7643324472165840037asTemporaryFile : 246256 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6.jpg -O /tmp/b2ff1196c9b0c88525d8d09681e3dea6.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6-small.jpg type_mfp mfpopt2025 size_object of file /tmp/b2ff1196c9b0c88525d8d09681e3dea6-big.jpg : 102199 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/b2ff1196c9b0c88525d8d09681e3dea6-medium.jpg : 23646 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/b2ff1196c9b0c88525d8d09681e3dea6-small.jpg : 6349 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.484978 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3921 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3525 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3921 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3525 Before insertPortfolioPhotoId , duration 24 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6.jpg", "TemporaryFile(/tmp/multipartBody7643324472165840037asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6-big.jpg", "TemporaryFile(/tmp/multipartBody7643324472165840037asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6-medium.jpg", "TemporaryFile(/tmp/multipartBody7643324472165840037asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3624 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3461 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 152After insertPortfolioPhotoId , duration 26 : 399 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2ff1196c9b0c88525d8d09681e3dea6-small.jpg", "TemporaryFile(/tmp/multipartBody7643324472165840037asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3921 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3525 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518759 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518759" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25057218) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631563, 1372631572, 1372631575, 1372631578, 1372631581, 1372631590) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631590,1372631590, "1" ,0,991, NOW()), (25057218, 1372631578,1372631578, "1" ,0,991, NOW()), (25057218, 1372631572,1372631572, "1" ,0,991, NOW()), (25057218, 1372631581,1372631581, "1" ,0,991, NOW()), (25057218, 1372631575,1372631575, "1" ,0,991, NOW()), (25057218, 1372631563,1372631563, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3921 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3525 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 139After insertPortfolioPhotoId , duration 26 : 360 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 56 Before photo_uploader , duration 2 : 44.After photo_uploader , duration 3 : 3489 Before insertPortfolioPhotoId , duration 4 : 18.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 113.After photo_uploader , duration 7 : 4160 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3443 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 103.After photo_uploader , duration 15 : 3545 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 145 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3431 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 3443 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 138After insertPortfolioPhotoId , duration 26 : 382 About to finish After with svm , duration 27 : 2902 actions to do : and mtr_user_id : 739 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3307389 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3490 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 3499 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 149 Before photo_uploader , duration 10 : 112.After photo_uploader , duration 11 : 3640 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 140 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4293 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3624 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3461 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 152After insertPortfolioPhotoId , duration 26 : 399 About to finish After with svm , duration 27 : 3005 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3731 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 146 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3493 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3867 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 146 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3570 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3921 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3525 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 139After insertPortfolioPhotoId , duration 26 : 360 About to finish After with svm , duration 27 : 2940 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3307389 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3307389 Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_18_26_40662.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@53e8467a basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_19_06_39584.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@798afda8 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_19_45_39606.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@65d42d0f basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_20_26_40750.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3ac14df8 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_21_06_39635.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2b0b074c basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_21_45_39604.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@542d838 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6162390846374985080asTemporaryFile -n 48bf1ec811ee7c4e05dfd383882094b3 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_18_26_40662.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6162390846374985080asTemporaryFile -n 48bf1ec811ee7c4e05dfd383882094b3 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:44-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 241522 (236K) [image/jpeg] Enregistre : «/tmp/48bf1ec811ee7c4e05dfd383882094b3.jpg» 0K .......... .......... .......... .......... .......... 21% 2,41M 0s 50K .......... .......... .......... .......... .......... 42% 4,98M 0s 100K .......... .......... .......... .......... .......... 63% 81,4M 0s 150K .......... .......... .......... .......... .......... 84% 5,13M 0s 200K .......... .......... .......... ..... 100% 126M=0,04s 2025-07-18 13:52:44 (5,70 MB/s) - «/tmp/48bf1ec811ee7c4e05dfd383882094b3.jpg» enregistré [241522/241522] token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_21062025_12_47_07_10496.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3e5f6589 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_21062025_12_46_56_8986.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3a3f9330 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_21062025_12_46_47_10228.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@22afeb27 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(24230041) [info] a.c.Photo - given_mtr_portfolio_id : Some(24230041) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4307083461093467914asTemporaryFile -n ac259b85b6985df92fdc6f318ec1805e --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_47_07_10496.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4307083461093467914asTemporaryFile -n ac259b85b6985df92fdc6f318ec1805e --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6162390846374985080asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6162390846374985080asTemporaryFile : 241522 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3.jpg -O /tmp/48bf1ec811ee7c4e05dfd383882094b3.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3-small.jpg type_mfp mfpopt2025 size_object of file /tmp/48bf1ec811ee7c4e05dfd383882094b3-big.jpg : 101325 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/48bf1ec811ee7c4e05dfd383882094b3-medium.jpg : 23576 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/48bf1ec811ee7c4e05dfd383882094b3-small.jpg : 6333 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.974693 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3.jpg", "TemporaryFile(/tmp/multipartBody6162390846374985080asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3-big.jpg", "TemporaryFile(/tmp/multipartBody6162390846374985080asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3-medium.jpg", "TemporaryFile(/tmp/multipartBody6162390846374985080asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/48bf1ec811ee7c4e05dfd383882094b3-small.jpg", "TemporaryFile(/tmp/multipartBody6162390846374985080asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518760 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518760" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9160071009249512430asTemporaryFile -n b2a0fd0b8a1c4d382ef77e856164beb9 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_19_06_39584.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9160071009249512430asTemporaryFile -n b2a0fd0b8a1c4d382ef77e856164beb9 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:47-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1075483 (1,0M) [image/jpeg] Enregistre : «/tmp/ac259b85b6985df92fdc6f318ec1805e.jpg» 0K .......... .......... .......... .......... .......... 4% 2,40M 0s 50K .......... .......... .......... .......... .......... 9% 4,89M 0s 100K .......... .......... .......... .......... .......... 14% 127M 0s 150K .......... .......... .......... .......... .......... 19% 5,05M 0s 200K .......... .......... .......... .......... .......... 23% 113M 0s 250K .......... .......... .......... .......... .......... 28% 128M 0s 300K .......... .......... .......... .......... .......... 33% 105M 0s 350K .......... .......... .......... .......... .......... 38% 5,58M 0s 400K .......... .......... .......... .......... .......... 42% 122M 0s 450K .......... .......... .......... .......... .......... 47% 130M 0s 500K .......... .......... .......... .......... .......... 52% 96,8M 0s 550K .......... .......... .......... .......... .......... 57% 127M 0s 600K .......... .......... .......... .......... .......... 61% 113M 0s 650K .......... .......... .......... .......... .......... 66% 105M 0s 700K .......... .......... .......... .......... .......... 71% 6,83M 0s 750K .......... .......... .......... .......... .......... 76% 94,8M 0s 800K .......... .......... .......... .......... .......... 80% 123M 0s 850K .......... .......... .......... .......... .......... 85% 115M 0s 900K .......... .......... .......... .......... .......... 90% 102M 0s 950K .......... .......... .......... .......... .......... 95% 114M 0s 1000K .......... .......... .......... .......... .......... 99% 127M 0s 1050K 100% 527G=0,06s 2025-07-18 13:52:48 (16,4 MB/s) - «/tmp/ac259b85b6985df92fdc6f318ec1805e.jpg» enregistré [1075483/1075483] --2025-07-18 13:52:49-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 241892 (236K) [image/jpeg] Enregistre : «/tmp/b2a0fd0b8a1c4d382ef77e856164beb9.jpg» 0K .......... .......... .......... .......... .......... 21% 2,48M 0s 50K .......... .......... .......... .......... .......... 42% 4,91M 0s 100K .......... .......... .......... .......... .......... 63% 112M 0s 150K .......... .......... .......... .......... .......... 84% 110M 0s 200K .......... .......... .......... ...... 100% 3,78M=0,04s 2025-07-18 13:52:49 (5,78 MB/s) - «/tmp/b2a0fd0b8a1c4d382ef77e856164beb9.jpg» enregistré [241892/241892] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4307083461093467914asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4307083461093467914asTemporaryFile : 1075483 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e.jpg -O /tmp/ac259b85b6985df92fdc6f318ec1805e.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ac259b85b6985df92fdc6f318ec1805e-big.jpg : 64869 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ac259b85b6985df92fdc6f318ec1805e-medium.jpg : 14947 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ac259b85b6985df92fdc6f318ec1805e-small.jpg : 3981 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.130951 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e.jpg", "TemporaryFile(/tmp/multipartBody4307083461093467914asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e-big.jpg", "TemporaryFile(/tmp/multipartBody4307083461093467914asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e-medium.jpg", "TemporaryFile(/tmp/multipartBody4307083461093467914asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ac259b85b6985df92fdc6f318ec1805e-small.jpg", "TemporaryFile(/tmp/multipartBody4307083461093467914asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518767 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518767" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6257697710001632890asTemporaryFile -n 46205c29b3b79279f5bb61065297d5a8 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_56_8986.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6257697710001632890asTemporaryFile -n 46205c29b3b79279f5bb61065297d5a8 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9160071009249512430asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9160071009249512430asTemporaryFile : 241892 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9.jpg -O /tmp/b2a0fd0b8a1c4d382ef77e856164beb9.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9-small.jpg type_mfp mfpopt2025 size_object of file /tmp/b2a0fd0b8a1c4d382ef77e856164beb9-big.jpg : 101030 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/b2a0fd0b8a1c4d382ef77e856164beb9-medium.jpg : 23470 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/b2a0fd0b8a1c4d382ef77e856164beb9-small.jpg : 6313 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.915227 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9.jpg", "TemporaryFile(/tmp/multipartBody9160071009249512430asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9-big.jpg", "TemporaryFile(/tmp/multipartBody9160071009249512430asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9-medium.jpg", "TemporaryFile(/tmp/multipartBody9160071009249512430asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b2a0fd0b8a1c4d382ef77e856164beb9-small.jpg", "TemporaryFile(/tmp/multipartBody9160071009249512430asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518768 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518768" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7837479729560182299asTemporaryFile -n edbd638ae973bd1e4b0183063d5625f0 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_19_45_39606.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7837479729560182299asTemporaryFile -n edbd638ae973bd1e4b0183063d5625f0 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:52-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1086617 (1,0M) [image/jpeg] Enregistre : «/tmp/46205c29b3b79279f5bb61065297d5a8.jpg» 0K .......... .......... .......... .......... .......... 4% 2,43M 0s 50K .......... .......... .......... .......... .......... 9% 4,95M 0s 100K .......... .......... .......... .......... .......... 14% 99,7M 0s 150K .......... .......... .......... .......... .......... 18% 5,26M 0s 200K .......... .......... .......... .......... .......... 23% 115M 0s 250K .......... .......... .......... .......... .......... 28% 93,0M 0s 300K .......... .......... .......... .......... .......... 32% 130M 0s 350K .......... .......... .......... .......... .......... 37% 108M 0s 400K .......... .......... .......... .......... .......... 42% 5,70M 0s 450K .......... .......... .......... .......... .......... 47% 113M 0s 500K .......... .......... .......... .......... .......... 51% 106M 0s 550K .......... .......... .......... .......... .......... 56% 112M 0s 600K .......... .......... .......... .......... .......... 61% 93,2M 0s 650K .......... .......... .......... .......... .......... 65% 125M 0s 700K .......... .......... .......... .......... .......... 70% 110M 0s 750K .......... .......... .......... .......... .......... 75% 115M 0s 800K .......... .......... .......... .......... .......... 80% 7,33M 0s 850K .......... .......... .......... .......... .......... 84% 133M 0s 900K .......... .......... .......... .......... .......... 89% 93,1M 0s 950K .......... .......... .......... .......... .......... 94% 132M 0s 1000K .......... .......... .......... .......... .......... 98% 109M 0s 1050K .......... . 100% 98,7M=0,06s 2025-07-18 13:52:52 (16,8 MB/s) - «/tmp/46205c29b3b79279f5bb61065297d5a8.jpg» enregistré [1086617/1086617] --2025-07-18 13:52:52-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 239580 (234K) [image/jpeg] Enregistre : «/tmp/edbd638ae973bd1e4b0183063d5625f0.jpg» 0K .......... .......... .......... .......... .......... 21% 4,78M 0s 50K .......... .......... .......... .......... .......... 42% 4,88M 0s 100K .......... .......... .......... .......... .......... 64% 116M 0s 150K .......... .......... .......... .......... .......... 85% 5,15M 0s 200K .......... .......... .......... ... 100% 121M=0,03s 2025-07-18 13:52:52 (7,51 MB/s) - «/tmp/edbd638ae973bd1e4b0183063d5625f0.jpg» enregistré [239580/239580] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6257697710001632890asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6257697710001632890asTemporaryFile : 1086617 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8.jpg -O /tmp/46205c29b3b79279f5bb61065297d5a8.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8-small.jpg type_mfp mfpopt2025 size_object of file /tmp/46205c29b3b79279f5bb61065297d5a8-big.jpg : 65124 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/46205c29b3b79279f5bb61065297d5a8-medium.jpg : 14988 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/46205c29b3b79279f5bb61065297d5a8-small.jpg : 3987 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.412968 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 4451 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 4451 Before insertPortfolioPhotoId , duration 8 : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7837479729560182299asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7837479729560182299asTemporaryFile : 239580 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0.jpg -O /tmp/edbd638ae973bd1e4b0183063d5625f0.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0-small.jpg type_mfp mfpopt2025 size_object of file /tmp/edbd638ae973bd1e4b0183063d5625f0-big.jpg : 99982 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/edbd638ae973bd1e4b0183063d5625f0-medium.jpg : 23404 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/edbd638ae973bd1e4b0183063d5625f0-small.jpg : 6278 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.577028 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8.jpg", "TemporaryFile(/tmp/multipartBody6257697710001632890asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0.jpg", "TemporaryFile(/tmp/multipartBody7837479729560182299asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8-big.jpg", "TemporaryFile(/tmp/multipartBody6257697710001632890asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0-big.jpg", "TemporaryFile(/tmp/multipartBody7837479729560182299asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8-medium.jpg", "TemporaryFile(/tmp/multipartBody6257697710001632890asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0-medium.jpg", "TemporaryFile(/tmp/multipartBody7837479729560182299asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/46205c29b3b79279f5bb61065297d5a8-small.jpg", "TemporaryFile(/tmp/multipartBody6257697710001632890asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edbd638ae973bd1e4b0183063d5625f0-small.jpg", "TemporaryFile(/tmp/multipartBody7837479729560182299asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 4451 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 latitude : 0.0 longitude : 0.0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518769 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518769" [info] a.models.Photo - source_id_submit_photo from insertion : 379518770 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518770" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2066268002711267117asTemporaryFile -n 00a7eb58c26ac80ee9a64215bcc0c120 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_47_10228.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2066268002711267117asTemporaryFile -n 00a7eb58c26ac80ee9a64215bcc0c120 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7008027299839237043asTemporaryFile -n 74b29346bcc34cd664fbcd2e5092e2fa --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_20_26_40750.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7008027299839237043asTemporaryFile -n 74b29346bcc34cd664fbcd2e5092e2fa --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:52:56-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 236398 (231K) [image/jpeg] Enregistre : «/tmp/74b29346bcc34cd664fbcd2e5092e2fa.jpg» 0K .......... .......... .......... .......... .......... 21% 4,87M 0s 50K .......... .......... .......... .......... .......... 43% 4,86M 0s 100K .......... .......... .......... .......... .......... 64% 96,5M 0s 150K .......... .......... .......... .......... .......... 86% 5,15M 0s 200K .......... .......... .......... 100% 102M=0,03s 2025-07-18 13:52:56 (7,42 MB/s) - «/tmp/74b29346bcc34cd664fbcd2e5092e2fa.jpg» enregistré [236398/236398] --2025-07-18 13:52:56-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1083875 (1,0M) [image/jpeg] Enregistre : «/tmp/00a7eb58c26ac80ee9a64215bcc0c120.jpg» 0K .......... .......... .......... .......... .......... 4% 2,44M 0s 50K .......... .......... .......... .......... .......... 9% 4,95M 0s 100K .......... .......... .......... .......... .......... 14% 85,4M 0s 150K .......... .......... .......... .......... .......... 18% 5,21M 0s 200K .......... .......... .......... .......... .......... 23% 87,2M 0s 250K .......... .......... .......... .......... .......... 28% 84,4M 0s 300K .......... .......... .......... .......... .......... 33% 76,4M 0s 350K .......... .......... .......... .......... .......... 37% 110M 0s 400K .......... .......... .......... .......... .......... 42% 5,94M 0s 450K .......... .......... .......... .......... .......... 47% 86,6M 0s 500K .......... .......... .......... .......... .......... 51% 72,9M 0s 550K .......... .......... .......... .......... .......... 56% 89,3M 0s 600K .......... .......... .......... .......... .......... 61% 87,3M 0s 650K .......... .......... .......... .......... .......... 66% 85,0M 0s 700K .......... .......... .......... .......... .......... 70% 85,4M 0s 750K .......... .......... .......... .......... .......... 75% 112M 0s 800K .......... .......... .......... .......... .......... 80% 8,39M 0s 850K .......... .......... .......... .......... .......... 85% 71,5M 0s 900K .......... .......... .......... .......... .......... 89% 117M 0s 950K .......... .......... .......... .......... .......... 94% 107M 0s 1000K .......... .......... .......... .......... .......... 99% 130M 0s 1050K ........ 100% 163M=0,06s 2025-07-18 13:52:57 (16,7 MB/s) - «/tmp/00a7eb58c26ac80ee9a64215bcc0c120.jpg» enregistré [1083875/1083875] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7008027299839237043asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7008027299839237043asTemporaryFile : 236398 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa.jpg -O /tmp/74b29346bcc34cd664fbcd2e5092e2fa.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa-small.jpg type_mfp mfpopt2025 size_object of file /tmp/74b29346bcc34cd664fbcd2e5092e2fa-big.jpg : 99883 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/74b29346bcc34cd664fbcd2e5092e2fa-medium.jpg : 23306 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/74b29346bcc34cd664fbcd2e5092e2fa-small.jpg : 6276 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.517910 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa.jpg", "TemporaryFile(/tmp/multipartBody7008027299839237043asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa-big.jpg", "TemporaryFile(/tmp/multipartBody7008027299839237043asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa-medium.jpg", "TemporaryFile(/tmp/multipartBody7008027299839237043asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/74b29346bcc34cd664fbcd2e5092e2fa-small.jpg", "TemporaryFile(/tmp/multipartBody7008027299839237043asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518771 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518771" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2487201522633457661asTemporaryFile -n 0d39ec518271fec9e9f6a8fa565b2df7 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_21_06_39635.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2487201522633457661asTemporaryFile -n 0d39ec518271fec9e9f6a8fa565b2df7 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2066268002711267117asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2066268002711267117asTemporaryFile : 1083875 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120.jpg -O /tmp/00a7eb58c26ac80ee9a64215bcc0c120.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120-small.jpg type_mfp mfpopt2025 size_object of file /tmp/00a7eb58c26ac80ee9a64215bcc0c120-big.jpg : 64971 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/00a7eb58c26ac80ee9a64215bcc0c120-medium.jpg : 14976 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/00a7eb58c26ac80ee9a64215bcc0c120-small.jpg : 3982 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.336970 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 4451 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4350 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 4451 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4350 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120.jpg", "TemporaryFile(/tmp/multipartBody2066268002711267117asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120-big.jpg", "TemporaryFile(/tmp/multipartBody2066268002711267117asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120-medium.jpg", "TemporaryFile(/tmp/multipartBody2066268002711267117asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/00a7eb58c26ac80ee9a64215bcc0c120-small.jpg", "TemporaryFile(/tmp/multipartBody2066268002711267117asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 4451 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4350 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518772 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518772" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(24230041) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631598, 1372631600, 1372631603) 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (24230041, 1372631603,1372631603, "1" ,0,979, NOW()), (24230041, 1372631600,1372631600, "1" ,0,979, NOW()), (24230041, 1372631598,1372631598, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 4451 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4350 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138After insertPortfolioPhotoId , duration 14 : 286 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:53:00-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 236653 (231K) [image/jpeg] Enregistre : «/tmp/0d39ec518271fec9e9f6a8fa565b2df7.jpg» 0K .......... .......... .......... .......... .......... 21% 4,80M 0s 50K .......... .......... .......... .......... .......... 43% 4,83M 0s 100K .......... .......... .......... .......... .......... 64% 108M 0s 150K .......... .......... .......... .......... .......... 86% 5,11M 0s 200K .......... .......... .......... . 100% 105M=0,03s 2025-07-18 13:53:00 (7,38 MB/s) - «/tmp/0d39ec518271fec9e9f6a8fa565b2df7.jpg» enregistré [236653/236653] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2487201522633457661asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2487201522633457661asTemporaryFile : 236653 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7.jpg -O /tmp/0d39ec518271fec9e9f6a8fa565b2df7.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0d39ec518271fec9e9f6a8fa565b2df7-big.jpg : 98697 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0d39ec518271fec9e9f6a8fa565b2df7-medium.jpg : 23012 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0d39ec518271fec9e9f6a8fa565b2df7-small.jpg : 6212 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.839889 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3838 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3838 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7.jpg", "TemporaryFile(/tmp/multipartBody2487201522633457661asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7-big.jpg", "TemporaryFile(/tmp/multipartBody2487201522633457661asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4110 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 4451 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4350 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138After insertPortfolioPhotoId , duration 14 : 286 About to finish After with svm , duration 15 : 2928 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3189040 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7-medium.jpg", "TemporaryFile(/tmp/multipartBody2487201522633457661asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d39ec518271fec9e9f6a8fa565b2df7-small.jpg", "TemporaryFile(/tmp/multipartBody2487201522633457661asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3838 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 161 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518773 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518773" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1870187279423009892asTemporaryFile -n 824c5e901e6db6a56b5f28c5457e3722 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_21_45_39604.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1870187279423009892asTemporaryFile -n 824c5e901e6db6a56b5f28c5457e3722 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(035006c8a8acff541e6b264f3a90e0b8) mtr_user_id : 739 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_47_05_29351.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@67e89e53 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_46_36_30344.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@25d23857 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_46_05_30354.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@29905790 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_45_35_29373.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4229b694 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_44_35_29343.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6190b284 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_44_06_30339.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@55342e61 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25071833) [info] a.c.Photo - given_mtr_portfolio_id : Some(25071833) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3712457614529412736asTemporaryFile -n a949e597245f7c2f8117c2c3a0920b8b --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_47_05_29351.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3712457614529412736asTemporaryFile -n a949e597245f7c2f8117c2c3a0920b8b --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file1 contentType : None filename : image_18072025_13_52_45_10135.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@61c838f5 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_52_34_10134.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@23e670a4 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_52_24_10136.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@36ea7b74 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_52_14_10137.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@53f4c8f6 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_52_04_9134.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@735b5ded basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_small [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private [debug] a.service.Utils - fromPostToArgBool could have a better implemtation compute_classification compute_classification : None upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 getSimpleUser in getUserObj [debug] a.m.Portfolio - SELECT *, mp.mtr_user_id='979' as is_owner FROM MTRUser.mtr_portfolios mp WHERE name collate utf8_general_ci like '%Dossier_Portfolio_Month_M7_Y2025%' AND mp.mtr_user_id in (979) ORDER BY -mp.id LIMIT 10000 OFFSET 0 --2025-07-18 13:53:04-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… --2025-07-18 13:53:04-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… connecté. 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38551 (38K) [image/jpeg] Enregistre : «/tmp/a949e597245f7c2f8117c2c3a0920b8b.jpg» 0K .......... .......... .......... ....... 100% 1,90M=0,02s 2025-07-18 13:53:04 (1,90 MB/s) - «/tmp/a949e597245f7c2f8117c2c3a0920b8b.jpg» enregistré [38551/38551] 200 OK Taille : 232159 (227K) [image/jpeg] Enregistre : «/tmp/824c5e901e6db6a56b5f28c5457e3722.jpg» 0K .......... .......... .......... .......... .......... 22% 2,50M 0s 50K .......... .......... .......... .......... .......... 44% 4,84M 0s 100K .......... .......... .......... .......... .......... 66% 115M 0s 150K .......... .......... .......... .......... .......... 88% 5,08M 0s 200K .......... .......... ...... 100% 141M=0,04s 2025-07-18 13:53:04 (5,56 MB/s) - «/tmp/824c5e901e6db6a56b5f28c5457e3722.jpg» enregistré [232159/232159] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3189040 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3189040 [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.flushPendingEncryptedWrites(SslHandler.java:1108) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1047) ~[io.netty.netty-3.7.1.Final.jar:na] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3712457614529412736asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3712457614529412736asTemporaryFile : 38551 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b.jpg -O /tmp/a949e597245f7c2f8117c2c3a0920b8b.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b-small.jpg type_mfp mfpopt2025 size_object of file /tmp/a949e597245f7c2f8117c2c3a0920b8b-big.jpg : 33955 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a949e597245f7c2f8117c2c3a0920b8b-medium.jpg : 11670 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a949e597245f7c2f8117c2c3a0920b8b-small.jpg : 4118 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.349708 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b.jpg", "TemporaryFile(/tmp/multipartBody3712457614529412736asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b-big.jpg", "TemporaryFile(/tmp/multipartBody3712457614529412736asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b-medium.jpg", "TemporaryFile(/tmp/multipartBody3712457614529412736asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a949e597245f7c2f8117c2c3a0920b8b-small.jpg", "TemporaryFile(/tmp/multipartBody3712457614529412736asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 latitude : 0.0 longitude : 0.0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [info] a.models.Photo - source_id_submit_photo from insertion : 379518774 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518774" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2406213380425666915asTemporaryFile -n ee08f5900d434711043100d24bd9201c --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_46_36_30344.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2406213380425666915asTemporaryFile -n ee08f5900d434711043100d24bd9201c --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1870187279423009892asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1870187279423009892asTemporaryFile : 232159 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722.jpg -O /tmp/824c5e901e6db6a56b5f28c5457e3722.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722-small.jpg type_mfp mfpopt2025 size_object of file /tmp/824c5e901e6db6a56b5f28c5457e3722-big.jpg : 97384 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/824c5e901e6db6a56b5f28c5457e3722-medium.jpg : 22702 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/824c5e901e6db6a56b5f28c5457e3722-small.jpg : 6149 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.803696 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3838 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 161 Before photo_uploader , duration 22 : 113.After photo_uploader , duration 23 : 3856 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3838 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 161 Before photo_uploader , duration 22 : 113.After photo_uploader , duration 23 : 3856 Before insertPortfolioPhotoId , duration 24 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722.jpg", "TemporaryFile(/tmp/multipartBody1870187279423009892asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722-big.jpg", "TemporaryFile(/tmp/multipartBody1870187279423009892asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722-medium.jpg", "TemporaryFile(/tmp/multipartBody1870187279423009892asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/824c5e901e6db6a56b5f28c5457e3722-small.jpg", "TemporaryFile(/tmp/multipartBody1870187279423009892asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3838 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 161 Before photo_uploader , duration 22 : 113.After photo_uploader , duration 23 : 3856 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518775 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518775" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25057218) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631591, 1372631599, 1372631601, 1372631602, 1372631604, 1372631606) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631601,1372631601, "1" ,0,991, NOW()), (25057218, 1372631591,1372631591, "1" ,0,991, NOW()), (25057218, 1372631604,1372631604, "1" ,0,991, NOW()), (25057218, 1372631606,1372631606, "1" ,0,991, NOW()), (25057218, 1372631599,1372631599, "1" ,0,991, NOW()), (25057218, 1372631602,1372631602, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3838 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 161 Before photo_uploader , duration 22 : 113.After photo_uploader , duration 23 : 3856 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 140After insertPortfolioPhotoId , duration 26 : 376 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [debug] a.m.Portfolio - select mp.id, mrr.`status`, count(*) as count from MTRUser.mtr_request_rights mrr, MTRUser.mtr_portfolio_photos mpp, MTRUser.mtr_portfolios mp where mp.mtr_user_id=979 and mp.id=mpp.mtr_portfolio_id and mpp.mtr_photo_id=mrr.photo_id and mrr.mtr_license_type=0 group by mp.id, mrr.`status`; token_used : Some(85213b338a7900a79945692114f14db2) Select * From MTRDatou.classification_theme WHERE (mtr_user_id=979 OR is_public) AND live=1 ORDER BY (live+is_public) desc 25071848,25071847,25071845,25071841,25071840,25071836,25071830,25071828,25071825,25071822,25071765,25071337,25071227,25070875,25070678,25069947,25069893,25069727,25069450,25069289,25069249,25069177,25068908,25068571,25068523,25067950,25067919,25067758,25067541,25067482,25067343,25067313,25067101,25067062,25066924,25066552,25066188,25066181,25066179,25065889,25065884,25065656,25065387,25065319,25064904,25064861,25064767,25064707,25064287,25063549,25063408,25062673,25062656,25062500,25062337,25062190,25061977,25061924,25061735,25061709,25061708,25061707,25061569,25061516,25061515,25061334,25061304,25061250,25061221,25061121,25061119,25060835,25060724,25060694,25060548,25060522,25060393,25060313,25060287,25060235,25060208,25060158,25060131,25060082,25060030,25059977,25059762,25059711,25059661,25059660,25059529,25059449,25059423,25059421,25059334,25059279,25059057,25058837,25058785,25058759,25058732,25058502,25058375,25058349,25058348,25058320,25058245,25058218,25058111,25058085,25058005,25057927,25057745,25057643,25057592,25057591,25057291,25057163,25057032,25056907,25056880,25056690,25056533,25056532,25056504,25056503,25056488,25056450,25056293,25056211,25056158,25056056,25055951,25055850,25055747,25055346,25055345,25055265,25055226,25055213,25055161,25055108,25054956,25054905,25054729,25054676,25054623,25054622,25054519,25054492,25054442,25054440,25054390,25054233,25054208,25054155,25054069,25053982,25053929,25053727,25053594,25053542,25053541,25053456,25053455,25053354,25053353,25053301,25053173,25053096,25052993,25052917,25052762,25052734,25052709,25052658,25052657,25052606,25052542,25052503,25052374,25052322,25052176,25052124,25051884,25051859,25051808,25051756,25051725,25051650,25051598,25051546,25051465,25051464,25051364,25051289,25051237,25051136,25051071,25051025,25051024,25050972,25050868,25050561,25050320,25049977,25049899,25049873,25049795,25049742,25049416,25049356,25049249,25049197,25049043,25049015,25048936,25048884,25048734,25048720,25048717,25048331,25048192,25048173,25047880,25047669,25047608,25047192,25046998,25046561,25046547,25046169,25045637,25045231,25044963,25044763,25044578,25044425,25044169,25044166,25044005,25043935,25043627,25043481,25043306,25043265,25043260,25042989,25042943,25042719,25042347,25042170,25042077,25042065,25042001,25041776,25041675,25041393,25041204,25041155,25041153,25041018,25040835,25040605,25040560,25040499,25040249,25039947,25039946,25039725,25039622,25039477,25039447,25039252,25039180,25038881,25038486,25038445,25038444,25038286,25038052,25037949,25037914,25037912,25037857,25037457,25037417,25037043,25036908,25036417,25036311,25036043,25035906,25035874,25035873,25035536,25035457,25035213,25035071,25034837,25034573,25034124,25033979,25033187,25033061,25032524,25032208,25031971,25031618,25031106,25031070,25030754,25030438,25030110,25030102,25030097,25029974,25029687,25029442,25029409,25029183,25027744,25027270,25026945,25026593,25025696,25025452,25024776,25024665,25024270,25022610,25021997,25020662,25020384,25019958,25019925,25019680,25019286,25019153,25018784,25018728,25018504,25018500,25018156,25017960,25017517,25017423,25017208,25017169,25017079,25017044,25016677,25016447,25015865,25015696,25015273,25015018,25014696,25014540,25014118,25014090,25013742,25013715,25013714,25013655,25013635,25013494,25013468,25013016,25012915,25012909,25012907,25012872,25012784,25012618,25012601,25012513,25012439,25012128,25011930,25011505,25011343,25011318,25011305,25011069,25010907,25010385,25010101,25010048,25009880,25009789,25009375,25008611,25008084,25008019,25007356,25007331,25007209,25007031,25006922,25006775,25006158,25005785,25004477,25003784,25003698,25003616,25003496,25003432,25003277,25002565,25002064,25002060,25002055,25002043,25002041,25002040,25002034,25002021,25002016,25002014,25002012,25002010,25002009,25002007,25002006,25002001,25002000,25001999,25001998,25001996,25001992,25001983,25001982,25001979,25001973,25001971,25001970,25001966,25001962,25001952,25001949,25001946,25001944,25001943,25001942,25001941,25001938,25001928,25001925,25001923,25001920,25001919,25001918,25001912,25001911,25001909,25001908,25001905,25001904,25001901,25001898,25001897,25001893,25001892,25001891,25001886,25001885,25001883,25001882,25001879,25001876,25001873,25001872,25001870,25001868,25001867,25001866,25001865,25001864,25001858,25001856,25001855,25001852,25001850,25001849,25001846,25001845,25001844,25001843,25001841,25001838,25001837,25001834,25001831,25001830,25001829,25001827,25001826,25001825,25001823,25001820,25001818,25001817,25001813,25001811,25001810,25001809,25001805,25001803,25001799,25001797,25001796,25001795,25001794,25001790,25001789,25001787,25001785,25001784,25001782,25001779,25001777,25001774,25001772,25001771,25001766,25001765,25001762,25001757,25001750,25001748,25001747,25001746,25001743,25001741,25001736,25001734,25001733,25001732,25001731,25001730,25001729,25001723,25001722,25001720,25001718,25001717,25001715,25001711,25001710,25001709,25001706,25001705,25001702,25001698,25001696,25001695,25001694,25001692,25001686,25001685,25001684,25001681,25001677,25001672,25001671,25001670,25001667,25001666,25001665,25001664,25001658,25001657,25001655,25001654,25001653,25001651,25001649,25001644,25001643,25001642,25001639,25001634,25001633,25001632,25001630,25001629,25001627,25001626,25001623,25001612,25001610,25001607,25001605,25001604,25001603,25001602,25001595,25001594,25001593,25001591,25001589,25001588,25001579,25001578,25001577,25001574,25001571,25001566,25001564,25001563,25001562,25001561,25001558,25001553,25001552,25001551,25001550,25001546,25001539,25001536,25001535,25001534,25001533,25001528,25001527,25001526,25001525,25001524,25001523,25001522,25001521,25001520,25001519,25001515,25001514,25001512,25001511,25001510,25001508,25001505,25001504,25001500,25001498,25001496,25001495,25001493,25001490,25001487,25001486,25001485,25001484,25001483,25001482,25001479,25001475,25001474,25001467,25001460,25001459,25001458,25001455,25001454,25001443,25001442,25001440,25001437,25001435,25001434,25001428,25001427,25001425,25001424,25001422,25001421,25001419,25001415,25001413,25001412,25001411,25001410,25001409,25001407,25001403,25001402,25001401,25001399,25001397,25001393,25001392,25001391,25001390,25001385,25001381,25001380,25001379,25001378,25001376,25001369,25001368,25001365,25001364,25001362,25001359,25001354,25001353,25001347,25001346,25001344,25001343,25001341,25001340,25001339,25001334,25001330,25001328,25001327,25001325,25001324,25001319,25001318,25001317,25001314,25001308,25001306,25001303,25001302,25001301,25001296,25001294,25001293,25001292,25001290,25001288,25001285,25001283,25001279,25001278,25001277,25001276,25001271,25001269,25001266,25001264,25001262,25001256,25001253,25001250,25001246,25001245,25001232,25001229,25001228,25001224,25001222,25001218,25001217,25001213,25001212,25001211,25001208,25001203,25001202,25001197,25001195,25001194,25001189,25001186,25001185,25001184,25001177,25001176,25001174,25001173,25001169,25001168,25001167,25001158,25001154,25001148,25001144,25001139,25001138,25001137,25001134,25001132,25001127,25001117,25001116,25001115,25001111,25001108,25001104,25001101,25001099,25001098,25001096,25001092,25001089,25001088,25001084,25001077,25001070,25001066,25001062,25001061,25001060,25001059,25001052,25001051,25001049,25001045,25001040,25001039,25001027,25001025,25001021,25001013,25001012,25001008,25001003,25001001,25000998,25000992,25000989,25000988,25000984,25000983,25000982,25000976,25000974,25000714,25000220,25000014,24999901,24999832,24999482,24999347,24999223,24997774,24997124,24997013,24996759,24996565,24996532,24996488,24996429,24996390,24996385,24996331,24995473,24995468,24995440,24995410,24995246,24994847,24994638,24994548,24994074,24993896,24993737,24993391,24993191,24992958,24992593,24992387,24992321,24992037,24991997,24991766,24991702,24991553,24991514,24991477,24991380,24991323,24991265,24990861,24990794,24990649,24990592,24990172,24990129,24990096,24990035,24989756,24989755,24989671,24989541,24989502,24989463,24989359,24989332,24989154,24989010,24988971,24988920,24988817,24988689,24988638,24988534,24988482,24988481,24988269,24988265,24988264,24988213,24988108,24988077,24988049,24987999,24987948,24987766,24987688,24987638,24987612,24987586,24987585,24987405,24987364,24987326,24987274,24987273,24987272,24987216,24987142,24986987,24986936,24986849,24986823,24986771,24986770,24986597,24986491,24986462,24986460,24986357,24986314,24986255,24986152,24986050,24986049,24986022,24985995,24985994,24985920,24985919,24985763,24985712,24985635,24985558,24985291,24985204,24985126,24985100,24985061,24984729,24984491,24984490,24984385,24984382,24984357,24984283,24984231,24984076,24983999,24983632,24983631,24983494,24983456,24983250,24983119,24983094,24983067,24982952,24982786,24982696,24982658,24982653,24982579,24982562,24982549,24982539,24982497,24982396,24982395,24982265,24982211,24982185,24982159,24981950,24981885,24981811,24981770,24981469,24981456,24981422,24981317,24981313,24981288,24981210,24981059,24981007,24980981,24980930,24980903,24980865,24980801,24980771,24980721,24980568,24980565,24980479,24980440,24980336,24980109,24980011,24979971,24979841,24979806,24979763,24979609,24979608,24979531,24979347,24979346,24979319,24979269,24979256,24979216,24979116,24979088,24978933,24978932,24978881,24978829,24978828,24978574,24978486,24978399,24978347,24978294,24978141,24978089,24978007,24977956,24977955,24977904,24977603,24977550,24977359,24977208,24977180,24977103,24977076,24977015,24976937,24976910,24976858,24976768,24976767,24976657,24976630,24976542,24976362,24976332,24976193,24976061,24975938,24975861,24975832,24975243,24974887,24974761,24974377,24974252,24974176,24973795,24973525,24973516,24973485,24973431,24973349,24973347,24973344,24973266,24973202,24973135,24972915,24972750,24972568,24972486,24972392,24972286,24972220,24971973,24971905,24971900,24971744,24971614,24971450,24971447,24971396,24971279,24971277,24970955,24970366,24970182,24969907,24969799,24969618,24969530,24969475,24969445,24969308,24969120,24969057,24968919,24968870,24968781,24968692,24968062,24968034,24967980,24967950,24967862,24967666,24967417,24967232,24967056,24967009,24966906,24966572,24966498,24965895,24965755,24965679,24965154,24964921,24964728,24964576,24964574,24964570,24964499,24964458,24964417,24964293,24964240,24964239,24964030,24963908,24963876,24963838,24963795,24963792,24963661,24963518,24963391,24963388,24963251,24963250,24963221,24963216,24963138,24963136,24963081,24963079,24963071,24963013,24963010,24962997,24962951,24962930,24962851,24962840,24962838,24962825,24962821,24962820,24962740,24962737,24962708,24962652,24962187,24962091,24961671,24961624,24961560,24960998,24960955,24960771,24960746,24960678,24960448,24960353,24960064,24959933,24959799,24959681,24959579,24959573,24959545,24959511,24959102,24958978,24958841,24958762,24958740,24958493,24958455,24958321,24958185,24958035,24957862,24957740,24957503,24957381,24957355,24957347,24957259,24957232,24956899,24956758,24956712,24956623,24956196,24956082,24956041,24956020,24955983,24955726,24955694,24955485,24955462,24955405,24955262,24955244,24954953,24954649,24954577,24953903,24953800,24953779,24953471,24953259,24953072,24953047,24952973,24952775,24952728,24952333,24952169,24951848,24951796,24951771,24951695,24951261,24951216,24951011,24950971,24950897,24950843,24950558,24950393,24950095,24950052,24950011,24949999,24949793,24949695,24948944,24948784,24947239,24947023,24945507,24945506,24944976,24944630,24944605,24944429,24943144,24942963,24942163,24942139,24941813,24941607,24941574,24939903,24939866,24939540,24938460,24938132,24937232,24937161,24934829,24934193,24932242,24932207,24932196,24932165,24932098,24932068,24931976,24931907,24931734,24931725,24931668,24931624,24931511,24931444,24931291,24931273,24931183,24931167,24930985,24930847,24930829,24930822,24930816,24930723,24930663,24930625,24930514,24930337,24930329,24930252,24930185,24929928,24929926,24929895,24929798,24929750,24929673,24929572,24929466,24929458,24929171,24929042,24928705,24928564,24928439,24928429,24928351,24928151,24928133,24928110,24928016,24927968,24927944,24927787,24927597,24927551,24927535,24927433,24927428,24927368,24927300,24927157,24927152,24927021,24926940,24926760,24926730,24926688,24926406,24926380,24926266,24925977,24925937,24925828,24925758,24925687,24925378,24925300,24925263,24925033,24924957,24924888,24924819,24924808,24924669,24924570,24924482,24924400,24924268,24924218,24924216,24924023,24923992,24923768,24923762,24923436,24923345,24923318,24923241,24923012,24922949,24922896,24922842,24922814,24922676,24922675,24922623,24922513,24922463,24922434,24922206,24922191,24922038,24921933,24921845,24921681,24921628,24921543,24921118,24920935,24920906,24920724,24920696,24920618,24920481,24920480,24919872,24919869,24919763,24919717,24919555,24919552,24919496,24919494,24919467,24919465,24919306,24919136,24919083,24919081,24919029,24918975,24918888,24918885,24918832,24918754,24918731,24918694,24918661,24918466,24918465,24918411,24918097,24918041,24918038,24917986,24917851,24917824,24917690,24917664,24917499,24917445,24917365,24916968,24916965,24916829,24916752,24916722,24916696,24916669,24916269,24916196,24916178,24916040,24916038,24915798,24915585,24915559,24915488,24915369,24915342,24915341,24915105,24914953,24914855,24914829,24914678,24914671,24914418,24914405,24914258,24914207,24913905,24913850,24913744,24913639,24913446,24913154,24913093,24913067,24912955,24912801,24912494,24912256,24911957,24911877,24911712,24911500,24911257,24911114,24910889,24910779,24910689,24910636,24910579,24910242,24910184,24910039,24909731,24909676,24909591,24909381,24909260,24909234,24909192,24908841,24908772,24908731,24908426,24908345,24908289,24908259,24908167,24908137,24908060,24908035,24907978,24907923,24907870,24907816,24907786,24907760,24907576,24907547,24907492,24907437,24907295,24907085,24907057,24907003,24907002,24906950,24906921,24906895,24906842,24906646,24906496,24906332,24906330,24906304,24906227,24906005,24905914,24905813,24905599,24905544,24905406,24905401,24905188,24905137,24905082,24905031,24904928,24904874,24904795,24904746,24904545,24904492,24904438,24904385,24904330,24904277,24904250,24904200,24904095,24903914,24903889,24903838,24903786,24903734,24903656,24903344,24903290,24903261,24903256,24903203,24903151,24903123,24902970,24902933,24902893,24902841,24902789,24902663,24902611,24902532,24902504,24902472,24902438,24902397,24902380,24902326,24902274,24902223,24902095,24902043,24901992,24901941,24901877,24901826,24901721,24901716,24901715,24901712,24901711,24901706,24901705,24901703,24901702,24901701,24901699,24901697,24901696,24901691,24901689,24901687,24901685,24901684,24901682,24901679,24901677,24901674,24901672,24901654,24901634,24901558,24901556,24901553,24901516,24901514,24901512,24901510,24901509,24901505,24901504,24901491,24901486,24901480,24901479,24901474,24901472,24901470,24901469,24901468,24901467,24901465,24901461,24901458,24901457,24901456,24901455,24901454,24901415,24901334,24901332,24901331,24901327,24901326,24901325,24901323,24901322,24901320,24901316,24901313,24901312,24901311,24901310,24901308,24901303,24901301,24901300,24901299,24901246,24901227,24901154,24901039,24901031,24901029,24901025,24901024,24901022,24901021,24901018,24901017,24901012,24901010,24901008,24901007,24901005,24901004,24901003,24901000,24900999,24900961,24900926,24900887,24900808,24900807,24900805,24900801,24900800,24900799,24900797,24900796,24900795,24900794,24900789,24900787,24900772,24900769,24900768,24900764,24900656,24900549,24900343,24900274,24900272,24900237,24900065,24899960,24899923,24899832,24899723,24899515,24899394,24899331,24899186,24899149,24899144,24899143,24899141,24899140,24899138,24899133,24899132,24899129,24899128,24899127,24899125,24899123,24899119,24899118,24899116,24899113,24899111,24899110,24899109,24899108,24899102,24899101,24899099,24899098,24899043,24899024,24899022,24898983,24898944,24898939,24898938,24898937,24898932,24898931,24898930,24898929,24898928,24898927,24898925,24898923,24898919,24898918,24898880,24898733,24898660,24898551,24898047,24897569,24897458,24897225,24897224,24897221,24897219,24897215,24897214,24897209,24897196,24897189,24897188,24897187,24897186,24897182,24897181,24897179,24897176,24897172,24897170,24897167,24897165,24897164,24897050,24897048,24897047,24897042,24897040,24897039,24897033,24897032,24897030,24897029,24897027,24897023,24897022,24897020,24897019,24897018,24897015,24897014,24897010,24897009,24897007,24897005,24897004,24897003,24897002,24896928,24896815,24896813,24896812,24896807,24896806,24896803,24896802,24896800,24896795,24896792,24896790,24896787,24896786,24896782,24896780,24896779,24896778,24896775,24896774,24896773,24896770,24896769,24896768,24896766,24896764,24896763,24896762,24896686,24896685,24896683,24896680,24896679,24896678,24896675,24896671,24896669,24896657,24896647,24896646,24896645,24896623,24896604,24896602,24896600,24896599,24896597,24896596,24896593,24896592,24896590,24896586,24896581,24896580,24896579,24896578,24896573,24896571,24896569,24896568,24896566,24896565,24896564,24896563,24896560,24896535,24896534,24896533,24896532,24896527,24896526,24896524,24896523,24896521,24896520,24896519,24896406,24896405,24896404,24896400,24896399,24896398,24896396,24896393,24896389,24896388,24896387,24896386,24896384,24896383,24896381,24896380,24896375,24896373,24896372,24896371,24896370,24896368,24896367,24896366,24896358,24896357,24896336,24896240,24896235,24896231,24896230,24896229,24896224,24896223,24896222,24896220,24896215,24896210,24896202,24896201,24896198,24896197,24896195,24896079,24896078,24896071,24896070,24896067,24896065,24896058,24896053,24896049,24896045,24896044,24896039,24896038,24896037,24896033,24896030,24896029,24895991,24895953,24895913,24895912,24895907,24895906,24895904,24895902,24895898,24895897,24895894,24895892,24895891,24895886,24895884,24895883,24895880,24895874,24895873,24895872,24895835,24895834,24895833,24895755,24895754,24895750,24895749,24895748,24895747,24895744,24895743,24895739,24895738,24895735,24895734,24895730,24895728,24895722,24895712,24895711,24895710,24895669,24895595,24895594,24895584,24895583,24895579,24895575,24895573,24895571,24895570,24895568,24895560,24895559,24895545,24895543,24895537,24895536,24895534,24895530,24895529,24895491,24895454,24895453,24895376,24895372,24895371,24895366,24895365,24895364,24895359,24895358,24895357,24895355,24895353,24895352,24895348,24895347,24895344,24895342,24895337,24895336,24895335,24895333,24895332,24895255,24895252,24895248,24895247,24895246,24895245,24895242,24895239,24895238,24895232,24895221,24895215,24895210,24895207,24895206,24895202,24895200,24895198,24895196,24895194,24895136,24895117,24895116,24895076,24895075,24895070,24895069,24895053,24895043,24895038,24895034,24895033,24894963,24894962,24894959,24894957,24894955,24894951,24894949,24894948,24894946,24894945,24894943,24894941,24894936,24894935,24894932,24894931,24894930,24894893,24894891,24894816,24894812,24894808,24894807,24894803,24894802,24894801,24894800,24894796,24894794,24894790,24894787,24894784,24894783,24894779,24894776,24894772,24894769,24894765,24894761,24894760,24894759,24894722,24894644,24894643,24894641,24894638,24894637,24894635,24894634,24894633,24894630,24894628,24894622,24894599,24894598,24894597,24894594,24894591,24894590,24894588,24894587,24894586,24894583,24894578,24894576,24894575,24894538,24894536,24894494,24894457,24894456,24894455,24894451,24894450,24894449,24894448,24894447,24894442,24894441,24894440,24894439,24894438,24894436,24894435,24894432,24894431,24894426,24894425,24894422,24894400,24894398,24894397,24894395,24894392,24894391,24894388,24894386,24894385,24894348,24894311,24894269,24894268,24894264,24894262,24894259,24894253,24894250,24894248,24894245,24894244,24894240,24894238,24894233,24894230,24894229,24894227,24894223,24894221,24894220,24894182,24894108,24894102,24894101,24894096,24894095,24894094,24894092,24894088,24894087,24894084,24894073,24894063,24894061,24894060,24894057,24894056,24894055,24894054,24894053,24894052,24894051,24894050,24894045,24894043,24894041,24894004,24893929,24893927,24893926,24893925,24893921,24893920,24893918,24893914,24893912,24893911,24893908,24893907,24893902,24893901,24893899,24893898,24893896,24893895,24893894,24893889,24893887,24893851,24893849,24893814,24893813,24893589,24893570,24893551,24893544,24893543,24893540,24893539,24893538,24893535,24893534,24893532,24893531,24893528,24893527,24893526,24893521,24893520,24893518,24893517,24893516,24893515,24893514,24893509,24893508,24893507,24893506,24893471,24893469,24893467,24893354,24893352,24893351,24893347,24893345,24893307,24893306,24893304,24893301,24893300,24893299,24893298,24893297,24893296,24893290,24893288,24893287,24893285,24893284,24893280,24893279,24893278,24893242,24893173,24893137,24893136,24893093,24893015,24893014,24893011,24893008,24893006,24893005,24893004,24893002,24892997,24892995,24892994,24892992,24892990,24892988,24892986,24892984,24892981,24892980,24892979,24892978,24892975,24892972,24892970,24892969,24892966,24892929,24892928,24892890,24892840,24892825,24892811,24892771,24892722,24892715,24892702,24892695,24892416,24892295,24892023,24891386,24891030,24890903,24890674,24890359,24890282,24890249,24890245,24890225,24890185,24890149,24890111,24890109,24890089,24890062,24890023,24890007,24889995,24889922,24889867,24889770,24889756,24889734,24889723,24889678,24889605,24889580,24889561,24889528,24889507,24889489,24889448,24889276,24889270,24889160,24889158,24889120,24889096,24889084,24889078,24889045,24889042,24888946,24888836,24888791,24888757,24888724,24888698,24888666,24888602,24888421,24888420,24888385,24888353,24888343,24888337,24888285,24888257,24888247,24888208,24888206,24888188,24888170,24888154,24888115,24888086,24887866,24887826,24887750,24887729,24887639,24887606,24887564,24887525,24887489,24887467,24887451,24887411,24887267,24887228,24887227,24887224,24887207,24887185,24887168,24887133,24887112,24887106,24887088,24887056,24887012,24886959,24886956,24886938,24886898,24886759,24886717,24886633,24886620,24886599,24886598,24886582,24886579,24886562,24886558,24886499,24886498,24886462,24886437,24886422,24886401,24886383,24886367,24886364,24886328,24886327,24886219,24886065,24886045,24886029,24886009,24885972,24885934,24885901,24885824,24885816,24885804,24885776,24885763,24885728,24885710,24885708,24885697,24885685,24885654,24885451,24885449,24885431,24885395,24885337,24885266,24885173,24885135,24885083,24885050,24885027,24884864,24884696,24884658,24884584,24884566,24884451,24884395,24884377,24884327,24884321,24884311,24884289,24884246,24884235,24884031,24884022,24884006,24883986,24883970,24883949,24883932,24883786,24883711,24883612,24883606,24883554,24883553,24883519,24883516,24883477,24883476,24883409,24883092,24883053,24883020,24882981,24882911,24882840,24882734,24882704,24882674,24882621,24882566,24882545,24882513,24882508,24882123,24882014,24881321,24880928,24880853,24880720,24880656,24880302,24880194,24879770,24879338,24879033,24878759,24878640,24878616,24878370,24878284,24878180,24878173,24878116,24878098,24878088,24878046,24878043,24878010,24877825,24877747,24877693,24877674,24877621,24877615,24877581,24877580,24877579,24877561,24877502,24877490,24877489,24877466,24877465,24877462,24877418,24877401,24877371,24877268,24877230,24877165,24876879,24876807,24876806,24876786,24876763,24876757,24876637,24876635,24876634,24876632,24876630,24876628,24876627,24876623,24876622,24876617,24876615,24876614,24876613,24876611,24876610,24876608,24876607,24876605,24876603,24876597,24876596,24876595,24876593,24876591,24876590,24876589,24876584,24876583,24876582,24876545,24876543,24876542,24876540,24876430,24876288,24876262,24876171,24876146,24876119,24876093,24876092,24875999,24875989,24875964,24875913,24875887,24875833,24875790,24875753,24875752,24875725,24875591,24875538,24875460,24875330,24875278,24875226,24875174,24875046,24875020,24874887,24874692,24874637,24874558,24874456,24874407,24874350,24874325,24874281,24874242,24874181,24874177,24874137,24874061,24874010,24873856,24873855,24873727,24873662,24873542,24873527,24873489,24873449,24873361,24873332,24873331,24873177,24873046,24872992,24872891,24872877,24872849,24872795,24872664,24872621,24872435,24872380,24872298,24872194,24872073,24872048,24872021,24871995,24871981,24871968,24871965,24871878,24871791,24871739,24871683,24871631,24871555,24871528,24871425,24871324,24871273,24871168,24871115,24871027,24870949,24870947,24870720,24870667,24870666,24870636,24870634,24870580,24870552,24870527,24870526,24870422,24870293,24870292,24870264,24870214,24870186,24870110,24870109,24870057,24869953,24869849,24869740,24869587,24869485,24869404,24869292,24869240,24869199,24869012,24868697,24868671,24868645,24868556,24868528,24868527,24868425,24868362,24868286,24868198,24868123,24868122,24868016,24867970,24867703,24867639,24867448,24867365,24867337,24867249,24867132,24866965,24866777,24866420,24866356,24866258,24865884,24865671,24865670,24865584,24865129,24865012,24864851,24864798,24864737,24864633,24864581,24864530,24864529,24864443,24864401,24864205,24864135,24864081,24863963,24863935,24863722,24863680,24863536,24863455,24863053,24862737,24862686,24862685,24862610,24862580,24862467,24862454,24862366,24862311,24862148,24862097,24861977,24861925,24861780,24861665,24861637,24861636,24861536,24861377,24861037,24860889,24860565,24860290,24860220,24860150,24860108,24859719,24859663,24859384,24859195,24859083,24859019,24858785,24858735,24858662,24858619,24858430,24858305,24858303,24858009,24858002,24857723,24857521,24857072,24856772,24856392,24856007,24855981,24855803,24855679,24855618,24855412,24855308,24855287,24855152,24854932,24854918,24854879,24854799,24854540,24854513,24854463,24854357,24854108,24853837,24853702,24853388,24853358,24853357,24853205,24853151,24853099,24853073,24853021,24853017,24852888,24852886,24852835,24852750,24852442,24852417,24852282,24852252,24852210,24852132,24852106,24851951,24851842,24851661,24851626,24851209,24851108,24851069,24851041,24851040,24851001,24850898,24850787,24850742,24850632,24850549,24850463,24850429,24850291,24850200,24850199,24850147,24850081,24850041,24849821,24849690,24849612,24849530,24849143,24849106,24849100,24848891,24848704,24848703,24848677,24848626,24848571,24848542,24848456,24848405,24848385,24848334,24848259,24848198,24848022,24847945,24847709,24847708,24847206,24847175,24846849,24846798,24846791,24846775,24846576,24846553,24846540,24846356,24846338,24846183,24845853,24845627,24845601,24845417,24845187,24845111,24844904,24844730,24844695,24844553,24844351,24844266,24844034,24843794,24843682,24843585,24842447,24842003,24840650,24840069,24840065,24840060,24840056,24840055,24840051,24840041,24840040,24840039,24840032,24840031,24840028,24839970,24839893,24839864,24839863,24839807,24839439,24839363,24839356,24839257,24839075,24839074,24839022,24838815,24838328,24838227,24838172,24838035,24838032,24837929,24837928,24837715,24837580,24837538,24837423,24837314,24837312,24837309,24837254,24836989,24836910,24836875,24836825,24836714,24836686,24836426,24836323,24836319,24836239,24836002,24835990,24835988,24835938,24835881,24835879,24835876,24835873,24835870,24835865,24835863,24835861,24835827,24835826,24835800,24835799,24835797,24835795,24835793,24835791,24835790,24835741,24835600,24835142,24835068,24834944,24834781,24834541,24834377,24834221,24834171,24833602,24833594,24833217,24832857,24832829,24832712,24832544,24832312,24832200,24831957,24831920,24831426,24831391,24831386,24831384,24831366,24831281,24831152,24831016,24830960,24830948,24830916,24830794,24830591,24830561,24830461,24830458,24830451,24830336,24830323,24830293,24830242,24829230,24829085,24829077,24829055,24828907,24828877,24828830,24828751,24828675,24828603,24828544,24828528,24828258,24828175,24828174,24827992,24827710,24827675,24827417,24827358,24827356,24827298,24827054,24826951,24826793,24826746,24826669,24826668,24826512,24826437,24826410,24826409,24826354,24826251,24826245,24826242,24826212,24826058,24825413,24825286,24825258,24825167,24825062,24824907,24824901,24824847,24824798,24824745,24824742,24824690,24824640,24824469,24824468,24824346,24824344,24824214,24824083,24824075,24824021,24823960,24823928,24823796,24823766,24823665,24823663,24823662,24823584,24823583,24823495,24823456,24823394,24823151,24822966,24822965,24822914,24822908,24822807,24822805,24822719,24822694,24822609,24822473,24821649,24821648,24821536,24821535,24821425,24821378,24821345,24821270,24821172,24821060,24820998,24820997,24820792,24820767,24820765,24820735,24820734,24820603,24820577,24820501,24820500,24820336,24820333,24820306,24820302,24820151,24820126,24820099,24820020,24820012,24819957,24819908,24819759,24819663,24819662,24819613,24819574,24819520,24819397,24819288,24819168,24817590,24817449,24817397,24817171,24817170,24817117,24816939,24816890,24816876,24816863,24816757,24816654,24816653,24816600,24816599,24816564,24816442,24816336,24816138,24816135,24816081,24816052,24815890,24815861,24815807,24815802,24815801,24815798,24815769,24815767,24815766,24815765,24815738,24815711,24815709,24815705,24815701,24815699,24815698,24815671,24815645,24814863,24814830,24814755,24814754,24814752,24814750,24814690,24814661,24814581,24814506,24814374,24814334,24814291,24814049,24813940,24813915,24813886,24813834,24813795,24813756,24813702,24813434,24813371,24813296,24813156,24813014,24812965,24812912,24812716,24812611,24812385,24812367,24812269,24812086,24812004,24811977,24810545,24810387,24810256,24810178,24810008,24810006,24809849,24809848,24809766,24809704,24809676,24809391,24809352,24809253,24809204,24809151,24809123,24808959,24808958,24808808,24808807,24808757,24808705,24808482,24808442,24808327,24808197,24808194,24808168,24807813,24807347,24806983,24806980,24806849,24806848,24806847,24806821,24806818,24806717,24806663,24806608,24806438,24806436,24806319,24806231,24806107,24805933,24805904,24805873,24805870,24805757,24805544,24805542,24805541,24805488,24805485,24805362,24805309,24805276,24805092,24804951,24804909,24804800,24804799,24804798,24804741,24804568,24804402,24804318,24803674,24803112,24803087,24803059,24802897,24802884,24802806,24802746,24802668,24802526,24802524,24802498,24802365,24802255,24801963,24801910,24801759,24801708,24801706,24801625,24801493,24801467,24801247,24801243,24801192,24801191,24801112,24801108,24800985,24800981,24800917,24800883,24800532,24800507,24800503,24800337,24800257,24800047,24799945,24799601,24799463,24799407,24799329,24799205,24799153,24799152,24798973,24798869,24798738,24798684,24798574,24798513,24798364,24798363,24798294,24798202,24798199,24798080,24798042,24797955,24797770,24797572,24797492,24797368,24797306,24797293,24797239,24797226,24797010,24796834,24796807,24796786,24796755,24796706,24796632,24796583,24796502,24796446,24796432,24796407,24796342,24796140,24796128,24796119,24796104,24796097,24796049,24796001,24795984,24795936,24795848,24795768,24795626,24795383,24794836,24794577,24793703,24793642,24793245,24792396,24792347,24791831,24791758,24791368,24791358,24788593,24787502,24785450,24785085,24785058,24785057,24785056,24785007,24784839,24784802,24784545,24784492,24783624,24783464,24783161,24783009,24782882,24782703,24782650,24782597,24782470,24782417,24782024,24781971,24781868,24781694,24781499,24781461,24780630,24780312,24780249,24779774,24779659,24779388,24779307,24779177,24779048,24778971,24778841,24778722,24778682,24778543,24778477,24778108,24778082,24778018,24777959,24777957,24777931,24777777,24777555,24777419,24777390,24777365,24777248,24776959,24776687,24776642,24776617,24776097,24776070,24776019,24775738,24775385,24775280,24775253,24775105,24775039,24774969,24774845,24774600,24774599,24774340,24774276,24774161,24773945,24773870,24773721,24773670,24773634,24773608,24773606,24773165,24772074,24770731,24770306,24769256,24769097,24768154,24767170,24765954,24765076,24763414,24762937,24761946,24761933,24761880,24761877,24761625,24761598,24761435,24760967,24760491,24760334,24760216,24760053,24759995,24759634,24759467,24759362,24759242,24759193,24759000,24758999,24758876,24758220,24758119,24757852,24757851,24757720,24757486,24756872,24756679,24756645,24756404,24756365,24756360,24756118,24755352,24754175,24753761,24753225,24753185,24752763,24752511,24751546,24750869,24750824,24750325,24749842,24749315,24748871,24748469,24748103,24748063,24747682,24747033,24747000,24746957,24746826,24746812,24746762,24746760,24746468,24746145,24745935,24745612,24745103,24745084,24745064,24744850,24744769,24744728,24744638,24744556,24744257,24744137,24743725,24743719,24743718,24743708,24743534,24743476,24743247,24743237,24743141,24743103,24743100,24743047,24743007,24742758,24741883,24741751,24741625,24741624,24741620,24741619,24741616,24741615,24741609,24741470,24741467,24741463,24741462,24741461,24741460,24741434,24741321,24741317,24741313,24741312,24741308,24741171,24741166,24741162,24741161,24741157,24741097,24741019,24741016,24741012,24741011,24741009,24741004,24740764,24740757,24740751,24740750,24740749,24740746,24740745,24740741,24740569,24740568,24740567,24740547,24740529,24740525,24740521,24740482,24740343,24740339,24740338,24740337,24740333,24740332,24740331,24740325,24740321,24740283,24740178,24740143,24740102,24738937,24738816,24738428,24738129,24737838,24737510,24737055,24736662,24736319,24736301,24736236,24735975,24735950,24735766,24735713,24735621,24735586,24735473,24735455,24735441,24735131,24734911,24734577,24734560,24734489,24734353,24734233,24734072,24733935,24733867,24733850,24733784,24733674,24733396,24733301,24733189,24733066,24733046,24732989,24732559,24732514,24732482,24732429,24732133,24731683,24731364,24731332,24731279,24731167,24731142,24731130,24730597,24730484,24730455,24730384,24730179,24729993,24729933,24729624,24729266,24729184,24728953,24728230,24728151,24727661,24727461,24726365,24725631,24725142,24724802,24723673,24722971,24722181,24720391,24719517,24719513,24719509,24719505,24719503,24719500,24719498,24719495,24719483,24719477,24719476,24719471,24719453,24719188,24719114,24718907,24718586,24718401,24718331,24717463,24717013,24716702,24716575,24716069,24716060,24715825,24715745,24715681,24715377,24714930,24714798,24714746,24714507,24714455,24713860,24713652,24713395,24712985,24712832,24712752,24712725,24712673,24712029,24711592,24711156,24711081,24711078,24710508,24710200,24709846,24709434,24709279,24709276,24709149,24709070,24708917,24708685,24708632,24708417,24708355,24708324,24708134,24708080,24708015,24707521,24707393,24707241,24707139,24707088,24706959,24706399,24706372,24705587,24705325,24705259,24705157,24704952,24704486,24704272,24704003,24703976,24703764,24703464,24703393,24703093,24703041,24702989,24702936,24702806,24702496,24702316,24702117,24702061,24701977,24701974,24701769,24701739,24701612,24701214,24701160,24700884,24699611,24698428,24697974,24697682,24697120,24697035,24696160,24695892,24695469,24695080,24694957,24694714,24694595,24694254,24694178,24694016,24693788,24693609,24693527,24693291,24692951,24692634,24692354,24691957,24691768,24691103,24690875,24690777,24690769,24690674,24690544,24690346,24690171,24689883,24689820,24689628,24689551,24689394,24689246,24689088,24688544,24688283,24688276,24687846,24687682,24687497,24685872,24685460,24685306,24684922,24684770,24684728,24684121,24684058,24683873,24683781,24683662,24683490,24683351,24683120,24682684,24682021,24681935,24681904,24681686,24681289,24680858,24680388,24679970,24679885,24679822,24679728,24679641,24679204,24679092,24678909,24678904,24678749,24678467,24677497,24677257,24676717,24676629,24676130,24675566,24675228,24675220,24675112,24674917,24674619,24674559,24674275,24674243,24674021,24672787,24672607,24672433,24672214,24672086,24671934,24671530,24671210,24671096,24670955,24670827,24670620,24670614,24670498,24670297,24669968,24669291,24669056,24668943,24668517,24668211,24667831,24667109,24667002,24666969,24666466,24666359,24665833,24665613,24665386,24665319,24665192,24665107,24665101,24664303,24664234,24664115,24663867,24663636,24663403,24663301,24663146,24662723,24662643,24662463,24662348,24662230,24662154,24662053,24661819,24661184,24661176,24661168,24661145,24661099,24661024,24661007,24660994,24660993,24660986,24660982,24660860,24660858,24660857,24660856,24660850,24660847,24660620,24660612,24660604,24660595,24660594,24660589,24660474,24660473,24660468,24660464,24660460,24660455,24660430,24660120,24659393,24659386,24659379,24659366,24659362,24659244,24659230,24659228,24659152,24657519,24656974,24656756,24656735,24656727,24656710,24656709,24656593,24656590,24656585,24656581,24656579,24656576,24656573,24656487,24656418,24656412,24656411,24656259,24656258,24656255,24656254,24656251,24656209,24656124,24656118,24656116,24656109,24656091,24656038,24655961,24655960,24655956,24655951,24655935,24655922,24655774,24655758,24655756,24655748,24655708,24655707,24655591,24655588,24655554,24655551,24655550,24655425,24655417,24655409,24655406,24655397,24655392,24655314,24655301,24655295,24655288,24655282,24655278,24655274,24655162,24655156,24655150,24655144,24655111,24655109,24655034,24654979,24654978,24654974,24654971,24654966,24654961,24654958,24654836,24654835,24654812,24654800,24654794,24654788,24654787,24654670,24654668,24654535,24654531,24654519,24654444,24654382,24654378,24654365,24654364,24654363,24654242,24654223,24654203,24654193,24654072,24654067,24654059,24654048,24654030,24653903,24653897,24653890,24653883,24653846,24653767,24653756,24653736,24653727,24653725,24653609,24653599,24653592,24653589,24653588,24653584,24653574,24653573,24653535,24653422,24653338,24653324,24653170,24653158,24653139,24653137,24653130,24653095,24653054,24652935,24652933,24652928,24652917,24652916,24652870,24652865,24652864,24652751,24652677,24652401,24652235,24652008,24651237,24650980,24649981,24649899,24649645,24649626,24649356,24649355,24649278,24649258,24649238,24649085,24649027,24648696,24648655,24648641,24648630,24648488,24648401,24648310,24648291,24648009,24647965,24647775,24647694,24647617,24647602,24647483,24647025,24646818,24646520,24646519,24646445,24646373,24646268,24646163,24646005,24645984,24645977,24645844,24645636,24645630,24645547,24645405,24645311,24645299,24645196,24645069,24645006,24644746,24644707,24644670,24644642,24644586,24644538,24644516,24644325,24644243,24644192,24644179,24644158,24644117,24644113,24644095,24644062,24644030,24643994,24643871,24643656,24643633,24643616,24643466,24643389,24643346,24643191,24643077,24643023,24642936,24642897,24642822,24642739,24642584,24642446,24642216,24642196,24642118,24642050,24641835,24641798,24641777,24641751,24641516,24641457,24641401,24641388,24641228,24641189,24641133,24641049,24641008,24640907,24640648,24640445,24639846,24639785,24639745,24639613,24639513,24639466,24639441,24639273,24638729,24638633,24638593,24638368,24638357,24638347,24638216,24638044,24638043,24638042,24638023,24638017,24638015,24638008,24638006,24637982,24637978,24637972,24637971,24637855,24637853,24637846,24637841,24637839,24637838,24637831,24637829,24637811,24637793,24637789,24637446,24637276,24637016,24636977,24636516,24636401,24636361,24635978,24635757,24635702,24635525,24635496,24635463,24635101,24635063,24634979,24634928,24634686,24634582,24634554,24634374,24634340,24634236,24634135,24634108,24633535,24633506,24633172,24633147,24633095,24632937,24632780,24632673,24632362,24632330,24632070,24631948,24631895,24631432,24631415,24631348,24631275,24631181,24631118,24631025,24630877,24630726,24630571,24630543,24630339,24630185,24630075,24629718,24629583,24629454,24629353,24629015,24628836,24628533,24628249,24627890,24627755,24627753,24627725,24627612,24627474,24626994,24626887,24626872,24626834,24626681,24626494,24626220,24626128,24626082,24625737,24625685,24625210,24625023,24624449,24624037,24623383,24622897,24622779,24622587,24622404,24622326,24622181,24622065,24621860,24621751,24621558,24621321,24620821,24620714,24620631,24620338,24620112,24619720,24619527,24619219,24619154,24619116,24618650,24618563,24618534,24618340,24618250,24618197,24617875,24617792,24617557,24617430,24617429,24617324,24617048,24616685,24616323,24616207,24615541,24615491,24615403,24614984,24614932,24614852,24614569,24614540,24614296,24613884,24613645,24613458,24613404,24613271,24613094,24612324,24612242,24612154,24611680,24610780,24610444,24609931,24609802,24609497,24609384,24609169,24608620,24608277,24607915,24607464,24607365,24606781,24606473,24604998,24604710,24604489,24603625,24603424,24602924,24602738,24602681,24602679,24602483,24601973,24601140,24600876,24600732,24600279,24600018,24599986,24599414,24598788,24598392,24597531,24596932,24596739,24596315,24596130,24594302,24593627,24593334,24592537,24591692,24591450,24590320,24590181,24589419,24589298,24589005,24588657,24587511,24586950,24585958,24585498,24584806,24584189,24583794,24581854,24576669,24576664,24576660,24576651,24576564,24576091,24575616,24575496,24574882,24574557,24573913,24573425,24572845,24572717,24571688,24571261,24568841,24568107,24567943,24567185,24567096,24566715,24566362,24566082,24565595,24565437,24565164,24564868,24563655,24563059,24553677,24553567,24553388,24553282,24553218,24552871,24552111,24551834,24551622,24551528,24551364,24550900,24550834,24550137,24549410,24548632,24548499,24548417,24548321,24547803,24547531,24546436,24545382,24544815,24544562,24544034,24543711,24543447,24543340,24543298,24542325,24542004,24541725,24541321,24540943,24540749,24540698,24540563,24540250,24539989,24539914,24539661,24539360,24538801,24538257,24537635,24537514,24536914,24536794,24536605,24536307,24536091,24535711,24535580,24534770,24534692,24534567,24534300,24533944,24533766,24533636,24533295,24532692,24531749,24531450,24531389,24530728,24530216,24530109,24529131,24528927,24528706,24528326,24527799,24527030,24526830,24526161,24525422,24524440,24524273,24524204,24523998,24523716,24523554,24523140,24522754,24522348,24522032,24521973,24521571,24521424,24520699,24520571,24520064,24520003,24519889,24519689,24519492,24519372,24519210,24519113,24518977,24518419,24518047,24517625,24516486,24514434,24514078,24513133,24511957,24511251,24511079,24510369,24509361,24509103,24508709,24507902,24507212,24507011,24506922,24506709,24506317,24505726,24504909,24504726,24504585,24504060,24503037,24502967,24501495,24500669,24500472,24500333,24500019,24499622,24499511,24499429,24499264,24499051,24498533,24497905,24497681,24497438,24497323,24496695,24496093,24495655,24495626,24495129,24495026,24494778,24494538,24494500,24494334,24494182,24493853,24493845,24488161,24488017,24487900,24487709,24487378,24486874,24486687,24486265,24484993,24484838,24484461,24483878,24483629,24483485,24482710,24482499,24482119,24481184,24480962,24480802,24480200,24479942,24479862,24479744,24479542,24479450,24479019,24478967,24478806,24478645,24478551,24478115,24477861,24477725,24477371,24477082,24476986,24476911,24476791,24476687,24476466,24475843,24475522,24475456,24475403,24475238,24474999,24474976,24474693,24473926,24473254,24472458,24472187,24471998,24471513,24471227,24470934,24470883,24470404,24470133,24470102,24470056,24468899,24468757,24468570,24468346,24467954,24467776,24467441,24466802,24466475,24466318,24465547,24464993,24464866,24464669,24464580,24464489,24464273,24462958,24462654,24462550,24462293,24462171,24462157,24462062,24462056,24461641,24461029,24460754,24460301,24460062,24459362,24459337,24458997,24458593,24458555,24458127,24457987,24457918,24457861,24457752,24457697,24456618,24456230,24456172,24456147,24455810,24455522,24455447,24454989,24454942,24454631,24454508,24454193,24453910,24453773,24453525,24453456,24453356,24453085,24452734,24452729,24452689,24452637,24452636,24452623,24451957,24451871,24451870,24451867,24451835,24451783,24451589,24451203,24450801,24450547,24449648,24449598,24449514 mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_52_34_10134.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@60400325 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [nothing_done] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050138) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050138) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [nothing_done] list_hashtags : List([nothing_done]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5406029427104446003asTemporaryFile -n ca96804f0cbbc01967053e79a52e8de0 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_52_34_10134.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5406029427104446003asTemporaryFile -n ca96804f0cbbc01967053e79a52e8de0 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! List(4864, 4863, 4862, 4861, 4860, 4859, 4858, 4857, 4856, 4855, 4854, 4853, 4852, 4851, 4850, 4849, 4848, 4847, 4846, 4845, 4844, 4843, 4842, 4841, 4840, 4839, 4838, 4837, 4836, 4835, 4834, 4833, 4832, 4831, 4830, 4829, 4828, 4827, 4826, 4825, 4824, 4823, 4822, 4821, 4820, 4819, 4818, 4817, 4816, 4815, 4814, 4813, 4812, 4811, 4810, 4809, 4808, 4807, 4806, 4805, 4804, 4803, 4802, 4801, 4800, 4799, 4798, 4797, 4796, 4795, 4794, 4793, 4792, 4791, 4790, 4789, 4788, 4787, 4786, 4785, 4784, 4783, 4782, 4781, 4780, 4779, 4778, 4777, 4776, 4775, 4774, 4773, 4772, 4771, 4770, 4769, 4768, 4767, 4766, 4765, 4764, 4763, 4762, 4761, 4760, 4759, 4758, 4757, 4756, 4755, 4754, 4753, 4752, 4751, 4750, 4749, 4748, 4747, 4746, 4745, 4744, 4743, 4742, 4741, 4740, 4739, 4738, 4737, 4736, 4735, 4734, 4733, 4732, 4731, 4730, 4729, 4728, 4727, 4726, 4725, 4724, 4723, 4722, 4721, 4720, 4719, 4718, 4717, 4716, 4715, 4714, 4713, 4712, 4711, 4710, 4709, 4708, 4707, 4706, 4705, 4704, 4703, 4702, 4701, 4700, 4699, 4698, 4697, 4696, 4695, 4694, 4693, 4692, 4691, 4690, 4689, 4688, 4687, 4686, 4685, 4684, 4683, 4682, 4681, 4680, 4679, 4678, 4677, 4676, 4675, 4674, 4673, 4672, 4671, 4670, 4669, 4668, 4667, 4666, 4665, 4664, 4663, 4662, 4661, 4660, 4659, 4658, 4657, 4656, 4655, 4654, 4653, 4652, 4651, 4650, 4649, 4648, 4647, 4646, 4645, 4644, 4643, 4642, 4641, 4640, 4639, 4638, 4637, 4636, 4635, 4634, 4633, 4632, 4631, 4630, 4629, 4628, 4627, 4626, 4625, 4624, 4623, 4622, 4621, 4620, 4619, 4618, 4617, 4616, 4615, 4614, 4613, 4612, 4611, 4610, 4609, 4608, 4607, 4606, 4605, 4604, 4603, 4602, 4601, 4600, 4599, 4598, 4597, 4596, 4595, 4594, 4593, 4592, 4591, 4590, 4589, 4588, 4587, 4586, 4585, 4584, 4583, 4582, 4581, 4580, 4579, 4578, 4577, 4576, 4575, 4574, 4573, 4572, 4571, 4570, 4569, 4568, 4567, 4566, 4565, 4564, 4563, 4562, 4561, 4560, 4559, 4558, 4557, 4556, 4555, 4554, 4553, 4552, 4551, 4550, 4549, 4548, 4547, 4546, 4545, 4544, 4543, 4542, 4541, 4540, 4539, 4538, 4537, 4536, 4535, 4534, 4533, 4532, 4531, 4530, 4529, 4528, 4527, 4526, 4525, 4524, 4523, 4522, 4521, 4520, 4519, 4518, 4517, 4516, 4515, 4514, 4513, 4512, 4511, 4510, 4509, 4508, 4507, 4506, 4505, 4504, 4503, 4502, 4501, 4500, 4499, 4498, 4497, 4496, 4495, 4494, 4493, 4492, 4491, 4490, 4489, 4488, 4487, 4486, 4485, 4484, 4483, 4482, 4481, 4480, 4479, 4478, 4477, 4476, 4475, 4474, 4473, 4472, 4471, 4470, 4469, 4468, 4467, 4466, 4465, 4464, 4463, 4462, 4461, 4460, 4459, 4458, 4457, 4456, 4455, 4454, 4453, 4452, 4451, 4450, 4449, 4448, 4447, 4446, 4445, 4444, 4443, 4442, 4441, 4440, 4439, 4438, 4437, 4436, 4435, 4434, 4433, 4432, 4431, 4430, 4429, 4428, 4427, 4426, 4425, 4424, 4423, 4422, 4421, 4420, 4419, 4418, 4417, 4416, 4415, 4414, 4413, 4412, 4411, 4410, 4409, 4408, 4407, 4406, 4405, 4404, 4403, 4402, 4401, 4400, 4399, 4398, 4397, 4396, 4395, 4394, 4393, 4392, 4391, 4390, 4389, 4388, 4387, 4386, 4385, 4384, 4383, 4382, 4381, 4380, 4379, 4378, 4377, 4376, 4375, 4374, 4373, 4372, 4371, 4370, 4369, 4368, 4367, 4366, 4365, 4364, 4363, 4362, 4361, 4360, 4359, 4358, 4357, 4356, 4355, 4354, 4353, 4352, 4351, 4350, 4349, 4348, 4347, 4346, 4345, 4344, 4343, 4342, 4341, 4340, 4339, 4338, 4337, 4336, 4335, 4334, 4333, 4332, 4331, 4330, 4329, 4328, 4327, 4326, 4325, 4324, 4323, 4322, 4321, 4320, 4319, 4318, 4317, 4316, 4315, 4314, 4313, 4312, 4311, 4310, 4309, 4308, 4307, 4306, 4305, 4304, 4303, 4302, 4301, 4300, 4299, 4298, 4297, 4296, 4295, 4294, 4293, 4292, 4291, 4290, 4289, 4288, 4287, 4286, 4285, 4284, 4283, 4282, 4281, 4280, 4279, 4278, 4277, 4276, 4275, 4274, 4273, 4272, 4271, 4270, 4269, 4268, 4267, 4266, 4265, 4264, 4263, 4262, 4261, 4260, 4259, 4258, 4257, 4256, 4255, 4254, 4253, 4252, 4251, 4250, 4249, 4248, 4247, 4246, 4245, 4244, 4243, 4242, 4241, 4240, 4239, 4238, 4237, 4236, 4235, 4234, 4233, 4232, 4231, 4230, 4229, 4228, 4227, 4226, 4225, 4224, 4223, 4222, 4221, 4220, 4219, 4218, 4217, 4216, 4215, 4214, 4213, 4212, 4211, 4210, 4209, 4208, 4207, 4206, 4205, 4204, 4203, 4202, 4201, 4200, 4199, 4198, 4197, 4196, 4195, 4194, 4193, 4192, 4191, 4190, 4189, 4188, 4187, 4186, 4185, 4184, 4183, 4182, 4181, 4180, 4179, 4178, 4177, 4176, 4175, 4174, 4173, 4172, 4171, 4170, 4169, 4168, 4167, 4166, 4165, 4164, 4163, 4162, 4161, 4160, 4159, 4158, 4157, 4156, 4155, 4154, 4153, 4152, 4151, 4150, 4149, 4148, 4147, 4146, 4145, 4144, 4143, 4142, 4141, 4140, 4139, 4138, 4137, 4136, 4135, 4134, 4133, 4132, 4131, 4130, 4129, 4128, 4127, 4126, 4125, 4124, 4123, 4122, 4121, 4120, 4119, 4118, 4117, 4116, 4115, 4114, 4113, 4112, 4111, 4110, 4109, 4108, 4107, 4106, 4105, 4104, 4103, 4102, 4101, 4100, 4099, 4098, 4097, 4096, 4095, 4094, 4093, 4092, 4091, 4090, 4089, 4088, 4087, 4086, 4085, 4084, 4083, 4082, 4081, 4080, 4079, 4078, 4077, 4076, 4075, 4074, 4073, 4072, 4071, 4070, 4069, 4068, 4067, 4066, 4065, 4064, 4063, 4062, 4061, 4060, 4059, 4058, 4057, 4056, 4055, 4054, 4053, 4052, 4051, 4050, 4049, 4048, 4047, 4046, 4045, 4044, 4043, 4042, 4041, 4040, 4039, 4038, 4037, 4036, 4035, 4034, 4033, 4032, 4031, 4030, 4029, 4028, 4027, 4026, 4025, 4024, 4023, 4022, 4021, 4020, 4019, 4018, 4017, 4016, 4015, 4014, 4013, 4012, 4011, 4010, 4009, 4008, 4007, 4006, 4005, 4004, 4003, 4002, 4001, 4000, 3999, 3998, 3997, 3996, 3995, 3994, 3993, 3992, 3991, 3990, 3989, 3988, 3987, 3986, 3985, 3984, 3983, 3982, 3981, 3980, 3979, 3978, 3977, 3976, 3975, 3974, 3973, 3972, 3971, 3970, 3969, 3968, 3967, 3966, 3965, 3964, 3963, 3962, 3961, 3960, 3959, 3958, 3957, 3956, 3955, 3954, 3953, 3952, 3951, 3950, 3949, 3948, 3947, 3946, 3945, 3944, 3943, 3942, 3941, 3940, 3939, 3938, 3937, 3936, 3935, 3934, 3933, 3932, 3931, 3930, 3929, 3928, 3927, 3926, 3925, 3924, 3923, 3922, 3921, 3920, 3919, 3918, 3917, 3916, 3915, 3914, 3913, 3912, 3911, 3910, 3909, 3908, 3907, 3906, 3905, 3904, 3903, 3902, 3901, 3900, 3899, 3898, 3897, 3896, 3895, 3894, 3893, 3892, 3891, 3890, 3889, 3888, 3887, 3886, 3885, 3884, 3883, 3882, 3881, 3880, 3879, 3878, 3877, 3876, 3875, 3874, 3873, 3872, 3871, 3870, 3869, 3868, 3867, 3866, 3865, 3864, 3863, 3862, 3861, 3860, 3859, 3858, 3857, 3856, 3855, 3854, 3853, 3852, 3851, 3850, 3849, 3848, 3847, 3846, 3845, 3844, 3843, 3842, 3841, 3840, 3839, 3838, 3837, 3836, 3835, 3834, 3833, 3832, 3831, 3830, 3829, 3828, 3827, 3826, 3825, 3824, 3823, 3822, 3821, 3820, 3819, 3818, 3817, 3816, 3815, 3814, 3813, 3812, 3811, 3810, 3809, 3808, 3807, 3806, 3805, 3804, 3803, 3802, 3801, 3800, 3799, 3798, 3797, 3796, 3795, 3794, 3793, 3792, 3791, 3790, 3789, 3788, 3787, 3786, 3785, 3784, 3783, 3782, 3781, 3780, 3779, 3778, 3777, 3776, 3775, 3774, 3773, 3772, 3771, 3770, 3769, 3768, 3767, 3766, 3765, 3764, 3763, 3762, 3761, 3760, 3759, 3758, 3757, 3756, 3755, 3754, 3753, 3752, 3751, 3750, 3749, 3748, 3747, 3746, 3745, 3744, 3743, 3742, 3741, 3740, 3739, 3738, 3737, 3736, 3735, 3734, 3733, 3732, 3731, 3730, 3729, 3728, 3727, 3726, 3725, 3724, 3723, 3722, 3721, 3720, 3719, 3718, 3717, 3716, 3715, 3714, 3713, 3712, 3711, 3710, 3709, 3708, 3707, 3706, 3705, 3704, 3703, 3702, 3701, 3700, 3699, 3698, 3697, 3696, 3695, 3694, 3693, 3692, 3691, 3690, 3689, 3688, 3687, 3686, 3685, 3684, 3683, 3682, 3681, 3680, 3679, 3678, 3677, 3676, 3675, 3674, 3673, 3672, 3671, 3670, 3669, 3668, 3667, 3666, 3665, 3664, 3663, 3662, 3661, 3660, 3659, 3658, 3657, 3656, 3655, 3654, 3653, 3652, 3651, 3650, 3649, 3648, 3647, 3646, 3645, 3644, 3643, 3642, 3641, 3640, 3639, 3638, 3637, 3636, 3635, 3634, 3633, 3632, 3631, 3630, 3629, 3628, 3627, 3626, 3625, 3624, 3623, 3622, 3621, 3620, 3619, 3618, 3617, 3616, 3615, 3614, 3613, 3612, 3611, 3610, 3609, 3608, 3607, 3606, 3605, 3604, 3603, 3602, 3601, 3600, 3599, 3598, 3597, 3596, 3595, 3594, 3593, 3592, 3591, 3590, 3589, 3588, 3587, 3586, 3585, 3584, 3583, 3582, 3581, 3580, 3579, 3578, 3577, 3576, 3575, 3574, 3573, 3572, 3571, 3570, 3569, 3568, 3567, 3566, 3565, 3564, 3563, 3562, 3561, 3560, 3559, 3558, 3557, 3556, 3555, 3554, 3553, 3552, 3551, 3550, 3549, 3548, 3547, 3546, 3545, 3544, 3543, 3542, 3541, 3540, 3539, 3538, 3537, 3536, 3535, 3534, 3533, 3532, 3531, 3530, 3529, 3528, 3527, 3526, 3525, 3524, 3523, 3522, 3521, 3520, 3519, 3518, 3517, 3516, 3515, 3514, 3513, 3512, 3511, 3510, 3509, 3508, 3507, 3506, 3505, 3504, 3503, 3502, 3501, 3500, 3499, 3498, 3497, 3496, 3495, 3494, 3493, 3492, 3491, 3490, 3489, 3488, 3487, 3486, 3485, 3484, 3483, 3482, 3481, 3480, 3479, 3478, 3477, 3476, 3475, 3474, 3473, 3472, 3471, 3470, 3469, 3468, 3467, 3466, 3465, 3464, 3463, 3462, 3461, 3460, 3459, 3458, 3457, 3456, 3455, 3454, 3453, 3452, 3451, 3450, 3449, 3448, 3447, 3446, 3445, 3444, 3443, 3442, 3441, 3440, 3439, 3438, 3437, 3436, 3435, 3434, 3433, 3432, 3431, 3430, 3429, 3428, 3427, 3426, 3425, 3424, 3423, 3422, 3421, 3420, 3419, 3418, 3417, 3416, 3415, 3414, 3413, 3412, 3411, 3410, 3409, 3408, 3407, 3406, 3405, 3404, 3403, 3402, 3401, 3400, 3399, 3398, 3397, 3396, 3395, 3394, 3393, 3392, 3391, 3390, 3389, 3388, 3387, 3386, 3385, 3384, 3383, 3382, 3381, 3380, 3379, 3378, 3377, 3376, 3375, 3374, 3373, 3372, 3371, 3370, 3369, 3368, 3367, 3366, 3365, 3364, 3363, 3362, 3361, 3360, 3359, 3358, 3357, 3356, 3355, 3354, 3353, 3352, 3351, 3350, 3349, 3348, 3347, 3346, 3345, 3344, 3343, 3342, 3341, 3340, 3339, 3338, 3337, 3336, 3335, 3334, 3333, 3332, 3331, 3330, 3329, 3328, 3327, 3326, 3325, 3324, 3323, 3322, 3321, 3320, 3319, 3318, 3317, 3316, 3315, 3314, 3313, 3312, 3311, 3310, 3309, 3308, 3307, 3306, 3305, 3304, 3303, 3302, 3301, 3300, 3299, 3298, 3297, 3296, 3295, 3294, 3293, 3292, 3291, 3290, 3289, 3288, 3287, 3286, 3285, 3284, 3283, 3282, 3281, 3280, 3279, 3278, 3277, 3276, 3275, 3274, 3273, 3272, 3271, 3270, 3269, 3268, 3267, 3266, 3265, 3264, 3263, 3262, 3261, 3260, 3259, 3258, 3257, 3256, 3255, 3254, 3253, 3252, 3251, 3250, 3249, 3248, 3247, 3246, 3245, 3244, 3243, 3242, 3241, 3240, 3239, 3238, 3237, 3236, 3235, 3234, 3233, 3232, 3231, 3230, 3229, 3228, 3227, 3226, 3225, 3224, 3223, 3222, 3221, 3220, 3219, 3218, 3217, 3216, 3215, 3214, 3213, 3212, 3211, 3210, 3209, 3208, 3207, 3206, 3205, 3204, 3203, 3202, 3201, 3200, 3199, 3198, 3197, 3196, 3195, 3194, 3193, 3192, 3191, 3190, 3189, 3188, 3187, 3186, 3185, 3184, 3183, 3182, 3181, 3180, 3179, 3178, 3177, 3176, 3175, 3174, 3173, 3172, 3171, 3170, 3169, 3168, 3167, 3166, 3165, 3164, 3163, 3162, 3161, 3160, 3159, 3158, 3157, 3156, 3155, 3154, 3153, 3152, 3151, 3150, 3149, 3148, 3147, 3146, 3145, 3144, 3143, 3142, 3141, 3140, 3139, 3138, 3137, 3136, 3135, 3134, 3133, 3132, 3131, 3130, 3129, 3128, 3127, 3126, 3125, 3124, 3123, 3122, 3121, 3120, 3119, 3118, 3117, 3116, 3115, 3114, 3113, 3112, 3111, 3110, 3109, 3108, 3107, 3106, 3105, 3104, 3103, 3102, 3101, 3100, 3099, 3098, 3097, 3096, 3095, 3094, 3093, 3092, 3091, 3090, 3089, 3088, 3087, 3086, 3085, 3084, 3083, 3082, 3081, 3080, 3079, 3078, 3077, 3076, 3075, 3074, 3073, 3072, 3071, 3070, 3069, 3068, 3067, 3066, 3065, 3064, 3063, 3062, 3061, 3060, 3059, 3058, 3057, 3056, 3055, 3054, 3053, 3052, 3051, 3050, 3049, 3048, 3047, 3046, 3045, 3044, 3043, 3042, 3041, 3040, 3039, 3038, 3037, 3036, 3035, 3034, 3033, 3032, 3031, 3030, 3029, 3028, 3027, 3026, 3025, 3024, 3023, 3022, 3021, 3020, 3019, 3018, 3017, 3016, 3015, 3014, 3013, 3012, 3011, 3010, 3009, 3008, 3007, 3006, 3005, 3004, 3003, 3002, 3001, 3000, 2999, 2998, 2997, 2996, 2995, 2994, 2993, 2992, 2991, 2990, 2989, 2988, 2987, 2986, 2985, 2984, 2983, 2982, 2981, 2980, 2979, 2978, 2977, 2976, 2975, 2974, 2973, 2972, 2971, 2970, 2969, 2968, 2967, 2966, 2965, 2964, 2963, 2962, 2961, 2960, 2959, 2958, 2957, 2956, 2955, 2954, 2953, 2952, 2951, 2950, 2949, 2948, 2947, 2946, 2945, 2944, 2943, 2942, 2941, 2940, 2939, 2938, 2937, 2936, 2935, 2934, 2933, 2932, 2931, 2930, 2929, 2928, 2927, 2926, 2925, 2924, 2923, 2922, 2921, 2920, 2919, 2918, 2917, 2916, 2915, 2914, 2913, 2912, 2911, 2910, 2909, 2908, 2907, 2906, 2905, 2904, 2903, 2902, 2901, 2900, 2899, 2898, 2897, 2896, 2895, 2894, 2893, 2892, 2891, 2890, 2889, 2888, 2887, 2886, 2885, 2884, 2883, 2882, 2881, 2880, 2879, 2878, 2877, 2876, 2875, 2874, 2873, 2872, 2871, 2870, 2869, 2868, 2867, 2866, 2865, 2864, 2863, 2862, 2861, 2860, 2859, 2858, 2857, 2856, 2855, 2854, 2853, 2852, 2851, 2850, 2849, 2848, 2847, 2846, 2845, 2844, 2843, 2842, 2841, 2840, 2839, 2838, 2837, 2836, 2835, 2834, 2833, 2832, 2831, 2830, 2829, 2828, 2827, 2826, 2825, 2824, 2823, 2822, 2821, 2820, 2819, 2818, 2817, 2816, 2815, 2814, 2813, 2812, 2811, 2810, 2809, 2808, 2807, 2806, 2805, 2804, 2803, 2802, 2801, 2800, 2799, 2798, 2797, 2796, 2795, 2794, 2793, 2792, 2791, 2790, 2789, 2788, 2787, 2786, 2785, 2784, 2783, 2782, 2781, 2780, 2779, 2778, 2777, 2776, 2775, 2774, 2773, 2772, 2771, 2770, 2769, 2768, 2767, 2766, 2765, 2764, 2763, 2762, 2761, 2760, 2759, 2758, 2757, 2756, 2755, 2754, 2753, 2752, 2751, 2750, 2749, 2748, 2747, 2746, 2745, 2744, 2743, 2742, 2741, 2740, 2739, 2738, 2737, 2736, 2735, 2734, 2733, 2732, 2731, 2730, 2729, 2728, 2727, 2726, 2725, 2724, 2723, 2722, 2721, 2720, 2719, 2718, 2717, 2716, 2715, 2714, 2713, 2712, 2711, 2710, 2709, 2708, 2707, 2706, 2705, 2704, 2703, 2702, 2701, 2700, 2699, 2698, 2697, 2696, 2695, 2694, 2693, 2692, 2691, 2690, 2689, 2688, 2687, 2686, 2685, 2684, 2683, 2682, 2681, 2680, 2679, 2678, 2677, 2676, 2675, 2674, 2673, 2672, 2671, 2670, 2669, 2668, 2667, 2666, 2665, 2664, 2663, 2662, 2661, 2660, 2659, 2658, 2657, 2656, 2655, 2654, 2653, 2652, 2651, 2650, 2649, 2648, 2647, 2646, 2645, 2644, 2643, 2642, 2641, 2640, 2639, 2638, 2637, 2636, 2635, 2634, 2633, 2632, 2631, 2630, 2629, 2628, 2627, 2626, 2625, 2624, 2623, 2622, 2621, 2620, 2619, 2618, 2617, 2616, 2615, 2614, 2613, 2612, 2611, 2610, 2609, 2608, 2607, 2606, 2605, 2604, 2603, 2602, 2601, 2600, 2599, 2598, 2597, 2596, 2595, 2594, 2593, 2592, 2591, 2590, 2589, 2588, 2587, 2586, 2585, 2584, 2583, 2582, 2581, 2580, 2579, 2578, 2577, 2576, 2575, 2574, 2573, 2572, 2571, 2570, 2569, 2568, 2567, 2566, 2565, 2564, 2563, 2562, 2561, 2560, 2559, 2558, 2557, 2556, 2555, 2554, 2553, 2552, 2551, 2550, 2549, 2548, 2547, 2546, 2545, 2544, 2543, 2542, 2541, 2540, 2539, 2538, 2537, 2536, 2535, 2534, 2533, 2532, 2531, 2530, 2529, 2528, 2527, 2526, 2525, 2524, 2523, 2522, 2521, 2520, 2519, 2518, 2517, 2516, 2515, 2514, 2513, 2512, 2511, 2510, 2509, 2508, 2507, 2506, 2505, 2504, 2503, 2502, 2501, 2500, 2499, 2498, 2497, 2496, 2495, 2494, 2493, 2492, 2491, 2490, 2489, 2488, 2487, 2486, 2485, 2484, 2483, 2482, 2481, 2480, 2479, 2478, 2477, 2476, 2475, 2474, 2473, 2472, 2471, 2470, 2469, 2468, 2467, 2466, 2465, 2464, 2463, 2462, 2461, 2460, 2459, 2458, 2457, 2456, 2455, 2454, 2453, 2452, 2451, 2450, 2449, 2448, 2447, 2446, 2445, 2444, 2443, 2442, 2441, 2440, 2439, 2438, 2437, 2436, 2435, 2434, 2433, 2432, 2431, 2430, 2429, 2428, 2427, 2426, 2425, 2424, 2423, 2422, 2421, 2420, 2419, 2418, 2417, 2416, 2415, 2414, 2413, 2412, 2411, 2410, 2409, 2408, 2407, 2406, 2405, 2404, 2403, 2402, 2401, 2400, 2399, 2398, 2397, 2396, 2395, 2394, 2393, 2392, 2391, 2390, 2389, 2388, 2387, 2386, 2385, 2384, 2383, 2382, 2381, 2380, 2379, 2378, 2377, 2376, 2375, 2374, 2373, 2372, 2371, 2370, 2369, 2368, 2367, 2366, 2365, 2364, 2363, 2362, 2361, 2360, 2359, 2358, 2357, 2356, 2355, 2354, 2353, 2352, 2351, 2350, 2349, 2348, 2347, 2346, 2345, 2344, 2343, 2342, 2341, 2340, 2339, 2338, 2337, 2336, 2335, 2334, 2333, 2332, 2331, 2330, 2329, 2328, 2327, 2326, 2325, 2324, 2323, 2322, 2321, 2320, 2319, 2318, 2317, 2316, 2315, 2314, 2313, 2312, 2311, 2310, 2309, 2308, 2307, 2306, 2305, 2304, 2303, 2302, 2301, 2300, 2299, 2298, 2297, 2296, 2295, 2294, 2293, 2292, 2291, 2290, 2289, 2288, 2287, 2286, 2285, 2284, 2283, 2282, 2281, 2280, 2279, 2278, 2277, 2276, 2275, 2274, 2273, 2272, 2271, 2270, 2269, 2268, 2267, 2266, 2265, 2264, 2263, 2262, 2261, 2260, 2259, 2258, 2257, 2256, 2255, 2254, 2253, 2252, 2251, 2250, 2249, 2248, 2247, 2246, 2245, 2244, 2243, 2242, 2241, 2240, 2239, 2238, 2237, 2236, 2235, 2234, 2233, 2232, 2231, 2230, 2229, 2228, 2227, 2226, 2225, 2224, 2223, 2222, 2221, 2220, 2219, 2218, 2217, 2216, 2215, 2214, 2213, 2212, 2211, 2210, 2209, 2208, 2207, 2206, 2205, 2204, 2203, 2202, 2201, 2200, 2199, 2198, 2197, 2196, 2195, 2194, 2193, 2192, 2191, 2190, 2189, 2188, 2187, 2186, 2185, 2184, 2183, 2182, 2181, 2180, 2179, 2178, 2177, 2176, 2175, 2174, 2173, 2172, 2171, 2170, 2169, 2168, 2167, 2166, 2165, 2164, 2163, 2162, 2161, 2160, 2159, 2158, 2157, 2156, 2155, 2154, 2153, 2152, 2151, 2150, 2149, 2148, 2147, 2146, 2145, 2144, 2143, 2142, 2141, 2140, 2139, 2138, 2137, 2136, 2135, 2134, 2133, 2132, 2131, 2130, 2129, 2128, 2127, 2126, 2125, 2124, 2123, 2122, 2121, 2120, 2119, 2118, 2117, 2116, 2115, 2114, 2113, 2112, 2111, 2110, 2109, 2108, 2107, 2106, 2105, 2104, 2103, 2102, 2101, 2100, 2099, 2098, 2097, 2096, 2095, 2094, 2093, 2092, 2091, 2090, 2089, 2088, 2087, 2086, 2085, 2084, 2083, 2082, 2081, 2080, 2079, 2078, 2077, 2076, 2075, 2074, 2073, 2072, 2071, 2070, 2069, 2068, 2067, 2066, 2065, 2064, 2063, 2062, 2061, 2060, 2059, 2058, 2057, 2056, 2055, 2054, 2053, 2052, 2051, 2050, 2049, 2048, 2047, 2046, 2045, 2044, 2043, 2042, 2041, 2040, 2039, 2038, 2037, 2036, 2035, 2034, 2033, 2032, 2031, 2030, 2029, 2028, 2027, 2026, 2025, 2024, 2023, 2022, 2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000, 1999, 1998, 1997, 1996, 1995, 1994, 1993, 1992, 1991, 1990, 1989, 1988, 1987, 1986, 1985, 1984, 1983, 1982, 1981, 1980, 1979, 1978, 1977, 1976, 1975, 1974, 1973, 1972, 1971, 1970, 1969, 1968, 1967, 1966, 1965, 1964, 1963, 1962, 1961, 1960, 1959, 1958, 1957, 1956, 1955, 1954, 1953, 1952, 1951, 1950, 1949, 1948, 1947, 1946, 1945, 1944, 1943, 1942, 1941, 1940, 1939, 1938, 1937, 1936, 1935, 1934, 1933, 1932, 1931, 1930, 1929, 1928, 1927, 1926, 1925, 1924, 1923, 1922, 1921, 1920, 1919, 1918, 1917, 1916, 1915, 1914, 1913, 1912, 1911, 1910, 1909, 1908, 1907, 1906, 1905, 1904, 1903, 1902, 1901, 1900, 1899, 1898, 1897, 1896, 1895, 1894, 1893, 1892, 1891, 1890, 1889, 1888, 1887, 1886, 1885, 1884, 1883, 1882, 1881, 1880, 1879, 1878, 1877, 1876, 1875, 1874, 1873, 1872, 1871, 1870, 1869, 1868, 1867, 1866, 1865, 1864, 1863, 1862, 1861, 1860, 1859, 1858, 1857, 1856, 1855, 1854, 1853, 1852, 1851, 1850, 1849, 1848, 1847, 1846, 1845, 1844, 1843, 1842, 1841, 1840, 1839, 1838, 1837, 1836, 1835, 1834, 1833, 1832, 1831, 1830, 1829, 1828, 1827, 1826, 1825, 1824, 1823, 1822, 1821, 1820, 1819, 1818, 1817, 1816, 1815, 1814, 1813, 1812, 1811, 1810, 1809, 1808, 1807, 1806, 1805, 1804, 1803, 1802, 1801, 1800, 1799, 1798, 1797, 1796, 1795, 1794, 1793, 1792, 1791, 1790, 1789, 1788, 1787, 1786, 1785, 1784, 1783, 1782, 1781, 1780, 1779, 1778, 1777, 1776, 1775, 1774, 1773, 1772, 1771, 1770, 1769, 1768, 1767, 1766, 1765, 1764, 1763, 1762, 1761, 1760, 1759, 1758, 1757, 1756, 1755, 1754, 1753, 1752, 1751, 1750, 1749, 1748, 1747, 1746, 1745, 1744, 1743, 1742, 1741, 1740, 1739, 1738, 1737, 1736, 1735, 1734, 1733, 1732, 1731, 1730, 1729, 1728, 1727, 1726, 1725, 1724, 1723, 1722, 1721, 1720, 1719, 1718, 1717, 1716, 1715, 1714, 1713, 1712, 1711, 1710, 1709, 1708, 1707, 1706, 1705, 1704, 1703, 1702, 1701, 1700, 1699, 1698, 1697, 1696, 1695, 1694, 1693, 1692, 1691, 1690, 1689, 1688, 1687, 1686, 1685, 1684, 1683, 1682, 1681, 1680, 1679, 1678, 1677, 1676, 1675, 1674, 1673, 1672, 1671, 1670, 1669, 1668, 1667, 1666, 1665, 1664, 1663, 1662, 1661, 1660, 1659, 1658, 1657, 1656, 1655, 1654, 1653, 1652, 1651, 1650, 1649, 1648, 1647, 1646, 1645, 1644, 1643, 1642, 1641, 1640, 1639, 1638, 1637, 1636, 1635, 1634, 1633, 1632, 1631, 1630, 1629, 1628, 1627, 1626, 1625, 1624, 1623, 1622, 1621, 1620, 1619, 1618, 1617, 1616, 1615, 1614, 1613, 1612, 1611, 1610, 1609, 1608, 1607, 1606, 1605, 1604, 1603, 1602, 1601, 1600, 1599, 1598, 1597, 1596, 1595, 1594, 1593, 1592, 1591, 1590, 1589, 1588, 1587, 1586, 1585, 1584, 1583, 1582, 1581, 1580, 1579, 1578, 1577, 1576, 1575, 1574, 1573, 1572, 1571, 1570, 1569, 1568, 1567, 1566, 1565, 1564, 1563, 1562, 1561, 1560, 1559, 1558, 1557, 1556, 1555, 1554, 1553, 1552, 1551, 1550, 1549, 1548, 1547, 1546, 1545, 1544, 1543, 1542, 1541, 1540, 1539, 1538, 1537, 1536, 1535, 1534, 1533, 1532, 1531, 1530, 1529, 1528, 1527, 1526, 1525, 1524, 1523, 1522, 1521, 1520, 1519, 1518, 1517, 1516, 1515, 1514, 1513, 1512, 1511, 1510, 1509, 1508, 1507, 1506, 1505, 1504, 1503, 1502, 1501, 1500, 1499, 1498, 1497, 1496, 1495, 1494, 1493, 1492, 1491, 1490, 1489, 1488, 1487, 1486, 1485, 1484, 1483, 1482, 1481, 1480, 1479, 1478, 1477, 1476, 1475, 1474, 1473, 1472, 1471, 1470, 1469, 1468, 1467, 1466, 1465, 1464, 1463, 1462, 1461, 1460, 1459, 1458, 1457, 1456, 1455, 1454, 1453, 1452, 1451, 1450, 1449, 1448, 1447, 1446, 1445, 1444, 1443, 1442, 1441, 1440, 1439, 1438, 1437, 1436, 1435, 1434, 1433, 1432, 1431, 1430, 1429, 1428, 1427, 1426, 1425, 1424, 1423, 1422, 1421, 1420, 1419, 1418, 1417, 1416, 1415, 1414, 1413, 1412, 1411, 1410, 1409, 1408, 1407, 1406, 1405, 1404, 1403, 1402, 1401, 1400, 1399, 1398, 1397, 1396, 1395, 1394, 1393, 1392, 1391, 1390, 1389, 1388, 1387, 1386, 1385, 1384, 1383, 1382, 1381, 1380, 1379, 1378, 1377, 1376, 1375, 1374, 1373, 1372, 1371, 1370, 1369, 1368, 1367, 1366, 1365, 1364, 1363, 1362, 1361, 1360, 1359, 1358, 1357, 1356, 1355, 1354, 1353, 1352, 1351, 1350, 1349, 1348, 1347, 1346, 1345, 1344, 1343, 1342, 1341, 1340, 1339, 1338, 1337, 1336, 1335, 1334, 1333, 1332, 1331, 1330, 1329, 1328, 1327, 1326, 1325, 1324, 1323, 1322, 1321, 1320, 1319, 1318, 1317, 1316, 1315, 1314, 1313, 1312, 1311, 1310, 1309, 1308, 1307, 1306, 1305, 1304, 1303, 1302, 1301, 1300, 1299, 1298, 1297, 1296, 1295, 1294, 1293, 1292, 1291, 1290, 1289, 1288, 1287, 1286, 1285, 1284, 1283, 1282, 1281, 1280, 1279, 1278, 1277, 1276, 1275, 1274, 1273, 1272, 1271, 1270, 1269, 1268, 1267, 1266, 1265, 1264, 1263, 1262, 1261, 1260, 1259, 1258, 1257, 1256, 1255, 1254, 1253, 1252, 1251, 1250, 1249, 1248, 1247, 1246, 1245, 1244, 1243, 1242, 1241, 1240, 1239, 1238, 1237, 1236, 1235, 1234, 1233, 1232, 1231, 1230, 1229, 1228, 1227, 1226, 1225, 1224, 1223, 1222, 1221, 1220, 1219, 1218, 1217, 1216, 1215, 1214, 1213, 1212, 1211, 1210, 1209, 1208, 1207, 1206, 1205, 1204, 1203, 1202, 1201, 1200, 1199, 1198, 1197, 1196, 1195, 1194, 1193, 1192, 1191, 1190, 1189, 1188, 1187, 1186, 1185, 1184, 1183, 1182, 1181, 1180, 1179, 1178, 1177, 1176, 1175, 1174, 1173, 1172, 1171, 1170, 1169, 1168, 1167, 1166, 1165, 1164, 1163, 1162, 1161, 1160, 1159, 1158, 1157, 1156, 1155, 1154, 1153, 1152, 1151, 1150, 1149, 1148, 1147, 1146, 1145, 1144, 1143, 1142, 1141, 1140, 1139, 1138, 1137, 1136, 1135, 1134, 1133, 1132, 1131, 1130, 1129, 1128, 1127, 1126, 1125, 1124, 1123, 1122, 1121, 1120, 1119, 1118, 1117, 1116, 1115, 1114, 1113, 1112, 1111, 1110, 1109, 1108, 1107, 1106, 1105, 1104, 1103, 1102, 1101, 1100, 1099, 1098, 1097, 1096, 1095, 1094, 1093, 1092, 1091, 1090, 1089, 1088, 1087, 1086, 1085, 1084, 1083, 1082, 1081, 1080, 1079, 1078, 1077, 1076, 1075, 1074, 1073, 1072, 1071, 1070, 1069, 1068, 1067, 1066, 1065, 1064, 1063, 1062, 1061, 1060, 1059, 1058, 1057, 1056, 1055, 1054, 1053, 1052, 1051, 1050, 1049, 1048, 1047, 1046, 1045, 1044, 1043, 1042, 1041, 1040, 1039, 1038, 1037, 1036, 1035, 1034, 1033, 1032, 1031, 1030, 1029, 1028, 1027, 1026, 1025, 1024, 1023, 1022, 1021, 1020, 1019, 1018, 1017, 1016, 1015, 1014, 1013, 1012, 1011, 1010, 1009, 1008, 1007, 1006, 1005, 1004, 1003, 1002, 1001, 1000, 999, 998, 997, 996, 995, 994, 993, 992, 991, 990, 989, 988, 987, 986, 985, 984, 983, 982, 981, 980, 979, 978, 977, 976, 975, 974, 973, 972, 971, 970, 969, 968, 967, 966, 965, 964, 963, 962, 961, 960, 959, 958, 957, 956, 955, 954, 953, 952, 951, 950, 949, 948, 947, 946, 945, 944, 943, 942, 941, 940, 939, 938, 937, 936, 935, 934, 933, 932, 931, 930, 929, 928, 927, 926, 925, 924, 923, 922, 921, 920, 919, 918, 917, 916, 915, 914, 913, 912, 911, 910, 909, 908, 907, 906, 905, 904, 903, 902, 901, 900, 899, 898, 897, 896, 895, 894, 893, 892, 891, 890, 889, 888, 887, 886, 885, 884, 883, 882, 881, 880, 879, 878, 877, 876, 875, 874, 873, 872, 871, 870, 869, 868, 867, 866, 865, 864, 863, 862, 861, 860, 859, 858, 857, 856, 855, 854, 853, 852, 851, 850, 849, 848, 847, 846, 845, 844, 843, 842, 841, 840, 839, 838, 837, 836, 835, 834, 833, 832, 831, 830, 829, 828, 827, 826, 825, 824, 823, 822, 821, 820, 819, 818, 817, 816, 815, 814, 813, 812, 811, 810, 809, 808, 807, 806, 805, 804, 803, 802, 801, 800, 799, 798, 797, 796, 795, 794, 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, 757, 756, 755, 754, 753, 752, 751, 750, 749, 748, 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 730, 729, 728, 727, 726, 725, 724, 723, 722, 721, 720, 719, 718, 717, 716, 715, 714, 713, 712, 711, 710, 709, 708, 707, 706, 705, 704, 703, 702, 701, 700, 699, 698, 697, 696, 695, 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, 660, 659, 658, 657, 656, 655, 654, 653, 652, 651, 650, 649, 648, 647, 646, 645, 644, 643, 642, 641, 640, 639, 638, 637, 636, 635, 634, 633, 632, 631, 630, 629, 628, 627, 626, 625, 624, 623, 622, 621, 620, 619, 618, 617, 616, 615, 614, 613, 612, 611, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, 583, 582, 581, 580, 579, 578, 577, 576, 575, 574, 573, 572, 571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 545, 544, 543, 542, 541, 540, 539, 538, 537, 536, 535, 534, 533, 532, 531, 530, 529, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, 482, 481, 480, 479, 478, 477, 476, 475, 474, 473, 472, 471, 470, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 451, 450, 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 429, 428, 427, 426, 425, 424, 423, 422, 421, 420, 419, 418, 417, 416, 415, 414, 413, 412, 411, 410, 409, 408, 407, 406, 405, 404, 403, 402, 401, 400, 399, 398, 397, 396, 395, 394, 393, 392, 391, 390, 389, 388, 387, 386, 385, 384, 383, 382, 381, 380, 379, 378, 377, 376, 375, 374, 373, 372, 371, 370, 369, 368, 367, 366, 365, 364, 363, 362, 361, 360, 359, 358, 357, 356, 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, 327, 326, 325, 324, 323, 322, 321, 320, 319, 318, 317, 316, 315, 314, 313, 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, 302, 301, 300, 299, 298, 297, 296, 295, 294, 293, 292, 291, 290, 289, 288, 287, 286, 285, 284, 283, 282, 281, 280, 279, 278, 277, 276, 275, 274, 273, 272, 271, 270, 269, 268, 267, 266, 265, 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 228, 227, 226, 225, 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 209, 208, 207, 206, 205, 204, 203, 202, 201, 200, 199, 198, 197, 196, 195, 194, 193, 192, 191, 190, 189, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) name_chosen : Dossier_Portfolio_Month_M7_Y2025_4865 [debug] a.m.Portfolio - testing existence of this portfolio [debug] a.m.Portfolio - SELECT *, mp.mtr_user_id=979 as is_owner FROM MTRUser.mtr_portfolios mp WHERE name='Dossier_Portfolio_Month_M7_Y2025_4865' AND mtr_user_id='979' [debug] a.m.Portfolio - Insert portfolio name [debug] a.m.Portfolio - insert into MTRUser.mtr_portfolios (mtr_user_id, name, private, created_at, updated_at) values ('979', 'Dossier_Portfolio_Month_M7_Y2025_4865', false, NOW(), NOW()) retrieving new id portfolio [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : list_hashtags : List() extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4839512082963570126asTemporaryFile -n 60c31cf7da5a904d178d284326b9af64 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_52_45_10135.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4839512082963570126asTemporaryFile -n 60c31cf7da5a904d178d284326b9af64 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:08-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38724 (38K) [image/jpeg] Enregistre : «/tmp/ee08f5900d434711043100d24bd9201c.jpg» 0K .......... .......... .......... ....... 100% 1,81M=0,02s 2025-07-18 13:53:08 (1,81 MB/s) - «/tmp/ee08f5900d434711043100d24bd9201c.jpg» enregistré [38724/38724] --2025-07-18 13:53:09-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 235166 (230K) [image/jpeg] Enregistre : «/tmp/60c31cf7da5a904d178d284326b9af64.jpg» 0K .......... .......... ...--2025-07-18 13:53:09-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… ....... .......... .......... 21% 2,44M 0s 50K .......... .......... .........54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… . .......... .......... 43% 4,88M 0s 100K .......... .......... .......... .......... .......... 65% 127M 0s 150K .......... .......... .......... .......... .connecté. ......... 87% 5,15M 0s 200K .......... .......... ......... 100% 153M=0,04s 2025-07-18 13:53:09 (5,59 MB/s) - «/tmp/60c31cf7da5a904d178d284326b9af64.jpg» enregistré [235166/235166] requête HTTP transmise, en attente de la réponse… 200 OK Taille : 234645 (229K) [image/jpeg] Enregistre : «/tmp/ca96804f0cbbc01967053e79a52e8de0.jpg» 0K .......... .......... .......... .......... .......... 21% 4,75M 0s 50K .......... .......... .......... .......... .......... 43% 4,90M 0s 100K .......... .......... .......... .......... .......... 65% 124M 0s 150K .......... .......... .......... .......... .......... 87% 5,13M 0s 200K .......... .......... ......... 100% 106M=0,03s 2025-07-18 13:53:10 (7,36 MB/s) - «/tmp/ca96804f0cbbc01967053e79a52e8de0.jpg» enregistré [234645/234645] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3944 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 158 Before photo_uploader , duration 6 : 120.After photo_uploader , duration 7 : 3929 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3588 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3838 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 161 Before photo_uploader , duration 22 : 113.After photo_uploader , duration 23 : 3856 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 140After insertPortfolioPhotoId , duration 26 : 376 About to finish After with svm , duration 27 : 3097 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2406213380425666915asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2406213380425666915asTemporaryFile : 38724 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c.jpg -O /tmp/ee08f5900d434711043100d24bd9201c.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ee08f5900d434711043100d24bd9201c-big.jpg : 34007 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ee08f5900d434711043100d24bd9201c-medium.jpg : 11741 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ee08f5900d434711043100d24bd9201c-small.jpg : 4132 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.800929 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c.jpg", "TemporaryFile(/tmp/multipartBody2406213380425666915asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c-big.jpg", "TemporaryFile(/tmp/multipartBody2406213380425666915asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c-medium.jpg", "TemporaryFile(/tmp/multipartBody2406213380425666915asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee08f5900d434711043100d24bd9201c-small.jpg", "TemporaryFile(/tmp/multipartBody2406213380425666915asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518782 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518782" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2458366483392368710asTemporaryFile -n 0a165a5ba37b7523345cda502d896d20 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_46_05_30354.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2458366483392368710asTemporaryFile -n 0a165a5ba37b7523345cda502d896d20 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4839512082963570126asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4839512082963570126asTemporaryFile : 235166 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64.jpg -O /tmp/60c31cf7da5a904d178d284326b9af64.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64-small.jpg type_mfp mfpopt2025 size_object of file /tmp/60c31cf7da5a904d178d284326b9af64-big.jpg : 59080 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/60c31cf7da5a904d178d284326b9af64-medium.jpg : 17481 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/60c31cf7da5a904d178d284326b9af64-small.jpg : 5801 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.544267 Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5406029427104446003asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5406029427104446003asTemporaryFile : 234645 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0.jpg -O /tmp/ca96804f0cbbc01967053e79a52e8de0.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ca96804f0cbbc01967053e79a52e8de0-big.jpg : 59064 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ca96804f0cbbc01967053e79a52e8de0-medium.jpg : 17501 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ca96804f0cbbc01967053e79a52e8de0-small.jpg : 5791 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.637903 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3679 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3679 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64.jpg", "TemporaryFile(/tmp/multipartBody4839512082963570126asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0.jpg", "TemporaryFile(/tmp/multipartBody5406029427104446003asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64-big.jpg", "TemporaryFile(/tmp/multipartBody4839512082963570126asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0-big.jpg", "TemporaryFile(/tmp/multipartBody5406029427104446003asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64-medium.jpg", "TemporaryFile(/tmp/multipartBody4839512082963570126asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0-medium.jpg", "TemporaryFile(/tmp/multipartBody5406029427104446003asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/60c31cf7da5a904d178d284326b9af64-small.jpg", "TemporaryFile(/tmp/multipartBody4839512082963570126asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ca96804f0cbbc01967053e79a52e8de0-small.jpg", "TemporaryFile(/tmp/multipartBody5406029427104446003asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 latitude : 0.0 longitude : 0.0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3679 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518783 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518783" [info] a.models.Photo - source_id_submit_photo from insertion : 379518784 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518784" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7353398256870123704asTemporaryFile -n 5e3d5d08d51b812a5bf52b6cc691e72a --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_52_34_10134.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7353398256870123704asTemporaryFile -n 5e3d5d08d51b812a5bf52b6cc691e72a --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! mtr_portfolio_id : Some(25050138) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631615) 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050138, 1372631615,1372631615, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3679 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136After insertPortfolioPhotoId , duration 6 : 239 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:53:12-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38700 (38K) [image/jpeg] Enregistre : «/tmp/0a165a5ba37b7523345cda502d896d20.jpg» 0K .......... .......... .......... ....... 100% 3,69M=0,01s 2025-07-18 13:53:12 (3,69 MB/s) - «/tmp/0a165a5ba37b7523345cda502d896d20.jpg» enregistré [38700/38700] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 --2025-07-18 13:53:13-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 234645 (229K) [image/jpeg] Enregistre : «/tmp/5e3d5d08d51b812a5bf52b6cc691e72a.jpg» 0K .......... .......... .......... .......... .......... 21% 2,48M 0s 50K .......... .......... .......... .......... .......... 43% 4,90M 0s 100K .......... .......... .......... .......... .......... 65% 99,0M 0s 150K .......... .......... .......... .......... .......... 87% 5,20M 0s 200K .......... .......... ......... 100% 71,8M=0,04s 2025-07-18 13:53:13 (5,60 MB/s) - «/tmp/5e3d5d08d51b812a5bf52b6cc691e72a.jpg» enregistré [234645/234645] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2458366483392368710asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2458366483392368710asTemporaryFile : 38700 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20.jpg -O /tmp/0a165a5ba37b7523345cda502d896d20.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0a165a5ba37b7523345cda502d896d20-big.jpg : 33934 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0a165a5ba37b7523345cda502d896d20-medium.jpg : 11719 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0a165a5ba37b7523345cda502d896d20-small.jpg : 4112 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.328295 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20.jpg", "TemporaryFile(/tmp/multipartBody2458366483392368710asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20-big.jpg", "TemporaryFile(/tmp/multipartBody2458366483392368710asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20-medium.jpg", "TemporaryFile(/tmp/multipartBody2458366483392368710asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0a165a5ba37b7523345cda502d896d20-small.jpg", "TemporaryFile(/tmp/multipartBody2458366483392368710asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518785 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518785" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7686832535133371349asTemporaryFile -n 396ccbc8e45629a610f20d30165409aa --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_45_35_29373.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7686832535133371349asTemporaryFile -n 396ccbc8e45629a610f20d30165409aa --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3679 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136After insertPortfolioPhotoId , duration 6 : 239 About to finish After with svm , duration 7 : 3009 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7353398256870123704asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7353398256870123704asTemporaryFile : 234645 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a.jpg -O /tmp/5e3d5d08d51b812a5bf52b6cc691e72a.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a-small.jpg type_mfp mfpopt2025 size_object of file /tmp/5e3d5d08d51b812a5bf52b6cc691e72a-big.jpg : 59064 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5e3d5d08d51b812a5bf52b6cc691e72a-medium.jpg : 17501 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5e3d5d08d51b812a5bf52b6cc691e72a-small.jpg : 5791 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.533971 Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a.jpg", "TemporaryFile(/tmp/multipartBody7353398256870123704asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a-big.jpg", "TemporaryFile(/tmp/multipartBody7353398256870123704asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a-medium.jpg", "TemporaryFile(/tmp/multipartBody7353398256870123704asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5e3d5d08d51b812a5bf52b6cc691e72a-small.jpg", "TemporaryFile(/tmp/multipartBody7353398256870123704asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518786 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518786" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1532812891037909563asTemporaryFile -n 311bf5266a74b7b2af6c72ed3b47ea12 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_52_24_10136.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1532812891037909563asTemporaryFile -n 311bf5266a74b7b2af6c72ed3b47ea12 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:15-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38551 (38K) [image/jpeg] Enregistre : «/tmp/396ccbc8e45629a610f20d30165409aa.jpg» 0K .......... .......... .......... ....... 100% 1,90M=0,02s 2025-07-18 13:53:15 (1,90 MB/s) - «/tmp/396ccbc8e45629a610f20d30165409aa.jpg» enregistré [38551/38551] --2025-07-18 13:53:17-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 232983 (228K) [image/jpeg] Enregistre : «/tmp/311bf5266a74b7b2af6c72ed3b47ea12.jpg» 0K .......... .......... .......... .......... .......... 21% 2,49M 0s 50K .......... .......... .......... .......... .......... 43% 4,91M 0s 100K .......... .......... .......... .......... .......... 65% 135M 0s 150K .......... .......... .......... .......... .......... 87% 5,07M 0s 200K .......... .......... ....... 100% 144M=0,04s 2025-07-18 13:53:17 (5,59 MB/s) - «/tmp/311bf5266a74b7b2af6c72ed3b47ea12.jpg» enregistré [232983/232983] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7686832535133371349asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7686832535133371349asTemporaryFile : 38551 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa.jpg -O /tmp/396ccbc8e45629a610f20d30165409aa.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa-small.jpg type_mfp mfpopt2025 size_object of file /tmp/396ccbc8e45629a610f20d30165409aa-big.jpg : 33909 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/396ccbc8e45629a610f20d30165409aa-medium.jpg : 11703 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/396ccbc8e45629a610f20d30165409aa-small.jpg : 4117 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.923118 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa.jpg", "TemporaryFile(/tmp/multipartBody7686832535133371349asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa-big.jpg", "TemporaryFile(/tmp/multipartBody7686832535133371349asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa-medium.jpg", "TemporaryFile(/tmp/multipartBody7686832535133371349asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/396ccbc8e45629a610f20d30165409aa-small.jpg", "TemporaryFile(/tmp/multipartBody7686832535133371349asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 142 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518787 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518787" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody921891420930867411asTemporaryFile -n ee1b12bcd75b843d654de6a200214620 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_44_35_29343.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody921891420930867411asTemporaryFile -n ee1b12bcd75b843d654de6a200214620 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! token_used : Some(e243aac39fb012c084cfefeb2a6a3641) mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_52_45_9590.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@49f8b3df basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_52_35_10606.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7aca73bd basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_52_25_9614.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7253e3a2 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_52_15_9745.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@427a71be basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_52_05_10635.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4e905465 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_51_55_9629.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@67ee8191 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody687466595735560191asTemporaryFile -n c90a128fff3d346dd633fd9d9d6ec707 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_52_45_9590.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody687466595735560191asTemporaryFile -n c90a128fff3d346dd633fd9d9d6ec707 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1532812891037909563asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1532812891037909563asTemporaryFile : 232983 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12.jpg -O /tmp/311bf5266a74b7b2af6c72ed3b47ea12.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12-small.jpg type_mfp mfpopt2025 size_object of file /tmp/311bf5266a74b7b2af6c72ed3b47ea12-big.jpg : 59720 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/311bf5266a74b7b2af6c72ed3b47ea12-medium.jpg : 17722 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/311bf5266a74b7b2af6c72ed3b47ea12-small.jpg : 5873 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.569726 Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12.jpg", "TemporaryFile(/tmp/multipartBody1532812891037909563asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12-big.jpg", "TemporaryFile(/tmp/multipartBody1532812891037909563asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12-medium.jpg", "TemporaryFile(/tmp/multipartBody1532812891037909563asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/311bf5266a74b7b2af6c72ed3b47ea12-small.jpg", "TemporaryFile(/tmp/multipartBody1532812891037909563asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518788 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518788" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2209854395280234531asTemporaryFile -n 5941fe44054c5830ba620efc06dc3903 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_52_14_10137.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2209854395280234531asTemporaryFile -n 5941fe44054c5830ba620efc06dc3903 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:20-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… --2025-07-18 13:53:20-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 200 OK Taille : 38642 (38K) [image/jpeg] Enregistre : «/tmp/ee1b12bcd75b843d654de6a200214620.jpg» 0K .......... .......... ...54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… ....... ....... 100% 3,77M=0,01s 2025-07-18 13:53:20 (3,77 MB/s) - «/tmp/ee1b12bcd75b843d654de6a200214620.jpg» enregistré [38642/38642] connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 99287 (97K) [image/jpeg] Enregistre : «/tmp/c90a128fff3d346dd633fd9d9d6ec707.jpg» 0K .......... .......... .......... .......... .......... 51% 4,83M 0s 50K .......... .......... .......... .......... ...... 100% 4,59M=0,02s 2025-07-18 13:53:20 (4,71 MB/s) - «/tmp/c90a128fff3d346dd633fd9d9d6ec707.jpg» enregistré [99287/99287] --2025-07-18 13:53:21-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 194572 (190K) [image/jpeg] Enregistre : «/tmp/5941fe44054c5830ba620efc06dc3903.jpg» 0K .......... .......... .......... .......... .......... 26% 2,44M 0s 50K .......... .......... .......... .......... .......... 52% 4,95M 0s 100K .......... .......... .......... .......... .......... 78% 90,2M 0s 150K .......... .......... .......... .......... 100% 124M=0,03s 2025-07-18 13:53:21 (6,04 MB/s) - «/tmp/5941fe44054c5830ba620efc06dc3903.jpg» enregistré [194572/194572] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody921891420930867411asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody921891420930867411asTemporaryFile : 38642 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620.jpg -O /tmp/ee1b12bcd75b843d654de6a200214620.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ee1b12bcd75b843d654de6a200214620-big.jpg : 33935 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ee1b12bcd75b843d654de6a200214620-medium.jpg : 11708 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ee1b12bcd75b843d654de6a200214620-small.jpg : 4115 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.375839 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 142 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3420 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 142 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3420 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620.jpg", "TemporaryFile(/tmp/multipartBody921891420930867411asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620-big.jpg", "TemporaryFile(/tmp/multipartBody921891420930867411asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620-medium.jpg", "TemporaryFile(/tmp/multipartBody921891420930867411asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ee1b12bcd75b843d654de6a200214620-small.jpg", "TemporaryFile(/tmp/multipartBody921891420930867411asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 142 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3420 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518789 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518789" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody687466595735560191asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody687466595735560191asTemporaryFile : 99287 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707.jpg -O /tmp/c90a128fff3d346dd633fd9d9d6ec707.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c90a128fff3d346dd633fd9d9d6ec707-big.jpg : 19951 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c90a128fff3d346dd633fd9d9d6ec707-medium.jpg : 7275 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c90a128fff3d346dd633fd9d9d6ec707-small.jpg : 2836 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.458100 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707.jpg", "TemporaryFile(/tmp/multipartBody687466595735560191asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3586121626165953766asTemporaryFile -n 651aefc1d34841d45a1569660b9ac8f2 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_44_06_30339.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3586121626165953766asTemporaryFile -n 651aefc1d34841d45a1569660b9ac8f2 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707-big.jpg", "TemporaryFile(/tmp/multipartBody687466595735560191asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707-medium.jpg", "TemporaryFile(/tmp/multipartBody687466595735560191asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a128fff3d346dd633fd9d9d6ec707-small.jpg", "TemporaryFile(/tmp/multipartBody687466595735560191asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518790 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518790" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5958346059224467355asTemporaryFile -n 5dee99018ac5eb64eaeb23255888146c --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_52_35_10606.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5958346059224467355asTemporaryFile -n 5dee99018ac5eb64eaeb23255888146c --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2209854395280234531asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2209854395280234531asTemporaryFile : 194572 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903.jpg -O /tmp/5941fe44054c5830ba620efc06dc3903.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903-small.jpg type_mfp mfpopt2025 size_object of file /tmp/5941fe44054c5830ba620efc06dc3903-big.jpg : 51206 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5941fe44054c5830ba620efc06dc3903-medium.jpg : 16045 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5941fe44054c5830ba620efc06dc3903-small.jpg : 5327 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.555836 Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 63.After photo_uploader , duration 15 : 3579 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 63.After photo_uploader , duration 15 : 3579 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903.jpg", "TemporaryFile(/tmp/multipartBody2209854395280234531asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903-big.jpg", "TemporaryFile(/tmp/multipartBody2209854395280234531asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903-medium.jpg", "TemporaryFile(/tmp/multipartBody2209854395280234531asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5941fe44054c5830ba620efc06dc3903-small.jpg", "TemporaryFile(/tmp/multipartBody2209854395280234531asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 63.After photo_uploader , duration 15 : 3579 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518791 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518791" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8755639698819075624asTemporaryFile -n a5c0835a5adde633a1967356e9e79957 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_52_04_9134.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8755639698819075624asTemporaryFile -n a5c0835a5adde633a1967356e9e79957 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:23-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38537 (38K) [image/jpeg] Enregistre : «/tmp/651aefc1d34841d45a1569660b9ac8f2.jpg» 0K .......... .......... .......... ....... 100% 101M=0s 2025-07-18 13:53:24 (101 MB/s) - «/tmp/651aefc1d34841d45a1569660b9ac8f2.jpg» enregistré [38537/38537] --2025-07-18 13:53:24-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 96762 (94K) [image/jpeg] Enregistre : «/tmp/5dee99018ac5eb64eaeb23255888146c.jpg» 0K .......... .......... .......... .......... .......... 52% 4,83M 0s 50K .......... .......... .......... .......... .... 100% 4,35M=0,02s 2025-07-18 13:53:24 (4,59 MB/s) - «/tmp/5dee99018ac5eb64eaeb23255888146c.jpg» enregistré [96762/96762] --2025-07-18 13:53:25-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 227627 (222K) [image/jpeg] Enregistre : «/tmp/a5c0835a5adde633a1967356e9e79957.jpg» 0K .......... .......... .......... .......... .......... 22% 4,80M 0s 50K .......... .......... .......... .......... .......... 44% 4,97M 0s 100K .......... .......... .......... .......... .......... 67% 130M 0s 150K .......... .......... .......... .......... .......... 89% 5,10M 0s 200K .......... .......... .. 100% 286M=0,03s 2025-07-18 13:53:25 (7,23 MB/s) - «/tmp/a5c0835a5adde633a1967356e9e79957.jpg» enregistré [227627/227627] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3586121626165953766asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3586121626165953766asTemporaryFile : 38537 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2.jpg -O /tmp/651aefc1d34841d45a1569660b9ac8f2.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2-small.jpg type_mfp mfpopt2025 size_object of file /tmp/651aefc1d34841d45a1569660b9ac8f2-big.jpg : 33933 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/651aefc1d34841d45a1569660b9ac8f2-medium.jpg : 11709 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/651aefc1d34841d45a1569660b9ac8f2-small.jpg : 4121 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.581107 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 142 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3420 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 105.After photo_uploader , duration 23 : 3638 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 142 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3420 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 105.After photo_uploader , duration 23 : 3638 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2.jpg", "TemporaryFile(/tmp/multipartBody3586121626165953766asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2-big.jpg", "TemporaryFile(/tmp/multipartBody3586121626165953766asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2-medium.jpg", "TemporaryFile(/tmp/multipartBody3586121626165953766asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/651aefc1d34841d45a1569660b9ac8f2-small.jpg", "TemporaryFile(/tmp/multipartBody3586121626165953766asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 142 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3420 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 105.After photo_uploader , duration 23 : 3638 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518792 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518792" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25071833) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631605, 1372631613, 1372631616, 1372631618, 1372631620, 1372631623) 0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) 0 0 0 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5958346059224467355asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5958346059224467355asTemporaryFile : 96762 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c.jpg -O /tmp/5dee99018ac5eb64eaeb23255888146c.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c-small.jpg type_mfp mfpopt2025 size_object of file /tmp/5dee99018ac5eb64eaeb23255888146c-big.jpg : 19385 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5dee99018ac5eb64eaeb23255888146c-medium.jpg : 7026 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5dee99018ac5eb64eaeb23255888146c-small.jpg : 2728 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.794354 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c.jpg", "TemporaryFile(/tmp/multipartBody5958346059224467355asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25071833, 1372631613,1372631613, "1" ,0,739, NOW()), (25071833, 1372631616,1372631616, "1" ,0,739, NOW()), (25071833, 1372631618,1372631618, "1" ,0,739, NOW()), (25071833, 1372631620,1372631620, "1" ,0,739, NOW()), (25071833, 1372631623,1372631623, "1" ,0,739, NOW()), (25071833, 1372631605,1372631605, "1" ,0,739, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c-big.jpg", "TemporaryFile(/tmp/multipartBody5958346059224467355asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c-medium.jpg", "TemporaryFile(/tmp/multipartBody5958346059224467355asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 142 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3420 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 105.After photo_uploader , duration 23 : 3638 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137After insertPortfolioPhotoId , duration 26 : 371 About to tag photos ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5dee99018ac5eb64eaeb23255888146c-small.jpg", "TemporaryFile(/tmp/multipartBody5958346059224467355asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518793 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518793" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1905225735606541343asTemporaryFile -n 6fa56190d8031d914c52e81d5df03ec5 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_52_25_9614.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1905225735606541343asTemporaryFile -n 6fa56190d8031d914c52e81d5df03ec5 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8755639698819075624asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8755639698819075624asTemporaryFile : 227627 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957.jpg -O /tmp/a5c0835a5adde633a1967356e9e79957.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957-small.jpg type_mfp mfpopt2025 size_object of file /tmp/a5c0835a5adde633a1967356e9e79957-big.jpg : 56874 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a5c0835a5adde633a1967356e9e79957-medium.jpg : 16532 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a5c0835a5adde633a1967356e9e79957-small.jpg : 5320 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.379557 Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 63.After photo_uploader , duration 15 : 3579 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 64.After photo_uploader , duration 19 : 3386 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 63.After photo_uploader , duration 15 : 3579 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 64.After photo_uploader , duration 19 : 3386 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957.jpg", "TemporaryFile(/tmp/multipartBody8755639698819075624asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957-big.jpg", "TemporaryFile(/tmp/multipartBody8755639698819075624asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957-medium.jpg", "TemporaryFile(/tmp/multipartBody8755639698819075624asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5c0835a5adde633a1967356e9e79957-small.jpg", "TemporaryFile(/tmp/multipartBody8755639698819075624asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 63.After photo_uploader , duration 15 : 3579 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 64.After photo_uploader , duration 19 : 3386 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 148 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518794 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518794" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25071849) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631614, 1372631617, 1372631619, 1372631622, 1372631625) 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25071849, 1372631625,1372631625, "1" ,0,979, NOW()), (25071849, 1372631619,1372631619, "1" ,0,979, NOW()), (25071849, 1372631622,1372631622, "1" ,0,979, NOW()), (25071849, 1372631614,1372631614, "1" ,0,979, NOW()), (25071849, 1372631617,1372631617, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 63.After photo_uploader , duration 15 : 3579 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 64.After photo_uploader , duration 19 : 3386 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 148After insertPortfolioPhotoId , duration 22 : 323 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:53:28-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 101005 (99K) [image/jpeg] Enregistre : «/tmp/6fa56190d8031d914c52e81d5df03ec5.jpg» 0K .......... .......... .......... .......... .......... 50% 4,72M 0s 50K .......... .......... .......... .......... ........ 100% 4,87M=0,02s 2025-07-18 13:53:28 (4,79 MB/s) - «/tmp/6fa56190d8031d914c52e81d5df03ec5.jpg» enregistré [101005/101005] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3400 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3330 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3933 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 142 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3420 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 105.After photo_uploader , duration 23 : 3638 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137After insertPortfolioPhotoId , duration 26 : 371 About to finish After with svm , duration 27 : 2921 actions to do : and mtr_user_id : 739 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3307389 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 4241 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3605 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 65.After photo_uploader , duration 7 : 3536 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 66.After photo_uploader , duration 11 : 3574 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 145 Before photo_uploader , duration 14 : 63.After photo_uploader , duration 15 : 3579 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 64.After photo_uploader , duration 19 : 3386 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 148After insertPortfolioPhotoId , duration 22 : 323 About to finish After with svm , duration 23 : 2681 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : false is_live : false false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1905225735606541343asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1905225735606541343asTemporaryFile : 101005 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5.jpg -O /tmp/6fa56190d8031d914c52e81d5df03ec5.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5-small.jpg type_mfp mfpopt2025 size_object of file /tmp/6fa56190d8031d914c52e81d5df03ec5-big.jpg : 20816 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6fa56190d8031d914c52e81d5df03ec5-medium.jpg : 7526 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6fa56190d8031d914c52e81d5df03ec5-small.jpg : 2884 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.633255 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5.jpg", "TemporaryFile(/tmp/multipartBody1905225735606541343asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5-big.jpg", "TemporaryFile(/tmp/multipartBody1905225735606541343asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5-medium.jpg", "TemporaryFile(/tmp/multipartBody1905225735606541343asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6fa56190d8031d914c52e81d5df03ec5-small.jpg", "TemporaryFile(/tmp/multipartBody1905225735606541343asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518801 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518801" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3967419612011117564asTemporaryFile -n efab61908e680ed16724eff8abd0efdf --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_52_15_9745.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3967419612011117564asTemporaryFile -n efab61908e680ed16724eff8abd0efdf --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:31-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 103789 (101K) [image/jpeg] Enregistre : «/tmp/efab61908e680ed16724eff8abd0efdf.jpg» 0K .......... .......... .......... .......... .......... 49% 4,78M 0s 50K .......... .......... .......... .......... .......... 98% 4,98M 0s 100K . 100% 17,7M=0,02s 2025-07-18 13:53:32 (4,93 MB/s) - «/tmp/efab61908e680ed16724eff8abd0efdf.jpg» enregistré [103789/103789] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3307389 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3307389 Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.flushPendingEncryptedWrites(SslHandler.java:1108) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1047) ~[io.netty.netty-3.7.1.Final.jar:na] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3967419612011117564asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3967419612011117564asTemporaryFile : 103789 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf.jpg -O /tmp/efab61908e680ed16724eff8abd0efdf.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf-small.jpg type_mfp mfpopt2025 size_object of file /tmp/efab61908e680ed16724eff8abd0efdf-big.jpg : 19902 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/efab61908e680ed16724eff8abd0efdf-medium.jpg : 7243 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/efab61908e680ed16724eff8abd0efdf-small.jpg : 2823 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.499828 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf.jpg", "TemporaryFile(/tmp/multipartBody3967419612011117564asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf-big.jpg", "TemporaryFile(/tmp/multipartBody3967419612011117564asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf-medium.jpg", "TemporaryFile(/tmp/multipartBody3967419612011117564asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/efab61908e680ed16724eff8abd0efdf-small.jpg", "TemporaryFile(/tmp/multipartBody3967419612011117564asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518802 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518802" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6931526161142990875asTemporaryFile -n ddb0123930c1587717a17af09ad793de --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_52_05_10635.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6931526161142990875asTemporaryFile -n ddb0123930c1587717a17af09ad793de --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:35-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 106822 (104K) [image/jpeg] Enregistre : «/tmp/ddb0123930c1587717a17af09ad793de.jpg» 0K .......... .......... .......... .......... .......... 47% 2,40M 0s 50K .......... .......... .......... .......... .......... 95% 4,94M 0s 100K .... 100% 78,3M=0,03s 2025-07-18 13:53:35 (3,36 MB/s) - «/tmp/ddb0123930c1587717a17af09ad793de.jpg» enregistré [106822/106822] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6931526161142990875asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6931526161142990875asTemporaryFile : 106822 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de.jpg -O /tmp/ddb0123930c1587717a17af09ad793de.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ddb0123930c1587717a17af09ad793de-big.jpg : 21579 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ddb0123930c1587717a17af09ad793de-medium.jpg : 7878 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ddb0123930c1587717a17af09ad793de-small.jpg : 3081 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.525489 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3511 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3511 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de.jpg", "TemporaryFile(/tmp/multipartBody6931526161142990875asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de-big.jpg", "TemporaryFile(/tmp/multipartBody6931526161142990875asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de-medium.jpg", "TemporaryFile(/tmp/multipartBody6931526161142990875asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddb0123930c1587717a17af09ad793de-small.jpg", "TemporaryFile(/tmp/multipartBody6931526161142990875asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3511 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518803 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518803" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4607109990609376918asTemporaryFile -n 4c9af346e35ddae63b3bd6ea66aceeb9 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_51_55_9629.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4607109990609376918asTemporaryFile -n 4c9af346e35ddae63b3bd6ea66aceeb9 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:39-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 120272 (117K) [image/jpeg] Enregistre : «/tmp/4c9af346e35ddae63b3bd6ea66aceeb9.jpg» 0K .......... .......... .......... .......... .......... 42% 2,48M 0s 50K .......... .......... .......... .......... .......... 85% 4,94M 0s 100K .......... ....... 100% 134M=0,03s 2025-07-18 13:53:39 (3,86 MB/s) - «/tmp/4c9af346e35ddae63b3bd6ea66aceeb9.jpg» enregistré [120272/120272] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4607109990609376918asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4607109990609376918asTemporaryFile : 120272 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9.jpg -O /tmp/4c9af346e35ddae63b3bd6ea66aceeb9.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9-small.jpg type_mfp mfpopt2025 size_object of file /tmp/4c9af346e35ddae63b3bd6ea66aceeb9-big.jpg : 24587 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/4c9af346e35ddae63b3bd6ea66aceeb9-medium.jpg : 8736 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/4c9af346e35ddae63b3bd6ea66aceeb9-small.jpg : 3272 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.548299 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3511 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 96.After photo_uploader , duration 23 : 3534 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3511 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 96.After photo_uploader , duration 23 : 3534 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9.jpg", "TemporaryFile(/tmp/multipartBody4607109990609376918asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9-big.jpg", "TemporaryFile(/tmp/multipartBody4607109990609376918asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9-medium.jpg", "TemporaryFile(/tmp/multipartBody4607109990609376918asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4c9af346e35ddae63b3bd6ea66aceeb9-small.jpg", "TemporaryFile(/tmp/multipartBody4607109990609376918asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3511 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 96.After photo_uploader , duration 23 : 3534 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 141 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518804 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518804" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050173) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631621, 1372631624, 1372631632, 1372631633, 1372631634, 1372631635) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050173, 1372631634,1372631634, "1" ,0,1042, NOW()), (25050173, 1372631621,1372631621, "1" ,0,1042, NOW()), (25050173, 1372631624,1372631624, "1" ,0,1042, NOW()), (25050173, 1372631633,1372631633, "1" ,0,1042, NOW()), (25050173, 1372631632,1372631632, "1" ,0,1042, NOW()), (25050173, 1372631635,1372631635, "1" ,0,1042, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3511 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 96.After photo_uploader , duration 23 : 3534 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 141After insertPortfolioPhotoId , duration 26 : 356 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_22_26_40670.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@15446a1b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_23_05_39573.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4d297c73 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_23_46_40657.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@427138f6 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_24_26_39593.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7e3c63c9 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_25_05_39603.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@481ecaa7 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_25_46_40720.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4ed2ed33 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1534699269450326294asTemporaryFile -n 36704608b46c89ecb76e159a90ca4376 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_22_26_40670.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1534699269450326294asTemporaryFile -n 36704608b46c89ecb76e159a90ca4376 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:44-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 239506 (234K) [image/jpeg] Enregistre : «/tmp/36704608b46c89ecb76e159a90ca4376.jpg» 0K .......... .......... .......... .......... .......... 21% 2,48M 0s 50K .......... .......... .......... .......... .......... 42% 4,79M 0s 100K .......... .......... .......... .......... .......... 64% 118M 0s 150K .......... .......... .......... .......... .......... 85% 5,19M 0s 200K .......... .......... .......... ... 100% 133M=0,04s 2025-07-18 13:53:44 (5,72 MB/s) - «/tmp/36704608b46c89ecb76e159a90ca4376.jpg» enregistré [239506/239506] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3502 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3819 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3659 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3565 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3511 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 96.After photo_uploader , duration 23 : 3534 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 141After insertPortfolioPhotoId , duration 26 : 356 About to finish After with svm , duration 27 : 2809 actions to do : and mtr_user_id : 1042 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305009 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1534699269450326294asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1534699269450326294asTemporaryFile : 239506 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376.jpg -O /tmp/36704608b46c89ecb76e159a90ca4376.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376-small.jpg type_mfp mfpopt2025 size_object of file /tmp/36704608b46c89ecb76e159a90ca4376-big.jpg : 100260 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/36704608b46c89ecb76e159a90ca4376-medium.jpg : 23268 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/36704608b46c89ecb76e159a90ca4376-small.jpg : 6241 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.431146 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376.jpg", "TemporaryFile(/tmp/multipartBody1534699269450326294asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376-big.jpg", "TemporaryFile(/tmp/multipartBody1534699269450326294asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376-medium.jpg", "TemporaryFile(/tmp/multipartBody1534699269450326294asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/36704608b46c89ecb76e159a90ca4376-small.jpg", "TemporaryFile(/tmp/multipartBody1534699269450326294asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518805 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518805" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7278205034169433281asTemporaryFile -n f3ecd72c5aedc195aea26acc183840da --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_23_05_39573.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7278205034169433281asTemporaryFile -n f3ecd72c5aedc195aea26acc183840da --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305009 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305009 --2025-07-18 13:53:48-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 233527 (228K) [image/jpeg] Enregistre : «/tmp/f3ecd72c5aedc195aea26acc183840da.jpg» 0K .......... .......... .......... .......... .......... 21% 2,42M 0s 50K .......... .......... .......... .......... .......... 43% 4,87M 0s 100K .......... .......... .......... .......... .......... 65% 105M 0s 150K .......... .......... .......... .......... .......... 87% 5,12M 0s 200K .......... .......... ........ 100% 92,4M=0,04s 2025-07-18 13:53:48 (5,50 MB/s) - «/tmp/f3ecd72c5aedc195aea26acc183840da.jpg» enregistré [233527/233527] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7278205034169433281asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7278205034169433281asTemporaryFile : 233527 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da.jpg -O /tmp/f3ecd72c5aedc195aea26acc183840da.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f3ecd72c5aedc195aea26acc183840da-big.jpg : 99247 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f3ecd72c5aedc195aea26acc183840da-medium.jpg : 23084 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f3ecd72c5aedc195aea26acc183840da-small.jpg : 6235 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.443489 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da.jpg", "TemporaryFile(/tmp/multipartBody7278205034169433281asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da-big.jpg", "TemporaryFile(/tmp/multipartBody7278205034169433281asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da-medium.jpg", "TemporaryFile(/tmp/multipartBody7278205034169433281asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3ecd72c5aedc195aea26acc183840da-small.jpg", "TemporaryFile(/tmp/multipartBody7278205034169433281asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518812 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518812" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9204786047755317720asTemporaryFile -n d064dd19285f51962be2aae7b3f891f1 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_23_46_40657.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9204786047755317720asTemporaryFile -n d064dd19285f51962be2aae7b3f891f1 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:52-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 239767 (234K) [image/jpeg] Enregistre : «/tmp/d064dd19285f51962be2aae7b3f891f1.jpg» 0K .......... .......... .......... .......... .......... 21% 2,45M 0s 50K .......... .......... .......... .......... .......... 42% 4,91M 0s 100K .......... .......... .......... .......... .......... 64% 121M 0s 150K .......... .......... .......... .......... .......... 85% 112M 0s 200K .......... .......... .......... .... 100% 3,57M=0,04s 2025-07-18 13:53:52 (5,71 MB/s) - «/tmp/d064dd19285f51962be2aae7b3f891f1.jpg» enregistré [239767/239767] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9204786047755317720asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9204786047755317720asTemporaryFile : 239767 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1.jpg -O /tmp/d064dd19285f51962be2aae7b3f891f1.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d064dd19285f51962be2aae7b3f891f1-big.jpg : 100202 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d064dd19285f51962be2aae7b3f891f1-medium.jpg : 23232 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d064dd19285f51962be2aae7b3f891f1-small.jpg : 6280 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:04.005235 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1.jpg", "TemporaryFile(/tmp/multipartBody9204786047755317720asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1-big.jpg", "TemporaryFile(/tmp/multipartBody9204786047755317720asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1-medium.jpg", "TemporaryFile(/tmp/multipartBody9204786047755317720asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d064dd19285f51962be2aae7b3f891f1-small.jpg", "TemporaryFile(/tmp/multipartBody9204786047755317720asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518813 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518813" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1983578838868775365asTemporaryFile -n bdc2de1284c0a2e40ec15a5607bff554 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_24_26_39593.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1983578838868775365asTemporaryFile -n bdc2de1284c0a2e40ec15a5607bff554 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:53:57-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 239282 (234K) [image/jpeg] Enregistre : «/tmp/bdc2de1284c0a2e40ec15a5607bff554.jpg» 0K .......... .......... .......... .......... .......... 21% 4,83M 0s 50K .......... .......... .......... .......... .......... 42% 4,84M 0s 100K .......... .......... .......... .......... .......... 64% 90,7M 0s 150K .......... .......... .......... .......... .......... 85% 5,12M 0s 200K .......... .......... .......... ... 100% 114M=0,03s 2025-07-18 13:53:57 (7,47 MB/s) - «/tmp/bdc2de1284c0a2e40ec15a5607bff554.jpg» enregistré [239282/239282] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1983578838868775365asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1983578838868775365asTemporaryFile : 239282 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554.jpg -O /tmp/bdc2de1284c0a2e40ec15a5607bff554.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554-small.jpg type_mfp mfpopt2025 size_object of file /tmp/bdc2de1284c0a2e40ec15a5607bff554-big.jpg : 99884 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bdc2de1284c0a2e40ec15a5607bff554-medium.jpg : 23194 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bdc2de1284c0a2e40ec15a5607bff554-small.jpg : 6265 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.809523 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554.jpg", "TemporaryFile(/tmp/multipartBody1983578838868775365asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554-big.jpg", "TemporaryFile(/tmp/multipartBody1983578838868775365asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554-medium.jpg", "TemporaryFile(/tmp/multipartBody1983578838868775365asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdc2de1284c0a2e40ec15a5607bff554-small.jpg", "TemporaryFile(/tmp/multipartBody1983578838868775365asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518814 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518814" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3356192704914699954asTemporaryFile -n 0184d1deae16d4600ad06751085835fa --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_25_05_39603.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3356192704914699954asTemporaryFile -n 0184d1deae16d4600ad06751085835fa --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:01-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 240739 (235K) [image/jpeg] Enregistre : «/tmp/0184d1deae16d4600ad06751085835fa.jpg» 0K .......... .......... .......... .......... .......... 21% 4,77M 0s 50K .......... .......... .......... .......... .......... 42% 4,85M 0s 100K .......... .......... .......... .......... .......... 63% 127M 0s 150K .......... .......... .......... .......... .......... 85% 5,03M 0s 200K .......... .......... .......... ..... 100% 114M=0,03s 2025-07-18 13:54:01 (7,48 MB/s) - «/tmp/0184d1deae16d4600ad06751085835fa.jpg» enregistré [240739/240739] token_used : Some(035006c8a8acff541e6b264f3a90e0b8) mtr_user_id : 739 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_43_35_30333.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@733ade95 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_43_05_30163.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@239f1e50 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_42_05_30339.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@28d35a63 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_41_35_30327.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@714b83dd basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_41_05_29461.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@54203517 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_40_35_29599.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@f16dc5d basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 [error] application - ! @8a648jkh3 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] getSimpleUser in getUserObj getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25071833) [info] a.c.Photo - given_mtr_portfolio_id : Some(25071833) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8650728329052812821asTemporaryFile -n e67e0087fbc168291802d10c1bb8a938 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_43_35_30333.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8650728329052812821asTemporaryFile -n e67e0087fbc168291802d10c1bb8a938 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! false false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 List(25050138) List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 getSimpleUser in getUserObj false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3356192704914699954asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3356192704914699954asTemporaryFile : 240739 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa.jpg -O /tmp/0184d1deae16d4600ad06751085835fa.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0184d1deae16d4600ad06751085835fa-big.jpg : 100335 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0184d1deae16d4600ad06751085835fa-medium.jpg : 23257 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0184d1deae16d4600ad06751085835fa-small.jpg : 6258 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.436260 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3411 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3411 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa.jpg", "TemporaryFile(/tmp/multipartBody3356192704914699954asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa-big.jpg", "TemporaryFile(/tmp/multipartBody3356192704914699954asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa-medium.jpg", "TemporaryFile(/tmp/multipartBody3356192704914699954asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0184d1deae16d4600ad06751085835fa-small.jpg", "TemporaryFile(/tmp/multipartBody3356192704914699954asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3411 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518815 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518815" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2866831572854597628asTemporaryFile -n 417acd0d6bdb3278eabea4f101020554 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_25_46_40720.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2866831572854597628asTemporaryFile -n 417acd0d6bdb3278eabea4f101020554 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:03-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38504 (38K) [image/jpeg] Enregistre : «/tmp/e67e0087fbc168291802d10c1bb8a938.jpg» 0K .......... .......... .......... ....... 100% 3,62M=0,01s 2025-07-18 13:54:03 (3,62 MB/s) - «/tmp/e67e0087fbc168291802d10c1bb8a938.jpg» enregistré [38504/38504] token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file1 contentType : None filename : image_18072025_13_53_44_10143.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6c1af7ea basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_53_34_10143.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@19d0431f basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_53_24_9127.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@35e3b148 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_53_15_10135.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@58051114 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_53_05_10146.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@631b0859 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_small [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private [debug] a.service.Utils - fromPostToArgBool could have a better implemtation compute_classification compute_classification : None upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 getSimpleUser in getUserObj token_used : Some(e243aac39fb012c084cfefeb2a6a3641) [debug] a.m.Portfolio - SELECT *, mp.mtr_user_id='979' as is_owner FROM MTRUser.mtr_portfolios mp WHERE name collate utf8_general_ci like '%Dossier_Portfolio_Month_M7_Y2025%' AND mp.mtr_user_id in (979) ORDER BY -mp.id LIMIT 10000 OFFSET 0 mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_51_45_10605.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@71a9beb0 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_51_34_9590.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@27b9d654 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_51_25_9600.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4069aaa9 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_51_15_10634.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2537d88c basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_51_04_9610.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@19d7aea4 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_50_55_9613.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7035d0bc basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2776701296395177772asTemporaryFile -n 676c95eec3e53b7852760ab2c461d6df --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_51_45_10605.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2776701296395177772asTemporaryFile -n 676c95eec3e53b7852760ab2c461d6df --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:04-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 241521 (236K) [image/jpeg] Enregistre : «/tmp/417acd0d6bdb3278eabea4f101020554.jpg» 0K .......... .......... .......... .......... .......... 21% 2,40M 0s 50K .......... .......... .......... .......... .......... 42% 4,86M 0s 100K .......... .......... .......... .......... .......... 63% 120M 0s 150K .......... .......... .......... .......... .......... 84% 5,14M 0s 200K .......... .......... .......... ..... 100% 86,8M=0,04s 2025-07-18 13:54:05 (5,66 MB/s) - «/tmp/417acd0d6bdb3278eabea4f101020554.jpg» enregistré [241521/241521] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8650728329052812821asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8650728329052812821asTemporaryFile : 38504 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938.jpg -O /tmp/e67e0087fbc168291802d10c1bb8a938.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938-small.jpg type_mfp mfpopt2025 size_object of file /tmp/e67e0087fbc168291802d10c1bb8a938-big.jpg : 33874 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e67e0087fbc168291802d10c1bb8a938-medium.jpg : 11698 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e67e0087fbc168291802d10c1bb8a938-small.jpg : 4122 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.371987 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938.jpg", "TemporaryFile(/tmp/multipartBody8650728329052812821asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938-big.jpg", "TemporaryFile(/tmp/multipartBody8650728329052812821asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938-medium.jpg", "TemporaryFile(/tmp/multipartBody8650728329052812821asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e67e0087fbc168291802d10c1bb8a938-small.jpg", "TemporaryFile(/tmp/multipartBody8650728329052812821asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518816 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518816" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4765171526154434198asTemporaryFile -n 91cd9abf4be0e724081450cda8506f78 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_43_05_30163.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4765171526154434198asTemporaryFile -n 91cd9abf4be0e724081450cda8506f78 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:06-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 122627 (120K) [image/jpeg] Enregistre : «/tmp/676c95eec3e53b7852760ab2c461d6df.jpg» 0K .......... .......... .......... .......... .......... 41% 4,83M 0s 50K .......... .......... .......... .......... .......... 83% 4,80M 0s 100K .......... ......... 100% 128M=0,02s 2025-07-18 13:54:06 (5,72 MB/s) - «/tmp/676c95eec3e53b7852760ab2c461d6df.jpg» enregistré [122627/122627] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2866831572854597628asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2866831572854597628asTemporaryFile : 241521 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554.jpg -O /tmp/417acd0d6bdb3278eabea4f101020554.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554-small.jpg type_mfp mfpopt2025 size_object of file /tmp/417acd0d6bdb3278eabea4f101020554-big.jpg : 100798 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/417acd0d6bdb3278eabea4f101020554-medium.jpg : 23317 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/417acd0d6bdb3278eabea4f101020554-small.jpg : 6277 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.676794 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3411 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3703 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3411 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3703 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554.jpg", "TemporaryFile(/tmp/multipartBody2866831572854597628asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554-big.jpg", "TemporaryFile(/tmp/multipartBody2866831572854597628asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554-medium.jpg", "TemporaryFile(/tmp/multipartBody2866831572854597628asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/417acd0d6bdb3278eabea4f101020554-small.jpg", "TemporaryFile(/tmp/multipartBody2866831572854597628asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3411 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3703 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518817 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518817" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25057218) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631636, 1372631643, 1372631644, 1372631645, 1372631646, 1372631648) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631643,1372631643, "1" ,0,991, NOW()), (25057218, 1372631646,1372631646, "1" ,0,991, NOW()), (25057218, 1372631648,1372631648, "1" ,0,991, NOW()), (25057218, 1372631636,1372631636, "1" ,0,991, NOW()), (25057218, 1372631645,1372631645, "1" ,0,991, NOW()), (25057218, 1372631644,1372631644, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE --2025-07-18 13:54:07-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3411 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3703 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 140After insertPortfolioPhotoId , duration 26 : 360 About to tag photos ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 [error] application - ! @8a648k2bl - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38573 (38K) [image/jpeg] Enregistre : «/tmp/91cd9abf4be0e724081450cda8506f78.jpg» 0K .......... .......... .......... ....... 100% 1,85M=0,02s 2025-07-18 13:54:07 (1,85 MB/s) - «/tmp/91cd9abf4be0e724081450cda8506f78.jpg» enregistré [38573/38573] [debug] a.m.Portfolio - select mp.id, mrr.`status`, count(*) as count from MTRUser.mtr_request_rights mrr, MTRUser.mtr_portfolio_photos mpp, MTRUser.mtr_portfolios mp where mp.mtr_user_id=979 and mp.id=mpp.mtr_portfolio_id and mpp.mtr_photo_id=mrr.photo_id and mrr.mtr_license_type=0 group by mp.id, mrr.`status`; token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_53_55_10135.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1fccc6cf basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true Select * From MTRDatou.classification_theme WHERE (mtr_user_id=979 OR is_public) AND live=1 ORDER BY (live+is_public) desc getSimpleUser in getUserObj 25071849,25071848,25071847,25071845,25071841,25071840,25071836,25071830,25071828,25071825,25071822,25071765,25071337,25071227,25070875,25070678,25069947,25069893,25069727,25069450,25069289,25069249,25069177,25068908,25068571,25068523,25067950,25067919,25067758,25067541,25067482,25067343,25067313,25067101,25067062,25066924,25066552,25066188,25066181,25066179,25065889,25065884,25065656,25065387,25065319,25064904,25064861,25064767,25064707,25064287,25063549,25063408,25062673,25062656,25062500,25062337,25062190,25061977,25061924,25061735,25061709,25061708,25061707,25061569,25061516,25061515,25061334,25061304,25061250,25061221,25061121,25061119,25060835,25060724,25060694,25060548,25060522,25060393,25060313,25060287,25060235,25060208,25060158,25060131,25060082,25060030,25059977,25059762,25059711,25059661,25059660,25059529,25059449,25059423,25059421,25059334,25059279,25059057,25058837,25058785,25058759,25058732,25058502,25058375,25058349,25058348,25058320,25058245,25058218,25058111,25058085,25058005,25057927,25057745,25057643,25057592,25057591,25057291,25057163,25057032,25056907,25056880,25056690,25056533,25056532,25056504,25056503,25056488,25056450,25056293,25056211,25056158,25056056,25055951,25055850,25055747,25055346,25055345,25055265,25055226,25055213,25055161,25055108,25054956,25054905,25054729,25054676,25054623,25054622,25054519,25054492,25054442,25054440,25054390,25054233,25054208,25054155,25054069,25053982,25053929,25053727,25053594,25053542,25053541,25053456,25053455,25053354,25053353,25053301,25053173,25053096,25052993,25052917,25052762,25052734,25052709,25052658,25052657,25052606,25052542,25052503,25052374,25052322,25052176,25052124,25051884,25051859,25051808,25051756,25051725,25051650,25051598,25051546,25051465,25051464,25051364,25051289,25051237,25051136,25051071,25051025,25051024,25050972,25050868,25050561,25050320,25049977,25049899,25049873,25049795,25049742,25049416,25049356,25049249,25049197,25049043,25049015,25048936,25048884,25048734,25048720,25048717,25048331,25048192,25048173,25047880,25047669,25047608,25047192,25046998,25046561,25046547,25046169,25045637,25045231,25044963,25044763,25044578,25044425,25044169,25044166,25044005,25043935,25043627,25043481,25043306,25043265,25043260,25042989,25042943,25042719,25042347,25042170,25042077,25042065,25042001,25041776,25041675,25041393,25041204,25041155,25041153,25041018,25040835,25040605,25040560,25040499,25040249,25039947,25039946,25039725,25039622,25039477,25039447,25039252,25039180,25038881,25038486,25038445,25038444,25038286,25038052,25037949,25037914,25037912,25037857,25037457,25037417,25037043,25036908,25036417,25036311,25036043,25035906,25035874,25035873,25035536,25035457,25035213,25035071,25034837,25034573,25034124,25033979,25033187,25033061,25032524,25032208,25031971,25031618,25031106,25031070,25030754,25030438,25030110,25030102,25030097,25029974,25029687,25029442,25029409,25029183,25027744,25027270,25026945,25026593,25025696,25025452,25024776,25024665,25024270,25022610,25021997,25020662,25020384,25019958,25019925,25019680,25019286,25019153,25018784,25018728,25018504,25018500,25018156,25017960,25017517,25017423,25017208,25017169,25017079,25017044,25016677,25016447,25015865,25015696,25015273,25015018,25014696,25014540,25014118,25014090,25013742,25013715,25013714,25013655,25013635,25013494,25013468,25013016,25012915,25012909,25012907,25012872,25012784,25012618,25012601,25012513,25012439,25012128,25011930,25011505,25011343,25011318,25011305,25011069,25010907,25010385,25010101,25010048,25009880,25009789,25009375,25008611,25008084,25008019,25007356,25007331,25007209,25007031,25006922,25006775,25006158,25005785,25004477,25003784,25003698,25003616,25003496,25003432,25003277,25002565,25002064,25002060,25002055,25002043,25002041,25002040,25002034,25002021,25002016,25002014,25002012,25002010,25002009,25002007,25002006,25002001,25002000,25001999,25001998,25001996,25001992,25001983,25001982,25001979,25001973,25001971,25001970,25001966,25001962,25001952,25001949,25001946,25001944,25001943,25001942,25001941,25001938,25001928,25001925,25001923,25001920,25001919,25001918,25001912,25001911,25001909,25001908,25001905,25001904,25001901,25001898,25001897,25001893,25001892,25001891,25001886,25001885,25001883,25001882,25001879,25001876,25001873,25001872,25001870,25001868,25001867,25001866,25001865,25001864,25001858,25001856,25001855,25001852,25001850,25001849,25001846,25001845,25001844,25001843,25001841,25001838,25001837,25001834,25001831,25001830,25001829,25001827,25001826,25001825,25001823,25001820,25001818,25001817,25001813,25001811,25001810,25001809,25001805,25001803,25001799,25001797,25001796,25001795,25001794,25001790,25001789,25001787,25001785,25001784,25001782,25001779,25001777,25001774,25001772,25001771,25001766,25001765,25001762,25001757,25001750,25001748,25001747,25001746,25001743,25001741,25001736,25001734,25001733,25001732,25001731,25001730,25001729,25001723,25001722,25001720,25001718,25001717,25001715,25001711,25001710,25001709,25001706,25001705,25001702,25001698,25001696,25001695,25001694,25001692,25001686,25001685,25001684,25001681,25001677,25001672,25001671,25001670,25001667,25001666,25001665,25001664,25001658,25001657,25001655,25001654,25001653,25001651,25001649,25001644,25001643,25001642,25001639,25001634,25001633,25001632,25001630,25001629,25001627,25001626,25001623,25001612,25001610,25001607,25001605,25001604,25001603,25001602,25001595,25001594,25001593,25001591,25001589,25001588,25001579,25001578,25001577,25001574,25001571,25001566,25001564,25001563,25001562,25001561,25001558,25001553,25001552,25001551,25001550,25001546,25001539,25001536,25001535,25001534,25001533,25001528,25001527,25001526,25001525,25001524,25001523,25001522,25001521,25001520,25001519,25001515,25001514,25001512,25001511,25001510,25001508,25001505,25001504,25001500,25001498,25001496,25001495,25001493,25001490,25001487,25001486,25001485,25001484,25001483,25001482,25001479,25001475,25001474,25001467,25001460,25001459,25001458,25001455,25001454,25001443,25001442,25001440,25001437,25001435,25001434,25001428,25001427,25001425,25001424,25001422,25001421,25001419,25001415,25001413,25001412,25001411,25001410,25001409,25001407,25001403,25001402,25001401,25001399,25001397,25001393,25001392,25001391,25001390,25001385,25001381,25001380,25001379,25001378,25001376,25001369,25001368,25001365,25001364,25001362,25001359,25001354,25001353,25001347,25001346,25001344,25001343,25001341,25001340,25001339,25001334,25001330,25001328,25001327,25001325,25001324,25001319,25001318,25001317,25001314,25001308,25001306,25001303,25001302,25001301,25001296,25001294,25001293,25001292,25001290,25001288,25001285,25001283,25001279,25001278,25001277,25001276,25001271,25001269,25001266,25001264,25001262,25001256,25001253,25001250,25001246,25001245,25001232,25001229,25001228,25001224,25001222,25001218,25001217,25001213,25001212,25001211,25001208,25001203,25001202,25001197,25001195,25001194,25001189,25001186,25001185,25001184,25001177,25001176,25001174,25001173,25001169,25001168,25001167,25001158,25001154,25001148,25001144,25001139,25001138,25001137,25001134,25001132,25001127,25001117,25001116,25001115,25001111,25001108,25001104,25001101,25001099,25001098,25001096,25001092,25001089,25001088,25001084,25001077,25001070,25001066,25001062,25001061,25001060,25001059,25001052,25001051,25001049,25001045,25001040,25001039,25001027,25001025,25001021,25001013,25001012,25001008,25001003,25001001,25000998,25000992,25000989,25000988,25000984,25000983,25000982,25000976,25000974,25000714,25000220,25000014,24999901,24999832,24999482,24999347,24999223,24997774,24997124,24997013,24996759,24996565,24996532,24996488,24996429,24996390,24996385,24996331,24995473,24995468,24995440,24995410,24995246,24994847,24994638,24994548,24994074,24993896,24993737,24993391,24993191,24992958,24992593,24992387,24992321,24992037,24991997,24991766,24991702,24991553,24991514,24991477,24991380,24991323,24991265,24990861,24990794,24990649,24990592,24990172,24990129,24990096,24990035,24989756,24989755,24989671,24989541,24989502,24989463,24989359,24989332,24989154,24989010,24988971,24988920,24988817,24988689,24988638,24988534,24988482,24988481,24988269,24988265,24988264,24988213,24988108,24988077,24988049,24987999,24987948,24987766,24987688,24987638,24987612,24987586,24987585,24987405,24987364,24987326,24987274,24987273,24987272,24987216,24987142,24986987,24986936,24986849,24986823,24986771,24986770,24986597,24986491,24986462,24986460,24986357,24986314,24986255,24986152,24986050,24986049,24986022,24985995,24985994,24985920,24985919,24985763,24985712,24985635,24985558,24985291,24985204,24985126,24985100,24985061,24984729,24984491,24984490,24984385,24984382,24984357,24984283,24984231,24984076,24983999,24983632,24983631,24983494,24983456,24983250,24983119,24983094,24983067,24982952,24982786,24982696,24982658,24982653,24982579,24982562,24982549,24982539,24982497,24982396,24982395,24982265,24982211,24982185,24982159,24981950,24981885,24981811,24981770,24981469,24981456,24981422,24981317,24981313,24981288,24981210,24981059,24981007,24980981,24980930,24980903,24980865,24980801,24980771,24980721,24980568,24980565,24980479,24980440,24980336,24980109,24980011,24979971,24979841,24979806,24979763,24979609,24979608,24979531,24979347,24979346,24979319,24979269,24979256,24979216,24979116,24979088,24978933,24978932,24978881,24978829,24978828,24978574,24978486,24978399,24978347,24978294,24978141,24978089,24978007,24977956,24977955,24977904,24977603,24977550,24977359,24977208,24977180,24977103,24977076,24977015,24976937,24976910,24976858,24976768,24976767,24976657,24976630,24976542,24976362,24976332,24976193,24976061,24975938,24975861,24975832,24975243,24974887,24974761,24974377,24974252,24974176,24973795,24973525,24973516,24973485,24973431,24973349,24973347,24973344,24973266,24973202,24973135,24972915,24972750,24972568,24972486,24972392,24972286,24972220,24971973,24971905,24971900,24971744,24971614,24971450,24971447,24971396,24971279,24971277,24970955,24970366,24970182,24969907,24969799,24969618,24969530,24969475,24969445,24969308,24969120,24969057,24968919,24968870,24968781,24968692,24968062,24968034,24967980,24967950,24967862,24967666,24967417,24967232,24967056,24967009,24966906,24966572,24966498,24965895,24965755,24965679,24965154,24964921,24964728,24964576,24964574,24964570,24964499,24964458,24964417,24964293,24964240,24964239,24964030,24963908,24963876,24963838,24963795,24963792,24963661,24963518,24963391,24963388,24963251,24963250,24963221,24963216,24963138,24963136,24963081,24963079,24963071,24963013,24963010,24962997,24962951,24962930,24962851,24962840,24962838,24962825,24962821,24962820,24962740,24962737,24962708,24962652,24962187,24962091,24961671,24961624,24961560,24960998,24960955,24960771,24960746,24960678,24960448,24960353,24960064,24959933,24959799,24959681,24959579,24959573,24959545,24959511,24959102,24958978,24958841,24958762,24958740,24958493,24958455,24958321,24958185,24958035,24957862,24957740,24957503,24957381,24957355,24957347,24957259,24957232,24956899,24956758,24956712,24956623,24956196,24956082,24956041,24956020,24955983,24955726,24955694,24955485,24955462,24955405,24955262,24955244,24954953,24954649,24954577,24953903,24953800,24953779,24953471,24953259,24953072,24953047,24952973,24952775,24952728,24952333,24952169,24951848,24951796,24951771,24951695,24951261,24951216,24951011,24950971,24950897,24950843,24950558,24950393,24950095,24950052,24950011,24949999,24949793,24949695,24948944,24948784,24947239,24947023,24945507,24945506,24944976,24944630,24944605,24944429,24943144,24942963,24942163,24942139,24941813,24941607,24941574,24939903,24939866,24939540,24938460,24938132,24937232,24937161,24934829,24934193,24932242,24932207,24932196,24932165,24932098,24932068,24931976,24931907,24931734,24931725,24931668,24931624,24931511,24931444,24931291,24931273,24931183,24931167,24930985,24930847,24930829,24930822,24930816,24930723,24930663,24930625,24930514,24930337,24930329,24930252,24930185,24929928,24929926,24929895,24929798,24929750,24929673,24929572,24929466,24929458,24929171,24929042,24928705,24928564,24928439,24928429,24928351,24928151,24928133,24928110,24928016,24927968,24927944,24927787,24927597,24927551,24927535,24927433,24927428,24927368,24927300,24927157,24927152,24927021,24926940,24926760,24926730,24926688,24926406,24926380,24926266,24925977,24925937,24925828,24925758,24925687,24925378,24925300,24925263,24925033,24924957,24924888,24924819,24924808,24924669,24924570,24924482,24924400,24924268,24924218,24924216,24924023,24923992,24923768,24923762,24923436,24923345,24923318,24923241,24923012,24922949,24922896,24922842,24922814,24922676,24922675,24922623,24922513,24922463,24922434,24922206,24922191,24922038,24921933,24921845,24921681,24921628,24921543,24921118,24920935,24920906,24920724,24920696,24920618,24920481,24920480,24919872,24919869,24919763,24919717,24919555,24919552,24919496,24919494,24919467,24919465,24919306,24919136,24919083,24919081,24919029,24918975,24918888,24918885,24918832,24918754,24918731,24918694,24918661,24918466,24918465,24918411,24918097,24918041,24918038,24917986,24917851,24917824,24917690,24917664,24917499,24917445,24917365,24916968,24916965,24916829,24916752,24916722,24916696,24916669,24916269,24916196,24916178,24916040,24916038,24915798,24915585,24915559,24915488,24915369,24915342,24915341,24915105,24914953,24914855,24914829,24914678,24914671,24914418,24914405,24914258,24914207,24913905,24913850,24913744,24913639,24913446,24913154,24913093,24913067,24912955,24912801,24912494,24912256,24911957,24911877,24911712,24911500,24911257,24911114,24910889,24910779,24910689,24910636,24910579,24910242,24910184,24910039,24909731,24909676,24909591,24909381,24909260,24909234,24909192,24908841,24908772,24908731,24908426,24908345,24908289,24908259,24908167,24908137,24908060,24908035,24907978,24907923,24907870,24907816,24907786,24907760,24907576,24907547,24907492,24907437,24907295,24907085,24907057,24907003,24907002,24906950,24906921,24906895,24906842,24906646,24906496,24906332,24906330,24906304,24906227,24906005,24905914,24905813,24905599,24905544,24905406,24905401,24905188,24905137,24905082,24905031,24904928,24904874,24904795,24904746,24904545,24904492,24904438,24904385,24904330,24904277,24904250,24904200,24904095,24903914,24903889,24903838,24903786,24903734,24903656,24903344,24903290,24903261,24903256,24903203,24903151,24903123,24902970,24902933,24902893,24902841,24902789,24902663,24902611,24902532,24902504,24902472,24902438,24902397,24902380,24902326,24902274,24902223,24902095,24902043,24901992,24901941,24901877,24901826,24901721,24901716,24901715,24901712,24901711,24901706,24901705,24901703,24901702,24901701,24901699,24901697,24901696,24901691,24901689,24901687,24901685,24901684,24901682,24901679,24901677,24901674,24901672,24901654,24901634,24901558,24901556,24901553,24901516,24901514,24901512,24901510,24901509,24901505,24901504,24901491,24901486,24901480,24901479,24901474,24901472,24901470,24901469,24901468,24901467,24901465,24901461,24901458,24901457,24901456,24901455,24901454,24901415,24901334,24901332,24901331,24901327,24901326,24901325,24901323,24901322,24901320,24901316,24901313,24901312,24901311,24901310,24901308,24901303,24901301,24901300,24901299,24901246,24901227,24901154,24901039,24901031,24901029,24901025,24901024,24901022,24901021,24901018,24901017,24901012,24901010,24901008,24901007,24901005,24901004,24901003,24901000,24900999,24900961,24900926,24900887,24900808,24900807,24900805,24900801,24900800,24900799,24900797,24900796,24900795,24900794,24900789,24900787,24900772,24900769,24900768,24900764,24900656,24900549,24900343,24900274,24900272,24900237,24900065,24899960,24899923,24899832,24899723,24899515,24899394,24899331,24899186,24899149,24899144,24899143,24899141,24899140,24899138,24899133,24899132,24899129,24899128,24899127,24899125,24899123,24899119,24899118,24899116,24899113,24899111,24899110,24899109,24899108,24899102,24899101,24899099,24899098,24899043,24899024,24899022,24898983,24898944,24898939,24898938,24898937,24898932,24898931,24898930,24898929,24898928,24898927,24898925,24898923,24898919,24898918,24898880,24898733,24898660,24898551,24898047,24897569,24897458,24897225,24897224,24897221,24897219,24897215,24897214,24897209,24897196,24897189,24897188,24897187,24897186,24897182,24897181,24897179,24897176,24897172,24897170,24897167,24897165,24897164,24897050,24897048,24897047,24897042,24897040,24897039,24897033,24897032,24897030,24897029,24897027,24897023,24897022,24897020,24897019,24897018,24897015,24897014,24897010,24897009,24897007,24897005,24897004,24897003,24897002,24896928,24896815,24896813,24896812,24896807,24896806,24896803,24896802,24896800,24896795,24896792,24896790,24896787,24896786,24896782,24896780,24896779,24896778,24896775,24896774,24896773,24896770,24896769,24896768,24896766,24896764,24896763,24896762,24896686,24896685,24896683,24896680,24896679,24896678,24896675,24896671,24896669,24896657,24896647,24896646,24896645,24896623,24896604,24896602,24896600,24896599,24896597,24896596,24896593,24896592,24896590,24896586,24896581,24896580,24896579,24896578,24896573,24896571,24896569,24896568,24896566,24896565,24896564,24896563,24896560,24896535,24896534,24896533,24896532,24896527,24896526,24896524,24896523,24896521,24896520,24896519,24896406,24896405,24896404,24896400,24896399,24896398,24896396,24896393,24896389,24896388,24896387,24896386,24896384,24896383,24896381,24896380,24896375,24896373,24896372,24896371,24896370,24896368,24896367,24896366,24896358,24896357,24896336,24896240,24896235,24896231,24896230,24896229,24896224,24896223,24896222,24896220,24896215,24896210,24896202,24896201,24896198,24896197,24896195,24896079,24896078,24896071,24896070,24896067,24896065,24896058,24896053,24896049,24896045,24896044,24896039,24896038,24896037,24896033,24896030,24896029,24895991,24895953,24895913,24895912,24895907,24895906,24895904,24895902,24895898,24895897,24895894,24895892,24895891,24895886,24895884,24895883,24895880,24895874,24895873,24895872,24895835,24895834,24895833,24895755,24895754,24895750,24895749,24895748,24895747,24895744,24895743,24895739,24895738,24895735,24895734,24895730,24895728,24895722,24895712,24895711,24895710,24895669,24895595,24895594,24895584,24895583,24895579,24895575,24895573,24895571,24895570,24895568,24895560,24895559,24895545,24895543,24895537,24895536,24895534,24895530,24895529,24895491,24895454,24895453,24895376,24895372,24895371,24895366,24895365,24895364,24895359,24895358,24895357,24895355,24895353,24895352,24895348,24895347,24895344,24895342,24895337,24895336,24895335,24895333,24895332,24895255,24895252,24895248,24895247,24895246,24895245,24895242,24895239,24895238,24895232,24895221,24895215,24895210,24895207,24895206,24895202,24895200,24895198,24895196,24895194,24895136,24895117,24895116,24895076,24895075,24895070,24895069,24895053,24895043,24895038,24895034,24895033,24894963,24894962,24894959,24894957,24894955,24894951,24894949,24894948,24894946,24894945,24894943,24894941,24894936,24894935,24894932,24894931,24894930,24894893,24894891,24894816,24894812,24894808,24894807,24894803,24894802,24894801,24894800,24894796,24894794,24894790,24894787,24894784,24894783,24894779,24894776,24894772,24894769,24894765,24894761,24894760,24894759,24894722,24894644,24894643,24894641,24894638,24894637,24894635,24894634,24894633,24894630,24894628,24894622,24894599,24894598,24894597,24894594,24894591,24894590,24894588,24894587,24894586,24894583,24894578,24894576,24894575,24894538,24894536,24894494,24894457,24894456,24894455,24894451,24894450,24894449,24894448,24894447,24894442,24894441,24894440,24894439,24894438,24894436,24894435,24894432,24894431,24894426,24894425,24894422,24894400,24894398,24894397,24894395,24894392,24894391,24894388,24894386,24894385,24894348,24894311,24894269,24894268,24894264,24894262,24894259,24894253,24894250,24894248,24894245,24894244,24894240,24894238,24894233,24894230,24894229,24894227,24894223,24894221,24894220,24894182,24894108,24894102,24894101,24894096,24894095,24894094,24894092,24894088,24894087,24894084,24894073,24894063,24894061,24894060,24894057,24894056,24894055,24894054,24894053,24894052,24894051,24894050,24894045,24894043,24894041,24894004,24893929,24893927,24893926,24893925,24893921,24893920,24893918,24893914,24893912,24893911,24893908,24893907,24893902,24893901,24893899,24893898,24893896,24893895,24893894,24893889,24893887,24893851,24893849,24893814,24893813,24893589,24893570,24893551,24893544,24893543,24893540,24893539,24893538,24893535,24893534,24893532,24893531,24893528,24893527,24893526,24893521,24893520,24893518,24893517,24893516,24893515,24893514,24893509,24893508,24893507,24893506,24893471,24893469,24893467,24893354,24893352,24893351,24893347,24893345,24893307,24893306,24893304,24893301,24893300,24893299,24893298,24893297,24893296,24893290,24893288,24893287,24893285,24893284,24893280,24893279,24893278,24893242,24893173,24893137,24893136,24893093,24893015,24893014,24893011,24893008,24893006,24893005,24893004,24893002,24892997,24892995,24892994,24892992,24892990,24892988,24892986,24892984,24892981,24892980,24892979,24892978,24892975,24892972,24892970,24892969,24892966,24892929,24892928,24892890,24892840,24892825,24892811,24892771,24892722,24892715,24892702,24892695,24892416,24892295,24892023,24891386,24891030,24890903,24890674,24890359,24890282,24890249,24890245,24890225,24890185,24890149,24890111,24890109,24890089,24890062,24890023,24890007,24889995,24889922,24889867,24889770,24889756,24889734,24889723,24889678,24889605,24889580,24889561,24889528,24889507,24889489,24889448,24889276,24889270,24889160,24889158,24889120,24889096,24889084,24889078,24889045,24889042,24888946,24888836,24888791,24888757,24888724,24888698,24888666,24888602,24888421,24888420,24888385,24888353,24888343,24888337,24888285,24888257,24888247,24888208,24888206,24888188,24888170,24888154,24888115,24888086,24887866,24887826,24887750,24887729,24887639,24887606,24887564,24887525,24887489,24887467,24887451,24887411,24887267,24887228,24887227,24887224,24887207,24887185,24887168,24887133,24887112,24887106,24887088,24887056,24887012,24886959,24886956,24886938,24886898,24886759,24886717,24886633,24886620,24886599,24886598,24886582,24886579,24886562,24886558,24886499,24886498,24886462,24886437,24886422,24886401,24886383,24886367,24886364,24886328,24886327,24886219,24886065,24886045,24886029,24886009,24885972,24885934,24885901,24885824,24885816,24885804,24885776,24885763,24885728,24885710,24885708,24885697,24885685,24885654,24885451,24885449,24885431,24885395,24885337,24885266,24885173,24885135,24885083,24885050,24885027,24884864,24884696,24884658,24884584,24884566,24884451,24884395,24884377,24884327,24884321,24884311,24884289,24884246,24884235,24884031,24884022,24884006,24883986,24883970,24883949,24883932,24883786,24883711,24883612,24883606,24883554,24883553,24883519,24883516,24883477,24883476,24883409,24883092,24883053,24883020,24882981,24882911,24882840,24882734,24882704,24882674,24882621,24882566,24882545,24882513,24882508,24882123,24882014,24881321,24880928,24880853,24880720,24880656,24880302,24880194,24879770,24879338,24879033,24878759,24878640,24878616,24878370,24878284,24878180,24878173,24878116,24878098,24878088,24878046,24878043,24878010,24877825,24877747,24877693,24877674,24877621,24877615,24877581,24877580,24877579,24877561,24877502,24877490,24877489,24877466,24877465,24877462,24877418,24877401,24877371,24877268,24877230,24877165,24876879,24876807,24876806,24876786,24876763,24876757,24876637,24876635,24876634,24876632,24876630,24876628,24876627,24876623,24876622,24876617,24876615,24876614,24876613,24876611,24876610,24876608,24876607,24876605,24876603,24876597,24876596,24876595,24876593,24876591,24876590,24876589,24876584,24876583,24876582,24876545,24876543,24876542,24876540,24876430,24876288,24876262,24876171,24876146,24876119,24876093,24876092,24875999,24875989,24875964,24875913,24875887,24875833,24875790,24875753,24875752,24875725,24875591,24875538,24875460,24875330,24875278,24875226,24875174,24875046,24875020,24874887,24874692,24874637,24874558,24874456,24874407,24874350,24874325,24874281,24874242,24874181,24874177,24874137,24874061,24874010,24873856,24873855,24873727,24873662,24873542,24873527,24873489,24873449,24873361,24873332,24873331,24873177,24873046,24872992,24872891,24872877,24872849,24872795,24872664,24872621,24872435,24872380,24872298,24872194,24872073,24872048,24872021,24871995,24871981,24871968,24871965,24871878,24871791,24871739,24871683,24871631,24871555,24871528,24871425,24871324,24871273,24871168,24871115,24871027,24870949,24870947,24870720,24870667,24870666,24870636,24870634,24870580,24870552,24870527,24870526,24870422,24870293,24870292,24870264,24870214,24870186,24870110,24870109,24870057,24869953,24869849,24869740,24869587,24869485,24869404,24869292,24869240,24869199,24869012,24868697,24868671,24868645,24868556,24868528,24868527,24868425,24868362,24868286,24868198,24868123,24868122,24868016,24867970,24867703,24867639,24867448,24867365,24867337,24867249,24867132,24866965,24866777,24866420,24866356,24866258,24865884,24865671,24865670,24865584,24865129,24865012,24864851,24864798,24864737,24864633,24864581,24864530,24864529,24864443,24864401,24864205,24864135,24864081,24863963,24863935,24863722,24863680,24863536,24863455,24863053,24862737,24862686,24862685,24862610,24862580,24862467,24862454,24862366,24862311,24862148,24862097,24861977,24861925,24861780,24861665,24861637,24861636,24861536,24861377,24861037,24860889,24860565,24860290,24860220,24860150,24860108,24859719,24859663,24859384,24859195,24859083,24859019,24858785,24858735,24858662,24858619,24858430,24858305,24858303,24858009,24858002,24857723,24857521,24857072,24856772,24856392,24856007,24855981,24855803,24855679,24855618,24855412,24855308,24855287,24855152,24854932,24854918,24854879,24854799,24854540,24854513,24854463,24854357,24854108,24853837,24853702,24853388,24853358,24853357,24853205,24853151,24853099,24853073,24853021,24853017,24852888,24852886,24852835,24852750,24852442,24852417,24852282,24852252,24852210,24852132,24852106,24851951,24851842,24851661,24851626,24851209,24851108,24851069,24851041,24851040,24851001,24850898,24850787,24850742,24850632,24850549,24850463,24850429,24850291,24850200,24850199,24850147,24850081,24850041,24849821,24849690,24849612,24849530,24849143,24849106,24849100,24848891,24848704,24848703,24848677,24848626,24848571,24848542,24848456,24848405,24848385,24848334,24848259,24848198,24848022,24847945,24847709,24847708,24847206,24847175,24846849,24846798,24846791,24846775,24846576,24846553,24846540,24846356,24846338,24846183,24845853,24845627,24845601,24845417,24845187,24845111,24844904,24844730,24844695,24844553,24844351,24844266,24844034,24843794,24843682,24843585,24842447,24842003,24840650,24840069,24840065,24840060,24840056,24840055,24840051,24840041,24840040,24840039,24840032,24840031,24840028,24839970,24839893,24839864,24839863,24839807,24839439,24839363,24839356,24839257,24839075,24839074,24839022,24838815,24838328,24838227,24838172,24838035,24838032,24837929,24837928,24837715,24837580,24837538,24837423,24837314,24837312,24837309,24837254,24836989,24836910,24836875,24836825,24836714,24836686,24836426,24836323,24836319,24836239,24836002,24835990,24835988,24835938,24835881,24835879,24835876,24835873,24835870,24835865,24835863,24835861,24835827,24835826,24835800,24835799,24835797,24835795,24835793,24835791,24835790,24835741,24835600,24835142,24835068,24834944,24834781,24834541,24834377,24834221,24834171,24833602,24833594,24833217,24832857,24832829,24832712,24832544,24832312,24832200,24831957,24831920,24831426,24831391,24831386,24831384,24831366,24831281,24831152,24831016,24830960,24830948,24830916,24830794,24830591,24830561,24830461,24830458,24830451,24830336,24830323,24830293,24830242,24829230,24829085,24829077,24829055,24828907,24828877,24828830,24828751,24828675,24828603,24828544,24828528,24828258,24828175,24828174,24827992,24827710,24827675,24827417,24827358,24827356,24827298,24827054,24826951,24826793,24826746,24826669,24826668,24826512,24826437,24826410,24826409,24826354,24826251,24826245,24826242,24826212,24826058,24825413,24825286,24825258,24825167,24825062,24824907,24824901,24824847,24824798,24824745,24824742,24824690,24824640,24824469,24824468,24824346,24824344,24824214,24824083,24824075,24824021,24823960,24823928,24823796,24823766,24823665,24823663,24823662,24823584,24823583,24823495,24823456,24823394,24823151,24822966,24822965,24822914,24822908,24822807,24822805,24822719,24822694,24822609,24822473,24821649,24821648,24821536,24821535,24821425,24821378,24821345,24821270,24821172,24821060,24820998,24820997,24820792,24820767,24820765,24820735,24820734,24820603,24820577,24820501,24820500,24820336,24820333,24820306,24820302,24820151,24820126,24820099,24820020,24820012,24819957,24819908,24819759,24819663,24819662,24819613,24819574,24819520,24819397,24819288,24819168,24817590,24817449,24817397,24817171,24817170,24817117,24816939,24816890,24816876,24816863,24816757,24816654,24816653,24816600,24816599,24816564,24816442,24816336,24816138,24816135,24816081,24816052,24815890,24815861,24815807,24815802,24815801,24815798,24815769,24815767,24815766,24815765,24815738,24815711,24815709,24815705,24815701,24815699,24815698,24815671,24815645,24814863,24814830,24814755,24814754,24814752,24814750,24814690,24814661,24814581,24814506,24814374,24814334,24814291,24814049,24813940,24813915,24813886,24813834,24813795,24813756,24813702,24813434,24813371,24813296,24813156,24813014,24812965,24812912,24812716,24812611,24812385,24812367,24812269,24812086,24812004,24811977,24810545,24810387,24810256,24810178,24810008,24810006,24809849,24809848,24809766,24809704,24809676,24809391,24809352,24809253,24809204,24809151,24809123,24808959,24808958,24808808,24808807,24808757,24808705,24808482,24808442,24808327,24808197,24808194,24808168,24807813,24807347,24806983,24806980,24806849,24806848,24806847,24806821,24806818,24806717,24806663,24806608,24806438,24806436,24806319,24806231,24806107,24805933,24805904,24805873,24805870,24805757,24805544,24805542,24805541,24805488,24805485,24805362,24805309,24805276,24805092,24804951,24804909,24804800,24804799,24804798,24804741,24804568,24804402,24804318,24803674,24803112,24803087,24803059,24802897,24802884,24802806,24802746,24802668,24802526,24802524,24802498,24802365,24802255,24801963,24801910,24801759,24801708,24801706,24801625,24801493,24801467,24801247,24801243,24801192,24801191,24801112,24801108,24800985,24800981,24800917,24800883,24800532,24800507,24800503,24800337,24800257,24800047,24799945,24799601,24799463,24799407,24799329,24799205,24799153,24799152,24798973,24798869,24798738,24798684,24798574,24798513,24798364,24798363,24798294,24798202,24798199,24798080,24798042,24797955,24797770,24797572,24797492,24797368,24797306,24797293,24797239,24797226,24797010,24796834,24796807,24796786,24796755,24796706,24796632,24796583,24796502,24796446,24796432,24796407,24796342,24796140,24796128,24796119,24796104,24796097,24796049,24796001,24795984,24795936,24795848,24795768,24795626,24795383,24794836,24794577,24793703,24793642,24793245,24792396,24792347,24791831,24791758,24791368,24791358,24788593,24787502,24785450,24785085,24785058,24785057,24785056,24785007,24784839,24784802,24784545,24784492,24783624,24783464,24783161,24783009,24782882,24782703,24782650,24782597,24782470,24782417,24782024,24781971,24781868,24781694,24781499,24781461,24780630,24780312,24780249,24779774,24779659,24779388,24779307,24779177,24779048,24778971,24778841,24778722,24778682,24778543,24778477,24778108,24778082,24778018,24777959,24777957,24777931,24777777,24777555,24777419,24777390,24777365,24777248,24776959,24776687,24776642,24776617,24776097,24776070,24776019,24775738,24775385,24775280,24775253,24775105,24775039,24774969,24774845,24774600,24774599,24774340,24774276,24774161,24773945,24773870,24773721,24773670,24773634,24773608,24773606,24773165,24772074,24770731,24770306,24769256,24769097,24768154,24767170,24765954,24765076,24763414,24762937,24761946,24761933,24761880,24761877,24761625,24761598,24761435,24760967,24760491,24760334,24760216,24760053,24759995,24759634,24759467,24759362,24759242,24759193,24759000,24758999,24758876,24758220,24758119,24757852,24757851,24757720,24757486,24756872,24756679,24756645,24756404,24756365,24756360,24756118,24755352,24754175,24753761,24753225,24753185,24752763,24752511,24751546,24750869,24750824,24750325,24749842,24749315,24748871,24748469,24748103,24748063,24747682,24747033,24747000,24746957,24746826,24746812,24746762,24746760,24746468,24746145,24745935,24745612,24745103,24745084,24745064,24744850,24744769,24744728,24744638,24744556,24744257,24744137,24743725,24743719,24743718,24743708,24743534,24743476,24743247,24743237,24743141,24743103,24743100,24743047,24743007,24742758,24741883,24741751,24741625,24741624,24741620,24741619,24741616,24741615,24741609,24741470,24741467,24741463,24741462,24741461,24741460,24741434,24741321,24741317,24741313,24741312,24741308,24741171,24741166,24741162,24741161,24741157,24741097,24741019,24741016,24741012,24741011,24741009,24741004,24740764,24740757,24740751,24740750,24740749,24740746,24740745,24740741,24740569,24740568,24740567,24740547,24740529,24740525,24740521,24740482,24740343,24740339,24740338,24740337,24740333,24740332,24740331,24740325,24740321,24740283,24740178,24740143,24740102,24738937,24738816,24738428,24738129,24737838,24737510,24737055,24736662,24736319,24736301,24736236,24735975,24735950,24735766,24735713,24735621,24735586,24735473,24735455,24735441,24735131,24734911,24734577,24734560,24734489,24734353,24734233,24734072,24733935,24733867,24733850,24733784,24733674,24733396,24733301,24733189,24733066,24733046,24732989,24732559,24732514,24732482,24732429,24732133,24731683,24731364,24731332,24731279,24731167,24731142,24731130,24730597,24730484,24730455,24730384,24730179,24729993,24729933,24729624,24729266,24729184,24728953,24728230,24728151,24727661,24727461,24726365,24725631,24725142,24724802,24723673,24722971,24722181,24720391,24719517,24719513,24719509,24719505,24719503,24719500,24719498,24719495,24719483,24719477,24719476,24719471,24719453,24719188,24719114,24718907,24718586,24718401,24718331,24717463,24717013,24716702,24716575,24716069,24716060,24715825,24715745,24715681,24715377,24714930,24714798,24714746,24714507,24714455,24713860,24713652,24713395,24712985,24712832,24712752,24712725,24712673,24712029,24711592,24711156,24711081,24711078,24710508,24710200,24709846,24709434,24709279,24709276,24709149,24709070,24708917,24708685,24708632,24708417,24708355,24708324,24708134,24708080,24708015,24707521,24707393,24707241,24707139,24707088,24706959,24706399,24706372,24705587,24705325,24705259,24705157,24704952,24704486,24704272,24704003,24703976,24703764,24703464,24703393,24703093,24703041,24702989,24702936,24702806,24702496,24702316,24702117,24702061,24701977,24701974,24701769,24701739,24701612,24701214,24701160,24700884,24699611,24698428,24697974,24697682,24697120,24697035,24696160,24695892,24695469,24695080,24694957,24694714,24694595,24694254,24694178,24694016,24693788,24693609,24693527,24693291,24692951,24692634,24692354,24691957,24691768,24691103,24690875,24690777,24690769,24690674,24690544,24690346,24690171,24689883,24689820,24689628,24689551,24689394,24689246,24689088,24688544,24688283,24688276,24687846,24687682,24687497,24685872,24685460,24685306,24684922,24684770,24684728,24684121,24684058,24683873,24683781,24683662,24683490,24683351,24683120,24682684,24682021,24681935,24681904,24681686,24681289,24680858,24680388,24679970,24679885,24679822,24679728,24679641,24679204,24679092,24678909,24678904,24678749,24678467,24677497,24677257,24676717,24676629,24676130,24675566,24675228,24675220,24675112,24674917,24674619,24674559,24674275,24674243,24674021,24672787,24672607,24672433,24672214,24672086,24671934,24671530,24671210,24671096,24670955,24670827,24670620,24670614,24670498,24670297,24669968,24669291,24669056,24668943,24668517,24668211,24667831,24667109,24667002,24666969,24666466,24666359,24665833,24665613,24665386,24665319,24665192,24665107,24665101,24664303,24664234,24664115,24663867,24663636,24663403,24663301,24663146,24662723,24662643,24662463,24662348,24662230,24662154,24662053,24661819,24661184,24661176,24661168,24661145,24661099,24661024,24661007,24660994,24660993,24660986,24660982,24660860,24660858,24660857,24660856,24660850,24660847,24660620,24660612,24660604,24660595,24660594,24660589,24660474,24660473,24660468,24660464,24660460,24660455,24660430,24660120,24659393,24659386,24659379,24659366,24659362,24659244,24659230,24659228,24659152,24657519,24656974,24656756,24656735,24656727,24656710,24656709,24656593,24656590,24656585,24656581,24656579,24656576,24656573,24656487,24656418,24656412,24656411,24656259,24656258,24656255,24656254,24656251,24656209,24656124,24656118,24656116,24656109,24656091,24656038,24655961,24655960,24655956,24655951,24655935,24655922,24655774,24655758,24655756,24655748,24655708,24655707,24655591,24655588,24655554,24655551,24655550,24655425,24655417,24655409,24655406,24655397,24655392,24655314,24655301,24655295,24655288,24655282,24655278,24655274,24655162,24655156,24655150,24655144,24655111,24655109,24655034,24654979,24654978,24654974,24654971,24654966,24654961,24654958,24654836,24654835,24654812,24654800,24654794,24654788,24654787,24654670,24654668,24654535,24654531,24654519,24654444,24654382,24654378,24654365,24654364,24654363,24654242,24654223,24654203,24654193,24654072,24654067,24654059,24654048,24654030,24653903,24653897,24653890,24653883,24653846,24653767,24653756,24653736,24653727,24653725,24653609,24653599,24653592,24653589,24653588,24653584,24653574,24653573,24653535,24653422,24653338,24653324,24653170,24653158,24653139,24653137,24653130,24653095,24653054,24652935,24652933,24652928,24652917,24652916,24652870,24652865,24652864,24652751,24652677,24652401,24652235,24652008,24651237,24650980,24649981,24649899,24649645,24649626,24649356,24649355,24649278,24649258,24649238,24649085,24649027,24648696,24648655,24648641,24648630,24648488,24648401,24648310,24648291,24648009,24647965,24647775,24647694,24647617,24647602,24647483,24647025,24646818,24646520,24646519,24646445,24646373,24646268,24646163,24646005,24645984,24645977,24645844,24645636,24645630,24645547,24645405,24645311,24645299,24645196,24645069,24645006,24644746,24644707,24644670,24644642,24644586,24644538,24644516,24644325,24644243,24644192,24644179,24644158,24644117,24644113,24644095,24644062,24644030,24643994,24643871,24643656,24643633,24643616,24643466,24643389,24643346,24643191,24643077,24643023,24642936,24642897,24642822,24642739,24642584,24642446,24642216,24642196,24642118,24642050,24641835,24641798,24641777,24641751,24641516,24641457,24641401,24641388,24641228,24641189,24641133,24641049,24641008,24640907,24640648,24640445,24639846,24639785,24639745,24639613,24639513,24639466,24639441,24639273,24638729,24638633,24638593,24638368,24638357,24638347,24638216,24638044,24638043,24638042,24638023,24638017,24638015,24638008,24638006,24637982,24637978,24637972,24637971,24637855,24637853,24637846,24637841,24637839,24637838,24637831,24637829,24637811,24637793,24637789,24637446,24637276,24637016,24636977,24636516,24636401,24636361,24635978,24635757,24635702,24635525,24635496,24635463,24635101,24635063,24634979,24634928,24634686,24634582,24634554,24634374,24634340,24634236,24634135,24634108,24633535,24633506,24633172,24633147,24633095,24632937,24632780,24632673,24632362,24632330,24632070,24631948,24631895,24631432,24631415,24631348,24631275,24631181,24631118,24631025,24630877,24630726,24630571,24630543,24630339,24630185,24630075,24629718,24629583,24629454,24629353,24629015,24628836,24628533,24628249,24627890,24627755,24627753,24627725,24627612,24627474,24626994,24626887,24626872,24626834,24626681,24626494,24626220,24626128,24626082,24625737,24625685,24625210,24625023,24624449,24624037,24623383,24622897,24622779,24622587,24622404,24622326,24622181,24622065,24621860,24621751,24621558,24621321,24620821,24620714,24620631,24620338,24620112,24619720,24619527,24619219,24619154,24619116,24618650,24618563,24618534,24618340,24618250,24618197,24617875,24617792,24617557,24617430,24617429,24617324,24617048,24616685,24616323,24616207,24615541,24615491,24615403,24614984,24614932,24614852,24614569,24614540,24614296,24613884,24613645,24613458,24613404,24613271,24613094,24612324,24612242,24612154,24611680,24610780,24610444,24609931,24609802,24609497,24609384,24609169,24608620,24608277,24607915,24607464,24607365,24606781,24606473,24604998,24604710,24604489,24603625,24603424,24602924,24602738,24602681,24602679,24602483,24601973,24601140,24600876,24600732,24600279,24600018,24599986,24599414,24598788,24598392,24597531,24596932,24596739,24596315,24596130,24594302,24593627,24593334,24592537,24591692,24591450,24590320,24590181,24589419,24589298,24589005,24588657,24587511,24586950,24585958,24585498,24584806,24584189,24583794,24581854,24576669,24576664,24576660,24576651,24576564,24576091,24575616,24575496,24574882,24574557,24573913,24573425,24572845,24572717,24571688,24571261,24568841,24568107,24567943,24567185,24567096,24566715,24566362,24566082,24565595,24565437,24565164,24564868,24563655,24563059,24553677,24553567,24553388,24553282,24553218,24552871,24552111,24551834,24551622,24551528,24551364,24550900,24550834,24550137,24549410,24548632,24548499,24548417,24548321,24547803,24547531,24546436,24545382,24544815,24544562,24544034,24543711,24543447,24543340,24543298,24542325,24542004,24541725,24541321,24540943,24540749,24540698,24540563,24540250,24539989,24539914,24539661,24539360,24538801,24538257,24537635,24537514,24536914,24536794,24536605,24536307,24536091,24535711,24535580,24534770,24534692,24534567,24534300,24533944,24533766,24533636,24533295,24532692,24531749,24531450,24531389,24530728,24530216,24530109,24529131,24528927,24528706,24528326,24527799,24527030,24526830,24526161,24525422,24524440,24524273,24524204,24523998,24523716,24523554,24523140,24522754,24522348,24522032,24521973,24521571,24521424,24520699,24520571,24520064,24520003,24519889,24519689,24519492,24519372,24519210,24519113,24518977,24518419,24518047,24517625,24516486,24514434,24514078,24513133,24511957,24511251,24511079,24510369,24509361,24509103,24508709,24507902,24507212,24507011,24506922,24506709,24506317,24505726,24504909,24504726,24504585,24504060,24503037,24502967,24501495,24500669,24500472,24500333,24500019,24499622,24499511,24499429,24499264,24499051,24498533,24497905,24497681,24497438,24497323,24496695,24496093,24495655,24495626,24495129,24495026,24494778,24494538,24494500,24494334,24494182,24493853,24493845,24488161,24488017,24487900,24487709,24487378,24486874,24486687,24486265,24484993,24484838,24484461,24483878,24483629,24483485,24482710,24482499,24482119,24481184,24480962,24480802,24480200,24479942,24479862,24479744,24479542,24479450,24479019,24478967,24478806,24478645,24478551,24478115,24477861,24477725,24477371,24477082,24476986,24476911,24476791,24476687,24476466,24475843,24475522,24475456,24475403,24475238,24474999,24474976,24474693,24473926,24473254,24472458,24472187,24471998,24471513,24471227,24470934,24470883,24470404,24470133,24470102,24470056,24468899,24468757,24468570,24468346,24467954,24467776,24467441,24466802,24466475,24466318,24465547,24464993,24464866,24464669,24464580,24464489,24464273,24462958,24462654,24462550,24462293,24462171,24462157,24462062,24462056,24461641,24461029,24460754,24460301,24460062,24459362,24459337,24458997,24458593,24458555,24458127,24457987,24457918,24457861,24457752,24457697,24456618,24456230,24456172,24456147,24455810,24455522,24455447,24454989,24454942,24454631,24454508,24454193,24453910,24453773,24453525,24453456,24453356,24453085,24452734,24452729,24452689,24452637,24452636,24452623,24451957,24451871,24451870,24451867,24451835,24451783,24451589,24451203,24450801,24450547,24449648,24449598,24449514 [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [nothing_done] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050138) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050138) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [nothing_done] list_hashtags : List([nothing_done]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2577892160669768444asTemporaryFile -n 2591920f5a2a78deed10da1ed360a9f4 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_53_55_10135.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2577892160669768444asTemporaryFile -n 2591920f5a2a78deed10da1ed360a9f4 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! List(4865, 4864, 4863, 4862, 4861, 4860, 4859, 4858, 4857, 4856, 4855, 4854, 4853, 4852, 4851, 4850, 4849, 4848, 4847, 4846, 4845, 4844, 4843, 4842, 4841, 4840, 4839, 4838, 4837, 4836, 4835, 4834, 4833, 4832, 4831, 4830, 4829, 4828, 4827, 4826, 4825, 4824, 4823, 4822, 4821, 4820, 4819, 4818, 4817, 4816, 4815, 4814, 4813, 4812, 4811, 4810, 4809, 4808, 4807, 4806, 4805, 4804, 4803, 4802, 4801, 4800, 4799, 4798, 4797, 4796, 4795, 4794, 4793, 4792, 4791, 4790, 4789, 4788, 4787, 4786, 4785, 4784, 4783, 4782, 4781, 4780, 4779, 4778, 4777, 4776, 4775, 4774, 4773, 4772, 4771, 4770, 4769, 4768, 4767, 4766, 4765, 4764, 4763, 4762, 4761, 4760, 4759, 4758, 4757, 4756, 4755, 4754, 4753, 4752, 4751, 4750, 4749, 4748, 4747, 4746, 4745, 4744, 4743, 4742, 4741, 4740, 4739, 4738, 4737, 4736, 4735, 4734, 4733, 4732, 4731, 4730, 4729, 4728, 4727, 4726, 4725, 4724, 4723, 4722, 4721, 4720, 4719, 4718, 4717, 4716, 4715, 4714, 4713, 4712, 4711, 4710, 4709, 4708, 4707, 4706, 4705, 4704, 4703, 4702, 4701, 4700, 4699, 4698, 4697, 4696, 4695, 4694, 4693, 4692, 4691, 4690, 4689, 4688, 4687, 4686, 4685, 4684, 4683, 4682, 4681, 4680, 4679, 4678, 4677, 4676, 4675, 4674, 4673, 4672, 4671, 4670, 4669, 4668, 4667, 4666, 4665, 4664, 4663, 4662, 4661, 4660, 4659, 4658, 4657, 4656, 4655, 4654, 4653, 4652, 4651, 4650, 4649, 4648, 4647, 4646, 4645, 4644, 4643, 4642, 4641, 4640, 4639, 4638, 4637, 4636, 4635, 4634, 4633, 4632, 4631, 4630, 4629, 4628, 4627, 4626, 4625, 4624, 4623, 4622, 4621, 4620, 4619, 4618, 4617, 4616, 4615, 4614, 4613, 4612, 4611, 4610, 4609, 4608, 4607, 4606, 4605, 4604, 4603, 4602, 4601, 4600, 4599, 4598, 4597, 4596, 4595, 4594, 4593, 4592, 4591, 4590, 4589, 4588, 4587, 4586, 4585, 4584, 4583, 4582, 4581, 4580, 4579, 4578, 4577, 4576, 4575, 4574, 4573, 4572, 4571, 4570, 4569, 4568, 4567, 4566, 4565, 4564, 4563, 4562, 4561, 4560, 4559, 4558, 4557, 4556, 4555, 4554, 4553, 4552, 4551, 4550, 4549, 4548, 4547, 4546, 4545, 4544, 4543, 4542, 4541, 4540, 4539, 4538, 4537, 4536, 4535, 4534, 4533, 4532, 4531, 4530, 4529, 4528, 4527, 4526, 4525, 4524, 4523, 4522, 4521, 4520, 4519, 4518, 4517, 4516, 4515, 4514, 4513, 4512, 4511, 4510, 4509, 4508, 4507, 4506, 4505, 4504, 4503, 4502, 4501, 4500, 4499, 4498, 4497, 4496, 4495, 4494, 4493, 4492, 4491, 4490, 4489, 4488, 4487, 4486, 4485, 4484, 4483, 4482, 4481, 4480, 4479, 4478, 4477, 4476, 4475, 4474, 4473, 4472, 4471, 4470, 4469, 4468, 4467, 4466, 4465, 4464, 4463, 4462, 4461, 4460, 4459, 4458, 4457, 4456, 4455, 4454, 4453, 4452, 4451, 4450, 4449, 4448, 4447, 4446, 4445, 4444, 4443, 4442, 4441, 4440, 4439, 4438, 4437, 4436, 4435, 4434, 4433, 4432, 4431, 4430, 4429, 4428, 4427, 4426, 4425, 4424, 4423, 4422, 4421, 4420, 4419, 4418, 4417, 4416, 4415, 4414, 4413, 4412, 4411, 4410, 4409, 4408, 4407, 4406, 4405, 4404, 4403, 4402, 4401, 4400, 4399, 4398, 4397, 4396, 4395, 4394, 4393, 4392, 4391, 4390, 4389, 4388, 4387, 4386, 4385, 4384, 4383, 4382, 4381, 4380, 4379, 4378, 4377, 4376, 4375, 4374, 4373, 4372, 4371, 4370, 4369, 4368, 4367, 4366, 4365, 4364, 4363, 4362, 4361, 4360, 4359, 4358, 4357, 4356, 4355, 4354, 4353, 4352, 4351, 4350, 4349, 4348, 4347, 4346, 4345, 4344, 4343, 4342, 4341, 4340, 4339, 4338, 4337, 4336, 4335, 4334, 4333, 4332, 4331, 4330, 4329, 4328, 4327, 4326, 4325, 4324, 4323, 4322, 4321, 4320, 4319, 4318, 4317, 4316, 4315, 4314, 4313, 4312, 4311, 4310, 4309, 4308, 4307, 4306, 4305, 4304, 4303, 4302, 4301, 4300, 4299, 4298, 4297, 4296, 4295, 4294, 4293, 4292, 4291, 4290, 4289, 4288, 4287, 4286, 4285, 4284, 4283, 4282, 4281, 4280, 4279, 4278, 4277, 4276, 4275, 4274, 4273, 4272, 4271, 4270, 4269, 4268, 4267, 4266, 4265, 4264, 4263, 4262, 4261, 4260, 4259, 4258, 4257, 4256, 4255, 4254, 4253, 4252, 4251, 4250, 4249, 4248, 4247, 4246, 4245, 4244, 4243, 4242, 4241, 4240, 4239, 4238, 4237, 4236, 4235, 4234, 4233, 4232, 4231, 4230, 4229, 4228, 4227, 4226, 4225, 4224, 4223, 4222, 4221, 4220, 4219, 4218, 4217, 4216, 4215, 4214, 4213, 4212, 4211, 4210, 4209, 4208, 4207, 4206, 4205, 4204, 4203, 4202, 4201, 4200, 4199, 4198, 4197, 4196, 4195, 4194, 4193, 4192, 4191, 4190, 4189, 4188, 4187, 4186, 4185, 4184, 4183, 4182, 4181, 4180, 4179, 4178, 4177, 4176, 4175, 4174, 4173, 4172, 4171, 4170, 4169, 4168, 4167, 4166, 4165, 4164, 4163, 4162, 4161, 4160, 4159, 4158, 4157, 4156, 4155, 4154, 4153, 4152, 4151, 4150, 4149, 4148, 4147, 4146, 4145, 4144, 4143, 4142, 4141, 4140, 4139, 4138, 4137, 4136, 4135, 4134, 4133, 4132, 4131, 4130, 4129, 4128, 4127, 4126, 4125, 4124, 4123, 4122, 4121, 4120, 4119, 4118, 4117, 4116, 4115, 4114, 4113, 4112, 4111, 4110, 4109, 4108, 4107, 4106, 4105, 4104, 4103, 4102, 4101, 4100, 4099, 4098, 4097, 4096, 4095, 4094, 4093, 4092, 4091, 4090, 4089, 4088, 4087, 4086, 4085, 4084, 4083, 4082, 4081, 4080, 4079, 4078, 4077, 4076, 4075, 4074, 4073, 4072, 4071, 4070, 4069, 4068, 4067, 4066, 4065, 4064, 4063, 4062, 4061, 4060, 4059, 4058, 4057, 4056, 4055, 4054, 4053, 4052, 4051, 4050, 4049, 4048, 4047, 4046, 4045, 4044, 4043, 4042, 4041, 4040, 4039, 4038, 4037, 4036, 4035, 4034, 4033, 4032, 4031, 4030, 4029, 4028, 4027, 4026, 4025, 4024, 4023, 4022, 4021, 4020, 4019, 4018, 4017, 4016, 4015, 4014, 4013, 4012, 4011, 4010, 4009, 4008, 4007, 4006, 4005, 4004, 4003, 4002, 4001, 4000, 3999, 3998, 3997, 3996, 3995, 3994, 3993, 3992, 3991, 3990, 3989, 3988, 3987, 3986, 3985, 3984, 3983, 3982, 3981, 3980, 3979, 3978, 3977, 3976, 3975, 3974, 3973, 3972, 3971, 3970, 3969, 3968, 3967, 3966, 3965, 3964, 3963, 3962, 3961, 3960, 3959, 3958, 3957, 3956, 3955, 3954, 3953, 3952, 3951, 3950, 3949, 3948, 3947, 3946, 3945, 3944, 3943, 3942, 3941, 3940, 3939, 3938, 3937, 3936, 3935, 3934, 3933, 3932, 3931, 3930, 3929, 3928, 3927, 3926, 3925, 3924, 3923, 3922, 3921, 3920, 3919, 3918, 3917, 3916, 3915, 3914, 3913, 3912, 3911, 3910, 3909, 3908, 3907, 3906, 3905, 3904, 3903, 3902, 3901, 3900, 3899, 3898, 3897, 3896, 3895, 3894, 3893, 3892, 3891, 3890, 3889, 3888, 3887, 3886, 3885, 3884, 3883, 3882, 3881, 3880, 3879, 3878, 3877, 3876, 3875, 3874, 3873, 3872, 3871, 3870, 3869, 3868, 3867, 3866, 3865, 3864, 3863, 3862, 3861, 3860, 3859, 3858, 3857, 3856, 3855, 3854, 3853, 3852, 3851, 3850, 3849, 3848, 3847, 3846, 3845, 3844, 3843, 3842, 3841, 3840, 3839, 3838, 3837, 3836, 3835, 3834, 3833, 3832, 3831, 3830, 3829, 3828, 3827, 3826, 3825, 3824, 3823, 3822, 3821, 3820, 3819, 3818, 3817, 3816, 3815, 3814, 3813, 3812, 3811, 3810, 3809, 3808, 3807, 3806, 3805, 3804, 3803, 3802, 3801, 3800, 3799, 3798, 3797, 3796, 3795, 3794, 3793, 3792, 3791, 3790, 3789, 3788, 3787, 3786, 3785, 3784, 3783, 3782, 3781, 3780, 3779, 3778, 3777, 3776, 3775, 3774, 3773, 3772, 3771, 3770, 3769, 3768, 3767, 3766, 3765, 3764, 3763, 3762, 3761, 3760, 3759, 3758, 3757, 3756, 3755, 3754, 3753, 3752, 3751, 3750, 3749, 3748, 3747, 3746, 3745, 3744, 3743, 3742, 3741, 3740, 3739, 3738, 3737, 3736, 3735, 3734, 3733, 3732, 3731, 3730, 3729, 3728, 3727, 3726, 3725, 3724, 3723, 3722, 3721, 3720, 3719, 3718, 3717, 3716, 3715, 3714, 3713, 3712, 3711, 3710, 3709, 3708, 3707, 3706, 3705, 3704, 3703, 3702, 3701, 3700, 3699, 3698, 3697, 3696, 3695, 3694, 3693, 3692, 3691, 3690, 3689, 3688, 3687, 3686, 3685, 3684, 3683, 3682, 3681, 3680, 3679, 3678, 3677, 3676, 3675, 3674, 3673, 3672, 3671, 3670, 3669, 3668, 3667, 3666, 3665, 3664, 3663, 3662, 3661, 3660, 3659, 3658, 3657, 3656, 3655, 3654, 3653, 3652, 3651, 3650, 3649, 3648, 3647, 3646, 3645, 3644, 3643, 3642, 3641, 3640, 3639, 3638, 3637, 3636, 3635, 3634, 3633, 3632, 3631, 3630, 3629, 3628, 3627, 3626, 3625, 3624, 3623, 3622, 3621, 3620, 3619, 3618, 3617, 3616, 3615, 3614, 3613, 3612, 3611, 3610, 3609, 3608, 3607, 3606, 3605, 3604, 3603, 3602, 3601, 3600, 3599, 3598, 3597, 3596, 3595, 3594, 3593, 3592, 3591, 3590, 3589, 3588, 3587, 3586, 3585, 3584, 3583, 3582, 3581, 3580, 3579, 3578, 3577, 3576, 3575, 3574, 3573, 3572, 3571, 3570, 3569, 3568, 3567, 3566, 3565, 3564, 3563, 3562, 3561, 3560, 3559, 3558, 3557, 3556, 3555, 3554, 3553, 3552, 3551, 3550, 3549, 3548, 3547, 3546, 3545, 3544, 3543, 3542, 3541, 3540, 3539, 3538, 3537, 3536, 3535, 3534, 3533, 3532, 3531, 3530, 3529, 3528, 3527, 3526, 3525, 3524, 3523, 3522, 3521, 3520, 3519, 3518, 3517, 3516, 3515, 3514, 3513, 3512, 3511, 3510, 3509, 3508, 3507, 3506, 3505, 3504, 3503, 3502, 3501, 3500, 3499, 3498, 3497, 3496, 3495, 3494, 3493, 3492, 3491, 3490, 3489, 3488, 3487, 3486, 3485, 3484, 3483, 3482, 3481, 3480, 3479, 3478, 3477, 3476, 3475, 3474, 3473, 3472, 3471, 3470, 3469, 3468, 3467, 3466, 3465, 3464, 3463, 3462, 3461, 3460, 3459, 3458, 3457, 3456, 3455, 3454, 3453, 3452, 3451, 3450, 3449, 3448, 3447, 3446, 3445, 3444, 3443, 3442, 3441, 3440, 3439, 3438, 3437, 3436, 3435, 3434, 3433, 3432, 3431, 3430, 3429, 3428, 3427, 3426, 3425, 3424, 3423, 3422, 3421, 3420, 3419, 3418, 3417, 3416, 3415, 3414, 3413, 3412, 3411, 3410, 3409, 3408, 3407, 3406, 3405, 3404, 3403, 3402, 3401, 3400, 3399, 3398, 3397, 3396, 3395, 3394, 3393, 3392, 3391, 3390, 3389, 3388, 3387, 3386, 3385, 3384, 3383, 3382, 3381, 3380, 3379, 3378, 3377, 3376, 3375, 3374, 3373, 3372, 3371, 3370, 3369, 3368, 3367, 3366, 3365, 3364, 3363, 3362, 3361, 3360, 3359, 3358, 3357, 3356, 3355, 3354, 3353, 3352, 3351, 3350, 3349, 3348, 3347, 3346, 3345, 3344, 3343, 3342, 3341, 3340, 3339, 3338, 3337, 3336, 3335, 3334, 3333, 3332, 3331, 3330, 3329, 3328, 3327, 3326, 3325, 3324, 3323, 3322, 3321, 3320, 3319, 3318, 3317, 3316, 3315, 3314, 3313, 3312, 3311, 3310, 3309, 3308, 3307, 3306, 3305, 3304, 3303, 3302, 3301, 3300, 3299, 3298, 3297, 3296, 3295, 3294, 3293, 3292, 3291, 3290, 3289, 3288, 3287, 3286, 3285, 3284, 3283, 3282, 3281, 3280, 3279, 3278, 3277, 3276, 3275, 3274, 3273, 3272, 3271, 3270, 3269, 3268, 3267, 3266, 3265, 3264, 3263, 3262, 3261, 3260, 3259, 3258, 3257, 3256, 3255, 3254, 3253, 3252, 3251, 3250, 3249, 3248, 3247, 3246, 3245, 3244, 3243, 3242, 3241, 3240, 3239, 3238, 3237, 3236, 3235, 3234, 3233, 3232, 3231, 3230, 3229, 3228, 3227, 3226, 3225, 3224, 3223, 3222, 3221, 3220, 3219, 3218, 3217, 3216, 3215, 3214, 3213, 3212, 3211, 3210, 3209, 3208, 3207, 3206, 3205, 3204, 3203, 3202, 3201, 3200, 3199, 3198, 3197, 3196, 3195, 3194, 3193, 3192, 3191, 3190, 3189, 3188, 3187, 3186, 3185, 3184, 3183, 3182, 3181, 3180, 3179, 3178, 3177, 3176, 3175, 3174, 3173, 3172, 3171, 3170, 3169, 3168, 3167, 3166, 3165, 3164, 3163, 3162, 3161, 3160, 3159, 3158, 3157, 3156, 3155, 3154, 3153, 3152, 3151, 3150, 3149, 3148, 3147, 3146, 3145, 3144, 3143, 3142, 3141, 3140, 3139, 3138, 3137, 3136, 3135, 3134, 3133, 3132, 3131, 3130, 3129, 3128, 3127, 3126, 3125, 3124, 3123, 3122, 3121, 3120, 3119, 3118, 3117, 3116, 3115, 3114, 3113, 3112, 3111, 3110, 3109, 3108, 3107, 3106, 3105, 3104, 3103, 3102, 3101, 3100, 3099, 3098, 3097, 3096, 3095, 3094, 3093, 3092, 3091, 3090, 3089, 3088, 3087, 3086, 3085, 3084, 3083, 3082, 3081, 3080, 3079, 3078, 3077, 3076, 3075, 3074, 3073, 3072, 3071, 3070, 3069, 3068, 3067, 3066, 3065, 3064, 3063, 3062, 3061, 3060, 3059, 3058, 3057, 3056, 3055, 3054, 3053, 3052, 3051, 3050, 3049, 3048, 3047, 3046, 3045, 3044, 3043, 3042, 3041, 3040, 3039, 3038, 3037, 3036, 3035, 3034, 3033, 3032, 3031, 3030, 3029, 3028, 3027, 3026, 3025, 3024, 3023, 3022, 3021, 3020, 3019, 3018, 3017, 3016, 3015, 3014, 3013, 3012, 3011, 3010, 3009, 3008, 3007, 3006, 3005, 3004, 3003, 3002, 3001, 3000, 2999, 2998, 2997, 2996, 2995, 2994, 2993, 2992, 2991, 2990, 2989, 2988, 2987, 2986, 2985, 2984, 2983, 2982, 2981, 2980, 2979, 2978, 2977, 2976, 2975, 2974, 2973, 2972, 2971, 2970, 2969, 2968, 2967, 2966, 2965, 2964, 2963, 2962, 2961, 2960, 2959, 2958, 2957, 2956, 2955, 2954, 2953, 2952, 2951, 2950, 2949, 2948, 2947, 2946, 2945, 2944, 2943, 2942, 2941, 2940, 2939, 2938, 2937, 2936, 2935, 2934, 2933, 2932, 2931, 2930, 2929, 2928, 2927, 2926, 2925, 2924, 2923, 2922, 2921, 2920, 2919, 2918, 2917, 2916, 2915, 2914, 2913, 2912, 2911, 2910, 2909, 2908, 2907, 2906, 2905, 2904, 2903, 2902, 2901, 2900, 2899, 2898, 2897, 2896, 2895, 2894, 2893, 2892, 2891, 2890, 2889, 2888, 2887, 2886, 2885, 2884, 2883, 2882, 2881, 2880, 2879, 2878, 2877, 2876, 2875, 2874, 2873, 2872, 2871, 2870, 2869, 2868, 2867, 2866, 2865, 2864, 2863, 2862, 2861, 2860, 2859, 2858, 2857, 2856, 2855, 2854, 2853, 2852, 2851, 2850, 2849, 2848, 2847, 2846, 2845, 2844, 2843, 2842, 2841, 2840, 2839, 2838, 2837, 2836, 2835, 2834, 2833, 2832, 2831, 2830, 2829, 2828, 2827, 2826, 2825, 2824, 2823, 2822, 2821, 2820, 2819, 2818, 2817, 2816, 2815, 2814, 2813, 2812, 2811, 2810, 2809, 2808, 2807, 2806, 2805, 2804, 2803, 2802, 2801, 2800, 2799, 2798, 2797, 2796, 2795, 2794, 2793, 2792, 2791, 2790, 2789, 2788, 2787, 2786, 2785, 2784, 2783, 2782, 2781, 2780, 2779, 2778, 2777, 2776, 2775, 2774, 2773, 2772, 2771, 2770, 2769, 2768, 2767, 2766, 2765, 2764, 2763, 2762, 2761, 2760, 2759, 2758, 2757, 2756, 2755, 2754, 2753, 2752, 2751, 2750, 2749, 2748, 2747, 2746, 2745, 2744, 2743, 2742, 2741, 2740, 2739, 2738, 2737, 2736, 2735, 2734, 2733, 2732, 2731, 2730, 2729, 2728, 2727, 2726, 2725, 2724, 2723, 2722, 2721, 2720, 2719, 2718, 2717, 2716, 2715, 2714, 2713, 2712, 2711, 2710, 2709, 2708, 2707, 2706, 2705, 2704, 2703, 2702, 2701, 2700, 2699, 2698, 2697, 2696, 2695, 2694, 2693, 2692, 2691, 2690, 2689, 2688, 2687, 2686, 2685, 2684, 2683, 2682, 2681, 2680, 2679, 2678, 2677, 2676, 2675, 2674, 2673, 2672, 2671, 2670, 2669, 2668, 2667, 2666, 2665, 2664, 2663, 2662, 2661, 2660, 2659, 2658, 2657, 2656, 2655, 2654, 2653, 2652, 2651, 2650, 2649, 2648, 2647, 2646, 2645, 2644, 2643, 2642, 2641, 2640, 2639, 2638, 2637, 2636, 2635, 2634, 2633, 2632, 2631, 2630, 2629, 2628, 2627, 2626, 2625, 2624, 2623, 2622, 2621, 2620, 2619, 2618, 2617, 2616, 2615, 2614, 2613, 2612, 2611, 2610, 2609, 2608, 2607, 2606, 2605, 2604, 2603, 2602, 2601, 2600, 2599, 2598, 2597, 2596, 2595, 2594, 2593, 2592, 2591, 2590, 2589, 2588, 2587, 2586, 2585, 2584, 2583, 2582, 2581, 2580, 2579, 2578, 2577, 2576, 2575, 2574, 2573, 2572, 2571, 2570, 2569, 2568, 2567, 2566, 2565, 2564, 2563, 2562, 2561, 2560, 2559, 2558, 2557, 2556, 2555, 2554, 2553, 2552, 2551, 2550, 2549, 2548, 2547, 2546, 2545, 2544, 2543, 2542, 2541, 2540, 2539, 2538, 2537, 2536, 2535, 2534, 2533, 2532, 2531, 2530, 2529, 2528, 2527, 2526, 2525, 2524, 2523, 2522, 2521, 2520, 2519, 2518, 2517, 2516, 2515, 2514, 2513, 2512, 2511, 2510, 2509, 2508, 2507, 2506, 2505, 2504, 2503, 2502, 2501, 2500, 2499, 2498, 2497, 2496, 2495, 2494, 2493, 2492, 2491, 2490, 2489, 2488, 2487, 2486, 2485, 2484, 2483, 2482, 2481, 2480, 2479, 2478, 2477, 2476, 2475, 2474, 2473, 2472, 2471, 2470, 2469, 2468, 2467, 2466, 2465, 2464, 2463, 2462, 2461, 2460, 2459, 2458, 2457, 2456, 2455, 2454, 2453, 2452, 2451, 2450, 2449, 2448, 2447, 2446, 2445, 2444, 2443, 2442, 2441, 2440, 2439, 2438, 2437, 2436, 2435, 2434, 2433, 2432, 2431, 2430, 2429, 2428, 2427, 2426, 2425, 2424, 2423, 2422, 2421, 2420, 2419, 2418, 2417, 2416, 2415, 2414, 2413, 2412, 2411, 2410, 2409, 2408, 2407, 2406, 2405, 2404, 2403, 2402, 2401, 2400, 2399, 2398, 2397, 2396, 2395, 2394, 2393, 2392, 2391, 2390, 2389, 2388, 2387, 2386, 2385, 2384, 2383, 2382, 2381, 2380, 2379, 2378, 2377, 2376, 2375, 2374, 2373, 2372, 2371, 2370, 2369, 2368, 2367, 2366, 2365, 2364, 2363, 2362, 2361, 2360, 2359, 2358, 2357, 2356, 2355, 2354, 2353, 2352, 2351, 2350, 2349, 2348, 2347, 2346, 2345, 2344, 2343, 2342, 2341, 2340, 2339, 2338, 2337, 2336, 2335, 2334, 2333, 2332, 2331, 2330, 2329, 2328, 2327, 2326, 2325, 2324, 2323, 2322, 2321, 2320, 2319, 2318, 2317, 2316, 2315, 2314, 2313, 2312, 2311, 2310, 2309, 2308, 2307, 2306, 2305, 2304, 2303, 2302, 2301, 2300, 2299, 2298, 2297, 2296, 2295, 2294, 2293, 2292, 2291, 2290, 2289, 2288, 2287, 2286, 2285, 2284, 2283, 2282, 2281, 2280, 2279, 2278, 2277, 2276, 2275, 2274, 2273, 2272, 2271, 2270, 2269, 2268, 2267, 2266, 2265, 2264, 2263, 2262, 2261, 2260, 2259, 2258, 2257, 2256, 2255, 2254, 2253, 2252, 2251, 2250, 2249, 2248, 2247, 2246, 2245, 2244, 2243, 2242, 2241, 2240, 2239, 2238, 2237, 2236, 2235, 2234, 2233, 2232, 2231, 2230, 2229, 2228, 2227, 2226, 2225, 2224, 2223, 2222, 2221, 2220, 2219, 2218, 2217, 2216, 2215, 2214, 2213, 2212, 2211, 2210, 2209, 2208, 2207, 2206, 2205, 2204, 2203, 2202, 2201, 2200, 2199, 2198, 2197, 2196, 2195, 2194, 2193, 2192, 2191, 2190, 2189, 2188, 2187, 2186, 2185, 2184, 2183, 2182, 2181, 2180, 2179, 2178, 2177, 2176, 2175, 2174, 2173, 2172, 2171, 2170, 2169, 2168, 2167, 2166, 2165, 2164, 2163, 2162, 2161, 2160, 2159, 2158, 2157, 2156, 2155, 2154, 2153, 2152, 2151, 2150, 2149, 2148, 2147, 2146, 2145, 2144, 2143, 2142, 2141, 2140, 2139, 2138, 2137, 2136, 2135, 2134, 2133, 2132, 2131, 2130, 2129, 2128, 2127, 2126, 2125, 2124, 2123, 2122, 2121, 2120, 2119, 2118, 2117, 2116, 2115, 2114, 2113, 2112, 2111, 2110, 2109, 2108, 2107, 2106, 2105, 2104, 2103, 2102, 2101, 2100, 2099, 2098, 2097, 2096, 2095, 2094, 2093, 2092, 2091, 2090, 2089, 2088, 2087, 2086, 2085, 2084, 2083, 2082, 2081, 2080, 2079, 2078, 2077, 2076, 2075, 2074, 2073, 2072, 2071, 2070, 2069, 2068, 2067, 2066, 2065, 2064, 2063, 2062, 2061, 2060, 2059, 2058, 2057, 2056, 2055, 2054, 2053, 2052, 2051, 2050, 2049, 2048, 2047, 2046, 2045, 2044, 2043, 2042, 2041, 2040, 2039, 2038, 2037, 2036, 2035, 2034, 2033, 2032, 2031, 2030, 2029, 2028, 2027, 2026, 2025, 2024, 2023, 2022, 2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000, 1999, 1998, 1997, 1996, 1995, 1994, 1993, 1992, 1991, 1990, 1989, 1988, 1987, 1986, 1985, 1984, 1983, 1982, 1981, 1980, 1979, 1978, 1977, 1976, 1975, 1974, 1973, 1972, 1971, 1970, 1969, 1968, 1967, 1966, 1965, 1964, 1963, 1962, 1961, 1960, 1959, 1958, 1957, 1956, 1955, 1954, 1953, 1952, 1951, 1950, 1949, 1948, 1947, 1946, 1945, 1944, 1943, 1942, 1941, 1940, 1939, 1938, 1937, 1936, 1935, 1934, 1933, 1932, 1931, 1930, 1929, 1928, 1927, 1926, 1925, 1924, 1923, 1922, 1921, 1920, 1919, 1918, 1917, 1916, 1915, 1914, 1913, 1912, 1911, 1910, 1909, 1908, 1907, 1906, 1905, 1904, 1903, 1902, 1901, 1900, 1899, 1898, 1897, 1896, 1895, 1894, 1893, 1892, 1891, 1890, 1889, 1888, 1887, 1886, 1885, 1884, 1883, 1882, 1881, 1880, 1879, 1878, 1877, 1876, 1875, 1874, 1873, 1872, 1871, 1870, 1869, 1868, 1867, 1866, 1865, 1864, 1863, 1862, 1861, 1860, 1859, 1858, 1857, 1856, 1855, 1854, 1853, 1852, 1851, 1850, 1849, 1848, 1847, 1846, 1845, 1844, 1843, 1842, 1841, 1840, 1839, 1838, 1837, 1836, 1835, 1834, 1833, 1832, 1831, 1830, 1829, 1828, 1827, 1826, 1825, 1824, 1823, 1822, 1821, 1820, 1819, 1818, 1817, 1816, 1815, 1814, 1813, 1812, 1811, 1810, 1809, 1808, 1807, 1806, 1805, 1804, 1803, 1802, 1801, 1800, 1799, 1798, 1797, 1796, 1795, 1794, 1793, 1792, 1791, 1790, 1789, 1788, 1787, 1786, 1785, 1784, 1783, 1782, 1781, 1780, 1779, 1778, 1777, 1776, 1775, 1774, 1773, 1772, 1771, 1770, 1769, 1768, 1767, 1766, 1765, 1764, 1763, 1762, 1761, 1760, 1759, 1758, 1757, 1756, 1755, 1754, 1753, 1752, 1751, 1750, 1749, 1748, 1747, 1746, 1745, 1744, 1743, 1742, 1741, 1740, 1739, 1738, 1737, 1736, 1735, 1734, 1733, 1732, 1731, 1730, 1729, 1728, 1727, 1726, 1725, 1724, 1723, 1722, 1721, 1720, 1719, 1718, 1717, 1716, 1715, 1714, 1713, 1712, 1711, 1710, 1709, 1708, 1707, 1706, 1705, 1704, 1703, 1702, 1701, 1700, 1699, 1698, 1697, 1696, 1695, 1694, 1693, 1692, 1691, 1690, 1689, 1688, 1687, 1686, 1685, 1684, 1683, 1682, 1681, 1680, 1679, 1678, 1677, 1676, 1675, 1674, 1673, 1672, 1671, 1670, 1669, 1668, 1667, 1666, 1665, 1664, 1663, 1662, 1661, 1660, 1659, 1658, 1657, 1656, 1655, 1654, 1653, 1652, 1651, 1650, 1649, 1648, 1647, 1646, 1645, 1644, 1643, 1642, 1641, 1640, 1639, 1638, 1637, 1636, 1635, 1634, 1633, 1632, 1631, 1630, 1629, 1628, 1627, 1626, 1625, 1624, 1623, 1622, 1621, 1620, 1619, 1618, 1617, 1616, 1615, 1614, 1613, 1612, 1611, 1610, 1609, 1608, 1607, 1606, 1605, 1604, 1603, 1602, 1601, 1600, 1599, 1598, 1597, 1596, 1595, 1594, 1593, 1592, 1591, 1590, 1589, 1588, 1587, 1586, 1585, 1584, 1583, 1582, 1581, 1580, 1579, 1578, 1577, 1576, 1575, 1574, 1573, 1572, 1571, 1570, 1569, 1568, 1567, 1566, 1565, 1564, 1563, 1562, 1561, 1560, 1559, 1558, 1557, 1556, 1555, 1554, 1553, 1552, 1551, 1550, 1549, 1548, 1547, 1546, 1545, 1544, 1543, 1542, 1541, 1540, 1539, 1538, 1537, 1536, 1535, 1534, 1533, 1532, 1531, 1530, 1529, 1528, 1527, 1526, 1525, 1524, 1523, 1522, 1521, 1520, 1519, 1518, 1517, 1516, 1515, 1514, 1513, 1512, 1511, 1510, 1509, 1508, 1507, 1506, 1505, 1504, 1503, 1502, 1501, 1500, 1499, 1498, 1497, 1496, 1495, 1494, 1493, 1492, 1491, 1490, 1489, 1488, 1487, 1486, 1485, 1484, 1483, 1482, 1481, 1480, 1479, 1478, 1477, 1476, 1475, 1474, 1473, 1472, 1471, 1470, 1469, 1468, 1467, 1466, 1465, 1464, 1463, 1462, 1461, 1460, 1459, 1458, 1457, 1456, 1455, 1454, 1453, 1452, 1451, 1450, 1449, 1448, 1447, 1446, 1445, 1444, 1443, 1442, 1441, 1440, 1439, 1438, 1437, 1436, 1435, 1434, 1433, 1432, 1431, 1430, 1429, 1428, 1427, 1426, 1425, 1424, 1423, 1422, 1421, 1420, 1419, 1418, 1417, 1416, 1415, 1414, 1413, 1412, 1411, 1410, 1409, 1408, 1407, 1406, 1405, 1404, 1403, 1402, 1401, 1400, 1399, 1398, 1397, 1396, 1395, 1394, 1393, 1392, 1391, 1390, 1389, 1388, 1387, 1386, 1385, 1384, 1383, 1382, 1381, 1380, 1379, 1378, 1377, 1376, 1375, 1374, 1373, 1372, 1371, 1370, 1369, 1368, 1367, 1366, 1365, 1364, 1363, 1362, 1361, 1360, 1359, 1358, 1357, 1356, 1355, 1354, 1353, 1352, 1351, 1350, 1349, 1348, 1347, 1346, 1345, 1344, 1343, 1342, 1341, 1340, 1339, 1338, 1337, 1336, 1335, 1334, 1333, 1332, 1331, 1330, 1329, 1328, 1327, 1326, 1325, 1324, 1323, 1322, 1321, 1320, 1319, 1318, 1317, 1316, 1315, 1314, 1313, 1312, 1311, 1310, 1309, 1308, 1307, 1306, 1305, 1304, 1303, 1302, 1301, 1300, 1299, 1298, 1297, 1296, 1295, 1294, 1293, 1292, 1291, 1290, 1289, 1288, 1287, 1286, 1285, 1284, 1283, 1282, 1281, 1280, 1279, 1278, 1277, 1276, 1275, 1274, 1273, 1272, 1271, 1270, 1269, 1268, 1267, 1266, 1265, 1264, 1263, 1262, 1261, 1260, 1259, 1258, 1257, 1256, 1255, 1254, 1253, 1252, 1251, 1250, 1249, 1248, 1247, 1246, 1245, 1244, 1243, 1242, 1241, 1240, 1239, 1238, 1237, 1236, 1235, 1234, 1233, 1232, 1231, 1230, 1229, 1228, 1227, 1226, 1225, 1224, 1223, 1222, 1221, 1220, 1219, 1218, 1217, 1216, 1215, 1214, 1213, 1212, 1211, 1210, 1209, 1208, 1207, 1206, 1205, 1204, 1203, 1202, 1201, 1200, 1199, 1198, 1197, 1196, 1195, 1194, 1193, 1192, 1191, 1190, 1189, 1188, 1187, 1186, 1185, 1184, 1183, 1182, 1181, 1180, 1179, 1178, 1177, 1176, 1175, 1174, 1173, 1172, 1171, 1170, 1169, 1168, 1167, 1166, 1165, 1164, 1163, 1162, 1161, 1160, 1159, 1158, 1157, 1156, 1155, 1154, 1153, 1152, 1151, 1150, 1149, 1148, 1147, 1146, 1145, 1144, 1143, 1142, 1141, 1140, 1139, 1138, 1137, 1136, 1135, 1134, 1133, 1132, 1131, 1130, 1129, 1128, 1127, 1126, 1125, 1124, 1123, 1122, 1121, 1120, 1119, 1118, 1117, 1116, 1115, 1114, 1113, 1112, 1111, 1110, 1109, 1108, 1107, 1106, 1105, 1104, 1103, 1102, 1101, 1100, 1099, 1098, 1097, 1096, 1095, 1094, 1093, 1092, 1091, 1090, 1089, 1088, 1087, 1086, 1085, 1084, 1083, 1082, 1081, 1080, 1079, 1078, 1077, 1076, 1075, 1074, 1073, 1072, 1071, 1070, 1069, 1068, 1067, 1066, 1065, 1064, 1063, 1062, 1061, 1060, 1059, 1058, 1057, 1056, 1055, 1054, 1053, 1052, 1051, 1050, 1049, 1048, 1047, 1046, 1045, 1044, 1043, 1042, 1041, 1040, 1039, 1038, 1037, 1036, 1035, 1034, 1033, 1032, 1031, 1030, 1029, 1028, 1027, 1026, 1025, 1024, 1023, 1022, 1021, 1020, 1019, 1018, 1017, 1016, 1015, 1014, 1013, 1012, 1011, 1010, 1009, 1008, 1007, 1006, 1005, 1004, 1003, 1002, 1001, 1000, 999, 998, 997, 996, 995, 994, 993, 992, 991, 990, 989, 988, 987, 986, 985, 984, 983, 982, 981, 980, 979, 978, 977, 976, 975, 974, 973, 972, 971, 970, 969, 968, 967, 966, 965, 964, 963, 962, 961, 960, 959, 958, 957, 956, 955, 954, 953, 952, 951, 950, 949, 948, 947, 946, 945, 944, 943, 942, 941, 940, 939, 938, 937, 936, 935, 934, 933, 932, 931, 930, 929, 928, 927, 926, 925, 924, 923, 922, 921, 920, 919, 918, 917, 916, 915, 914, 913, 912, 911, 910, 909, 908, 907, 906, 905, 904, 903, 902, 901, 900, 899, 898, 897, 896, 895, 894, 893, 892, 891, 890, 889, 888, 887, 886, 885, 884, 883, 882, 881, 880, 879, 878, 877, 876, 875, 874, 873, 872, 871, 870, 869, 868, 867, 866, 865, 864, 863, 862, 861, 860, 859, 858, 857, 856, 855, 854, 853, 852, 851, 850, 849, 848, 847, 846, 845, 844, 843, 842, 841, 840, 839, 838, 837, 836, 835, 834, 833, 832, 831, 830, 829, 828, 827, 826, 825, 824, 823, 822, 821, 820, 819, 818, 817, 816, 815, 814, 813, 812, 811, 810, 809, 808, 807, 806, 805, 804, 803, 802, 801, 800, 799, 798, 797, 796, 795, 794, 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, 757, 756, 755, 754, 753, 752, 751, 750, 749, 748, 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 730, 729, 728, 727, 726, 725, 724, 723, 722, 721, 720, 719, 718, 717, 716, 715, 714, 713, 712, 711, 710, 709, 708, 707, 706, 705, 704, 703, 702, 701, 700, 699, 698, 697, 696, 695, 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, 660, 659, 658, 657, 656, 655, 654, 653, 652, 651, 650, 649, 648, 647, 646, 645, 644, 643, 642, 641, 640, 639, 638, 637, 636, 635, 634, 633, 632, 631, 630, 629, 628, 627, 626, 625, 624, 623, 622, 621, 620, 619, 618, 617, 616, 615, 614, 613, 612, 611, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, 583, 582, 581, 580, 579, 578, 577, 576, 575, 574, 573, 572, 571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 545, 544, 543, 542, 541, 540, 539, 538, 537, 536, 535, 534, 533, 532, 531, 530, 529, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, 482, 481, 480, 479, 478, 477, 476, 475, 474, 473, 472, 471, 470, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 451, 450, 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 429, 428, 427, 426, 425, 424, 423, 422, 421, 420, 419, 418, 417, 416, 415, 414, 413, 412, 411, 410, 409, 408, 407, 406, 405, 404, 403, 402, 401, 400, 399, 398, 397, 396, 395, 394, 393, 392, 391, 390, 389, 388, 387, 386, 385, 384, 383, 382, 381, 380, 379, 378, 377, 376, 375, 374, 373, 372, 371, 370, 369, 368, 367, 366, 365, 364, 363, 362, 361, 360, 359, 358, 357, 356, 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, 327, 326, 325, 324, 323, 322, 321, 320, 319, 318, 317, 316, 315, 314, 313, 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, 302, 301, 300, 299, 298, 297, 296, 295, 294, 293, 292, 291, 290, 289, 288, 287, 286, 285, 284, 283, 282, 281, 280, 279, 278, 277, 276, 275, 274, 273, 272, 271, 270, 269, 268, 267, 266, 265, 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 228, 227, 226, 225, 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 209, 208, 207, 206, 205, 204, 203, 202, 201, 200, 199, 198, 197, 196, 195, 194, 193, 192, 191, 190, 189, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) name_chosen : Dossier_Portfolio_Month_M7_Y2025_4866 [debug] a.m.Portfolio - testing existence of this portfolio [debug] a.m.Portfolio - SELECT *, mp.mtr_user_id=979 as is_owner FROM MTRUser.mtr_portfolios mp WHERE name='Dossier_Portfolio_Month_M7_Y2025_4866' AND mtr_user_id='979' [debug] a.m.Portfolio - Insert portfolio name [debug] a.m.Portfolio - insert into MTRUser.mtr_portfolios (mtr_user_id, name, private, created_at, updated_at) values ('979', 'Dossier_Portfolio_Month_M7_Y2025_4866', false, NOW(), NOW()) retrieving new id portfolio [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : list_hashtags : List() extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2598842924997645218asTemporaryFile -n 37e4218fdbe37c90aa683dbdef448405 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_53_44_10143.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2598842924997645218asTemporaryFile -n 37e4218fdbe37c90aa683dbdef448405 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2776701296395177772asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2776701296395177772asTemporaryFile : 122627 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df.jpg -O /tmp/676c95eec3e53b7852760ab2c461d6df.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df-small.jpg type_mfp mfpopt2025 size_object of file /tmp/676c95eec3e53b7852760ab2c461d6df-big.jpg : 26583 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/676c95eec3e53b7852760ab2c461d6df-medium.jpg : 9278 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/676c95eec3e53b7852760ab2c461d6df-small.jpg : 3474 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.033943 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df.jpg", "TemporaryFile(/tmp/multipartBody2776701296395177772asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df-big.jpg", "TemporaryFile(/tmp/multipartBody2776701296395177772asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df-medium.jpg", "TemporaryFile(/tmp/multipartBody2776701296395177772asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/676c95eec3e53b7852760ab2c461d6df-small.jpg", "TemporaryFile(/tmp/multipartBody2776701296395177772asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518824 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518824" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1833577720427838894asTemporaryFile -n 35cc139a81b0f551a5407a6647b1af3e --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_51_34_9590.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1833577720427838894asTemporaryFile -n 35cc139a81b0f551a5407a6647b1af3e --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 [error] application - ! @8a648k4ll - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 [error] application - ! @8a648k60c - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] --2025-07-18 13:54:09-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 268418 (262K) [image/jpeg] Enregistre : «/tmp/2591920f5a2a78deed10da1ed360a9f4.jpg» 0K .......... .......... .......... .......... .......... 19% 4,69M 0s 50K .......... .......... .......... .......... .......... 38% 5,00M 0s 100K .......... .......... .......... .......... .......... 57% 84,9M 0s 150K .......... .......... .......... .......... .......... 76% 5,04M 0s 200K .......... .......... .......... .......... .......... 95% 129M 0s 250K .......... .. 100% 87,3M=0,03s 2025-07-18 13:54:10 (8,27 MB/s) - «/tmp/2591920f5a2a78deed10da1ed360a9f4.jpg» enregistré [268418/268418] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 [error] application - ! @8a648k690 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4765171526154434198asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4765171526154434198asTemporaryFile : 38573 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78.jpg -O /tmp/91cd9abf4be0e724081450cda8506f78.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78-small.jpg type_mfp mfpopt2025 size_object of file /tmp/91cd9abf4be0e724081450cda8506f78-big.jpg : 33821 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/91cd9abf4be0e724081450cda8506f78-medium.jpg : 11658 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/91cd9abf4be0e724081450cda8506f78-small.jpg : 4124 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.347826 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78.jpg", "TemporaryFile(/tmp/multipartBody4765171526154434198asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78-big.jpg", "TemporaryFile(/tmp/multipartBody4765171526154434198asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) --2025-07-18 13:54:10-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 [error] application - ! @8a648k6hm - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78-medium.jpg", "TemporaryFile(/tmp/multipartBody4765171526154434198asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) requête HTTP transmise, en attente de la réponse… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91cd9abf4be0e724081450cda8506f78-small.jpg", "TemporaryFile(/tmp/multipartBody4765171526154434198asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 200 OK Taille : 250038 (244K) [image/jpeg] Enregistre : «/tmp/37e4218fdbe37c90aa683dbdef448405.jpg» 0K .......... .......... ........[info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 latitude : 0.0 longitude : 0.0 .. .......... .......... 20% 4,77M 0s 50K .......... .......... .......... .......... .......... 40% 4,92M 0s 100K .......... .......... .......... .......... .......... 61% 85,1M 0s 150K .......... .......... ..[info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3418 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3494 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 5068 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 162 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3778 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 3411 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3703 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 140After insertPortfolioPhotoId , duration 26 : 360 About to finish After with svm , duration 27 : 2957 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true ........ .......... .......... 81% 5,15M 0s 200K .......... .......... .......... .......... .... 100% 82,4M=0,03s 2025-07-18 13:54:10 (7,76 MB/s) - «/tmp/37e4218fdbe37c90aa683dbdef448405.jpg» enregistré [250038/250038] false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 [info] a.models.Photo - source_id_submit_photo from insertion : 379518825 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518825" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8975838102653022000asTemporaryFile -n 3630a6b710896d2ad9e93e192518c7a4 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_42_05_30339.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8975838102653022000asTemporaryFile -n 3630a6b710896d2ad9e93e192518c7a4 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:10-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 [error] application - ! @8a648k70l - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] 200 OK Taille : 100413 (98K) [image/jpeg] Enregistre : «/tmp/35cc139a81b0f551a5407a6647b1af3e.jpg» 0K .......... .......... .......... .......... .......... 50% 4,76M 0s 50K .......... .......... .......... .......... ........ 100% 4,64M=0,02s 2025-07-18 13:54:10 (4,70 MB/s) - «/tmp/35cc139a81b0f551a5407a6647b1af3e.jpg» enregistré [100413/100413] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 [error] application - ! @8a648k79o - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 [error] application - ! @8a648k7ck - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 [error] application - ! @8a648k7ip - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2577892160669768444asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2577892160669768444asTemporaryFile : 268418 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4.jpg -O /tmp/2591920f5a2a78deed10da1ed360a9f4.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4-small.jpg type_mfp mfpopt2025 size_object of file /tmp/2591920f5a2a78deed10da1ed360a9f4-big.jpg : 68557 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2591920f5a2a78deed10da1ed360a9f4-medium.jpg : 19306 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2591920f5a2a78deed10da1ed360a9f4-small.jpg : 6023 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.438721 Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3525 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3525 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4.jpg", "TemporaryFile(/tmp/multipartBody2577892160669768444asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4-big.jpg", "TemporaryFile(/tmp/multipartBody2577892160669768444asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4-medium.jpg", "TemporaryFile(/tmp/multipartBody2577892160669768444asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2591920f5a2a78deed10da1ed360a9f4-small.jpg", "TemporaryFile(/tmp/multipartBody2577892160669768444asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3525 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518826 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518826" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050138) --2025-07-18 13:54:12-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… SELECT photo_id FROM MTRBack.photos WHERE photo_i 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… List(1372631657) connecté. 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050138, 1372631657,1372631657, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 requête HTTP transmise, en attente de la réponse… [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE 200 OK Taille : 38650 (38K) [image/jpeg] Enregistre : «/tmp/3630a6b710896d2ad9e93e192518c7a4.jpg» 0K .......... .......... ......../home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) .. ....... 100% 3,72M=0,01s 2025-07-18 13:54:12 (3,72 MB/s) - «/tmp/3630a6b710896d2ad9e93e192518c7a4.jpg» enregistré [38650/38650] [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3525 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147After insertPortfolioPhotoId , duration 6 : 242 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2598842924997645218asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2598842924997645218asTemporaryFile : 250038 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405.jpg -O /tmp/37e4218fdbe37c90aa683dbdef448405.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405-small.jpg type_mfp mfpopt2025 size_object of file /tmp/37e4218fdbe37c90aa683dbdef448405-big.jpg : 63790 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/37e4218fdbe37c90aa683dbdef448405-medium.jpg : 18555 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/37e4218fdbe37c90aa683dbdef448405-small.jpg : 5912 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.801799 Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405.jpg", "TemporaryFile(/tmp/multipartBody2598842924997645218asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405-big.jpg", "TemporaryFile(/tmp/multipartBody2598842924997645218asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1833577720427838894asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1833577720427838894asTemporaryFile : 100413 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e.jpg -O /tmp/35cc139a81b0f551a5407a6647b1af3e.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e-small.jpg type_mfp mfpopt2025 size_object of file /tmp/35cc139a81b0f551a5407a6647b1af3e-big.jpg : 20928 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/35cc139a81b0f551a5407a6647b1af3e-medium.jpg : 7398 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/35cc139a81b0f551a5407a6647b1af3e-small.jpg : 2824 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.412541 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405-medium.jpg", "TemporaryFile(/tmp/multipartBody2598842924997645218asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e.jpg", "TemporaryFile(/tmp/multipartBody1833577720427838894asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/37e4218fdbe37c90aa683dbdef448405-small.jpg", "TemporaryFile(/tmp/multipartBody2598842924997645218asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e-big.jpg", "TemporaryFile(/tmp/multipartBody1833577720427838894asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e-medium.jpg", "TemporaryFile(/tmp/multipartBody1833577720427838894asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - source_id_submit_photo from insertion : 379518827 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518827" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/35cc139a81b0f551a5407a6647b1af3e-small.jpg", "TemporaryFile(/tmp/multipartBody1833577720427838894asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5005095438680532111asTemporaryFile -n cb7e87fe578987c2eea2bb3074278038 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_53_34_10143.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5005095438680532111asTemporaryFile -n cb7e87fe578987c2eea2bb3074278038 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518828 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518828" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4125362339632040500asTemporaryFile -n 8d1a73dab8674029006242da24381f4b --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_51_25_9600.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4125362339632040500asTemporaryFile -n 8d1a73dab8674029006242da24381f4b --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 [error] application - ! @8a648kbip - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] --2025-07-18 13:54:14-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… --2025-07-18 13:54:14-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 200 OK Taille : 250531 (245K) [image/jpeg] Enregistre : «/tmp/cb7e87fe578987c2eea2bb3074278038.jpg» 0K .......54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… ... .......... ....connecté. ...... .......... .......... 20% 2,42M 0s 50K .......... .......... .......... .......requête HTTP transmise, en attente de la réponse… ... .......... 40% 4,94M 0s 100K .......... .......... .......... .......... .......... 61% 99,3M 0s 150K .......... .......... .......... .......... .......... 81% 5,11M 0s 200K .......... .......... .......... .......... .... 100% 103M=0,04s 2025-07-18 13:54:14 (5,90 MB/s) - «/tmp/cb7e87fe578987c2eea2bb3074278038.jpg» enregistré [250531/250531] 200 OK Taille : 97592 (95K) [image/jpeg] Enregistre : «/tmp/8d1a73dab8674029006242da24381f4b.jpg» 0K .......... .......... .......... .......... .......... 52% 4,87M 0s 50K .......... .......... .......... .......... ..... 100% 4,39M=0,02s 2025-07-18 13:54:14 (4,63 MB/s) - «/tmp/8d1a73dab8674029006242da24381f4b.jpg» enregistré [97592/97592] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8975838102653022000asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8975838102653022000asTemporaryFile : 38650 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4.jpg -O /tmp/3630a6b710896d2ad9e93e192518c7a4.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4-small.jpg type_mfp mfpopt2025 size_object of file /tmp/3630a6b710896d2ad9e93e192518c7a4-big.jpg : 33908 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3630a6b710896d2ad9e93e192518c7a4-medium.jpg : 11692 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3630a6b710896d2ad9e93e192518c7a4-small.jpg : 4110 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.001120 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4.jpg", "TemporaryFile(/tmp/multipartBody8975838102653022000asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4-big.jpg", "TemporaryFile(/tmp/multipartBody8975838102653022000asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4-medium.jpg", "TemporaryFile(/tmp/multipartBody8975838102653022000asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3630a6b710896d2ad9e93e192518c7a4-small.jpg", "TemporaryFile(/tmp/multipartBody8975838102653022000asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518829 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518829" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5717075723509255782asTemporaryFile -n 9ccefcd8ddf84eccf4f89b100da22482 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_41_35_30327.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5717075723509255782asTemporaryFile -n 9ccefcd8ddf84eccf4f89b100da22482 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3525 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147After insertPortfolioPhotoId , duration 6 : 242 About to finish After with svm , duration 7 : 3026 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5005095438680532111asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5005095438680532111asTemporaryFile : 250531 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038.jpg -O /tmp/cb7e87fe578987c2eea2bb3074278038.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038-small.jpg type_mfp mfpopt2025 size_object of file /tmp/cb7e87fe578987c2eea2bb3074278038-big.jpg : 64036 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/cb7e87fe578987c2eea2bb3074278038-medium.jpg : 18720 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/cb7e87fe578987c2eea2bb3074278038-small.jpg : 5947 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.666707 Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038.jpg", "TemporaryFile(/tmp/multipartBody5005095438680532111asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038-big.jpg", "TemporaryFile(/tmp/multipartBody5005095438680532111asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038-medium.jpg", "TemporaryFile(/tmp/multipartBody5005095438680532111asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4125362339632040500asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4125362339632040500asTemporaryFile : 97592 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b.jpg -O /tmp/8d1a73dab8674029006242da24381f4b.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b-small.jpg type_mfp mfpopt2025 size_object of file /tmp/8d1a73dab8674029006242da24381f4b-big.jpg : 19864 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8d1a73dab8674029006242da24381f4b-medium.jpg : 7092 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8d1a73dab8674029006242da24381f4b-small.jpg : 2728 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.643400 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b.jpg", "TemporaryFile(/tmp/multipartBody4125362339632040500asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cb7e87fe578987c2eea2bb3074278038-small.jpg", "TemporaryFile(/tmp/multipartBody5005095438680532111asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b-big.jpg", "TemporaryFile(/tmp/multipartBody4125362339632040500asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) --2025-07-18 13:54:16-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482.jpg [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 latitude : 0.0 longitude : 0.0 Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b-medium.jpg", "TemporaryFile(/tmp/multipartBody4125362339632040500asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - source_id_submit_photo from insertion : 379518830 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518830" requête HTTP transmise, en attente de la réponse… [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8d1a73dab8674029006242da24381f4b-small.jpg", "TemporaryFile(/tmp/multipartBody4125362339632040500asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3742599942637836302asTemporaryFile -n bdf9ee4219ce1e8a9034fd8b452d66d7 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_53_24_9127.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3742599942637836302asTemporaryFile -n bdf9ee4219ce1e8a9034fd8b452d66d7 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 latitude : 0.0 longitude : 0.0 200 OK Taille : 38535 (38K) [image/jpeg] Enregistre : «/tmp/9ccefcd8ddf84eccf4f89b100da22482.jpg» 0K .......... .......... .......... ....... 100% 3,74M=0,01s 2025-07-18 13:54:16 (3,74 MB/s) - «/tmp/9ccefcd8ddf84eccf4f89b100da22482.jpg» enregistré [38535/38535] [info] a.models.Photo - source_id_submit_photo from insertion : 379518831 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518831" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7887460063609624199asTemporaryFile -n 14eea286822cf244586ec5ef2de6c73b --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_51_15_10634.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7887460063609624199asTemporaryFile -n 14eea286822cf244586ec5ef2de6c73b --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:18-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 250915 (245K) [image/jpeg] Enregistre : «/tmp/bdf9ee4219ce1e8a9034fd8b452d66d7.jpg» 0K .......... .......... .......... .......... .......... 20% 2,50M 0s 50K .......... .......... .......... .......... .......... 40% 4,89M 0s 100K .......... .......... .......... .......... .......... 61% 99,0M 0s 150K .......... .......... .......... .......... .......... 81% 126M 0s 200K .......... .......... .......... .......... ..... 100% 4,64M=0,04s 2025-07-18 13:54:18 (5,99 MB/s) - «/tmp/bdf9ee4219ce1e8a9034fd8b452d66d7.jpg» enregistré [250915/250915] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:54:18-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 requête HTTP transmise, en attente de la réponse… res from running command to print ! 200 OK Taille : 102514 (100K) [image/jpeg] Enregistre : «/tmp/14eea286822cf244586ec5ef2de6c73b.jpg» import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5717075723509255782asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5717075723509255782asTemporaryFile : 38535 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482.jpg -O /tmp/9ccefcd8ddf84eccf4f89b100da22482.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482-small.jpg type_mfp mfpopt2025 size_object of file /tmp/9ccefcd8ddf84eccf4f89b100da22482-big.jpg : 33893 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9ccefcd8ddf84eccf4f89b100da22482-medium.jpg : 11674 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9ccefcd8ddf84eccf4f89b100da22482-small.jpg : 4109 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.524388 0K ........ Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 .. ..... res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0 ..... .......... .......... .......... 49% 4,46M 0s 50K .......... .......... .......... .......... .....[debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482.jpg", "TemporaryFile(/tmp/multipartBody5717075723509255782asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') ..... 99% 5,48M 0s 100K 100% 212G=0,02s 2025-07-18 13:54:18 (4,92 MB/s) - «/tmp/14eea286822cf244586ec5ef2de6c73b.jpg» enregistré [102514/102514] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482-big.jpg", "TemporaryFile(/tmp/multipartBody5717075723509255782asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482-medium.jpg", "TemporaryFile(/tmp/multipartBody5717075723509255782asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9ccefcd8ddf84eccf4f89b100da22482-small.jpg", "TemporaryFile(/tmp/multipartBody5717075723509255782asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518832 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518832" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4501392737056544331asTemporaryFile -n 2133322fd21e82f786a9e1e7c3f22828 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_41_05_29461.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4501392737056544331asTemporaryFile -n 2133322fd21e82f786a9e1e7c3f22828 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:54:20-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38553 (38K) [image/jpeg] Enregistre : «/tmp/2133322fd21e82f786a9e1e7c3f22828.jpg» 0K .......... .......... .......... ....... 100% 116M=0s 2025-07-18 13:54:20 (116 MB/s) - «/tmp/2133322fd21e82f786a9e1e7c3f22828.jpg» enregistré [38553/38553] res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7887460063609624199asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7887460063609624199asTemporaryFile : 102514 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b.jpg -O /tmp/14eea286822cf244586ec5ef2de6c73b.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b-small.jpg type_mfp mfpopt2025 size_object of file /tmp/14eea286822cf244586ec5ef2de6c73b-big.jpg : 20744 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/14eea286822cf244586ec5ef2de6c73b-medium.jpg : 7371 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/14eea286822cf244586ec5ef2de6c73b-small.jpg : 2822 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.498136 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b.jpg", "TemporaryFile(/tmp/multipartBody7887460063609624199asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b-big.jpg", "TemporaryFile(/tmp/multipartBody7887460063609624199asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b-medium.jpg", "TemporaryFile(/tmp/multipartBody7887460063609624199asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14eea286822cf244586ec5ef2de6c73b-small.jpg", "TemporaryFile(/tmp/multipartBody7887460063609624199asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 latitude : 0.0 longitude : 0.0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [info] a.models.Photo - source_id_submit_photo from insertion : 379518833 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518833" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7757375692054861820asTemporaryFile -n 68d6e945d444083fe40f052179b5ea5a --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_51_04_9610.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7757375692054861820asTemporaryFile -n 68d6e945d444083fe40f052179b5ea5a --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3742599942637836302asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3742599942637836302asTemporaryFile : 250915 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7.jpg -O /tmp/bdf9ee4219ce1e8a9034fd8b452d66d7.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7-small.jpg type_mfp mfpopt2025 size_object of file /tmp/bdf9ee4219ce1e8a9034fd8b452d66d7-big.jpg : 64064 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bdf9ee4219ce1e8a9034fd8b452d66d7-medium.jpg : 18714 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bdf9ee4219ce1e8a9034fd8b452d66d7-small.jpg : 5963 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.860301 Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7.jpg", "TemporaryFile(/tmp/multipartBody3742599942637836302asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7-big.jpg", "TemporaryFile(/tmp/multipartBody3742599942637836302asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7-medium.jpg", "TemporaryFile(/tmp/multipartBody3742599942637836302asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bdf9ee4219ce1e8a9034fd8b452d66d7-small.jpg", "TemporaryFile(/tmp/multipartBody3742599942637836302asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518834 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518834" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8523332943448554351asTemporaryFile -n 853d8e198f887b556a7b00b373a5ad51 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_53_15_10135.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8523332943448554351asTemporaryFile -n 853d8e198f887b556a7b00b373a5ad51 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4501392737056544331asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4501392737056544331asTemporaryFile : 38553 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828.jpg -O /tmp/2133322fd21e82f786a9e1e7c3f22828.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828-small.jpg type_mfp mfpopt2025 size_object of file /tmp/2133322fd21e82f786a9e1e7c3f22828-big.jpg : 33900 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2133322fd21e82f786a9e1e7c3f22828-medium.jpg : 11705 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2133322fd21e82f786a9e1e7c3f22828-small.jpg : 4120 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.157072 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3151 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3151 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828.jpg", "TemporaryFile(/tmp/multipartBody4501392737056544331asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828-big.jpg", "TemporaryFile(/tmp/multipartBody4501392737056544331asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828-medium.jpg", "TemporaryFile(/tmp/multipartBody4501392737056544331asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2133322fd21e82f786a9e1e7c3f22828-small.jpg", "TemporaryFile(/tmp/multipartBody4501392737056544331asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3151 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518835 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518835" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6738306907460352103asTemporaryFile -n fc2a0440fbc40b925fa33c6827f7d1e8 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=739 --filename=image_18072025_13_40_35_29599.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6738306907460352103asTemporaryFile -n fc2a0440fbc40b925fa33c6827f7d1e8 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:22-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 108410 (106K) [image/jpeg] Enregistre : «/tmp/68d6e945d444083fe40f052179b5ea5a.jpg» 0K .......... .......... .......... .......... .......... 47% 2,45M 0s 50K .......... .......... .......... .......... .......... 94% 4,98M 0s 100K ..... 100% 84,9M=0,03s 2025-07-18 13:54:22 (3,47 MB/s) - «/tmp/68d6e945d444083fe40f052179b5ea5a.jpg» enregistré [108410/108410] --2025-07-18 13:54:22-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 251123 (245K) [image/jpeg] Enregistre : «/tmp/853d8e198f887b556a7b00b373a5ad51.jpg» 0K .......... .......... .......... .......... .......... 20% 2,40M 0s 50K .......... .......... .......... .......... .......... 40% 4,85M 0s 100K .......... .......... .......... .......... .......... 61% 86,0M 0s 150K .......... .......... .......... .......... .......... 81% 5,24M 0s 200K .......... .......... .......... .......... ..... 100% 89,2M=0,04s 2025-07-18 13:54:22 (5,88 MB/s) - «/tmp/853d8e198f887b556a7b00b373a5ad51.jpg» enregistré [251123/251123] token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_21062025_12_47_07_10496.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@56d55e4c basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_21062025_12_46_56_8986.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6c43933c basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_21062025_12_46_47_10228.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7d13d2be basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_21062025_12_46_37_10217.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2b89d420 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(24230041) [info] a.c.Photo - given_mtr_portfolio_id : Some(24230041) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3903113236723765778asTemporaryFile -n 8843f5052d4b1397610ad8d9ea97e61a --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_47_07_10496.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3903113236723765778asTemporaryFile -n 8843f5052d4b1397610ad8d9ea97e61a --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:23-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 38591 (38K) [image/jpeg] Enregistre : «/tmp/fc2a0440fbc40b925fa33c6827f7d1e8.jpg» 0K .......... .......... .......... ....... 100% 3,73M=0,01s 2025-07-18 13:54:23 (3,73 MB/s) - «/tmp/fc2a0440fbc40b925fa33c6827f7d1e8.jpg» enregistré [38591/38591] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7757375692054861820asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7757375692054861820asTemporaryFile : 108410 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a.jpg -O /tmp/68d6e945d444083fe40f052179b5ea5a.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a-small.jpg type_mfp mfpopt2025 size_object of file /tmp/68d6e945d444083fe40f052179b5ea5a-big.jpg : 21812 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/68d6e945d444083fe40f052179b5ea5a-medium.jpg : 7781 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/68d6e945d444083fe40f052179b5ea5a-small.jpg : 2942 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.768541 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 3806 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 3806 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a.jpg", "TemporaryFile(/tmp/multipartBody7757375692054861820asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a-big.jpg", "TemporaryFile(/tmp/multipartBody7757375692054861820asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a-medium.jpg", "TemporaryFile(/tmp/multipartBody7757375692054861820asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/68d6e945d444083fe40f052179b5ea5a-small.jpg", "TemporaryFile(/tmp/multipartBody7757375692054861820asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 3806 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 147 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518836 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518836" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4174025469761121776asTemporaryFile -n 52a5c89528ba2c81987d2f4bf52df2cc --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_50_55_9613.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4174025469761121776asTemporaryFile -n 52a5c89528ba2c81987d2f4bf52df2cc --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8523332943448554351asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8523332943448554351asTemporaryFile : 251123 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51.jpg -O /tmp/853d8e198f887b556a7b00b373a5ad51.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51-small.jpg type_mfp mfpopt2025 size_object of file /tmp/853d8e198f887b556a7b00b373a5ad51-big.jpg : 64131 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/853d8e198f887b556a7b00b373a5ad51-medium.jpg : 18729 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/853d8e198f887b556a7b00b373a5ad51-small.jpg : 5960 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.802040 Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 61.After photo_uploader , duration 15 : 3840 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 61.After photo_uploader , duration 15 : 3840 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51.jpg", "TemporaryFile(/tmp/multipartBody8523332943448554351asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51-big.jpg", "TemporaryFile(/tmp/multipartBody8523332943448554351asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51-medium.jpg", "TemporaryFile(/tmp/multipartBody8523332943448554351asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/853d8e198f887b556a7b00b373a5ad51-small.jpg", "TemporaryFile(/tmp/multipartBody8523332943448554351asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 61.After photo_uploader , duration 15 : 3840 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518837 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518837" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7182742679671161136asTemporaryFile -n 5d9788f8324f5047f8ae7bfa5583a71f --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_53_05_10146.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7182742679671161136asTemporaryFile -n 5d9788f8324f5047f8ae7bfa5583a71f --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 [error] application - ! @8a648l298 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] --2025-07-18 13:54:25-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1075483 (1,0M) [image/jpeg] Enregistre : «/tmp/8843f5052d4b1397610ad8d9ea97e61a.jpg» 0K .......... .......... .......... .......... .......... 4% 4,72M 0s 50K .......... .......... .......... .......... .......... 9% 4,90M 0s 100K .......... .......... .......... .......... .......... 14% 117M 0s 150K .......... .......... .......... .......... .......... 19% 5,13M 0s 200K .......... .......... .......... .......... .......... 23% 127M 0s 250K .......... .......... .......... .......... .......... 28% 117M 0s 300K .......... .......... .......... .......... .......... 33% 116M 0s 350K .......... .......... .......... .......... .......... 38% 5,62M 0s 400K .......... .......... .......... .......... .......... 42% 130M 0s 450K .......... .......... .......... .......... .......... 47% 127M 0s 500K .......... .......... .......... .......... .......... 52% 123M 0s 550K .......... .......... .......... .......... .......... 57% 98,3M 0s 600K .......... .......... .......... .......... .......... 61% 100M 0s 650K .......... .......... .......... .......... .......... 66% 127M 0s 700K .......... .......... .......... .......... .......... 71% 126M 0s 750K .......... .......... .......... .......... .......... 76% 90,6M 0s 800K .......... .......... .......... .......... .......... 80% 7,42M 0s 850K .......... .......... .......... .......... .......... 85% 101M 0s 900K .......... .......... .......... .......... .......... 90% 117M 0s 950K .......... .......... .......... .......... .......... 95% 125M 0s 1000K .......... .......... .......... .......... .......... 99% 128M 0s 1050K 100% 527G=0,05s 2025-07-18 13:54:25 (19,8 MB/s) - «/tmp/8843f5052d4b1397610ad8d9ea97e61a.jpg» enregistré [1075483/1075483] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 [error] application - ! @8a648l2ko - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 [error] application - ! @8a648l33l - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6738306907460352103asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6738306907460352103asTemporaryFile : 38591 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8.jpg -O /tmp/fc2a0440fbc40b925fa33c6827f7d1e8.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8-small.jpg type_mfp mfpopt2025 size_object of file /tmp/fc2a0440fbc40b925fa33c6827f7d1e8-big.jpg : 33927 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/fc2a0440fbc40b925fa33c6827f7d1e8-medium.jpg : 11708 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/fc2a0440fbc40b925fa33c6827f7d1e8-small.jpg : 4123 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.847202 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3151 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3879 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3151 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3879 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8.jpg", "TemporaryFile(/tmp/multipartBody6738306907460352103asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8-big.jpg", "TemporaryFile(/tmp/multipartBody6738306907460352103asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8-medium.jpg", "TemporaryFile(/tmp/multipartBody6738306907460352103asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) --2025-07-18 13:54:25-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (739, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fc2a0440fbc40b925fa33c6827f7d1e8-small.jpg", "TemporaryFile(/tmp/multipartBody6738306907460352103asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3151 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3879 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 135 latitude : 0.0 longitude : 0.0 requête HTTP transmise, en attente de la réponse… [info] a.models.Photo - source_id_submit_photo from insertion : 379518838 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518838" 200 OK Taille : 105515 (103K) [image/jpeg] Enregistre : «/tmp/52a5c89528ba2c81987d2f4bf52df2cc.jpg» 0K .......... .......... ........[info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 .. .......... .......... 48% 4,41M 0s 50K .......... .......... .......... .......... .......... 97% 5,33M 0s 100K ... 100% 41,8M=0,02s 2025-07-18 13:54:26 (4,96 MB/s) - «/tmp/52a5c89528ba2c81987d2f4bf52df2cc.jpg» enregistré [105515/105515] mtr_portfolio_id : Some(25071833) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631647, 1372631656, 1372631660, 1372631663, 1372631666, 1372631669) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25071833, 1372631666,1372631666, "1" ,0,739, NOW()), (25071833, 1372631669,1372631669, "1" ,0,739, NOW()), (25071833, 1372631660,1372631660, "1" ,0,739, NOW()), (25071833, 1372631663,1372631663, "1" ,0,739, NOW()), (25071833, 1372631647,1372631647, "1" ,0,739, NOW()), (25071833, 1372631656,1372631656, "1" ,0,739, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE --2025-07-18 13:54:26-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3151 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3879 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 135After insertPortfolioPhotoId , duration 26 : 377 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; requête HTTP transmise, en attente de la réponse… 200 OK Taille : 221081 (216K) [image/jpeg] Enregistre : «/tmp/5d9788f8324f5047f8ae7bfa5583a71f.jpg» 0K .......... .......... .......... .......... .......... 23% 2,48M 0s 50K .......... .......... .......... .......... .......... 46% 4,84M 0s 100K .......... .......... .......... .......... .......... 69% 118M 0s 150K .......... .......... .......... .......... .......... 92% 5,15M 0s 200K .......... ..... 100% 44,4M=0,04s 2025-07-18 13:54:26 (5,27 MB/s) - «/tmp/5d9788f8324f5047f8ae7bfa5583a71f.jpg» enregistré [221081/221081] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3903113236723765778asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3903113236723765778asTemporaryFile : 1075483 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a.jpg -O /tmp/8843f5052d4b1397610ad8d9ea97e61a.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a-small.jpg type_mfp mfpopt2025 size_object of file /tmp/8843f5052d4b1397610ad8d9ea97e61a-big.jpg : 64869 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8843f5052d4b1397610ad8d9ea97e61a-medium.jpg : 14947 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8843f5052d4b1397610ad8d9ea97e61a-small.jpg : 3981 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.681921 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a.jpg", "TemporaryFile(/tmp/multipartBody3903113236723765778asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a-big.jpg", "TemporaryFile(/tmp/multipartBody3903113236723765778asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a-medium.jpg", "TemporaryFile(/tmp/multipartBody3903113236723765778asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8843f5052d4b1397610ad8d9ea97e61a-small.jpg", "TemporaryFile(/tmp/multipartBody3903113236723765778asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518839 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518839" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3069936833413175730asTemporaryFile -n 142a2ee3b99da719fc16db24e003cefb --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_56_8986.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3069936833413175730asTemporaryFile -n 142a2ee3b99da719fc16db24e003cefb --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4174025469761121776asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4174025469761121776asTemporaryFile : 105515 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc.jpg -O /tmp/52a5c89528ba2c81987d2f4bf52df2cc.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc-small.jpg type_mfp mfpopt2025 size_object of file /tmp/52a5c89528ba2c81987d2f4bf52df2cc-big.jpg : 20817 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/52a5c89528ba2c81987d2f4bf52df2cc-medium.jpg : 7247 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/52a5c89528ba2c81987d2f4bf52df2cc-small.jpg : 2752 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.502367 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 3806 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 147 Before photo_uploader , duration 22 : 103.After photo_uploader , duration 23 : 3588 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 3806 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 147 Before photo_uploader , duration 22 : 103.After photo_uploader , duration 23 : 3588 Before insertPortfolioPhotoId , duration 24 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc.jpg", "TemporaryFile(/tmp/multipartBody4174025469761121776asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc-big.jpg", "TemporaryFile(/tmp/multipartBody4174025469761121776asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc-medium.jpg", "TemporaryFile(/tmp/multipartBody4174025469761121776asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/52a5c89528ba2c81987d2f4bf52df2cc-small.jpg", "TemporaryFile(/tmp/multipartBody4174025469761121776asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 3806 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 147 Before photo_uploader , duration 22 : 103.After photo_uploader , duration 23 : 3588 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518846 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518846" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050173) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631655, 1372631659, 1372631662, 1372631664, 1372631667, 1372631677) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050173, 1372631664,1372631664, "1" ,0,1042, NOW()), (25050173, 1372631667,1372631667, "1" ,0,1042, NOW()), (25050173, 1372631677,1372631677, "1" ,0,1042, NOW()), (25050173, 1372631659,1372631659, "1" ,0,1042, NOW()), (25050173, 1372631662,1372631662, "1" ,0,1042, NOW()), (25050173, 1372631655,1372631655, "1" ,0,1042, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 3806 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 147 Before photo_uploader , duration 22 : 103.After photo_uploader , duration 23 : 3588 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 139After insertPortfolioPhotoId , duration 26 : 354 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7182742679671161136asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7182742679671161136asTemporaryFile : 221081 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f.jpg -O /tmp/5d9788f8324f5047f8ae7bfa5583a71f.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f-small.jpg type_mfp mfpopt2025 size_object of file /tmp/5d9788f8324f5047f8ae7bfa5583a71f-big.jpg : 57211 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5d9788f8324f5047f8ae7bfa5583a71f-medium.jpg : 17421 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5d9788f8324f5047f8ae7bfa5583a71f-small.jpg : 5723 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.077268 Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 61.After photo_uploader , duration 15 : 3840 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 63.After photo_uploader , duration 19 : 4175 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 61.After photo_uploader , duration 15 : 3840 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 63.After photo_uploader , duration 19 : 4175 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f.jpg", "TemporaryFile(/tmp/multipartBody7182742679671161136asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f-big.jpg", "TemporaryFile(/tmp/multipartBody7182742679671161136asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f-medium.jpg", "TemporaryFile(/tmp/multipartBody7182742679671161136asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5d9788f8324f5047f8ae7bfa5583a71f-small.jpg", "TemporaryFile(/tmp/multipartBody7182742679671161136asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 61.After photo_uploader , duration 15 : 3840 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 63.After photo_uploader , duration 19 : 4175 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518847 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518847" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25071850) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631658, 1372631661, 1372631665, 1372631668, 1372631678) 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25071850, 1372631658,1372631658, "1" ,0,979, NOW()), (25071850, 1372631678,1372631678, "1" ,0,979, NOW()), (25071850, 1372631665,1372631665, "1" ,0,979, NOW()), (25071850, 1372631668,1372631668, "1" ,0,979, NOW()), (25071850, 1372631661,1372631661, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 61.After photo_uploader , duration 15 : 3840 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 63.After photo_uploader , duration 19 : 4175 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137After insertPortfolioPhotoId , duration 22 : 315 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3402 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 133 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4415 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4030 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3555 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3151 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3879 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 135After insertPortfolioPhotoId , duration 26 : 377 About to finish After with svm , duration 27 : 2957 actions to do : and mtr_user_id : 739 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3307389 --2025-07-18 13:54:29-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1086617 (1,0M) [image/jpeg] Enregistre : «/tmp/142a2ee3b99da719fc16db24e003cefb.jpg» 0K .......... .......... .......... .......... .......... 4% 4,75M 0s 50K .......... .......... .......... .......... .......... 9% 4,90M 0s 100K .......... .......... .......... .......... .......... 14% 124M 0s 150K .......... .......... .......... .......... .......... 18% 106M 0s 200K .......... .......... .......... .......... .......... 23% 5,21M 0s 250K .......... .......... .......... .......... .......... 28% 105M 0s 300K .......... .......... .......... .......... .......... 32% 84,1M 0s 350K .......... .......... .......... .......... .......... 37% 131M 0s 400K .......... .......... .......... .......... .......... 42% 5,66M 0s 450K .......... .......... .......... .......... .......... 47% 128M 0s 500K .......... .......... .......... .......... .......... 51% 113M 0s 550K .......... .......... .......... .......... .......... 56% 124M 0s 600K .......... .......... .......... .......... .......... 61% 96,9M 0s 650K .......... .......... .......... .......... .......... 65% 138M 0s 700K .......... .......... .......... .......... .......... 70% 98,9M 0s 750K .......... .......... .......... .......... .......... 75% 121M 0s 800K .......... .......... .......... .......... .......... 80% 7,47M 0s 850K .......... .......... .......... .......... .......... 84% 84,9M 0s 900K .......... .......... .......... .......... .......... 89% 112M 0s 950K .......... .......... .......... .......... .......... 94% 115M 0s 1000K .......... .......... .......... .......... .......... 98% 119M 0s 1050K .......... . 100% 217M=0,05s 2025-07-18 13:54:29 (20,0 MB/s) - «/tmp/142a2ee3b99da719fc16db24e003cefb.jpg» enregistré [1086617/1086617] token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_21062025_12_47_07_10496.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1f2cb484 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_21062025_12_46_56_8986.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@52ba91a1 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_21062025_12_46_47_10228.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7f94b309 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_21062025_12_46_37_10217.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@12b84173 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_21062025_12_46_27_10235.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@68ca5f34 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_21062025_12_46_17_10196.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6efbec15 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(24230041) [info] a.c.Photo - given_mtr_portfolio_id : Some(24230041) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5476794858075436320asTemporaryFile -n 07b05023b7e360cbdacccc00243a0536 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_47_07_10496.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5476794858075436320asTemporaryFile -n 07b05023b7e360cbdacccc00243a0536 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4057 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 137 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3517 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3704 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3539 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 3806 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 147 Before photo_uploader , duration 22 : 103.After photo_uploader , duration 23 : 3588 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 139After insertPortfolioPhotoId , duration 26 : 354 About to finish After with svm , duration 27 : 3114 actions to do : and mtr_user_id : 1042 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305009 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3069936833413175730asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3069936833413175730asTemporaryFile : 1086617 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb.jpg -O /tmp/142a2ee3b99da719fc16db24e003cefb.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb-small.jpg type_mfp mfpopt2025 size_object of file /tmp/142a2ee3b99da719fc16db24e003cefb-big.jpg : 65124 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/142a2ee3b99da719fc16db24e003cefb-medium.jpg : 14988 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/142a2ee3b99da719fc16db24e003cefb-small.jpg : 3987 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.090291 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb.jpg", "TemporaryFile(/tmp/multipartBody3069936833413175730asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb-big.jpg", "TemporaryFile(/tmp/multipartBody3069936833413175730asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb-medium.jpg", "TemporaryFile(/tmp/multipartBody3069936833413175730asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/142a2ee3b99da719fc16db24e003cefb-small.jpg", "TemporaryFile(/tmp/multipartBody3069936833413175730asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 153 latitude : 0.0 longitude : 0.0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 3996 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3916 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 62.After photo_uploader , duration 7 : 3719 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 64.After photo_uploader , duration 11 : 3914 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 61.After photo_uploader , duration 15 : 3840 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 63.After photo_uploader , duration 19 : 4175 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137After insertPortfolioPhotoId , duration 22 : 315 About to finish After with svm , duration 23 : 2808 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : false is_live : false false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 [info] a.models.Photo - source_id_submit_photo from insertion : 379518848 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518848" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1311196457969471488asTemporaryFile -n 1b2cc73fd15941e4f1e241f7fe3442f5 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_47_10228.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1311196457969471488asTemporaryFile -n 1b2cc73fd15941e4f1e241f7fe3442f5 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3307389 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3307389 --2025-07-18 13:54:32-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1075483 (1,0M) [image/jpeg] Enregistre : «/tmp/07b05023b7e360cbdacccc00243a0536.jpg» 0K .......... .......... .......... .......... .......... 4% 2,43M 0s 50K .......... .......... .......... .......... .......... 9% 4,94M 0s 100K .......... .......... .......... .......... .......... 14% 94,3M 0s 150K .......... .......... .......... .......... .......... 19% 4,84M 0s 200K .......... .......... .......... .......... .......... 23% 104M 0s 250K .......... .......... .......... .......... .......... 28% 101M 0s 300K .......... .......... .......... .......... .......... 33% 94,7M 0s 350K .......... .......... .......... .......... .......... 38% 103M 0s 400K .......... .......... .......... .......... .......... 42% 5,92M 0s 450K .......... .......... .......... .......... .......... 47% 93,7M 0s 500K .......... .......... .......... .......... .......... 52% 98,7M 0s 550K .......... .......... .......... .......... .......... 57% 93,0M 0s 600K .......... .......... .......... .......... .......... 61% 86,2M 0s 650K .......... .......... .......... .......... .......... 66% 98,4M 0s 700K .......... .......... .......... .......... .......... 71% 109M 0s 750K .......... .......... .......... .......... .......... 76% 106M 0s 800K .......... .......... .......... .......... .......... 80% 8,60M 0s 850K .......... .......... .......... .......... .......... 85% 47,1M 0s 900K .......... .......... .......... .......... .......... 90% 113M 0s 950K .......... .......... .......... .......... .......... 95% 116M 0s 1000K .......... .......... .......... .......... .......... 99% 114M 0s 1050K 100% 527G=0,06s 2025-07-18 13:54:32 (16,5 MB/s) - «/tmp/07b05023b7e360cbdacccc00243a0536.jpg» enregistré [1075483/1075483] --2025-07-18 13:54:33-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1083875 (1,0M) [image/jpeg] Enregistre : «/tmp/1b2cc73fd15941e4f1e241f7fe3442f5.jpg» 0K .......... .......... .......... .......... .......... 4% 4,77M 0s 50K .......... .......... .......... .......... .......... 9% 4,92M 0s 100K .......... .......... .......... .......... .......... 14% 61,1M 0s 150K .......... .......... .......... .......... .......... 18% 85,5M 0s 200K .......... .......... .......... .......... .......... 23% 5,48M 0s 250K .......... .......... .......... .......... .......... 28% 62,1M 0s 300K .......... .......... .......... .......... .......... 33% 124M 0s 350K .......... .......... .......... .......... .......... 37% 127M 0s 400K .......... .......... .......... .......... .......... 42% 5,86M 0s 450K .......... .......... .......... .......... .......... 47% 121M 0s 500K .......... .......... .......... .......... .......... 51% 98,3M 0s 550K .......... .......... .......... .......... .......... 56% 119M 0s 600K .......... .......... .......... .......... .......... 61% 142M 0s 650K .......... .......... .......... .......... .......... 66% 129M 0s 700K .......... .......... .......... .......... .......... 70% 115M 0s 750K .......... .......... .......... .......... .......... 75% 84,7M 0s 800K .......... .......... .......... .......... .......... 80% 127M 0s 850K .......... .......... .......... .......... .......... 85% 7,61M 0s 900K .......... .......... .......... .......... .......... 89% 105M 0s 950K .......... .......... .......... .......... .......... 94% 123M 0s 1000K .......... .......... .......... .......... .......... 99% 124M 0s 1050K ........ 100% 123M=0,05s 2025-07-18 13:54:34 (20,1 MB/s) - «/tmp/1b2cc73fd15941e4f1e241f7fe3442f5.jpg» enregistré [1083875/1083875] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305009 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305009 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5476794858075436320asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5476794858075436320asTemporaryFile : 1075483 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536.jpg -O /tmp/07b05023b7e360cbdacccc00243a0536.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536-small.jpg type_mfp mfpopt2025 size_object of file /tmp/07b05023b7e360cbdacccc00243a0536-big.jpg : 64869 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/07b05023b7e360cbdacccc00243a0536-medium.jpg : 14947 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/07b05023b7e360cbdacccc00243a0536-small.jpg : 3981 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.327653 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536.jpg", "TemporaryFile(/tmp/multipartBody5476794858075436320asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536-big.jpg", "TemporaryFile(/tmp/multipartBody5476794858075436320asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.flushPendingEncryptedWrites(SslHandler.java:1108) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1047) ~[io.netty.netty-3.7.1.Final.jar:na] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536-medium.jpg", "TemporaryFile(/tmp/multipartBody5476794858075436320asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/07b05023b7e360cbdacccc00243a0536-small.jpg", "TemporaryFile(/tmp/multipartBody5476794858075436320asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518849 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518849" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9089726063942681222asTemporaryFile -n 8769f7b50349da3b714393cf48093d4b --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_56_8986.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9089726063942681222asTemporaryFile -n 8769f7b50349da3b714393cf48093d4b --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1311196457969471488asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1311196457969471488asTemporaryFile : 1083875 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5.jpg -O /tmp/1b2cc73fd15941e4f1e241f7fe3442f5.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5-small.jpg type_mfp mfpopt2025 size_object of file /tmp/1b2cc73fd15941e4f1e241f7fe3442f5-big.jpg : 64971 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1b2cc73fd15941e4f1e241f7fe3442f5-medium.jpg : 14976 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1b2cc73fd15941e4f1e241f7fe3442f5-small.jpg : 3982 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.261401 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 153 Before photo_uploader , duration 10 : 108.After photo_uploader , duration 11 : 4281 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 153 Before photo_uploader , duration 10 : 108.After photo_uploader , duration 11 : 4281 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5.jpg", "TemporaryFile(/tmp/multipartBody1311196457969471488asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5-big.jpg", "TemporaryFile(/tmp/multipartBody1311196457969471488asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5-medium.jpg", "TemporaryFile(/tmp/multipartBody1311196457969471488asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b2cc73fd15941e4f1e241f7fe3442f5-small.jpg", "TemporaryFile(/tmp/multipartBody1311196457969471488asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 153 Before photo_uploader , duration 10 : 108.After photo_uploader , duration 11 : 4281 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518850 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518850" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3021423971699664127asTemporaryFile -n 849f056c7a6f25206ad41543c3a933b0 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_37_10217.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3021423971699664127asTemporaryFile -n 849f056c7a6f25206ad41543c3a933b0 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:37-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1086617 (1,0M) [image/jpeg] Enregistre : «/tmp/8769f7b50349da3b714393cf48093d4b.jpg» 0K .......... .......... .......... .......... .......... 4% 4,82M 0s 50K .......... .......... .......... .......... .......... 9% 4,83M 0s 100K .......... .......... .......... .......... .......... 14% 114M 0s 150K .......... .......... .......... .......... .......... 18% 5,04M 0s 200K .......... .......... .......... .......... .......... 23% 113M 0s 250K .......... .......... .......... .......... .......... 28% 108M 0s 300K .......... .......... .......... .......... .......... 32% 104M 0s 350K .......... .......... .......... .......... .......... 37% 5,68M 0s 400K .......... .......... .......... .......... .......... 42% 118M 0s 450K .......... .......... .......... .......... .......... 47% 132M 0s 500K .......... .......... .......... .......... .......... 51% 96,8M 0s 550K .......... .......... .......... .......... .......... 56% 123M 0s 600K .......... .......... .......... .......... .......... 61% 90,8M 0s 650K .......... .......... .......... .......... .......... 65% 93,3M 0s 700K .......... .......... .......... .......... .......... 70% 89,0M 0s 750K .......... .......... .......... .......... .......... 75% 7,22M 0s 800K .......... .......... .......... .......... .......... 80% 70,2M 0s 850K .......... .......... .......... .......... .......... 84% 122M 0s 900K .......... .......... .......... .......... .......... 89% 107M 0s 950K .......... .......... .......... .......... .......... 94% 112M 0s 1000K .......... .......... .......... .......... .......... 98% 130M 0s 1050K .......... . 100% 191M=0,05s 2025-07-18 13:54:37 (19,6 MB/s) - «/tmp/8769f7b50349da3b714393cf48093d4b.jpg» enregistré [1086617/1086617] --2025-07-18 13:54:38-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1076630 (1,0M) [image/jpeg] Enregistre : «/tmp/849f056c7a6f25206ad41543c3a933b0.jpg» 0K .......... .......... .......... .......... .......... 4% 2,50M 0s 50K .......... .......... .......... .......... .......... 9% 4,89M 0s 100K .......... .......... .......... .......... .......... 14% 48,3M 0s 150K .......... .......... .......... .......... .......... 19% 5,53M 0s 200K .......... .......... .......... .......... .......... 23% 92,9M 0s 250K .......... .......... .......... .......... .......... 28% 75,4M 0s 300K .......... .......... .......... .......... .......... 33% 121M 0s 350K .......... .......... .......... .......... .......... 38% 89,8M 0s 400K .......... .......... .......... .......... .......... 42% 5,95M 0s 450K .......... .......... .......... .......... .......... 47% 129M 0s 500K .......... .......... .......... .......... .......... 52% 108M 0s 550K .......... .......... .......... .......... .......... 57% 122M 0s 600K .......... .......... .......... .......... .......... 61% 123M 0s 650K .......... .......... .......... .......... .......... 66% 95,2M 0s 700K .......... .......... .......... .......... .......... 71% 128M 0s 750K .......... .......... .......... .......... .......... 76% 110M 0s 800K .......... .......... .......... .......... .......... 80% 102M 0s 850K .......... .......... .......... .......... .......... 85% 7,46M 0s 900K .......... .......... .......... .......... .......... 90% 128M 0s 950K .......... .......... .......... .......... .......... 95% 115M 0s 1000K .......... .......... .......... .......... .......... 99% 133M 0s 1050K . 100% 2664G=0,06s 2025-07-18 13:54:38 (16,9 MB/s) - «/tmp/849f056c7a6f25206ad41543c3a933b0.jpg» enregistré [1076630/1076630] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9089726063942681222asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9089726063942681222asTemporaryFile : 1086617 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b.jpg -O /tmp/8769f7b50349da3b714393cf48093d4b.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b-small.jpg type_mfp mfpopt2025 size_object of file /tmp/8769f7b50349da3b714393cf48093d4b-big.jpg : 65124 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8769f7b50349da3b714393cf48093d4b-medium.jpg : 14988 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8769f7b50349da3b714393cf48093d4b-small.jpg : 3987 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.395127 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b.jpg", "TemporaryFile(/tmp/multipartBody9089726063942681222asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b-big.jpg", "TemporaryFile(/tmp/multipartBody9089726063942681222asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b-medium.jpg", "TemporaryFile(/tmp/multipartBody9089726063942681222asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8769f7b50349da3b714393cf48093d4b-small.jpg", "TemporaryFile(/tmp/multipartBody9089726063942681222asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518851 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518851" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1516770726718889244asTemporaryFile -n cf0dfc00b0070777ed2ae985ae6f1c2f --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_47_10228.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1516770726718889244asTemporaryFile -n cf0dfc00b0070777ed2ae985ae6f1c2f --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3021423971699664127asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3021423971699664127asTemporaryFile : 1076630 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0.jpg -O /tmp/849f056c7a6f25206ad41543c3a933b0.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0-small.jpg type_mfp mfpopt2025 size_object of file /tmp/849f056c7a6f25206ad41543c3a933b0-big.jpg : 64906 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/849f056c7a6f25206ad41543c3a933b0-medium.jpg : 14973 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/849f056c7a6f25206ad41543c3a933b0-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.206059 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 153 Before photo_uploader , duration 10 : 108.After photo_uploader , duration 11 : 4281 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 4225 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 153 Before photo_uploader , duration 10 : 108.After photo_uploader , duration 11 : 4281 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 4225 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0.jpg", "TemporaryFile(/tmp/multipartBody3021423971699664127asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0-big.jpg", "TemporaryFile(/tmp/multipartBody3021423971699664127asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0-medium.jpg", "TemporaryFile(/tmp/multipartBody3021423971699664127asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/849f056c7a6f25206ad41543c3a933b0-small.jpg", "TemporaryFile(/tmp/multipartBody3021423971699664127asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 153 Before photo_uploader , duration 10 : 108.After photo_uploader , duration 11 : 4281 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 4225 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518852 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518852" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(24230041) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631670, 1372631679, 1372631681, 1372631683) 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (24230041, 1372631679,1372631679, "1" ,0,979, NOW()), (24230041, 1372631670,1372631670, "1" ,0,979, NOW()), (24230041, 1372631681,1372631681, "1" ,0,979, NOW()), (24230041, 1372631683,1372631683, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 153 Before photo_uploader , duration 10 : 108.After photo_uploader , duration 11 : 4281 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 4225 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135After insertPortfolioPhotoId , duration 18 : 315 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:54:42-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1083875 (1,0M) [image/jpeg] Enregistre : «/tmp/cf0dfc00b0070777ed2ae985ae6f1c2f.jpg» 0K .......... .......... .......... .......... .......... 4% 2,39M 0s 50K .......... .......... .......... .......... .......... 9% 4,85M 0s 100K .......... .......... .......... .......... .......... 14% 120M 0s 150K .......... .......... .......... .......... .......... 18% 5,12M 0s 200K .......... .......... .......... .......... .......... 23% 100M 0s 250K .......... .......... .......... .......... .......... 28% 127M 0s 300K .......... .......... .......... .......... .......... 33% 96,1M 0s 350K .......... .......... .......... .......... .......... 37% 5,79M 0s 400K .......... .......... .......... .......... .......... 42% 91,8M 0s 450K .......... .......... .......... .......... .......... 47% 127M 0s 500K .......... .......... .......... .......... .......... 51% 113M 0s 550K .......... .......... .......... .......... .......... 56% 102M 0s 600K .......... .......... .......... .......... .......... 61% 114M 0s 650K .......... .......... .......... .......... .......... 66% 113M 0s 700K .......... .......... .......... .......... .......... 70% 124M 0s 750K .......... .......... .......... .......... .......... 75% 94,6M 0s 800K .......... .......... .......... .......... .......... 80% 7,38M 0s 850K .......... .......... .......... .......... .......... 85% 100M 0s 900K .......... .......... .......... .......... .......... 89% 126M 0s 950K .......... .......... .......... .......... .......... 94% 115M 0s 1000K .......... .......... .......... .......... .......... 99% 130M 0s 1050K ........ 100% 173M=0,06s 2025-07-18 13:54:42 (16,6 MB/s) - «/tmp/cf0dfc00b0070777ed2ae985ae6f1c2f.jpg» enregistré [1083875/1083875] token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_26_26_39600.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@14fb2b8e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_27_05_39586.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@79efbcc6 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_27_46_40588.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@47d1cb0f basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_28_25_39595.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3e56c29c basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_29_06_40591.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@733c3983 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_29_45_39568.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@77b1a2ae basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3961875706986510246asTemporaryFile -n d10b98eee7f562bb077c12deb7902f3d --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_26_26_39600.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3961875706986510246asTemporaryFile -n d10b98eee7f562bb077c12deb7902f3d --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4705 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 191 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 4090 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 153 Before photo_uploader , duration 10 : 108.After photo_uploader , duration 11 : 4281 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 4225 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 135After insertPortfolioPhotoId , duration 18 : 315 About to finish After with svm , duration 19 : 2900 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3189040 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1516770726718889244asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1516770726718889244asTemporaryFile : 1083875 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f.jpg -O /tmp/cf0dfc00b0070777ed2ae985ae6f1c2f.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f-small.jpg type_mfp mfpopt2025 size_object of file /tmp/cf0dfc00b0070777ed2ae985ae6f1c2f-big.jpg : 64971 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/cf0dfc00b0070777ed2ae985ae6f1c2f-medium.jpg : 14976 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/cf0dfc00b0070777ed2ae985ae6f1c2f-small.jpg : 3982 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.437338 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f.jpg", "TemporaryFile(/tmp/multipartBody1516770726718889244asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f-big.jpg", "TemporaryFile(/tmp/multipartBody1516770726718889244asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f-medium.jpg", "TemporaryFile(/tmp/multipartBody1516770726718889244asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/cf0dfc00b0070777ed2ae985ae6f1c2f-small.jpg", "TemporaryFile(/tmp/multipartBody1516770726718889244asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518853 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518853" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 --2025-07-18 13:54:44-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8413256365011891494asTemporaryFile -n aa28654c62852118e1f2a0dc59b63a34 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_37_10217.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8413256365011891494asTemporaryFile -n aa28654c62852118e1f2a0dc59b63a34 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 241005 (235K) [image/jpeg] Enregistre : «/tmp/d10b98eee7f562bb077c12deb7902f3d.jpg» 0K .......... .......... .......... .......... .......... 21% 2,39M 0s 50K .......... .......... .......... .......... .......... 42% 4,90M 0s 100K .......... .......... .......... .......... .......... 63% 5,28M 0s 150K .......... .......... .......... .......... .......... 84% 36,0M 0s 200K .......... .......... .......... ..... 100% 101M=0,04s 2025-07-18 13:54:44 (5,56 MB/s) - «/tmp/d10b98eee7f562bb077c12deb7902f3d.jpg» enregistré [241005/241005] --2025-07-18 13:54:46-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1076630 (1,0M) [image/jpeg] Enregistre : «/tmp/aa28654c62852118e1f2a0dc59b63a34.jpg» 0K .......... .......... .......... .......... .......... 4% 2,38M 0s 50K .......... .......... .......... .......... .......... 9% 4,87M 0s 100K .......... .......... .......... .......... .......... 14% 130M 0s 150K .......... .......... .......... .......... .......... 19% 5,13M 0s 200K .......... .......... .......... .......... .......... 23% 103M 0s 250K .......... .......... .......... .......... .......... 28% 122M 0s 300K .......... .......... .......... .......... .......... 33% 130M 0s 350K .......... .......... .......... .......... .......... 38% 5,62M 0s 400K .......... .......... .......... .......... .......... 42% 122M 0s 450K .......... .......... .......... .......... .......... 47% 115M 0s 500K .......... .......... .......... .......... .......... 52% 107M 0s 550K .......... .......... .......... .......... .......... 57% 116M 0s 600K .......... .......... .......... .......... .......... 61% 90,8M 0s 650K .......... .......... .......... .......... .......... 66% 179M 0s 700K .......... .......... .......... .......... .......... 71% 97,7M 0s 750K .......... .......... .......... .......... .......... 76% 119M 0s 800K .......... .......... .......... .......... .......... 80% 6,96M 0s 850K .......... .......... .......... .......... .......... 85% 142M 0s 900K .......... .......... .......... .......... .......... 90% 113M 0s 950K .......... .......... .......... .......... .......... 95% 90,6M 0s 1000K .......... .......... .......... .......... .......... 99% 134M 0s 1050K . 100% 2664G=0,06s 2025-07-18 13:54:46 (16,4 MB/s) - «/tmp/aa28654c62852118e1f2a0dc59b63a34.jpg» enregistré [1076630/1076630] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3189040 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3189040 [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.flushPendingEncryptedWrites(SslHandler.java:1108) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1047) ~[io.netty.netty-3.7.1.Final.jar:na] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3961875706986510246asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3961875706986510246asTemporaryFile : 241005 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d.jpg -O /tmp/d10b98eee7f562bb077c12deb7902f3d.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d10b98eee7f562bb077c12deb7902f3d-big.jpg : 100610 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d10b98eee7f562bb077c12deb7902f3d-medium.jpg : 23305 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d10b98eee7f562bb077c12deb7902f3d-small.jpg : 6258 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.353123 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d.jpg", "TemporaryFile(/tmp/multipartBody3961875706986510246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d-big.jpg", "TemporaryFile(/tmp/multipartBody3961875706986510246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d-medium.jpg", "TemporaryFile(/tmp/multipartBody3961875706986510246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d10b98eee7f562bb077c12deb7902f3d-small.jpg", "TemporaryFile(/tmp/multipartBody3961875706986510246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518854 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518854" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6854741535095552375asTemporaryFile -n 77591b7ffcb3705846b78a9e7723e770 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_27_05_39586.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6854741535095552375asTemporaryFile -n 77591b7ffcb3705846b78a9e7723e770 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8413256365011891494asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8413256365011891494asTemporaryFile : 1076630 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34.jpg -O /tmp/aa28654c62852118e1f2a0dc59b63a34.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34-small.jpg type_mfp mfpopt2025 size_object of file /tmp/aa28654c62852118e1f2a0dc59b63a34-big.jpg : 64906 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/aa28654c62852118e1f2a0dc59b63a34-medium.jpg : 14973 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/aa28654c62852118e1f2a0dc59b63a34-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.910368 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34.jpg", "TemporaryFile(/tmp/multipartBody8413256365011891494asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') token_used : Some(e243aac39fb012c084cfefeb2a6a3641) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34-big.jpg", "TemporaryFile(/tmp/multipartBody8413256365011891494asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34-medium.jpg", "TemporaryFile(/tmp/multipartBody8413256365011891494asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_53_44_9585.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3a5014cd basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_53_35_9585.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2254d8a0 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_53_25_10597.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@8de875 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_53_15_9651.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7920ce8 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_53_05_10614.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3d5e86ab basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_52_54_9589.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@394bc878 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa28654c62852118e1f2a0dc59b63a34-small.jpg", "TemporaryFile(/tmp/multipartBody8413256365011891494asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 latitude : 0.0 longitude : 0.0 [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7089404498723856372asTemporaryFile -n 072dd7a9f69742ea8d7e55e7454890e8 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_53_44_9585.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7089404498723856372asTemporaryFile -n 072dd7a9f69742ea8d7e55e7454890e8 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.models.Photo - source_id_submit_photo from insertion : 379518861 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518861" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6446760190727242105asTemporaryFile -n f1865f6bea9c485d8a956826d34d8823 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_27_10235.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6446760190727242105asTemporaryFile -n f1865f6bea9c485d8a956826d34d8823 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:49-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 235965 (230K) [image/jpeg] Enregistre : «/tmp/77591b7ffcb3705846b78a9e7723e770.jpg» 0K .......... .......... .......... .......... .......... 21% 2,47M 0s 50K .......... .......... .......... .......... .......... 43% 4,93M 0s 100K .......... .......... .......... .......... .......... 65% 111M 0s 150K .......... .......... .......... .......... .......... 86% 93,5M 0s 200K .......... .......... .......... 100% 3,25M=0,04s 2025-07-18 13:54:49 (5,66 MB/s) - «/tmp/77591b7ffcb3705846b78a9e7723e770.jpg» enregistré [235965/235965] --2025-07-18 13:54:50-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 108588 (106K) [image/jpeg] Enregistre : «/tmp/072dd7a9f69742ea8d7e55e7454890e8.jpg» 0K .......... .......... .......... .......... .......... 47% 2,46M 0s 50K .......... .......... .......... .......... .......... 94% 4,89M 0s 100K ...... 100% 80,1M=0,03s 2025-07-18 13:54:50 (3,46 MB/s) - «/tmp/072dd7a9f69742ea8d7e55e7454890e8.jpg» enregistré [108588/108588] --2025-07-18 13:54:50-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1067153 (1,0M) [image/jpeg] Enregistre : «/tmp/f1865f6bea9c485d8a956826d34d8823.jpg» 0K .......... .......... .......... .......... .......... 4% 4,86M 0s 50K .......... .......... .......... .......... .......... 9% 4,86M 0s 100K .......... .......... .......... .......... .......... 14% 105M 0s 150K .......... .......... .......... .......... .......... 19% 5,07M 0s 200K .......... .......... .......... .......... .......... 23% 114M 0s 250K .......... .......... .......... .......... .......... 28% 114M 0s 300K .......... .......... .......... .......... .......... 33% 107M 0s 350K .......... .......... .......... .......... .......... 38% 5,67M 0s 400K .......... .......... .......... .......... .......... 43% 99,9M 0s 450K .......... .......... .......... .......... .......... 47% 110M 0s 500K .......... .......... .......... .......... .......... 52% 103M 0s 550K .......... .......... .......... .......... .......... 57% 116M 0s 600K .......... .......... .......... .......... .......... 62% 115M 0s 650K .......... .......... .......... .......... .......... 67% 112M 0s 700K .......... .......... .......... .......... .......... 71% 6,86M 0s 750K .......... .......... .......... .......... .......... 76% 123M 0s 800K .......... .......... .......... .......... .......... 81% 93,4M 0s 850K .......... .......... .......... .......... .......... 86% 125M 0s 900K .......... .......... .......... .......... .......... 91% 128M 0s 950K .......... .......... .......... .......... .......... 95% 112M 0s 1000K .......... .......... .......... .......... .. 100% 80,8M=0,05s 2025-07-18 13:54:51 (19,4 MB/s) - «/tmp/f1865f6bea9c485d8a956826d34d8823.jpg» enregistré [1067153/1067153] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6854741535095552375asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6854741535095552375asTemporaryFile : 235965 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770.jpg -O /tmp/77591b7ffcb3705846b78a9e7723e770.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770-small.jpg type_mfp mfpopt2025 size_object of file /tmp/77591b7ffcb3705846b78a9e7723e770-big.jpg : 98045 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/77591b7ffcb3705846b78a9e7723e770-medium.jpg : 22843 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/77591b7ffcb3705846b78a9e7723e770-small.jpg : 6175 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.654705 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770.jpg", "TemporaryFile(/tmp/multipartBody6854741535095552375asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770-big.jpg", "TemporaryFile(/tmp/multipartBody6854741535095552375asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770-medium.jpg", "TemporaryFile(/tmp/multipartBody6854741535095552375asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/77591b7ffcb3705846b78a9e7723e770-small.jpg", "TemporaryFile(/tmp/multipartBody6854741535095552375asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518862 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518862" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9214648195060231509asTemporaryFile -n c7e7a44bf5cb60cfa2260f3b7ad49540 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_27_46_40588.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9214648195060231509asTemporaryFile -n c7e7a44bf5cb60cfa2260f3b7ad49540 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6446760190727242105asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6446760190727242105asTemporaryFile : 1067153 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823.jpg -O /tmp/f1865f6bea9c485d8a956826d34d8823.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f1865f6bea9c485d8a956826d34d8823-big.jpg : 64672 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f1865f6bea9c485d8a956826d34d8823-medium.jpg : 14945 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f1865f6bea9c485d8a956826d34d8823-small.jpg : 3986 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.039393 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4074 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4074 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823.jpg", "TemporaryFile(/tmp/multipartBody6446760190727242105asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7089404498723856372asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7089404498723856372asTemporaryFile : 108588 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8.jpg -O /tmp/072dd7a9f69742ea8d7e55e7454890e8.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8-small.jpg type_mfp mfpopt2025 size_object of file /tmp/072dd7a9f69742ea8d7e55e7454890e8-big.jpg : 21064 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/072dd7a9f69742ea8d7e55e7454890e8-medium.jpg : 7514 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/072dd7a9f69742ea8d7e55e7454890e8-small.jpg : 2857 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.135031 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8.jpg", "TemporaryFile(/tmp/multipartBody7089404498723856372asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823-big.jpg", "TemporaryFile(/tmp/multipartBody6446760190727242105asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8-big.jpg", "TemporaryFile(/tmp/multipartBody7089404498723856372asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823-medium.jpg", "TemporaryFile(/tmp/multipartBody6446760190727242105asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8-medium.jpg", "TemporaryFile(/tmp/multipartBody7089404498723856372asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f1865f6bea9c485d8a956826d34d8823-small.jpg", "TemporaryFile(/tmp/multipartBody6446760190727242105asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/072dd7a9f69742ea8d7e55e7454890e8-small.jpg", "TemporaryFile(/tmp/multipartBody7089404498723856372asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4074 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 144 latitude : 0.0 longitude : 0.0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518863 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518863" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518864 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518864" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1573796013666669220asTemporaryFile -n f2dfdb9446ca24350bde9e3c407428b9 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_17_10196.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1573796013666669220asTemporaryFile -n f2dfdb9446ca24350bde9e3c407428b9 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7849825889574039472asTemporaryFile -n 740796e2a50cdcdfd9f107135e2eafea --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_53_35_9585.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7849825889574039472asTemporaryFile -n 740796e2a50cdcdfd9f107135e2eafea --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:54:53-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 237796 (232K) [image/jpeg] Enregistre : «/tmp/c7e7a44bf5cb60cfa2260f3b7ad49540.jpg» 0K .......... .......... .......... .......... .......... 21% 2,48M 0s 50K .......... .......... .......... .......... .......... 43% 4,88M 0s 100K .......... .......... .......... .......... .......... 64% 103M 0s 150K .......... .......... .......... .......... .......... 86% 5,10M 0s 200K .......... .......... .......... .. 100% 128M=0,04s 2025-07-18 13:54:53 (5,67 MB/s) - «/tmp/c7e7a44bf5cb60cfa2260f3b7ad49540.jpg» enregistré [237796/237796] --2025-07-18 13:54:54-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1068916 (1,0M) [image/jpeg] Enregistre : «/tmp/f2dfdb9446ca24350bde9e3c407428b9.jpg» 0K .......... .......... .......... .......... .......... 4% 4,78M 0s 50K .......... .......... .......... .......... .......... 9% 4,86M 0s 100K .......... .......... .......... .......... .......... 14% 108M 0s 150K .......... .......... .......... .......... .......... 19% 5,11M 0s 200K .......... .......... .......... .......... .......... 23% 119M 0s 250K .......... .......... .......... .......... .......... 28% 104M 0s 300K .......... .......... .......... .......... .......... 33% 110M 0s 350K .......... .......... .......... .......... .......... 38% 5,61M 0s 400K .......... .......... .......... .......... .......... 43% 104M 0s 450K .......... .......... .......... .......... .......... 47% 117M 0s 500K .......... .......... .......... .......... .......... 52% 91,7M 0s 550K .......... .......... .......... .......... .......... 57% 113M 0s 600K .......... .......... .......... .......... .......... 62% 107M 0s 650K .......... .......... .......... .......... .......... 67% 115M 0s 700K .......... .......... .......... .......... .......... 71% 123M 0s 750K .......... .......... .......... .......... .......... 76% 7,03M 0s 800K .......... .......... .......... .......... .......... 81% 76,1M 0s 850K .......... .......... .......... .......... .......... 86% 110M 0s 900K .......... .......... .......... .....--2025-07-18 13:54:55-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea.jpg ..... .......... 91% 107M 0s 950K .......... .......... .......... .......... .......... 95% 93,7M 0s 1000K .......... .......... .......... .......... ... 100% 114M=0,05s 2025-07-18 13:54:55 (19,3 MB/s) - «/tmp/f2dfdb9446ca24350bde9e3c407428b9.jpg» enregistré [1068916/1068916] Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 96054 (94K) [image/jpeg] Enregistre : «/tmp/740796e2a50cdcdfd9f107135e2eafea.jpg» 0K .......... .......... .......... .......... .......... 53% 4,88M 0s 50K .......... .......... .......... .......... ... 100% 4,27M=0,02s 2025-07-18 13:54:55 (4,57 MB/s) - «/tmp/740796e2a50cdcdfd9f107135e2eafea.jpg» enregistré [96054/96054] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9214648195060231509asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9214648195060231509asTemporaryFile : 237796 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540.jpg -O /tmp/c7e7a44bf5cb60cfa2260f3b7ad49540.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c7e7a44bf5cb60cfa2260f3b7ad49540-big.jpg : 98808 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c7e7a44bf5cb60cfa2260f3b7ad49540-medium.jpg : 22857 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c7e7a44bf5cb60cfa2260f3b7ad49540-small.jpg : 6175 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.702724 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540.jpg", "TemporaryFile(/tmp/multipartBody9214648195060231509asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540-big.jpg", "TemporaryFile(/tmp/multipartBody9214648195060231509asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540-medium.jpg", "TemporaryFile(/tmp/multipartBody9214648195060231509asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c7e7a44bf5cb60cfa2260f3b7ad49540-small.jpg", "TemporaryFile(/tmp/multipartBody9214648195060231509asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518865 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518865" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4189404165427098664asTemporaryFile -n 61fbfdfead20c06397e46ba48f79c21d --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_28_25_39595.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4189404165427098664asTemporaryFile -n 61fbfdfead20c06397e46ba48f79c21d --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7849825889574039472asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7849825889574039472asTemporaryFile : 96054 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea.jpg -O /tmp/740796e2a50cdcdfd9f107135e2eafea.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea-small.jpg type_mfp mfpopt2025 size_object of file /tmp/740796e2a50cdcdfd9f107135e2eafea-big.jpg : 19348 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/740796e2a50cdcdfd9f107135e2eafea-medium.jpg : 6976 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/740796e2a50cdcdfd9f107135e2eafea-small.jpg : 2699 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.764926 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea.jpg", "TemporaryFile(/tmp/multipartBody7849825889574039472asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea-big.jpg", "TemporaryFile(/tmp/multipartBody7849825889574039472asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea-medium.jpg", "TemporaryFile(/tmp/multipartBody7849825889574039472asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/740796e2a50cdcdfd9f107135e2eafea-small.jpg", "TemporaryFile(/tmp/multipartBody7849825889574039472asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518866 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518866" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 --2025-07-18 13:54:57-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1088072903758009999asTemporaryFile -n d8463f51825f0a66999d36433f473f53 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_53_25_10597.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1088072903758009999asTemporaryFile -n d8463f51825f0a66999d36433f473f53 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! requête HTTP transmise, en attente de la réponse… 200 OK Taille : 247945 (242K) [image/jpeg] Enregistre : «/tmp/61fbfdfead20c06397e46ba48f79c21d.jpg» 0K .......... .......... .......... .......... .......... 20% 2,46M 0s 50K .......... .......... .......... .......... .......... 41% 4,90M 0s 100K .......... .......... .......... .......... .......... 61% 116M 0s 150K .......... .......... .......... .......... .......... 82% 5,08M 0s 200K .......... .......... .......... .......... .. 100% 126M=0,04s 2025-07-18 13:54:57 (5,88 MB/s) - «/tmp/61fbfdfead20c06397e46ba48f79c21d.jpg» enregistré [247945/247945] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1573796013666669220asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1573796013666669220asTemporaryFile : 1068916 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9.jpg -O /tmp/f2dfdb9446ca24350bde9e3c407428b9.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f2dfdb9446ca24350bde9e3c407428b9-big.jpg : 64663 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f2dfdb9446ca24350bde9e3c407428b9-medium.jpg : 14940 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f2dfdb9446ca24350bde9e3c407428b9-small.jpg : 3992 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.240165 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4074 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 144 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 4250 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4074 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 144 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 4250 Before insertPortfolioPhotoId , duration 24 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9.jpg", "TemporaryFile(/tmp/multipartBody1573796013666669220asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9-big.jpg", "TemporaryFile(/tmp/multipartBody1573796013666669220asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9-medium.jpg", "TemporaryFile(/tmp/multipartBody1573796013666669220asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2dfdb9446ca24350bde9e3c407428b9-small.jpg", "TemporaryFile(/tmp/multipartBody1573796013666669220asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4074 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 144 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 4250 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518867 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518867" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(24230041) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631680, 1372631682, 1372631684, 1372631692, 1372631694, 1372631698) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (24230041, 1372631684,1372631684, "1" ,0,979, NOW()), (24230041, 1372631698,1372631698, "1" ,0,979, NOW()), (24230041, 1372631692,1372631692, "1" ,0,979, NOW()), (24230041, 1372631680,1372631680, "1" ,0,979, NOW()), (24230041, 1372631694,1372631694, "1" ,0,979, NOW()), (24230041, 1372631682,1372631682, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4074 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 144 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 4250 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 136After insertPortfolioPhotoId , duration 26 : 362 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:54:59-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 97002 (95K) [image/jpeg] Enregistre : «/tmp/d8463f51825f0a66999d36433f473f53.jpg» 0K .......... .......... .......... .......... .......... 52% 2,39M 0s 50K .......... .......... .......... .......... .... 100% 4,42M=0,03s 2025-07-18 13:54:59 (3,05 MB/s) - «/tmp/d8463f51825f0a66999d36433f473f53.jpg» enregistré [97002/97002] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4189404165427098664asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4189404165427098664asTemporaryFile : 247945 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d.jpg -O /tmp/61fbfdfead20c06397e46ba48f79c21d.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d-small.jpg type_mfp mfpopt2025 size_object of file /tmp/61fbfdfead20c06397e46ba48f79c21d-big.jpg : 102242 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/61fbfdfead20c06397e46ba48f79c21d-medium.jpg : 23831 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/61fbfdfead20c06397e46ba48f79c21d-small.jpg : 6404 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.672109 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d.jpg", "TemporaryFile(/tmp/multipartBody4189404165427098664asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d-big.jpg", "TemporaryFile(/tmp/multipartBody4189404165427098664asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d-medium.jpg", "TemporaryFile(/tmp/multipartBody4189404165427098664asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/61fbfdfead20c06397e46ba48f79c21d-small.jpg", "TemporaryFile(/tmp/multipartBody4189404165427098664asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518868 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518868" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1846351109360959583asTemporaryFile -n 04032bd1022aef1ab8116c19a249c84d --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_29_06_40591.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1846351109360959583asTemporaryFile -n 04032bd1022aef1ab8116c19a249c84d --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4319 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 4385 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 4450 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 165 Before photo_uploader , duration 14 : 111.After photo_uploader , duration 15 : 3900 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4074 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 144 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 4250 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 136After insertPortfolioPhotoId , duration 26 : 362 About to finish After with svm , duration 27 : 3033 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3189040 --2025-07-18 13:55:01-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) 200 OK Taille : 257744 (252K) [image/jpeg] Enregistre : «/tmp/04032bd1022aef1ab8116c19a249c84d.jpg» 0K .......... .......... .......... .......... .......... 19% 2,38M 0s 50K .......... .......... .......... .......... .......... 39% 4,90M 0s 100K .......... .......... .......... .......... .......... 59% 4,80M 0s 150K .......... .......... .......... .......... .......... 79% 89,0M 0s 200K .......... .......... .......... .......... .......... 99% 5,19M 0s 250K . 100% 23,1M=0,05s 2025-07-18 13:55:01 (4,85 MB/s) - «/tmp/04032bd1022aef1ab8116c19a249c84d.jpg» enregistré [257744/257744] res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1088072903758009999asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1088072903758009999asTemporaryFile : 97002 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53.jpg -O /tmp/d8463f51825f0a66999d36433f473f53.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d8463f51825f0a66999d36433f473f53-big.jpg : 19845 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d8463f51825f0a66999d36433f473f53-medium.jpg : 7214 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d8463f51825f0a66999d36433f473f53-small.jpg : 2790 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.029928 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53.jpg", "TemporaryFile(/tmp/multipartBody1088072903758009999asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53-big.jpg", "TemporaryFile(/tmp/multipartBody1088072903758009999asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53-medium.jpg", "TemporaryFile(/tmp/multipartBody1088072903758009999asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8463f51825f0a66999d36433f473f53-small.jpg", "TemporaryFile(/tmp/multipartBody1088072903758009999asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518869 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518869" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8142520328090865347asTemporaryFile -n c90a76b62bf29058fa0436b0f6cb3427 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_53_15_9651.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8142520328090865347asTemporaryFile -n c90a76b62bf29058fa0436b0f6cb3427 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:55:03-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1846351109360959583asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1846351109360959583asTemporaryFile : 257744 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d.jpg -O /tmp/04032bd1022aef1ab8116c19a249c84d.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d-small.jpg type_mfp mfpopt2025 size_object of file /tmp/04032bd1022aef1ab8116c19a249c84d-big.jpg : 105262 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/04032bd1022aef1ab8116c19a249c84d-medium.jpg : 24328 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/04032bd1022aef1ab8116c19a249c84d-small.jpg : 6483 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.665034 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3686 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3686 Before insertPortfolioPhotoId , duration 20 : 1 connecté. [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d.jpg", "TemporaryFile(/tmp/multipartBody1846351109360959583asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') requête HTTP transmise, en attente de la réponse… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d-big.jpg", "TemporaryFile(/tmp/multipartBody1846351109360959583asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 200 OK Taille : 99068 (97K) [image/jpeg] Enregistre : «/tmp/c90a76b62bf29058fa0436b0f6cb3427.jpg» 0K .......... .......... .......... .......... .......... 51% 4,75M 0s 50K .......... .........[debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d-medium.jpg", "TemporaryFile(/tmp/multipartBody1846351109360959583asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) . .......... .......... ...... 100% 4,61M=0,02s 2025-07-18 13:55:03 (4,69 MB/s) - «/tmp/c90a76b62bf29058fa0436b0f6cb3427.jpg» enregistré [99068/99068] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/04032bd1022aef1ab8116c19a249c84d-small.jpg", "TemporaryFile(/tmp/multipartBody1846351109360959583asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3686 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 134 latitude : 0.0 longitude : 0.0 token_used : Some(85213b338a7900a79945692114f14db2) [info] a.models.Photo - source_id_submit_photo from insertion : 379518870 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518870" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_54_54_10138.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@20366630 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_54_44_10138.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@9d97f9f basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_54_34_9127.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@70d007ef basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_54_25_10138.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@70a45470 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_54_15_10135.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6330abb2 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_54_05_10143.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@215705cc basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2903384561061341190asTemporaryFile -n 71f59d2aaf7b80fee8d9049764559089 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_29_45_39568.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2903384561061341190asTemporaryFile -n 71f59d2aaf7b80fee8d9049764559089 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050138) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050138) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] list_hashtags : List([nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody402491346111995497asTemporaryFile -n 7023026aa5f81f32d0485cc26d040df5 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_54_54_10138.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody402491346111995497asTemporaryFile -n 7023026aa5f81f32d0485cc26d040df5 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3189040 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3189040 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:55:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5.jpg --2025-07-18 13:55:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. connecté. requête HTTP transmise, en attente de la réponse… requête HTTP transmise, en attente de la réponse… 200 OK Taille : 256890 (251K) [image/jpeg] Enregistre : «/tmp/71f59d2aaf7b80fee8d9049764559089.jpg» 0K .......200 OK Taille : 218933 (214K) [image/jpeg] Enregistre : «/tmp/7023026aa5f81f32d0485cc26d040df5.jpg» ... .......... .......... .. 0K .......... .......... .......... ......... .......... 19% 2,47M 0s 50K .......... .......... ............... .......... 23% 2,40M 0s 50K .......... .......... ............. .......... .......... 39% 4,88M 0s 100K .......... .......... .......... .......... .......... 59% 112M 0s 150K .......... .......... .......... .......... .. res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8142520328090865347asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8142520328090865347asTemporaryFile : 99068 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427.jpg -O /tmp/c90a76b62bf29058fa0436b0f6cb3427.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c90a76b62bf29058fa0436b0f6cb3427-big.jpg : 20198 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c90a76b62bf29058fa0436b0f6cb3427-medium.jpg : 7462 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c90a76b62bf29058fa0436b0f6cb3427-small.jpg : 2907 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.616060 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0 . .......... .......... 46% 4,85M 0s 100K .......... .......... .......... .......... .......... 70% 107M 0s 150K .......... .......... ............. 79% 5,18M 0s 200K .......... .......... .......... .......... .......... 99% 103M 0s 250K 100% 1658G=0,04s 2025-07-18 13:55:05 (6,11 MB/s) - «/tmp/71f59d2aaf7b80fee8d9049764559089.jpg» enregistré [256890/256890] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427.jpg", "TemporaryFile(/tmp/multipartBody8142520328090865347asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') ..... .......... .......... 93% 5,07M 0s 200K .......... ... 100% 180M=0,04s 2025-07-18 13:55:05 (5,15 MB/s) - «/tmp/7023026aa5f81f32d0485cc26d040df5.jpg» enregistré [218933/218933] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427-big.jpg", "TemporaryFile(/tmp/multipartBody8142520328090865347asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427-medium.jpg", "TemporaryFile(/tmp/multipartBody8142520328090865347asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c90a76b62bf29058fa0436b0f6cb3427-small.jpg", "TemporaryFile(/tmp/multipartBody8142520328090865347asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518871 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518871" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6852662616620168007asTemporaryFile -n d41987775eb0470126176ccc1c518d53 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_53_05_10614.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6852662616620168007asTemporaryFile -n d41987775eb0470126176ccc1c518d53 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:55:07-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2903384561061341190asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2903384561061341190asTemporaryFile : 256890 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089.jpg -O /tmp/71f59d2aaf7b80fee8d9049764559089.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089-small.jpg type_mfp mfpopt2025 size_object of file /tmp/71f59d2aaf7b80fee8d9049764559089-big.jpg : 105038 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/71f59d2aaf7b80fee8d9049764559089-medium.jpg : 24301 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/71f59d2aaf7b80fee8d9049764559089-small.jpg : 6502 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.700396 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3686 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3780 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3686 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3780 Before insertPortfolioPhotoId , duration 24 : 0 200 OK Taille : 117692 (115K) [image/jpeg] Enregistre : «/tmp/d41987775eb0470126176ccc1c518d53.jpg» 0K ......./home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089.jpg", "TemporaryFile(/tmp/multipartBody2903384561061341190asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') ... .......... .......... .......... .......... 43% 2,44M 0s 50K .......... .......... .......... .......... .......... 87% 4,84M 0s 100K .......... .... 100% 81,8M=0,03s 2025-07-18 13:55:07 (3,71 MB/s) - «/tmp/d41987775eb0470126176ccc1c518d53.jpg» enregistré [117692/117692] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089-big.jpg", "TemporaryFile(/tmp/multipartBody2903384561061341190asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089-medium.jpg", "TemporaryFile(/tmp/multipartBody2903384561061341190asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71f59d2aaf7b80fee8d9049764559089-small.jpg", "TemporaryFile(/tmp/multipartBody2903384561061341190asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody402491346111995497asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody402491346111995497asTemporaryFile : 218933 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5.jpg -O /tmp/7023026aa5f81f32d0485cc26d040df5.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5-small.jpg type_mfp mfpopt2025 size_object of file /tmp/7023026aa5f81f32d0485cc26d040df5-big.jpg : 56206 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7023026aa5f81f32d0485cc26d040df5-medium.jpg : 16737 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7023026aa5f81f32d0485cc26d040df5-small.jpg : 5556 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.791784 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3686 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3780 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 135 latitude : 0.0 longitude : 0.0 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5.jpg", "TemporaryFile(/tmp/multipartBody402491346111995497asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [info] a.models.Photo - source_id_submit_photo from insertion : 379518872 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518872" [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5-big.jpg", "TemporaryFile(/tmp/multipartBody402491346111995497asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5-medium.jpg", "TemporaryFile(/tmp/multipartBody402491346111995497asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) mtr_portfolio_id : Some(25057218) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631685, 1372631693, 1372631696, 1372631699, 1372631701, 1372631703) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7023026aa5f81f32d0485cc26d040df5-small.jpg", "TemporaryFile(/tmp/multipartBody402491346111995497asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 latitude : 0.0 longitude : 0.0 0 0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518873 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518873" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 0 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9168896731610634206asTemporaryFile -n d00df66a79cfaa2ee2bbe33f78920bc4 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_54_44_10138.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9168896731610634206asTemporaryFile -n d00df66a79cfaa2ee2bbe33f78920bc4 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631685,1372631685, "1" ,0,991, NOW()), (25057218, 1372631699,1372631699, "1" ,0,991, NOW()), (25057218, 1372631703,1372631703, "1" ,0,991, NOW()), (25057218, 1372631693,1372631693, "1" ,0,991, NOW()), (25057218, 1372631696,1372631696, "1" ,0,991, NOW()), (25057218, 1372631701,1372631701, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3686 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3780 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 135After insertPortfolioPhotoId , duration 26 : 386 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:55:09-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 254397 (248K) [image/jpeg] Enregistre : «/tmp/d00df66a79cfaa2ee2bbe33f78920bc4.jpg» 0K .......... .......... .......... .......... .......... 20% 2,43M 0s 50K .......... .......... .......... .......... .......... 40% 4,88M 0s 100K .......... .......... .......... .......... .......... 60% 114M 0s 150K .......... .......... .......... .......... .......... 80% 5,13M 0s 200K .......... .......... .......... .......... ........ 100% 115M=0,04s 2025-07-18 13:55:09 (6,00 MB/s) - «/tmp/d00df66a79cfaa2ee2bbe33f78920bc4.jpg» enregistré [254397/254397] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6852662616620168007asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6852662616620168007asTemporaryFile : 117692 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53.jpg -O /tmp/d41987775eb0470126176ccc1c518d53.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d41987775eb0470126176ccc1c518d53-big.jpg : 23463 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d41987775eb0470126176ccc1c518d53-medium.jpg : 8586 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d41987775eb0470126176ccc1c518d53-small.jpg : 3214 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.052324 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4077 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4077 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53.jpg", "TemporaryFile(/tmp/multipartBody6852662616620168007asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53-big.jpg", "TemporaryFile(/tmp/multipartBody6852662616620168007asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53-medium.jpg", "TemporaryFile(/tmp/multipartBody6852662616620168007asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d41987775eb0470126176ccc1c518d53-small.jpg", "TemporaryFile(/tmp/multipartBody6852662616620168007asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4077 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518880 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518880" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3303584261411577081asTemporaryFile -n 2ded82b1bc452f44e394b61b46ff981b --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_52_54_9589.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3303584261411577081asTemporaryFile -n 2ded82b1bc452f44e394b61b46ff981b --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4362 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 143 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3669 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 114.After photo_uploader , duration 11 : 3712 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3686 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3686 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3780 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 135After insertPortfolioPhotoId , duration 26 : 386 About to finish After with svm , duration 27 : 2752 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:55:11-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9168896731610634206asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9168896731610634206asTemporaryFile : 254397 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4.jpg -O /tmp/d00df66a79cfaa2ee2bbe33f78920bc4.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d00df66a79cfaa2ee2bbe33f78920bc4-big.jpg : 64432 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d00df66a79cfaa2ee2bbe33f78920bc4-medium.jpg : 18534 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d00df66a79cfaa2ee2bbe33f78920bc4-small.jpg : 5919 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.766083 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4.jpg", "TemporaryFile(/tmp/multipartBody9168896731610634206asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') 200 OK Taille : 110290 (108K) [image/jpeg] Enregistre : «/tmp/2ded82b1bc452f44e394b61b46ff981b.jpg» 0K .......... .......... .......... .......... .......... 46% 4,87M 0s 50K .......... .......... ......[debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4-big.jpg", "TemporaryFile(/tmp/multipartBody9168896731610634206asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) .... .......... .......... 92% 4,90M 0s 100K ....... 100% 132M=0,02s 2025-07-18 13:55:11 (5,25 MB/s) - «/tmp/2ded82b1bc452f44e394b61b46ff981b.jpg» enregistré [110290/110290] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4-medium.jpg", "TemporaryFile(/tmp/multipartBody9168896731610634206asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d00df66a79cfaa2ee2bbe33f78920bc4-small.jpg", "TemporaryFile(/tmp/multipartBody9168896731610634206asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518881 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518881" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1035430207610977853asTemporaryFile -n 83e1e211f7eda6deb1600f884a36d916 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_54_34_9127.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1035430207610977853asTemporaryFile -n 83e1e211f7eda6deb1600f884a36d916 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:13-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 200 OK Taille : 254567 (249K) [image/jpeg] Enregistre : «/tmp/83e1e211f7eda6deb1600f884a36d916.jpg» 0K .......... .......... .......... .......... .......... 20% 4,88M 0s 50K .......... .......... .......... .......... .......... 40% 4,81M 0s 100K .......... .......... .......... .......... .......... 60% 130M 0s 150K .......... .......... .......... .......... .......... 80% 5,09M 0s 200K .......... .......... .......... .......... ........ 100% 134M=0,03s 2025-07-18 13:55:13 (7,96 MB/s) - «/tmp/83e1e211f7eda6deb1600f884a36d916.jpg» enregistré [254567/254567] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3303584261411577081asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3303584261411577081asTemporaryFile : 110290 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b.jpg -O /tmp/2ded82b1bc452f44e394b61b46ff981b.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b-small.jpg type_mfp mfpopt2025 size_object of file /tmp/2ded82b1bc452f44e394b61b46ff981b-big.jpg : 23394 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2ded82b1bc452f44e394b61b46ff981b-medium.jpg : 8313 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2ded82b1bc452f44e394b61b46ff981b-small.jpg : 3117 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.905451 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4077 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3923 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4077 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3923 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b.jpg", "TemporaryFile(/tmp/multipartBody3303584261411577081asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b-big.jpg", "TemporaryFile(/tmp/multipartBody3303584261411577081asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b-medium.jpg", "TemporaryFile(/tmp/multipartBody3303584261411577081asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2ded82b1bc452f44e394b61b46ff981b-small.jpg", "TemporaryFile(/tmp/multipartBody3303584261411577081asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4077 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3923 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518882 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518882" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050173) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631695, 1372631697, 1372631700, 1372631702, 1372631711, 1372631713) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050173, 1372631700,1372631700, "1" ,0,1042, NOW()), (25050173, 1372631702,1372631702, "1" ,0,1042, NOW()), (25050173, 1372631711,1372631711, "1" ,0,1042, NOW()), (25050173, 1372631695,1372631695, "1" ,0,1042, NOW()), (25050173, 1372631713,1372631713, "1" ,0,1042, NOW()), (25050173, 1372631697,1372631697, "1" ,0,1042, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4077 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3923 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 138After insertPortfolioPhotoId , duration 26 : 364 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [info] a.c.Portfolio - fromPostToArgLong could have a better implemtation user_id [info] a.c.Portfolio - fromPostToArgLong could have a better implemtation port [info] a.c.Portfolio - fromPostToArgString could have a better implemtation hostname [info] a.c.Portfolio - fromPostToArgString could have a better implemtation basename [info] a.c.Portfolio - fromPostToArgString could have a better implemtation basefolder [info] a.c.Portfolio - fromPostToArgLong could have a better implemtation pause [info] a.c.Portfolio - fromPostToArgString could have a better implemtation nbr_photo_prise [info] a.c.Portfolio - fromPostToArgString could have a better implemtation res_df_h [info] a.c.Portfolio - fromPostToArgString could have a better implemtation lsblk [info] a.c.Portfolio - fromPostToArgString could have a better implemtation version [info] a.c.Portfolio - fromPostToArgString could have a better implemtation token [info] a.c.Portfolio - fromPostToArgString could have a better implemtation operator_ip [info] a.c.Portfolio - fromPostToArgString could have a better implemtation measure_temp [info] a.c.Portfolio - fromPostToArgString could have a better implemtation uptime [info] a.c.Portfolio - fromPostToArgString could have a better implemtation uptime_day /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1035430207610977853asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1035430207610977853asTemporaryFile : 254567 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916.jpg -O /tmp/83e1e211f7eda6deb1600f884a36d916.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916-small.jpg type_mfp mfpopt2025 size_object of file /tmp/83e1e211f7eda6deb1600f884a36d916-big.jpg : 64551 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/83e1e211f7eda6deb1600f884a36d916-medium.jpg : 18464 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/83e1e211f7eda6deb1600f884a36d916-small.jpg : 5942 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.531225 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916.jpg", "TemporaryFile(/tmp/multipartBody1035430207610977853asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916-big.jpg", "TemporaryFile(/tmp/multipartBody1035430207610977853asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916-medium.jpg", "TemporaryFile(/tmp/multipartBody1035430207610977853asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/83e1e211f7eda6deb1600f884a36d916-small.jpg", "TemporaryFile(/tmp/multipartBody1035430207610977853asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518883 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518883" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5815905373651823072asTemporaryFile -n 85f7b260fd8465675cdc352b5ade88da --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_54_25_10138.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5815905373651823072asTemporaryFile -n 85f7b260fd8465675cdc352b5ade88da --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:17-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 249139 (243K) [image/jpeg] Enregistre : «/tmp/85f7b260fd8465675cdc352b5ade88da.jpg» 0K .......... .......... .......... .[info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4184 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 92.After photo_uploader , duration 7 : 3806 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 92.After photo_uploader , duration 11 : 4072 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3706 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4077 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3923 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 138After insertPortfolioPhotoId , duration 26 : 364 About to finish After with svm , duration 27 : 2921 actions to do : and mtr_user_id : 1042 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true ......... .......... 20% 2,44M 0s 50K .......... .......... .........false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305009 . .......... .......... 41% 4,89M 0s 100K .......... .......... .......... .......... .......... 61% 110M 0s 150K .......... .......... .......... .......... .......... 82% 5,08M 0s 200K .......... .......... .......... .......... ... 100% 114M=0,04s 2025-07-18 13:55:17 (5,88 MB/s) - «/tmp/85f7b260fd8465675cdc352b5ade88da.jpg» enregistré [249139/249139] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5815905373651823072asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5815905373651823072asTemporaryFile : 249139 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da.jpg -O /tmp/85f7b260fd8465675cdc352b5ade88da.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da-small.jpg type_mfp mfpopt2025 size_object of file /tmp/85f7b260fd8465675cdc352b5ade88da-big.jpg : 63496 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/85f7b260fd8465675cdc352b5ade88da-medium.jpg : 18492 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/85f7b260fd8465675cdc352b5ade88da-small.jpg : 5949 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.750072 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da.jpg", "TemporaryFile(/tmp/multipartBody5815905373651823072asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da-big.jpg", "TemporaryFile(/tmp/multipartBody5815905373651823072asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da-medium.jpg", "TemporaryFile(/tmp/multipartBody5815905373651823072asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/85f7b260fd8465675cdc352b5ade88da-small.jpg", "TemporaryFile(/tmp/multipartBody5815905373651823072asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518884 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518884" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2572950161653998453asTemporaryFile -n 71b727860a74ea4d1360e6eba1d59963 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_54_15_10135.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2572950161653998453asTemporaryFile -n 71b727860a74ea4d1360e6eba1d59963 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305009 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305009 --2025-07-18 13:55:21-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 267863 (262K) [image/jpeg] Enregistre : «/tmp/71b727860a74ea4d1360e6eba1d59963.jpg» 0K .......... .......... .......... .......... .......... 19% 4,39M 0s 50K .......... .......... .......... .......... .......... 38% 5,38M 0s 100K .......... .......... .......... .......... .......... 57% 41,0M 0s 150K .......... .......... .......... .......... .......... 76% 5,58M 0s 200K .......... .......... .......... .......... .......... 95% 41,5M 0s 250K .......... . 100% 153M=0,03s 2025-07-18 13:55:21 (8,14 MB/s) - «/tmp/71b727860a74ea4d1360e6eba1d59963.jpg» enregistré [267863/267863] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2572950161653998453asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2572950161653998453asTemporaryFile : 267863 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963.jpg -O /tmp/71b727860a74ea4d1360e6eba1d59963.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963-small.jpg type_mfp mfpopt2025 size_object of file /tmp/71b727860a74ea4d1360e6eba1d59963-big.jpg : 68341 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/71b727860a74ea4d1360e6eba1d59963-medium.jpg : 19200 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/71b727860a74ea4d1360e6eba1d59963-small.jpg : 6015 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.134061 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4163 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4163 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963.jpg", "TemporaryFile(/tmp/multipartBody2572950161653998453asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963-big.jpg", "TemporaryFile(/tmp/multipartBody2572950161653998453asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963-medium.jpg", "TemporaryFile(/tmp/multipartBody2572950161653998453asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/71b727860a74ea4d1360e6eba1d59963-small.jpg", "TemporaryFile(/tmp/multipartBody2572950161653998453asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4163 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 153 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518885 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518885" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6964896682320613479asTemporaryFile -n a0922f1a1328aa24040cc9d2d0dbb675 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_54_05_10143.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6964896682320613479asTemporaryFile -n a0922f1a1328aa24040cc9d2d0dbb675 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(832f9dd9be82d72b547808d5fcaa9529) --2025-07-18 13:55:25-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. mtr_user_id : 983 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_51_35_29916.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7b648a6d basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_49_36_29924.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@499c8252 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_48_36_29905.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2ffa165 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_42_36_29923.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@65339041 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_10_42_05_29921.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3adb4968 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_10_40_36_29931.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1778c273 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true requête HTTP transmise, en attente de la réponse… getSimpleUser in getUserObj 200 OK Taille : 268504 (262K) [image/jpeg] Enregistre : «/tmp/a0922f1a1328aa24040cc9d2d0dbb675.jpg» 0K .......... .......... ....[debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050172) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050172) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3107492099861536246asTemporaryFile -n 1e5ef7ef9ecd932867f970b577c24938 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_13_51_35_29916.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3107492099861536246asTemporaryFile -n 1e5ef7ef9ecd932867f970b577c24938 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! ...... .......... .......... 19% 2,45M 0s 50K .......... .......... .......... .......... .......... 38% 4,89M 0s 100K .......... .......... .......... .......... .......... 57% 53,3M 0s 150K .......... .......... .......... .......... .......... 76% 5,49M 0s 200K .......... .......... .......... .......... .......... 95% 99,1M 0s 250K .......... .. 100% 84,7M=0,04s 2025-07-18 13:55:25 (6,34 MB/s) - «/tmp/a0922f1a1328aa24040cc9d2d0dbb675.jpg» enregistré [268504/268504] --2025-07-18 13:55:27-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 226665 (221K) [image/jpeg] Enregistre : «/tmp/1e5ef7ef9ecd932867f970b577c24938.jpg» 0K .......... .......... .......... .......... .......... 22% 2,44M 0s 50K .......... .......... .......... .......... .......... 45% 4,98M 0s 100K .......... .......... .......... .......... .......... 67% 109M 0s 150K .......... .......... .......... .......... .......... 90% 117M 0s 200K .......... .......... . 100% 2,27M=0,04s 2025-07-18 13:55:27 (5,42 MB/s) - «/tmp/1e5ef7ef9ecd932867f970b577c24938.jpg» enregistré [226665/226665] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6964896682320613479asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6964896682320613479asTemporaryFile : 268504 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675.jpg -O /tmp/a0922f1a1328aa24040cc9d2d0dbb675.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675-small.jpg type_mfp mfpopt2025 size_object of file /tmp/a0922f1a1328aa24040cc9d2d0dbb675-big.jpg : 68437 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a0922f1a1328aa24040cc9d2d0dbb675-medium.jpg : 19281 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a0922f1a1328aa24040cc9d2d0dbb675-small.jpg : 6018 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.879578 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4163 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 153 Before photo_uploader , duration 22 : 111.After photo_uploader , duration 23 : 3914 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4163 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 153 Before photo_uploader , duration 22 : 111.After photo_uploader , duration 23 : 3914 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675.jpg", "TemporaryFile(/tmp/multipartBody6964896682320613479asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675-big.jpg", "TemporaryFile(/tmp/multipartBody6964896682320613479asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675-medium.jpg", "TemporaryFile(/tmp/multipartBody6964896682320613479asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a0922f1a1328aa24040cc9d2d0dbb675-small.jpg", "TemporaryFile(/tmp/multipartBody6964896682320613479asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4163 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 153 Before photo_uploader , duration 22 : 111.After photo_uploader , duration 23 : 3914 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518886 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518886" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050138) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631704, 1372631712, 1372631714, 1372631715, 1372631716, 1372631717) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050138, 1372631712,1372631712, "1" ,0,979, NOW()), (25050138, 1372631715,1372631715, "1" ,0,979, NOW()), (25050138, 1372631717,1372631717, "1" ,0,979, NOW()), (25050138, 1372631714,1372631714, "1" ,0,979, NOW()), (25050138, 1372631716,1372631716, "1" ,0,979, NOW()), (25050138, 1372631704,1372631704, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4163 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 153 Before photo_uploader , duration 22 : 111.After photo_uploader , duration 23 : 3914 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137After insertPortfolioPhotoId , duration 26 : 374 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3107492099861536246asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3107492099861536246asTemporaryFile : 226665 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938.jpg -O /tmp/1e5ef7ef9ecd932867f970b577c24938.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938-small.jpg type_mfp mfpopt2025 size_object of file /tmp/1e5ef7ef9ecd932867f970b577c24938-big.jpg : 49580 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1e5ef7ef9ecd932867f970b577c24938-medium.jpg : 16949 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1e5ef7ef9ecd932867f970b577c24938-small.jpg : 5836 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.665603 Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938.jpg", "TemporaryFile(/tmp/multipartBody3107492099861536246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938-big.jpg", "TemporaryFile(/tmp/multipartBody3107492099861536246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938-medium.jpg", "TemporaryFile(/tmp/multipartBody3107492099861536246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1e5ef7ef9ecd932867f970b577c24938-small.jpg", "TemporaryFile(/tmp/multipartBody3107492099861536246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518893 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518893" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7414027634454471785asTemporaryFile -n 0730043ec2abcd00b928a9bcf543ea4c --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_13_49_36_29924.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7414027634454471785asTemporaryFile -n 0730043ec2abcd00b928a9bcf543ea4c --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3883 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 142 Before photo_uploader , duration 6 : 102.After photo_uploader , duration 7 : 3788 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3559 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3766 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 135 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 4163 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 153 Before photo_uploader , duration 22 : 111.After photo_uploader , duration 23 : 3914 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137After insertPortfolioPhotoId , duration 26 : 374 About to finish After with svm , duration 27 : 2967 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 --2025-07-18 13:55:31-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 214235 (209K) [image/jpeg] Enregistre : «/tmp/0730043ec2abcd00b928a9bcf543ea4c.jpg» 0K .......... .......... .......... .......... .......... 23% 4,82M 0s 50K .......... .......... .......... .......... .......... 47% 4,89M 0s 100K .......... .......... .......... .......... .......... 71% 109M 0s 150K .......... .......... .......... .......... .......... 95% 5,08M 0s 200K ......... 100% 134M=0,03s 2025-07-18 13:55:31 (6,76 MB/s) - «/tmp/0730043ec2abcd00b928a9bcf543ea4c.jpg» enregistré [214235/214235] token_used : Some(e243aac39fb012c084cfefeb2a6a3641) mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_54_45_9686.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4dfe97ed basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_54_35_10666.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4381c5e0 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_54_24_9758.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4931d52a basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_54_14_9788.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5d02627b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_54_05_9748.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@647ac7c9 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_53_55_10614.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2919b063 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1674778834521667448asTemporaryFile -n d424496a36a81138b9c066bae1dbbbe4 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_54_45_9686.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1674778834521667448asTemporaryFile -n d424496a36a81138b9c066bae1dbbbe4 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7414027634454471785asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7414027634454471785asTemporaryFile : 214235 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c.jpg -O /tmp/0730043ec2abcd00b928a9bcf543ea4c.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0730043ec2abcd00b928a9bcf543ea4c-big.jpg : 47970 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0730043ec2abcd00b928a9bcf543ea4c-medium.jpg : 16374 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0730043ec2abcd00b928a9bcf543ea4c-small.jpg : 5731 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.048938 Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c.jpg", "TemporaryFile(/tmp/multipartBody7414027634454471785asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c-big.jpg", "TemporaryFile(/tmp/multipartBody7414027634454471785asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c-medium.jpg", "TemporaryFile(/tmp/multipartBody7414027634454471785asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0730043ec2abcd00b928a9bcf543ea4c-small.jpg", "TemporaryFile(/tmp/multipartBody7414027634454471785asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518894 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518894" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4423366366239422065asTemporaryFile -n ec4f2c1b53b227a0f59192a57a3782ea --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_13_48_36_29905.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4423366366239422065asTemporaryFile -n ec4f2c1b53b227a0f59192a57a3782ea --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 --2025-07-18 13:55:35-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 155514 (152K) [image/jpeg] Enregistre : «/tmp/d424496a36a81138b9c066bae1dbbbe4.jpg» 0K .......... .......... .......... .......... .......... 32% 4,80M 0s 50K .......... .......... .......... .......... .......... 65% 4,88M 0s 100K .......... .......... .......... .......... .......... 98% 122M 0s 150K . 100% 33,2M=0,02s 2025-07-18 13:55:35 (7,19 MB/s) - «/tmp/d424496a36a81138b9c066bae1dbbbe4.jpg» enregistré [155514/155514] --2025-07-18 13:55:35-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 217918 (213K) [image/jpeg] Enregistre : «/tmp/ec4f2c1b53b227a0f59192a57a3782ea.jpg» 0K .......... .......... .......... .......... .......... 23% 4,82M 0s 50K .......... .......... .......... .......... .......... 46% 4,79M 0s 100K .......... .......... .......... .......... .......... 70% 116M 0s 150K .......... .......... .......... .......... .......... 93% 5,15M 0s 200K .......... .. 100% 83,0M=0,03s 2025-07-18 13:55:35 (6,84 MB/s) - «/tmp/ec4f2c1b53b227a0f59192a57a3782ea.jpg» enregistré [217918/217918] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1674778834521667448asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1674778834521667448asTemporaryFile : 155514 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4.jpg -O /tmp/d424496a36a81138b9c066bae1dbbbe4.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d424496a36a81138b9c066bae1dbbbe4-big.jpg : 36556 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d424496a36a81138b9c066bae1dbbbe4-medium.jpg : 11779 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d424496a36a81138b9c066bae1dbbbe4-small.jpg : 4043 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.193879 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4423366366239422065asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4423366366239422065asTemporaryFile : 217918 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea.jpg -O /tmp/ec4f2c1b53b227a0f59192a57a3782ea.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ec4f2c1b53b227a0f59192a57a3782ea-big.jpg : 44271 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ec4f2c1b53b227a0f59192a57a3782ea-medium.jpg : 15176 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ec4f2c1b53b227a0f59192a57a3782ea-small.jpg : 5213 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.683499 Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4.jpg", "TemporaryFile(/tmp/multipartBody1674778834521667448asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea.jpg", "TemporaryFile(/tmp/multipartBody4423366366239422065asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4-big.jpg", "TemporaryFile(/tmp/multipartBody1674778834521667448asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea-big.jpg", "TemporaryFile(/tmp/multipartBody4423366366239422065asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4-medium.jpg", "TemporaryFile(/tmp/multipartBody1674778834521667448asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea-medium.jpg", "TemporaryFile(/tmp/multipartBody4423366366239422065asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d424496a36a81138b9c066bae1dbbbe4-small.jpg", "TemporaryFile(/tmp/multipartBody1674778834521667448asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec4f2c1b53b227a0f59192a57a3782ea-small.jpg", "TemporaryFile(/tmp/multipartBody4423366366239422065asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 latitude : 0.0 longitude : 0.0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518895 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518895" [info] a.models.Photo - source_id_submit_photo from insertion : 379518896 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518896" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody796972064719350890asTemporaryFile -n 0cdf434307f625f5019c086d893355f8 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_54_35_10666.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody796972064719350890asTemporaryFile -n 0cdf434307f625f5019c086d893355f8 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1646277294515996101asTemporaryFile -n c3042e66304246c6207b72ba28539480 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_13_42_36_29923.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1646277294515996101asTemporaryFile -n c3042e66304246c6207b72ba28539480 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:39-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 156532 (153K) [image/jpeg] Enregistre : «/tmp/0cdf434307f625f5019c086d893355f8.jpg» 0K .......... .......... .......... .......... .......... 32% 2,50M 0s 50K .......... .......... .......... .......... .......... 65% 4,85M 0s 100K .......... .......... .......... .......... .......... 98% 87,3M 0s 150K .. 100% 5461G=0,03s 2025-07-18 13:55:39 (4,94 MB/s) - «/tmp/0cdf434307f625f5019c086d893355f8.jpg» enregistré [156532/156532] --2025-07-18 13:55:39-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 199703 (195K) [image/jpeg] Enregistre : «/tmp/c3042e66304246c6207b72ba28539480.jpg» 0K .......... .......... .......... .......... .......... 25% 2,45M 0s 50K .......... .......... .......... .......... .......... 51% 4,90M 0s 100K .......... .......... .......... .......... .......... 76% 97,0M 0s 150K .......... .......... .......... .......... ..... 100% 124M=0,03s 2025-07-18 13:55:39 (6,19 MB/s) - «/tmp/c3042e66304246c6207b72ba28539480.jpg» enregistré [199703/199703] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody796972064719350890asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody796972064719350890asTemporaryFile : 156532 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8.jpg -O /tmp/0cdf434307f625f5019c086d893355f8.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0cdf434307f625f5019c086d893355f8-big.jpg : 35986 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0cdf434307f625f5019c086d893355f8-medium.jpg : 12148 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0cdf434307f625f5019c086d893355f8-small.jpg : 4322 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.473451 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8.jpg", "TemporaryFile(/tmp/multipartBody796972064719350890asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8-big.jpg", "TemporaryFile(/tmp/multipartBody796972064719350890asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8-medium.jpg", "TemporaryFile(/tmp/multipartBody796972064719350890asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cdf434307f625f5019c086d893355f8-small.jpg", "TemporaryFile(/tmp/multipartBody796972064719350890asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518897 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518897" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1646277294515996101asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1646277294515996101asTemporaryFile : 199703 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480.jpg -O /tmp/c3042e66304246c6207b72ba28539480.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c3042e66304246c6207b72ba28539480-big.jpg : 43983 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c3042e66304246c6207b72ba28539480-medium.jpg : 15247 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c3042e66304246c6207b72ba28539480-small.jpg : 5402 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.662996 Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7951516728069100580asTemporaryFile -n 6769c1b528a4e6938021dd42ff809cb4 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_54_24_9758.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7951516728069100580asTemporaryFile -n 6769c1b528a4e6938021dd42ff809cb4 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480.jpg", "TemporaryFile(/tmp/multipartBody1646277294515996101asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480-big.jpg", "TemporaryFile(/tmp/multipartBody1646277294515996101asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480-medium.jpg", "TemporaryFile(/tmp/multipartBody1646277294515996101asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c3042e66304246c6207b72ba28539480-small.jpg", "TemporaryFile(/tmp/multipartBody1646277294515996101asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518898 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518898" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2483162672875300570asTemporaryFile -n 746054cd412056abda01bc416a48caa9 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_10_42_05_29921.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2483162672875300570asTemporaryFile -n 746054cd412056abda01bc416a48caa9 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:43-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 143583 (140K) [image/jpeg] Enregistre : «/tmp/6769c1b528a4e6938021dd42ff809cb4.jpg» 0K .......... .......... .......... .......... .......... 35% 4,76M 0s 50K .......... .......... .......... .......... .......... 71% 4,94M 0s 100K .......... .......... .......... .......... 100% 83,1M=0,02s 2025-07-18 13:55:43 (6,65 MB/s) - «/tmp/6769c1b528a4e6938021dd42ff809cb4.jpg» enregistré [143583/143583] token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_30_25_39703.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3189818e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_31_06_40640.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5956b027 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_31_45_39641.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@157f9d74 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_32_26_40607.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@620790e7 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_33_06_39580.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1ffff8d8 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_33_45_39596.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@73c4b488 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6727559189039847063asTemporaryFile -n 21c73ffb50b0fcaddc4630c4189fc040 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_30_25_39703.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6727559189039847063asTemporaryFile -n 21c73ffb50b0fcaddc4630c4189fc040 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:43-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223567 (218K) [image/jpeg] Enregistre : «/tmp/746054cd412056abda01bc416a48caa9.jpg» 0K .......... .......... .......... .......... .......... 22% 4,45M 0s 50K .......... .......... .......... .......... .......... 45% 5,36M 0s 100K .......... .......... .......... .......... .......... 68% 45,4M 0s 150K .......... .......... .......... .......... .......... 91% 5,49M 0s 200K .......... ........ 100% 143M=0,03s 2025-07-18 13:55:43 (7,06 MB/s) - «/tmp/746054cd412056abda01bc416a48caa9.jpg» enregistré [223567/223567] token_used : Some(85213b338a7900a79945692114f14db2) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:55:45-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_21062025_12_46_07_9234.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@19d51490 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_21062025_12_45_57_10213.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@419e85c1 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_21062025_12_45_37_10191.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@51472eed basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_21062025_12_45_27_10237.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1534d595 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_21062025_12_45_07_10450.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@24743237 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… getSimpleUser in getUserObj connecté. [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(24230041) [info] a.c.Photo - given_mtr_portfolio_id : Some(24230041) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7199247600221171004asTemporaryFile -n f99f17faf66a36bc600a0de6e0ba7160 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_07_9234.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7199247600221171004asTemporaryFile -n f99f17faf66a36bc600a0de6e0ba7160 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! requête HTTP transmise, en attente de la réponse… res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7951516728069100580asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7951516728069100580asTemporaryFile : 143583 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4.jpg -O /tmp/6769c1b528a4e6938021dd42ff809cb4.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4-small.jpg type_mfp mfpopt2025 size_object of file /tmp/6769c1b528a4e6938021dd42ff809cb4-big.jpg : 34597 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6769c1b528a4e6938021dd42ff809cb4-medium.jpg : 11878 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6769c1b528a4e6938021dd42ff809cb4-small.jpg : 4152 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.562383 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0 200 OK Taille : 261359 (255K) [image/jpeg] Enregistre : «/tmp/21c73ffb50b0fcaddc4630c4189fc040.jpg» 0K .......... .......... .......... .......... .......... 19% 4,81M 0s 50K .......... .......... .........[debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4.jpg", "TemporaryFile(/tmp/multipartBody7951516728069100580asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') . .......... .......... 39% 4,88M 0s 100K .......... .......... .......... .......... .......... 58% 129M 0s 150K .......... .......... .......... .......... .......... 78% 5,03M 0s 200K .......... .......... .......... .......... .......... 97% 131M 0s 250K ..... 100% 76,0M=0,03s 2025-07-18 13:55:45 (8,13 MB/s) - «/tmp/21c73ffb50b0fcaddc4630c4189fc040.jpg» enregistré [261359/261359] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4-big.jpg", "TemporaryFile(/tmp/multipartBody7951516728069100580asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4-medium.jpg", "TemporaryFile(/tmp/multipartBody7951516728069100580asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6769c1b528a4e6938021dd42ff809cb4-small.jpg", "TemporaryFile(/tmp/multipartBody7951516728069100580asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518899 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518899" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7953896962105986149asTemporaryFile -n 7de3bcb561beb1a1d29341b5054cafe1 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_54_14_9788.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7953896962105986149asTemporaryFile -n 7de3bcb561beb1a1d29341b5054cafe1 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2483162672875300570asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2483162672875300570asTemporaryFile : 223567 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9.jpg -O /tmp/746054cd412056abda01bc416a48caa9.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9-small.jpg type_mfp mfpopt2025 size_object of file /tmp/746054cd412056abda01bc416a48caa9-big.jpg : 48124 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/746054cd412056abda01bc416a48caa9-medium.jpg : 16165 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/746054cd412056abda01bc416a48caa9-small.jpg : 5544 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.867867 Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3882 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3882 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9.jpg", "TemporaryFile(/tmp/multipartBody2483162672875300570asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9-big.jpg", "TemporaryFile(/tmp/multipartBody2483162672875300570asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9-medium.jpg", "TemporaryFile(/tmp/multipartBody2483162672875300570asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/746054cd412056abda01bc416a48caa9-small.jpg", "TemporaryFile(/tmp/multipartBody2483162672875300570asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3882 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518900 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518900" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1355857193300614233asTemporaryFile -n 204ae6f5e576c840b81ec4832bfe0af3 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_10_40_36_29931.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1355857193300614233asTemporaryFile -n 204ae6f5e576c840b81ec4832bfe0af3 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:47-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… --2025-07-18 13:55:47-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. connecté. requête HTTP transmise, en attente de la réponse… requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1064574 (1,0M) [image/jpeg] Enregistre : «/tmp/f99f17faf66a36bc600a0de6e0ba7160.jpg» 0K .......... .......... .......... ........200 OK Taille : 203616 (199K) [image/jpeg] Enregistre : «/tmp/7de3bcb561beb1a1d29341b5054cafe1.jpg» .. .......... 4% 2,48M 0s 50K .......... .......... 0K .......... .......... .......... . .......... .......... .......... 9% 4,91M 0s 100K .......... .......... .......... .......... .......... 14% 99,3M 0s 150K .......... .......... .......... ........... .......... 25% 2,39M 0s 50K .......... .......... ................ .......... 19% 5,07M 0s 200K .......... .......... .......... .......... .......... 24% 127M 0s 250K .......... .......... .......... .......... .......... 28% 124M 0s 300K .......... .......... .......... .......... .......... 33% 99,1M 0s 350K .......... .......... .......... ........... .......... .......... 50% 5,37M 0s 100K .......... .......... .......... .......... .......... 75% 43,9M 0s 150K .......... .......... .......... .......... ........ 100% 100M=0,03s 2025-07-18 13:55:47 (6,24 MB/s) - «/tmp/7de3bcb561beb1a1d29341b5054cafe1.jpg» enregistré [203616/203616] . .......... 38% 5,67M 0s 400K .......... .......... .......... .......... .......... 43% 116M 0s 450K .......... .......... .......... .......... .......... 48% 112M 0s 500K .......... .......... .......... .......... .......... 52% 105M 0s 550K .......... .......... .......... .......... .......... 57% 112M 0s 600K .......... .......... .......... .......... .......... 62% 107M 0s 650K .......... .......... .......... .......... .......... 67% 128M 0s 700K .......... .......... .......... .......... .......... 72% 110M 0s 750K .......... .......... .......... .......... .......... 76% 7,16M 0s 800K .......... .......... .......... .......... .......... 81% 114M 0s 850K .......... .......... .......... .......... .......... 86% 97,4M 0s 900K .......... .......... .......... .......... .......... 91% 127M 0s 950K .......... .......... .......... .......... .......... 96% 103M 0s 1000K .......... .......... .......... ......... 100% 127M=0,06s 2025-07-18 13:55:47 (16,5 MB/s) - «/tmp/f99f17faf66a36bc600a0de6e0ba7160.jpg» enregistré [1064574/1064574] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6727559189039847063asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6727559189039847063asTemporaryFile : 261359 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040.jpg -O /tmp/21c73ffb50b0fcaddc4630c4189fc040.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040-small.jpg type_mfp mfpopt2025 size_object of file /tmp/21c73ffb50b0fcaddc4630c4189fc040-big.jpg : 107627 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/21c73ffb50b0fcaddc4630c4189fc040-medium.jpg : 24822 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/21c73ffb50b0fcaddc4630c4189fc040-small.jpg : 6583 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.959124 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040.jpg", "TemporaryFile(/tmp/multipartBody6727559189039847063asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040-big.jpg", "TemporaryFile(/tmp/multipartBody6727559189039847063asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040-medium.jpg", "TemporaryFile(/tmp/multipartBody6727559189039847063asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/21c73ffb50b0fcaddc4630c4189fc040-small.jpg", "TemporaryFile(/tmp/multipartBody6727559189039847063asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518907 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518907" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3046277554661550791asTemporaryFile -n ec71fad9ff266bcbfb58c56f231d8c2c --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_31_06_40640.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3046277554661550791asTemporaryFile -n ec71fad9ff266bcbfb58c56f231d8c2c --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:47-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 195366 (191K) [image/jpeg] Enregistre : «/tmp/204ae6f5e576c840b81ec4832bfe0af3.jpg» 0K .......... .......... .......... .......... .......... 26% 4,82M 0s 50K .......... .......... .......... .......... .......... 52% 4,93M 0s 100K .......... .......... .......... .......... .......... 78% 103M 0s 150K .......... .......... .......... .......... 100% 101M=0,02s 2025-07-18 13:55:47 (8,91 MB/s) - «/tmp/204ae6f5e576c840b81ec4832bfe0af3.jpg» enregistré [195366/195366] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7953896962105986149asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7953896962105986149asTemporaryFile : 203616 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1.jpg -O /tmp/7de3bcb561beb1a1d29341b5054cafe1.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1-small.jpg type_mfp mfpopt2025 size_object of file /tmp/7de3bcb561beb1a1d29341b5054cafe1-big.jpg : 46048 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7de3bcb561beb1a1d29341b5054cafe1-medium.jpg : 13020 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7de3bcb561beb1a1d29341b5054cafe1-small.jpg : 4203 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.485479 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1.jpg", "TemporaryFile(/tmp/multipartBody7953896962105986149asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1-big.jpg", "TemporaryFile(/tmp/multipartBody7953896962105986149asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1-medium.jpg", "TemporaryFile(/tmp/multipartBody7953896962105986149asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7de3bcb561beb1a1d29341b5054cafe1-small.jpg", "TemporaryFile(/tmp/multipartBody7953896962105986149asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518908 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518908" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4521630931068203183asTemporaryFile -n 6eb5017168b32a97391d15d878b9195c --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_54_05_9748.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4521630931068203183asTemporaryFile -n 6eb5017168b32a97391d15d878b9195c --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:49-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 255304 (249K) [image/jpeg] Enregistre : «/tmp/ec71fad9ff266bcbfb58c56f231d8c2c.jpg» 0K .......... .......... .......... .......... .......... 20% 4,85M 0s 50K .......... .......... .......... .......... .......... 40% 4,87M 0s 100K .......... .......... .......... .......... .......... 60% 111M 0s 150K .......... .......... .......... .......... .......... 80% 5,09M 0s 200K .......... .......... .......... .......... ......... 100% 127M=0,03s 2025-07-18 13:55:49 (7,98 MB/s) - «/tmp/ec71fad9ff266bcbfb58c56f231d8c2c.jpg» enregistré [255304/255304] res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7199247600221171004asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7199247600221171004asTemporaryFile : 1064574 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160.jpg -O /tmp/f99f17faf66a36bc600a0de6e0ba7160.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f99f17faf66a36bc600a0de6e0ba7160-big.jpg : 64540 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f99f17faf66a36bc600a0de6e0ba7160-medium.jpg : 14926 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f99f17faf66a36bc600a0de6e0ba7160-small.jpg : 3996 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.146453 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160.jpg", "TemporaryFile(/tmp/multipartBody7199247600221171004asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160-big.jpg", "TemporaryFile(/tmp/multipartBody7199247600221171004asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160-medium.jpg", "TemporaryFile(/tmp/multipartBody7199247600221171004asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f99f17faf66a36bc600a0de6e0ba7160-small.jpg", "TemporaryFile(/tmp/multipartBody7199247600221171004asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 latitude : 0.0 longitude : 0.0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [info] a.models.Photo - source_id_submit_photo from insertion : 379518909 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518909" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9218275740710718318asTemporaryFile -n 1f88fada8462317ac1d7b1a6b35cc044 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_57_10213.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9218275740710718318asTemporaryFile -n 1f88fada8462317ac1d7b1a6b35cc044 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1355857193300614233asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1355857193300614233asTemporaryFile : 195366 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3.jpg -O /tmp/204ae6f5e576c840b81ec4832bfe0af3.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3-small.jpg type_mfp mfpopt2025 size_object of file /tmp/204ae6f5e576c840b81ec4832bfe0af3-big.jpg : 45682 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/204ae6f5e576c840b81ec4832bfe0af3-medium.jpg : 15736 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/204ae6f5e576c840b81ec4832bfe0af3-small.jpg : 5452 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.650587 Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3882 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3676 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3882 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3676 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3.jpg", "TemporaryFile(/tmp/multipartBody1355857193300614233asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3-big.jpg", "TemporaryFile(/tmp/multipartBody1355857193300614233asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3-medium.jpg", "TemporaryFile(/tmp/multipartBody1355857193300614233asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/204ae6f5e576c840b81ec4832bfe0af3-small.jpg", "TemporaryFile(/tmp/multipartBody1355857193300614233asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3882 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3676 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518910 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518910" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050172) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631724, 1372631725, 1372631727, 1372631729, 1372631731, 1372631741) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050172, 1372631724,1372631724, "1" ,0,983, NOW()), (25050172, 1372631727,1372631727, "1" ,0,983, NOW()), (25050172, 1372631741,1372631741, "1" ,0,983, NOW()), (25050172, 1372631729,1372631729, "1" ,0,983, NOW()), (25050172, 1372631731,1372631731, "1" ,0,983, NOW()), (25050172, 1372631725,1372631725, "1" ,0,983, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3882 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3676 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 135After insertPortfolioPhotoId , duration 26 : 355 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:55:50-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 202426 (198K) [image/jpeg] Enregistre : «/tmp/6eb5017168b32a97391d15d878b9195c.jpg» 0K .......... .......... .......... .......... .......... 25% 4,74M 0s 50K .......... .......... .......... .......... .......... 50% 4,98M 0s 100K .......... .......... .......... .......... .......... 75% 88,4M 0s 150K .......... .......... .......... .......... ....... 100% 125M=0,02s 2025-07-18 13:55:51 (9,17 MB/s) - «/tmp/6eb5017168b32a97391d15d878b9195c.jpg» enregistré [202426/202426] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3046277554661550791asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3046277554661550791asTemporaryFile : 255304 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c.jpg -O /tmp/ec71fad9ff266bcbfb58c56f231d8c2c.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ec71fad9ff266bcbfb58c56f231d8c2c-big.jpg : 105113 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ec71fad9ff266bcbfb58c56f231d8c2c-medium.jpg : 24239 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ec71fad9ff266bcbfb58c56f231d8c2c-small.jpg : 6467 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.686952 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c.jpg", "TemporaryFile(/tmp/multipartBody3046277554661550791asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c-big.jpg", "TemporaryFile(/tmp/multipartBody3046277554661550791asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) --2025-07-18 13:55:51-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c-medium.jpg", "TemporaryFile(/tmp/multipartBody3046277554661550791asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) requête HTTP transmise, en attente de la réponse… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec71fad9ff266bcbfb58c56f231d8c2c-small.jpg", "TemporaryFile(/tmp/multipartBody3046277554661550791asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 200 OK Taille : 1063875 (1,0M) [image/jpeg] Enregistre : «/tmp/1f88fada8462317ac1d7b1a6b35cc044.jpg» 0K .......[info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 latitude : 0.0 longitude : 0.0 ... .......... .......... .......... .......... 4% 2,23M 0s 50K .......... .......... .......... .......... .......... 9% 4,97M 0s 100K .......... .......... .......... .......... .......... 14% 88,5M 0s 150K .......... .......... .......... .......... .......... 19% 5,69M 0s 200K .......... .......... .......... .......... .......... 24% 38,0M 0s 250K .......... .......... .......... .......... .......... 28% 111M 0s 300K .......... .......... .......... .......... .......... 33% 127M 0s 350K .......... .......... .......... .......... .........[info] a.models.Photo - source_id_submit_photo from insertion : 379518911 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518911" . 38% 6,28M 0s 400K .......... .......... .......... .......... .......... 43% 43,0M 0s 450K .......... .......... .......... .......... .......... 48% 96,3M 0s 500K .......... .......... .......... .......... .......... 52% 109M 0s 550K .......... .......... .......... .......... .......... 57% 110M 0s 600K .......... .......... .......... .......... .......... 62% 127M 0s 650K .......... .......... .......... .......... .......... 67% 112M 0s 700K .......... .......... .......... .......... .......... 72% 130M 0s 750K .......... .......... .......... .......... .......... 77% 92,8M 0s 800K .......... ...[info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 ....... .......... .......... .......... 81% 8,08M 0s 850K .......... .......... .......... .......... .......... 86% 47,2M 0s 900K .......... .......... .......... .......... .......... 91% 116M 0s 950K .......... .......... .......... .......... .......... 96% 125M 0s 1000K .......... .......... .......... ........ 100% 90,9M=0,06s 2025-07-18 13:55:51 (16,0 MB/s) - «/tmp/1f88fada8462317ac1d7b1a6b35cc044.jpg» enregistré [1063875/1063875] extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8889340844527419512asTemporaryFile -n f5947a38a1a578959eeb854ea4ab1d00 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_31_45_39641.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8889340844527419512asTemporaryFile -n f5947a38a1a578959eeb854ea4ab1d00 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4521630931068203183asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4521630931068203183asTemporaryFile : 202426 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c.jpg -O /tmp/6eb5017168b32a97391d15d878b9195c.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c-small.jpg type_mfp mfpopt2025 size_object of file /tmp/6eb5017168b32a97391d15d878b9195c-big.jpg : 45986 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6eb5017168b32a97391d15d878b9195c-medium.jpg : 13018 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6eb5017168b32a97391d15d878b9195c-small.jpg : 4215 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.677842 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3711 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3711 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c.jpg", "TemporaryFile(/tmp/multipartBody4521630931068203183asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c-big.jpg", "TemporaryFile(/tmp/multipartBody4521630931068203183asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c-medium.jpg", "TemporaryFile(/tmp/multipartBody4521630931068203183asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 58 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3706 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 101.After photo_uploader , duration 7 : 4076 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 113.After photo_uploader , duration 11 : 3725 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3700 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3882 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3676 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 135After insertPortfolioPhotoId , duration 26 : 355 About to finish After with svm , duration 27 : 2927 actions to do : and mtr_user_id : 983 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6eb5017168b32a97391d15d878b9195c-small.jpg", "TemporaryFile(/tmp/multipartBody4521630931068203183asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305008 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3711 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518912 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518912" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7279314782346937154asTemporaryFile -n 6f828ae154a70980ea21d71c8c1d401f --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_53_55_10614.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7279314782346937154asTemporaryFile -n 6f828ae154a70980ea21d71c8c1d401f --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:53-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 257558 (252K) [image/jpeg] Enregistre : «/tmp/f5947a38a1a578959eeb854ea4ab1d00.jpg» 0K .......... .......... .......... .......... .......... 19% 4,76M 0s 50K .......... .......... .......... .......... .......... 39% 4,88M 0s 100K .......... .......... .......... .......... .......... 59% 104M 0s 150K .......... .......... .......... .......... .......... 79% 5,05M 0s 200K .......... .......... .......... .......... .......... 99% 117M 0s 250K . 100% 2902G=0,03s 2025-07-18 13:55:53 (7,97 MB/s) - «/tmp/f5947a38a1a578959eeb854ea4ab1d00.jpg» enregistré [257558/257558] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9218275740710718318asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9218275740710718318asTemporaryFile : 1063875 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044.jpg -O /tmp/1f88fada8462317ac1d7b1a6b35cc044.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044-small.jpg type_mfp mfpopt2025 size_object of file /tmp/1f88fada8462317ac1d7b1a6b35cc044-big.jpg : 64517 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1f88fada8462317ac1d7b1a6b35cc044-medium.jpg : 14924 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1f88fada8462317ac1d7b1a6b35cc044-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.105527 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044.jpg", "TemporaryFile(/tmp/multipartBody9218275740710718318asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044-big.jpg", "TemporaryFile(/tmp/multipartBody9218275740710718318asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044-medium.jpg", "TemporaryFile(/tmp/multipartBody9218275740710718318asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1f88fada8462317ac1d7b1a6b35cc044-small.jpg", "TemporaryFile(/tmp/multipartBody9218275740710718318asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518913 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518913" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6418375308400553343asTemporaryFile -n 3e2179269d744fa6b40d626e02938b3e --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_37_10191.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6418375308400553343asTemporaryFile -n 3e2179269d744fa6b40d626e02938b3e --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:54-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 189925 (185K) [image/jpeg] Enregistre : «/tmp/6f828ae154a70980ea21d71c8c1d401f.jpg» 0K .......... .......... .......... .......... .......... 26% 2,42M 0s 50K .......... .......... .......... .......... .......... 53% 4,95M 0s 100K .......... .......... .......... .......... .......... 80% 118M 0s 150K .......... .......... .......... ..... 100% 116M=0,03s 2025-07-18 13:55:55 (5,89 MB/s) - «/tmp/6f828ae154a70980ea21d71c8c1d401f.jpg» enregistré [189925/189925] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8889340844527419512asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8889340844527419512asTemporaryFile : 257558 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00.jpg -O /tmp/f5947a38a1a578959eeb854ea4ab1d00.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f5947a38a1a578959eeb854ea4ab1d00-big.jpg : 105301 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f5947a38a1a578959eeb854ea4ab1d00-medium.jpg : 24362 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f5947a38a1a578959eeb854ea4ab1d00-small.jpg : 6508 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.600536 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00.jpg", "TemporaryFile(/tmp/multipartBody8889340844527419512asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00-big.jpg", "TemporaryFile(/tmp/multipartBody8889340844527419512asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00-medium.jpg", "TemporaryFile(/tmp/multipartBody8889340844527419512asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5947a38a1a578959eeb854ea4ab1d00-small.jpg", "TemporaryFile(/tmp/multipartBody8889340844527419512asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518914 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518914" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6453030063843163441asTemporaryFile -n 3e19b2e2339fdc886f2455f143e7957f --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_32_26_40607.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6453030063843163441asTemporaryFile -n 3e19b2e2339fdc886f2455f143e7957f --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:55:55-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305008 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305008 connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1057682 (1,0M) [image/jpeg] Enregistre : «/tmp/3e2179269d744fa6b40d626e02938b3e.jpg» 0K .......... .......... .......... .......... .......... 4% 2,41M 0s 50K .......... .......... .......... .......... .......... 9% 5,39M 0s 100K .......... .......... .......... .......... .......... 14% 38,8M 0s 150K .......... .......... .......... .......... .......... 19% 5,67M 0s 200K .......... .......... .......... .......... .......... 24% 34,1M 0s 250K .......... .......... .......... .......... .......... 29% 102M 0s 300K .......... .......... .......... .......... .......... 33% 93,6M 0s 350K .......... .......... .......... .......... .......... 38% 6,42M 0s 400K .......... .......... .......... .......... .......... 43% 49,4M 0s 450K .......... .......... .......... .......... .......... 48% 112M 0s 500K .......... .......... .......... .......... .......... 53% 104M 0s 550K .......... .......... .......... .......... .......... 58% 116M 0s 600K .......... .......... .......... .......... .......... 62% 129M 0s 650K .......... .......... .......... .......... .......... 67% 125M 0s 700K .......... .......... .......... .......... .......... 72% 105M 0s 750K .......... .......... .......... .......... .......... 77% 87,5M 0s 800K .......... .......... .......... .......... .......... 82% 7,86M 0s 850K .......... .......... .......... .......... .......... 87% 58,9M 0s 900K .......... .......... .......... .......... .......... 91% 126M 0s 950K .......... .......... .......... .......... .......... 96% 111M 0s 1000K .......... .......... .......... .. 100% 129M=0,06s 2025-07-18 13:55:56 (16,4 MB/s) - «/tmp/3e2179269d744fa6b40d626e02938b3e.jpg» enregistré [1057682/1057682] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7279314782346937154asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7279314782346937154asTemporaryFile : 189925 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f.jpg -O /tmp/6f828ae154a70980ea21d71c8c1d401f.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f-small.jpg type_mfp mfpopt2025 size_object of file /tmp/6f828ae154a70980ea21d71c8c1d401f-big.jpg : 45045 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6f828ae154a70980ea21d71c8c1d401f-medium.jpg : 13045 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6f828ae154a70980ea21d71c8c1d401f-small.jpg : 4227 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.564721 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3711 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3598 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3711 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3598 Before insertPortfolioPhotoId , duration 24 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f.jpg", "TemporaryFile(/tmp/multipartBody7279314782346937154asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f-big.jpg", "TemporaryFile(/tmp/multipartBody7279314782346937154asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f-medium.jpg", "TemporaryFile(/tmp/multipartBody7279314782346937154asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f828ae154a70980ea21d71c8c1d401f-small.jpg", "TemporaryFile(/tmp/multipartBody7279314782346937154asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3711 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3598 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518915 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518915" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 --2025-07-18 13:55:57-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… mtr_portfolio_id : Some(25050173) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631726, 1372631728, 1372631730, 1372631739, 1372631743, 1372631746) 0 200 OK Taille : 255005 (249K) [image/jpeg] Enregistre : «/tmp/3e19b2e2339fdc886f2455f143e7957f.jpg» 0K .......... .......... .......... .......... .......... 20% 4,82M 0s 50K .......... .......... .......... .......... .......... 40% 4,94M 0s 100K .......... .......... .......... .......... .......... 60% 106M 0s 150K .......... .......... .......... .......... .......... 80% 59,2M 0s 200K ...0 ....... .......... .......... .......... ......... 100% 5,34M=0,03s 2025-07-18 13:55:57 (8,04 MB/s) - «/tmp/3e19b2e2339fdc886f2455f143e7957f.jpg» enregistré [255005/255005] 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050173, 1372631739,1372631739, "1" ,0,1042, NOW()), (25050173, 1372631730,1372631730, "1" ,0,1042, NOW()), (25050173, 1372631726,1372631726, "1" ,0,1042, NOW()), (25050173, 1372631746,1372631746, "1" ,0,1042, NOW()), (25050173, 1372631728,1372631728, "1" ,0,1042, NOW()), (25050173, 1372631743,1372631743, "1" ,0,1042, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3711 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3598 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 136After insertPortfolioPhotoId , duration 26 : 359 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6418375308400553343asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6418375308400553343asTemporaryFile : 1057682 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e.jpg -O /tmp/3e2179269d744fa6b40d626e02938b3e.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e-small.jpg type_mfp mfpopt2025 size_object of file /tmp/3e2179269d744fa6b40d626e02938b3e-big.jpg : 64390 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3e2179269d744fa6b40d626e02938b3e-medium.jpg : 14889 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3e2179269d744fa6b40d626e02938b3e-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.627870 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e.jpg", "TemporaryFile(/tmp/multipartBody6418375308400553343asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e-big.jpg", "TemporaryFile(/tmp/multipartBody6418375308400553343asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e-medium.jpg", "TemporaryFile(/tmp/multipartBody6418375308400553343asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e2179269d744fa6b40d626e02938b3e-small.jpg", "TemporaryFile(/tmp/multipartBody6418375308400553343asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518916 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518916" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5854061871961794458asTemporaryFile -n c502bfcb283019058d80f329ad4a5a41 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_27_10237.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5854061871961794458asTemporaryFile -n c502bfcb283019058d80f329ad4a5a41 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6453030063843163441asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6453030063843163441asTemporaryFile : 255005 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f.jpg -O /tmp/3e19b2e2339fdc886f2455f143e7957f.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f-small.jpg type_mfp mfpopt2025 size_object of file /tmp/3e19b2e2339fdc886f2455f143e7957f-big.jpg : 105330 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3e19b2e2339fdc886f2455f143e7957f-medium.jpg : 24293 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3e19b2e2339fdc886f2455f143e7957f-small.jpg : 6505 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.631518 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f.jpg", "TemporaryFile(/tmp/multipartBody6453030063843163441asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f-big.jpg", "TemporaryFile(/tmp/multipartBody6453030063843163441asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f-medium.jpg", "TemporaryFile(/tmp/multipartBody6453030063843163441asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3e19b2e2339fdc886f2455f143e7957f-small.jpg", "TemporaryFile(/tmp/multipartBody6453030063843163441asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518917 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518917" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3924062039844258246asTemporaryFile -n 9f8f4e3f6dd41294f1151fa0008d5857 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_33_06_39580.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3924062039844258246asTemporaryFile -n 9f8f4e3f6dd41294f1151fa0008d5857 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4209 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3471 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 97.After photo_uploader , duration 11 : 3606 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3544 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3711 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3598 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 136After insertPortfolioPhotoId , duration 26 : 359 About to finish After with svm , duration 27 : 2668 actions to do : and mtr_user_id : 1042 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305009 --2025-07-18 13:56:00-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1057034 (1,0M) [image/jpeg] Enregistre : «/tmp/c502bfcb283019058d80f329ad4a5a41.jpg» 0K .......... .......... .......... .......... .......... 4% 2,45M 0s 50K .......... .......... .......... .......... .......... 9% 4,90M 0s 100K .......... .......... .......... .......... .......... 14% 115M 0s 150K .......... .......... .......... .......... .......... 19% 5,09M 0s 200K .......... .......... .......... .......... .......... 24% 104M 0s 250K .......... .......... .......... .......... .......... 29% 126M 0s 300K .......... .......... .......... .......... .......... 33% 97,7M 0s 350K .......... .......... .......... .......... .......... 38% 5,70M 0s 400K .......... .......... .......... .......... .......... 43% 99,0M 0s 450K .......... .......... .......... .......... .......... 48% 138M 0s 500K .......... .......... .......... .......... .......... 53% 109M 0s 550K .......... .......... .......... .......... .......... 58% 97,3M 0s 600K .......... .......... .......... .......... .......... 62% 103M 0s 650K .......... .......... .......... .......... .......... 67% 127M 0s 700K .......... .......... .......... .......... .......... 72% 129M 0s 750K .......... .......... .......... .......... .......... 77% 6,81M 0s 800K .......... .......... .......... .......... .......... 82% 129M 0s 850K .......... .......... .......... .......... .......... 87% 127M 0s 900K .......... .......... .......... .......... .......... 92% 125M 0s 950K .......... .......... .......... .......... .......... 96% 99,0M 0s 1000K .......... .......... .......... .. 100% 163M=0,06s 2025-07-18 13:56:00 (16,3 MB/s) - «/tmp/c502bfcb283019058d80f329ad4a5a41.jpg» enregistré [1057034/1057034] --2025-07-18 13:56:01-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 255671 (250K) [image/jpeg] Enregistre : «/tmp/9f8f4e3f6dd41294f1151fa0008d5857.jpg» 0K .......... .......... .......... .......... .......... 20% 4,79M 0s 50K .......... .......... .......... .......... .......... 40% 4,91M 0s 100K .......... .......... .......... .......... .......... 60% 92,1M 0s 150K .......... .......... .......... .......... .......... 80% 5,10M 0s 200K .......... .......... .......... .......... ......... 100% 122M=0,03s 2025-07-18 13:56:01 (7,95 MB/s) - «/tmp/9f8f4e3f6dd41294f1151fa0008d5857.jpg» enregistré [255671/255671] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 [error] application - ! @8a6490f4k - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] getSimpleUser in getUserObj getSimpleUser in getUserObj getSimpleUser in getUserObj false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305009 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305009 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5854061871961794458asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5854061871961794458asTemporaryFile : 1057034 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41.jpg -O /tmp/c502bfcb283019058d80f329ad4a5a41.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c502bfcb283019058d80f329ad4a5a41-big.jpg : 64263 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c502bfcb283019058d80f329ad4a5a41-medium.jpg : 14936 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c502bfcb283019058d80f329ad4a5a41-small.jpg : 3972 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.034199 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4058 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4058 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41.jpg", "TemporaryFile(/tmp/multipartBody5854061871961794458asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41-big.jpg", "TemporaryFile(/tmp/multipartBody5854061871961794458asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41-medium.jpg", "TemporaryFile(/tmp/multipartBody5854061871961794458asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c502bfcb283019058d80f329ad4a5a41-small.jpg", "TemporaryFile(/tmp/multipartBody5854061871961794458asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4058 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 latitude : 0.0 longitude : 0.0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3924062039844258246asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3924062039844258246asTemporaryFile : 255671 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857.jpg -O /tmp/9f8f4e3f6dd41294f1151fa0008d5857.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857-small.jpg type_mfp mfpopt2025 size_object of file /tmp/9f8f4e3f6dd41294f1151fa0008d5857-big.jpg : 105313 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9f8f4e3f6dd41294f1151fa0008d5857-medium.jpg : 24321 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9f8f4e3f6dd41294f1151fa0008d5857-small.jpg : 6528 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.700579 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3750 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3750 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857.jpg", "TemporaryFile(/tmp/multipartBody3924062039844258246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [info] a.models.Photo - source_id_submit_photo from insertion : 379518918 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518918" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857-big.jpg", "TemporaryFile(/tmp/multipartBody3924062039844258246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8290974036950740811asTemporaryFile -n ddfa42544ad5fb0844521b557069919b --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_07_10450.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8290974036950740811asTemporaryFile -n ddfa42544ad5fb0844521b557069919b --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857-medium.jpg", "TemporaryFile(/tmp/multipartBody3924062039844258246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9f8f4e3f6dd41294f1151fa0008d5857-small.jpg", "TemporaryFile(/tmp/multipartBody3924062039844258246asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3750 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518919 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518919" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8575146051102259851asTemporaryFile -n 20852fe403dc297cb4322782219670ac --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_33_45_39596.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8575146051102259851asTemporaryFile -n 20852fe403dc297cb4322782219670ac --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_55_54_10141.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7d1a9b07 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_55_44_9124.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3ee0532 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_55_35_10136.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@19b31d21 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_55_25_10134.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@30781f2f basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_55_15_10135.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@19137884 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_55_05_10144.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6a273901 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050138) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050138) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] list_hashtags : List([nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1831992941823373096asTemporaryFile -n 041456ded931d063581865774e6ea9dd --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_55_54_10141.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1831992941823373096asTemporaryFile -n 041456ded931d063581865774e6ea9dd --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:56:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… --2025-07-18 13:56:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. connecté. requête HTTP transmise, en attente de la réponse… requête HTTP transmise, en attente de la réponse… 200 OK Taille : 260473 (254K) [image/jpeg] Enregistre : «/tmp/20852fe403dc297cb4322782219670ac.jpg» 0K ....200 OK Taille : 1054486 (1,0M) [image/jpeg] Enregistre : «/tmp/ddfa42544ad5fb0844521b557069919b.jpg» ...... ........ 0K .......... .......... ... .......... .......... .......... 19% 2,57M 0s 50K .......... .......... .............. .......... .......... 4% 2,45M 0s 50K .......... .......... .......... .......... .......... .......... 39% 4,80M 0s 100K .......... .......... .......... .......... .......... 58% 56,3M 0s 150K .......... .......... ........ .......... 9% 4,48M 0s 100K .......... .......... .......... .......... .......... 14% 96,7M 0s 150K .......... .......... .......... .......... ........ .......... .......... 78% 5,70M 0s 200K .......... .......... .......... .......... .......... 98% 91,1M 0s 250K .... 100% 8332G=0,04s 2025-07-18 13:56:05 (6,34 MB/s) - «/tmp/20852fe403dc297cb4322782219670ac.jpg» enregistré [260473/260473] ......... 19% 5,45M 0s 200K .......... .......... .......... .......... .......... 24% 52,6M 0s 250K .......... .......... .......... .......... .......... 29% 104M 0s 300K .......... .......... .......... .......... .......... 33% 91,7M 0s 350K .......... .......... .......... .......... .......... 38% 6,31M 0s 400K .......... .......... .......... .......... .......... 43% 85,0M 0s 450K .......... .......... .......... .......... .......... 48% 113M 0s 500K .......... .......... .......... .......... .......... 53% 84,7M 0s 550K .......... .......... .......... .......... .......... 58% 109M 0s 600K .......... .......... .......... .......... .......... 63% 106M 0s 650K .......... .......... .......... .......... .......... 67% 113M 0s 700K .......... .......... .......... .......... .......... 72% 109M 0s 750K .......... .......... .......... .......... .......... 77% 92,9M 0s 800K .......... .......... .......... .......... .......... 82% 7,59M 0s 850K .......... .......... .......... .......... .......... 87% 106M 0s 900K .......... .......... .......... .......... .......... 92% 138M 0s 950K .......... .......... .......... .......... .......... 97% 128M 0s 1000K .......... .......... ......... 100% 126M=0,06s 2025-07-18 13:56:05 (16,3 MB/s) - «/tmp/ddfa42544ad5fb0844521b557069919b.jpg» enregistré [1054486/1054486] --2025-07-18 13:56:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 248752 (243K) [image/jpeg] Enregistre : «/tmp/041456ded931d063581865774e6ea9dd.jpg» 0K .......... .......... .......... .......... .......... 20% 4,48M 0s 50K .......... .......... .......... .......... .......... 41% 4,85M 0s 100K .......... .......... .......... .......... .......... 61% 123M 0s 150K .......... .......... .......... .......... .......... 82% 5,63M 0s 200K .......... .......... .......... .......... .. 100% 34,7M=0,03s 2025-07-18 13:56:05 (7,59 MB/s) - «/tmp/041456ded931d063581865774e6ea9dd.jpg» enregistré [248752/248752] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 [error] application - ! @8a6490mbo - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8575146051102259851asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8575146051102259851asTemporaryFile : 260473 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac.jpg -O /tmp/20852fe403dc297cb4322782219670ac.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac-small.jpg type_mfp mfpopt2025 size_object of file /tmp/20852fe403dc297cb4322782219670ac-big.jpg : 107374 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/20852fe403dc297cb4322782219670ac-medium.jpg : 24767 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/20852fe403dc297cb4322782219670ac-small.jpg : 6589 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.783326 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3750 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3850 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3750 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3850 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac.jpg", "TemporaryFile(/tmp/multipartBody8575146051102259851asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac-big.jpg", "TemporaryFile(/tmp/multipartBody8575146051102259851asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac-medium.jpg", "TemporaryFile(/tmp/multipartBody8575146051102259851asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20852fe403dc297cb4322782219670ac-small.jpg", "TemporaryFile(/tmp/multipartBody8575146051102259851asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3750 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3850 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 136 latitude : 0.0 longitude : 0.0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [info] a.models.Photo - source_id_submit_photo from insertion : 379518920 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518920" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25057218) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631738, 1372631742, 1372631745, 1372631748, 1372631750, 1372631751) 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8290974036950740811asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8290974036950740811asTemporaryFile : 1054486 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b.jpg -O /tmp/ddfa42544ad5fb0844521b557069919b.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ddfa42544ad5fb0844521b557069919b-big.jpg : 64334 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ddfa42544ad5fb0844521b557069919b-medium.jpg : 14913 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ddfa42544ad5fb0844521b557069919b-small.jpg : 3973 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.223325 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4058 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 4291 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4058 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 4291 Before insertPortfolioPhotoId , duration 20 : 0 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b.jpg", "TemporaryFile(/tmp/multipartBody8290974036950740811asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b-big.jpg", "TemporaryFile(/tmp/multipartBody8290974036950740811asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b-medium.jpg", "TemporaryFile(/tmp/multipartBody8290974036950740811asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631742,1372631742, "1" ,0,991, NOW()), (25057218, 1372631751,1372631751, "1" ,0,991, NOW()), (25057218, 1372631745,1372631745, "1" ,0,991, NOW()), (25057218, 1372631748,1372631748, "1" ,0,991, NOW()), (25057218, 1372631750,1372631750, "1" ,0,991, NOW()), (25057218, 1372631738,1372631738, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ddfa42544ad5fb0844521b557069919b-small.jpg", "TemporaryFile(/tmp/multipartBody8290974036950740811asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4058 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 4291 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 latitude : 0.0 longitude : 0.0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [info] a.models.Photo - source_id_submit_photo from insertion : 379518924 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518924" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3750 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3850 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 136After insertPortfolioPhotoId , duration 26 : 367 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; mtr_portfolio_id : Some(24230041) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631740, 1372631744, 1372631747, 1372631749, 1372631756) 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (24230041, 1372631747,1372631747, "1" ,0,979, NOW()), (24230041, 1372631756,1372631756, "1" ,0,979, NOW()), (24230041, 1372631744,1372631744, "1" ,0,979, NOW()), (24230041, 1372631749,1372631749, "1" ,0,979, NOW()), (24230041, 1372631740,1372631740, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 [error] application - ! @8a6490olo - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4058 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 4291 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140After insertPortfolioPhotoId , duration 22 : 336 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 [error] application - ! @8a649103f - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 [error] application - ! @8a64910ed - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 [error] application - ! @8a64910p0 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 [error] application - ! @8a649119j - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1831992941823373096asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1831992941823373096asTemporaryFile : 248752 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd.jpg -O /tmp/041456ded931d063581865774e6ea9dd.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd-small.jpg type_mfp mfpopt2025 size_object of file /tmp/041456ded931d063581865774e6ea9dd-big.jpg : 64224 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/041456ded931d063581865774e6ea9dd-medium.jpg : 18584 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/041456ded931d063581865774e6ea9dd-small.jpg : 5893 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:05.190742 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd.jpg", "TemporaryFile(/tmp/multipartBody1831992941823373096asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd-big.jpg", "TemporaryFile(/tmp/multipartBody1831992941823373096asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd-medium.jpg", "TemporaryFile(/tmp/multipartBody1831992941823373096asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 [error] application - ! @8a64911kd - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/041456ded931d063581865774e6ea9dd-small.jpg", "TemporaryFile(/tmp/multipartBody1831992941823373096asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518928 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518928" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4159553552161642166asTemporaryFile -n bad0e3a73032cbbfdddbbeb0d84622fb --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_55_44_9124.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4159553552161642166asTemporaryFile -n bad0e3a73032cbbfdddbbeb0d84622fb --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 [error] application - ! @8a6491257 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3978 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3711 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3624 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 101.After photo_uploader , duration 15 : 3735 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3750 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3850 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 136After insertPortfolioPhotoId , duration 26 : 367 About to finish After with svm , duration 27 : 3060 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 4196 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4159 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 145 Before photo_uploader , duration 10 : 100.After photo_uploader , duration 11 : 4692 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4058 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 4291 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140After insertPortfolioPhotoId , duration 22 : 336 About to finish After with svm , duration 23 : 2889 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3189040 --2025-07-18 13:56:11-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 248451 (243K) [image/jpeg] Enregistre : «/tmp/bad0e3a73032cbbfdddbbeb0d84622fb.jpg» 0K .......... .......... .......... .[error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 [error] application - ! @8a64914c6 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] ......... .......... 20% 4,74M 0s 50K .......... .......... .......... .......... .......... 41% 4,90M 0s 100K .......... .......... .......... .......... .......... 61% 123M 0s 150K .......... .......... .......... .......... .......... 82% 5,07M 0s 200K .......... .......... .......... .......... .. 100% 131M=0,03s 2025-07-18 13:56:11 (7,73 MB/s) - «/tmp/bad0e3a73032cbbfdddbbeb0d84622fb.jpg» enregistré [248451/248451] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4159553552161642166asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4159553552161642166asTemporaryFile : 248451 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb.jpg -O /tmp/bad0e3a73032cbbfdddbbeb0d84622fb.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb-small.jpg type_mfp mfpopt2025 size_object of file /tmp/bad0e3a73032cbbfdddbbeb0d84622fb-big.jpg : 64179 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bad0e3a73032cbbfdddbbeb0d84622fb-medium.jpg : 18599 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bad0e3a73032cbbfdddbbeb0d84622fb-small.jpg : 5892 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.366995 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb.jpg", "TemporaryFile(/tmp/multipartBody4159553552161642166asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb-big.jpg", "TemporaryFile(/tmp/multipartBody4159553552161642166asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb-medium.jpg", "TemporaryFile(/tmp/multipartBody4159553552161642166asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bad0e3a73032cbbfdddbbeb0d84622fb-small.jpg", "TemporaryFile(/tmp/multipartBody4159553552161642166asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518929 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518929" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody556327588138547289asTemporaryFile -n 11b1adee494b16a9e9bb0baa87dc33f5 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_55_35_10136.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody556327588138547289asTemporaryFile -n 11b1adee494b16a9e9bb0baa87dc33f5 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 [error] application - ! @8a64917n5 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3189040 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3189040 [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.flushPendingEncryptedWrites(SslHandler.java:1108) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1047) ~[io.netty.netty-3.7.1.Final.jar:na] --2025-07-18 13:56:15-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 229150 (224K) [image/jpeg] Enregistre : «/tmp/11b1adee494b16a9e9bb0baa87dc33f5.jpg» 0K .......... .......... .......... .......... .......... 22% 2,51M 0s 50K .......... .......... .......... .......... .......... 44% 4,95M 0s 100K .......... .......... .......... .......... .......... 67% 118M 0s 150K .......... .......... .......... .......... .......... 89% 70,7M 0s 200K .......... .......... ... 100% 2,58M=0,04s 2025-07-18 13:56:15 (5,55 MB/s) - «/tmp/11b1adee494b16a9e9bb0baa87dc33f5.jpg» enregistré [229150/229150] [info] a.c.Portfolio - fromPostToArgLong could have a better implemtation port [info] a.c.Portfolio - fromPostToArgString could have a better implemtation host [info] a.c.Portfolio - fromPostToArgString could have a better implemtation available [info] a.c.Portfolio - fromPostToArgString could have a better implemtation report [info] a.c.Portfolio - fromPostToArgString could have a better implemtation mod /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody556327588138547289asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody556327588138547289asTemporaryFile : 229150 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5.jpg -O /tmp/11b1adee494b16a9e9bb0baa87dc33f5.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5-small.jpg type_mfp mfpopt2025 size_object of file /tmp/11b1adee494b16a9e9bb0baa87dc33f5-big.jpg : 60179 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/11b1adee494b16a9e9bb0baa87dc33f5-medium.jpg : 17544 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/11b1adee494b16a9e9bb0baa87dc33f5-small.jpg : 5685 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.475642 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5.jpg", "TemporaryFile(/tmp/multipartBody556327588138547289asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5-big.jpg", "TemporaryFile(/tmp/multipartBody556327588138547289asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5-medium.jpg", "TemporaryFile(/tmp/multipartBody556327588138547289asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/11b1adee494b16a9e9bb0baa87dc33f5-small.jpg", "TemporaryFile(/tmp/multipartBody556327588138547289asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518930 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518930" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4660024638781221167asTemporaryFile -n 5f0b910695919c8d6fc4ac958aff9182 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_55_25_10134.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4660024638781221167asTemporaryFile -n 5f0b910695919c8d6fc4ac958aff9182 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(e243aac39fb012c084cfefeb2a6a3641) mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_55_45_9660.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@44d22599 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_55_35_10741.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@51500c2e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_55_24_9701.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@18ed4896 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_55_15_9732.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1ff0df6b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_55_05_10730.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4a5bdfe1 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_54_54_9678.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1bbb8bf8 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8878915859831501281asTemporaryFile -n 503e3d47cda45e41ef845f4120381ebf --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_55_45_9660.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8878915859831501281asTemporaryFile -n 503e3d47cda45e41ef845f4120381ebf --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:56:19-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223544 (218K) [image/jpeg] Enregistre : «/tmp/5f0b910695919c8d6fc4ac958aff9182.jpg» 0K .......... .......... .......... .......... .......... 22% 2,40M 0s 50K .......... .......... .......... .......... .......... 45% 5,38M 0s 100K .......... .......... .......... .......... .......... 68% 38,7M 0s 150K .......... .......... .......... .......... .......... 91% 5,59M 0s 200K .......... ........ 100% 140M=0,04s 2025-07-18 13:56:19 (5,39 MB/s) - «/tmp/5f0b910695919c8d6fc4ac958aff9182.jpg» enregistré [223544/223544] --2025-07-18 13:56:20-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 148851 (145K) [image/jpeg] Enregistre : «/tmp/503e3d47cda45e41ef845f4120381ebf.jpg» 0K .......... .......... .......... .......... .......... 34% 2,43M 0s 50K .......... .......... .......... .......... .......... 68% 4,94M 0s 100K .......... .......... .......... .......... ..... 100% 94,7M=0,03s 2025-07-18 13:56:20 (4,66 MB/s) - «/tmp/503e3d47cda45e41ef845f4120381ebf.jpg» enregistré [148851/148851] token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_05072025_04_32_05_10189.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6c586a17 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_05072025_04_32_15_10203.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5d0628fb basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_05072025_04_32_55_10263.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@aec0a7d basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_05072025_04_33_05_10297.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@380e2e06 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_05072025_04_33_14_9049.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1729e3c2 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_05072025_04_36_15_10228.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7b84402c basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(24628033) [info] a.c.Photo - given_mtr_portfolio_id : Some(24628033) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2584144420954384544asTemporaryFile -n 28c7e008151495c1487e30497f5cf964 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_05072025_04_32_05_10189.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2584144420954384544asTemporaryFile -n 28c7e008151495c1487e30497f5cf964 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4660024638781221167asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4660024638781221167asTemporaryFile : 223544 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182.jpg -O /tmp/5f0b910695919c8d6fc4ac958aff9182.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182-small.jpg type_mfp mfpopt2025 size_object of file /tmp/5f0b910695919c8d6fc4ac958aff9182-big.jpg : 57608 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5f0b910695919c8d6fc4ac958aff9182-medium.jpg : 17030 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5f0b910695919c8d6fc4ac958aff9182-small.jpg : 5576 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.445997 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182.jpg", "TemporaryFile(/tmp/multipartBody4660024638781221167asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182-big.jpg", "TemporaryFile(/tmp/multipartBody4660024638781221167asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182-medium.jpg", "TemporaryFile(/tmp/multipartBody4660024638781221167asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5f0b910695919c8d6fc4ac958aff9182-small.jpg", "TemporaryFile(/tmp/multipartBody4660024638781221167asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518931 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518931" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5333631198880832833asTemporaryFile -n 1b962d36d387f2bc30b006e2eb50e604 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_55_15_10135.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5333631198880832833asTemporaryFile -n 1b962d36d387f2bc30b006e2eb50e604 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:56:22-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8878915859831501281asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8878915859831501281asTemporaryFile : 148851 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf.jpg -O /tmp/503e3d47cda45e41ef845f4120381ebf.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf-small.jpg type_mfp mfpopt2025 size_object of file /tmp/503e3d47cda45e41ef845f4120381ebf-big.jpg : 36704 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/503e3d47cda45e41ef845f4120381ebf-medium.jpg : 13030 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/503e3d47cda45e41ef845f4120381ebf-small.jpg : 4592 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.801720 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf.jpg", "TemporaryFile(/tmp/multipartBody8878915859831501281asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf-big.jpg", "TemporaryFile(/tmp/multipartBody8878915859831501281asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf-medium.jpg", "TemporaryFile(/tmp/multipartBody8878915859831501281asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 200 OK Taille : 1079965 (1,0M) [image/jpeg] Enregistre : «/tmp/28c7e008151495c1487e30497f5cf964.jpg» 0K ..[debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/503e3d47cda45e41ef845f4120381ebf-small.jpg", "TemporaryFile(/tmp/multipartBody8878915859831501281asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) ........ .......... .......... .......... .......... 4% 2,53M 0s 50K .......... .......... .......... .........[info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 latitude : 0.0 longitude : 0.0 . .......... 9% 4,85M 0s 100K .......... .......... .......... .......... .......... 14% 114M 0s 150K .......... .......... .......... .......... .......... 18% 58,0M 0s 200K .......... .......... .......... .......... .......... 23% 5,37M 0s 250K .......... .......... .......... .......... .......... 28% 123M 0s 300K .......... .......... .......... .......... .......... 33% 114M 0s 350K .......... .......... .......... .......... .......... 37% 111M 0s 400K .......... .......... .......... .......... .......... 42% 5,82M 0s 450K .......... .......... .......... .......... .......... 47% 68,8M 0s 500K .......... .......... .......... .......... .......... 52% 137M 0s 550K .......... .......... .......... .......... .......... 56% 111M 0s 600K .......... .......... .......... .......... .......... 61% 131M 0s 650K .......... .......... .......... .......... .......... 66% 135M 0s 700K .......... .......... .......... .......... .......... 71% 120M 0s 750K .......... .......... .......... .......... .......... 75% 107M 0s 800K .......... .......... .......... .......... .......... 80% 109M 0s 850K .......... .......... .......... .......... .......... 85% 7,63M 0s 900K .......... .......... .......... .......... .......... 90% 121M 0s 950K .......... .......... .......... .......... .......... 94% 87,8M 0s 1000K .......... .......... .......... .......... .......... 99% 131M 0s 1050K .... 100% 104M=0,06s 2025-07-18 13:56:22 (17,0 MB/s) - «/tmp/28c7e008151495c1487e30497f5cf964.jpg» enregistré [1079965/1079965] [info] a.models.Photo - source_id_submit_photo from insertion : 379518932 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518932" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody994442572803010054asTemporaryFile -n c07a42e541eea71fa936f0c31c5e79cd --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_55_35_10741.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody994442572803010054asTemporaryFile -n c07a42e541eea71fa936f0c31c5e79cd --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 13:56:23-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 219082 (214K) [image/jpeg] Enregistre : «/tmp/1b962d36d387f2bc30b006e2eb50e604.jpg» 0K .......... .......... .......... .......... .......... 23% 2,48M 0s 50K .......... .......... .......... .......... .......... 46% 4,90M 0s 100K .......... .......... .......... .......... .......... 70% 107M 0s 150K .......... .......... .......... .......... .......... 93% 122M 0s 200K .......... ... 100% 1,46M=0,04s 2025-07-18 13:56:23 (5,25 MB/s) - «/tmp/1b962d36d387f2bc30b006e2eb50e604.jpg» enregistré [219082/219082] --2025-07-18 13:56:24-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 154882 (151K) [image/jpeg] Enregistre : «/tmp/c07a42e541eea71fa936f0c31c5e79cd.jpg» 0K .......... .......... .......... .......... .......... 33% 2,40M 0s 50K .......... .......... .......... .......... .......... 66% 4,88M 0s 100K .......... .......... .......... .......... .......... 99% 140M 0s 150K . 100% 2388G=0,03s 2025-07-18 13:56:24 (4,82 MB/s) - «/tmp/c07a42e541eea71fa936f0c31c5e79cd.jpg» enregistré [154882/154882] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5333631198880832833asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5333631198880832833asTemporaryFile : 219082 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604.jpg -O /tmp/1b962d36d387f2bc30b006e2eb50e604.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604-small.jpg type_mfp mfpopt2025 size_object of file /tmp/1b962d36d387f2bc30b006e2eb50e604-big.jpg : 56148 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1b962d36d387f2bc30b006e2eb50e604-medium.jpg : 16701 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1b962d36d387f2bc30b006e2eb50e604-small.jpg : 5515 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.796477 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 93.After photo_uploader , duration 19 : 3810 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 93.After photo_uploader , duration 19 : 3810 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604.jpg", "TemporaryFile(/tmp/multipartBody5333631198880832833asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2584144420954384544asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2584144420954384544asTemporaryFile : 1079965 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964.jpg -O /tmp/28c7e008151495c1487e30497f5cf964.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964-small.jpg type_mfp mfpopt2025 size_object of file /tmp/28c7e008151495c1487e30497f5cf964-big.jpg : 63897 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/28c7e008151495c1487e30497f5cf964-medium.jpg : 14661 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/28c7e008151495c1487e30497f5cf964-small.jpg : 3945 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.670438 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604-big.jpg", "TemporaryFile(/tmp/multipartBody5333631198880832833asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964.jpg", "TemporaryFile(/tmp/multipartBody2584144420954384544asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604-medium.jpg", "TemporaryFile(/tmp/multipartBody5333631198880832833asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964-big.jpg", "TemporaryFile(/tmp/multipartBody2584144420954384544asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1b962d36d387f2bc30b006e2eb50e604-small.jpg", "TemporaryFile(/tmp/multipartBody5333631198880832833asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964-medium.jpg", "TemporaryFile(/tmp/multipartBody2584144420954384544asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 93.After photo_uploader , duration 19 : 3810 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 143 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/28c7e008151495c1487e30497f5cf964-small.jpg", "TemporaryFile(/tmp/multipartBody2584144420954384544asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518933 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518933" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518934 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518934" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4880976249251604433asTemporaryFile -n c66d3f5ff24fb429f51fa9f3b55d2cc0 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_55_05_10144.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4880976249251604433asTemporaryFile -n c66d3f5ff24fb429f51fa9f3b55d2cc0 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7213911565825877206asTemporaryFile -n d9eb074d19ffbb0e7235e708d7a5b473 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_05072025_04_32_15_10203.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7213911565825877206asTemporaryFile -n d9eb074d19ffbb0e7235e708d7a5b473 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody994442572803010054asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody994442572803010054asTemporaryFile : 154882 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd.jpg -O /tmp/c07a42e541eea71fa936f0c31c5e79cd.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c07a42e541eea71fa936f0c31c5e79cd-big.jpg : 36798 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c07a42e541eea71fa936f0c31c5e79cd-medium.jpg : 12843 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c07a42e541eea71fa936f0c31c5e79cd-small.jpg : 4472 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.810825 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd.jpg", "TemporaryFile(/tmp/multipartBody994442572803010054asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd-big.jpg", "TemporaryFile(/tmp/multipartBody994442572803010054asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd-medium.jpg", "TemporaryFile(/tmp/multipartBody994442572803010054asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c07a42e541eea71fa936f0c31c5e79cd-small.jpg", "TemporaryFile(/tmp/multipartBody994442572803010054asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518935 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518935" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7680557147119998382asTemporaryFile -n 545c37a0d27cf03bce22e2859db8cb08 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_55_24_9701.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7680557147119998382asTemporaryFile -n 545c37a0d27cf03bce22e2859db8cb08 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:56:26-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 218896 (214K) [image/jpeg] Enregistre : «/tmp/c66d3f5ff24fb429f51fa9f3b55d2cc0.jpg» 0K .......... .......... .......... .......... .......... 23% 2,40M 0s 50K .......... .......... .......... .......... .......... 46% 4,84M 0s 100K .......... .......... .......... .......... .......... 70% 118M 0s 150K .......... .......... .......... .......... .......... 93% 5,03M 0s 200K .......... ... 100% 209M=0,04s 2025-07-18 13:56:27 (5,13 MB/s) - «/tmp/c66d3f5ff24fb429f51fa9f3b55d2cc0.jpg» enregistré [218896/218896] --2025-07-18 13:56:27-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1081894 (1,0M) [image/jpeg] Enregistre : «/tmp/d9eb074d19ffbb0e7235e708d7a5b473.jpg» 0K .......... .......... .......... .......... .......... 4% 2,52M 0s 50K .......... .......... .......... .......... .......... 9% 4,86M 0s 100K .......... .......... .......... .......... .......... 14% 51,8M 0s 150K .......... .......... .......... .......... .......... 18% 126M 0s 200K .......... .......... .......... .......... .......... 23% 5,50M 0s 250K .......... .......... .......... .......... .......... 28% 52,9M 0s 300K .......... .......... .......... .......... .......... 33% 127M 0s 350K .......... .......... .......... .......... .......... 37% 125M 0s 400K .......... .......... .......... .......... .......... 42% 5,92M 0s 450K .......... .......... .......... .......... .......... 47% 129M 0s 500K .......... .......... .......... .......... .......... 52% 107M 0s 550K .......... .......... .......... .......... .......... 56% 125M 0s 600K .......... .......... .......... .......... .......... 61% 97,4M 0s 650K .......... .......... .......... .......... .......... 66% 128M 0s 700K .......... .......... .......... .......... .......... 70% 115M 0s 750K .......... .......... .......... .......... .......... 75% 91,2M 0s 800K .......... .......... .......... .......... .......... 80% 126M 0s 850K .......... .......... .......... .......... .......... 85% 7,50M 0s 900K .......... .......... .......... .......... .......... 89% 125M 0s 950K .......... .......... .......... .......... .......... 94% 119M 0s 1000K .......... .......... .......... .......... .......... 99% 126M 0s 1050K ...... 100% 167M=0,06s 2025-07-18 13:56:27 (17,0 MB/s) - «/tmp/d9eb074d19ffbb0e7235e708d7a5b473.jpg» enregistré [1081894/1081894] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 [error] application - ! @8a649223b - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 [error] application - ! @8a64922c3 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] --2025-07-18 13:56:28-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 189503 (185K) [image/jpeg] Enregistre : «/tmp/545c37a0d27cf03bce22e2859db8cb08.jpg» 0K .......... .......... .......... .......... .......... 27% 4,76M 0s 50K .......... .......... .......... .......... .......... 54% 4,86M 0s 100K .......... .......... .......... .......... .......... 81% 107M 0s 150K .......... .......... .......... ..... 100% 3,69M=0,03s 2025-07-18 13:56:28 (6,02 MB/s) - «/tmp/545c37a0d27cf03bce22e2859db8cb08.jpg» enregistré [189503/189503] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 [error] application - ! @8a64922kc - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4880976249251604433asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4880976249251604433asTemporaryFile : 218896 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0.jpg -O /tmp/c66d3f5ff24fb429f51fa9f3b55d2cc0.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c66d3f5ff24fb429f51fa9f3b55d2cc0-big.jpg : 56259 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c66d3f5ff24fb429f51fa9f3b55d2cc0-medium.jpg : 16729 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c66d3f5ff24fb429f51fa9f3b55d2cc0-small.jpg : 5556 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.860306 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 93.After photo_uploader , duration 19 : 3810 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 143 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3860 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 93.After photo_uploader , duration 19 : 3810 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 143 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3860 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0.jpg", "TemporaryFile(/tmp/multipartBody4880976249251604433asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0-big.jpg", "TemporaryFile(/tmp/multipartBody4880976249251604433asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0-medium.jpg", "TemporaryFile(/tmp/multipartBody4880976249251604433asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c66d3f5ff24fb429f51fa9f3b55d2cc0-small.jpg", "TemporaryFile(/tmp/multipartBody4880976249251604433asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 93.After photo_uploader , duration 19 : 3810 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 143 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3860 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518942 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518942" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050138) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631759, 1372631760, 1372631761, 1372631762, 1372631764, 1372631773) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050138, 1372631762,1372631762, "1" ,0,979, NOW()), (25050138, 1372631759,1372631759, "1" ,0,979, NOW()), (25050138, 1372631764,1372631764, "1" ,0,979, NOW()), (25050138, 1372631773,1372631773, "1" ,0,979, NOW()), (25050138, 1372631761,1372631761, "1" ,0,979, NOW()), (25050138, 1372631760,1372631760, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 93.After photo_uploader , duration 19 : 3810 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 143 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3860 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 356 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7213911565825877206asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7213911565825877206asTemporaryFile : 1081894 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473.jpg -O /tmp/d9eb074d19ffbb0e7235e708d7a5b473.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d9eb074d19ffbb0e7235e708d7a5b473-big.jpg : 63901 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d9eb074d19ffbb0e7235e708d7a5b473-medium.jpg : 14676 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d9eb074d19ffbb0e7235e708d7a5b473-small.jpg : 3970 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.335470 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473.jpg", "TemporaryFile(/tmp/multipartBody7213911565825877206asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473-big.jpg", "TemporaryFile(/tmp/multipartBody7213911565825877206asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473-medium.jpg", "TemporaryFile(/tmp/multipartBody7213911565825877206asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d9eb074d19ffbb0e7235e708d7a5b473-small.jpg", "TemporaryFile(/tmp/multipartBody7213911565825877206asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518943 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518943" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7049361647003783968asTemporaryFile -n 1d4a8e47e41f9a41cea3292458715c5c --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_05072025_04_32_55_10263.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7049361647003783968asTemporaryFile -n 1d4a8e47e41f9a41cea3292458715c5c --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7680557147119998382asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7680557147119998382asTemporaryFile : 189503 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08.jpg -O /tmp/545c37a0d27cf03bce22e2859db8cb08.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08-small.jpg type_mfp mfpopt2025 size_object of file /tmp/545c37a0d27cf03bce22e2859db8cb08-big.jpg : 41085 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/545c37a0d27cf03bce22e2859db8cb08-medium.jpg : 12807 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/545c37a0d27cf03bce22e2859db8cb08-small.jpg : 4421 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.523370 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08.jpg", "TemporaryFile(/tmp/multipartBody7680557147119998382asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08-big.jpg", "TemporaryFile(/tmp/multipartBody7680557147119998382asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08-medium.jpg", "TemporaryFile(/tmp/multipartBody7680557147119998382asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/545c37a0d27cf03bce22e2859db8cb08-small.jpg", "TemporaryFile(/tmp/multipartBody7680557147119998382asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518944 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518944" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9194240391497238537asTemporaryFile -n ef1f968113afc6df2db3d07ca04d0509 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_55_15_9732.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9194240391497238537asTemporaryFile -n ef1f968113afc6df2db3d07ca04d0509 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:56:31-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1083015 (1,0M) [image/jpeg] Enregistre : «/tmp/1d4a8e47e41f9a41cea3292458715c5c.jpg» 0K .......... .......... .......... .......... .......... 4% 4,78M 0s 50K .......... .......... .......... .......... .......... 9% 4,89M 0s 100K .......... .......... .......... .......... .......... 14% 114M 0s 150K .......... .......... .......... .......... .......... 18% 5,07M 0s 200K .......... .......... .......... .......... .......... 23% 114M 0s 250K .......... .......... .......... .......... .......... 28% 90,4M 0s 300K .......... .......... .......... .......... .......... 33% 143M 0s 350K .......... .......... .......... .......... .......... 37% 5,56M 0s 400K .......... .......... .......... .......... .......... 42% 128M 0s 450K .......... .......... .......... .......... .......... 47% 137M 0s 500K .......... .......... .......... .......... .......... 52% 93,9M 0s 550K .......... .......... .......... .......... .......... 56% 112M 0s 600K .......... .......... .......... .......... .......... 61% 112M 0s 650K .......... .......... .......... .......... .......... 66% 125M 0s 700K .......... .......... .......... .......... .......... 70% 112M 0s 750K .......... .......... .......... .......... .......... 75% 7,07M 0s 800K .......... .......... .......... .......... .......... 80% 89,4M 0s 850K .......... .......... .......... .......... .......... 85% 170M 0s 900K .......... .......... .......... .......... .......... 89% 122M 0s 950K .......... .......... .......... .......... .......... 94% 97,2M 0s 1000K .......... .......... .......... .......... .......... 99% 129M 0s 1050K ....... 100% 161M=0,05s 2025-07-18 13:56:31 (19,7 MB/s) - «/tmp/1d4a8e47e41f9a41cea3292458715c5c.jpg» enregistré [1083015/1083015] --2025-07-18 13:56:32-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 175994 (172K) [image/jpeg] Enregistre : «/tmp/ef1f968113afc6df2db3d07ca04d0509.jpg» 0K .......... .......... .......... .......... .......... 29% 4,83M 0s 50K .......... .......... .......... .......... .......... 58% 4,85M 0s 100K .......... .......... .......... .......... .......... 87% 116M 0s 150K .......... .......... . 100% 166M=0,02s 2025-07-18 13:56:32 (8,10 MB/s) - «/tmp/ef1f968113afc6df2db3d07ca04d0509.jpg» enregistré [175994/175994] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 6265 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3429 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3466 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 3493 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 93.After photo_uploader , duration 19 : 3810 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 143 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3860 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 356 About to finish After with svm , duration 27 : 2963 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9194240391497238537asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9194240391497238537asTemporaryFile : 175994 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509.jpg -O /tmp/ef1f968113afc6df2db3d07ca04d0509.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ef1f968113afc6df2db3d07ca04d0509-big.jpg : 40164 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ef1f968113afc6df2db3d07ca04d0509-medium.jpg : 13171 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ef1f968113afc6df2db3d07ca04d0509-small.jpg : 4536 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.819811 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509.jpg", "TemporaryFile(/tmp/multipartBody9194240391497238537asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509-big.jpg", "TemporaryFile(/tmp/multipartBody9194240391497238537asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7049361647003783968asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7049361647003783968asTemporaryFile : 1083015 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c.jpg -O /tmp/1d4a8e47e41f9a41cea3292458715c5c.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c-small.jpg type_mfp mfpopt2025 size_object of file /tmp/1d4a8e47e41f9a41cea3292458715c5c-big.jpg : 64024 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1d4a8e47e41f9a41cea3292458715c5c-medium.jpg : 14665 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1d4a8e47e41f9a41cea3292458715c5c-small.jpg : 3970 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.297651 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509-medium.jpg", "TemporaryFile(/tmp/multipartBody9194240391497238537asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c.jpg", "TemporaryFile(/tmp/multipartBody7049361647003783968asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ef1f968113afc6df2db3d07ca04d0509-small.jpg", "TemporaryFile(/tmp/multipartBody9194240391497238537asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c-big.jpg", "TemporaryFile(/tmp/multipartBody7049361647003783968asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c-medium.jpg", "TemporaryFile(/tmp/multipartBody7049361647003783968asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - source_id_submit_photo from insertion : 379518945 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518945" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1d4a8e47e41f9a41cea3292458715c5c-small.jpg", "TemporaryFile(/tmp/multipartBody7049361647003783968asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 latitude : 0.0 longitude : 0.0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7149906303126423064asTemporaryFile -n de97131a1b660a2a6df4eace16b92e08 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_55_05_10730.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7149906303126423064asTemporaryFile -n de97131a1b660a2a6df4eace16b92e08 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.models.Photo - source_id_submit_photo from insertion : 379518946 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518946" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5491201953712893761asTemporaryFile -n 54ecc42bc0bc845e289012f70bdde7a8 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_05072025_04_33_05_10297.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5491201953712893761asTemporaryFile -n 54ecc42bc0bc845e289012f70bdde7a8 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 --2025-07-18 13:56:36-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 189723 (185K) [image/jpeg] Enregistre : «/tmp/de97131a1b660a2a6df4eace16b92e08.jpg» 0K .......... .......... .......... .......... .......... 26% 4,74M 0s 50K .......... .......... .......... .......... .......... 53% 4,96M 0s 100K .......... .......... .......... .......... .......... 80% 109M 0s 150K .......... .......... .......... ..... 100% 3,60M=0,03s 2025-07-18 13:56:36 (6,00 MB/s) - «/tmp/de97131a1b660a2a6df4eace16b92e08.jpg» enregistré [189723/189723] --2025-07-18 13:56:36-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1083062 (1,0M) [image/jpeg] Enregistre : «/tmp/54ecc42bc0bc845e289012f70bdde7a8.jpg» 0K .......... .......... .......... .......... .......... 4% 2,44M 0s 50K .......... .......... .......... .......... .......... 9% 4,91M 0s 100K .......... .......... .......... .......... .......... 14% 121M 0s 150K .......... .......... .......... .......... .......... 18% 105M 0s 200K .......... .......... .......... .......... .......... 23% 5,23M 0s 250K .......... .......... .......... .......... .......... 28% 88,4M 0s 300K .......... .......... .......... .......... .......... 33% 122M 0s 350K .......... .......... .......... .......... .......... 37% 108M 0s 400K .......... .......... .......... .......... .......... 42% 5,76M 0s 450K .......... .......... .......... .......... .......... 47% 104M 0s 500K .......... .......... .......... .......... .......... 52% 123M 0s 550K .......... .......... .......... .......... .......... 56% 120M 0s 600K .......... .......... .......... .......... .......... 61% 97,1M 0s 650K .......... .......... .......... .......... .......... 66% 118M 0s 700K .......... .......... .......... .......... .......... 70% 128M 0s 750K .......... .......... .......... .......... .......... 75% 105M 0s 800K .......... .......... .......... .......... .......... 80% 96,5M 0s 850K .......... .......... .......... .......... .......... 85% 7,55M 0s 900K .......... .......... .......... .......... .......... 89% 106M 0s 950K .......... .......... .......... .......... .......... 94% 101M 0s 1000K .......... .......... .......... .......... .......... 99% 115M 0s 1050K ....... 100% 190M=0,06s 2025-07-18 13:56:36 (16,8 MB/s) - «/tmp/54ecc42bc0bc845e289012f70bdde7a8.jpg» enregistré [1083062/1083062] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7149906303126423064asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7149906303126423064asTemporaryFile : 189723 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08.jpg -O /tmp/de97131a1b660a2a6df4eace16b92e08.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08-small.jpg type_mfp mfpopt2025 size_object of file /tmp/de97131a1b660a2a6df4eace16b92e08-big.jpg : 43429 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/de97131a1b660a2a6df4eace16b92e08-medium.jpg : 13730 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/de97131a1b660a2a6df4eace16b92e08-small.jpg : 4556 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.607742 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3658 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3658 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08.jpg", "TemporaryFile(/tmp/multipartBody7149906303126423064asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08-big.jpg", "TemporaryFile(/tmp/multipartBody7149906303126423064asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08-medium.jpg", "TemporaryFile(/tmp/multipartBody7149906303126423064asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/de97131a1b660a2a6df4eace16b92e08-small.jpg", "TemporaryFile(/tmp/multipartBody7149906303126423064asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3658 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518947 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518947" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1958000415551047247asTemporaryFile -n e36d8861cf95171ec106cd2b0db275eb --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_54_54_9678.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1958000415551047247asTemporaryFile -n e36d8861cf95171ec106cd2b0db275eb --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5491201953712893761asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5491201953712893761asTemporaryFile : 1083062 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8.jpg -O /tmp/54ecc42bc0bc845e289012f70bdde7a8.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8-small.jpg type_mfp mfpopt2025 size_object of file /tmp/54ecc42bc0bc845e289012f70bdde7a8-big.jpg : 64004 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/54ecc42bc0bc845e289012f70bdde7a8-medium.jpg : 14677 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/54ecc42bc0bc845e289012f70bdde7a8-small.jpg : 3966 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.117150 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8.jpg", "TemporaryFile(/tmp/multipartBody5491201953712893761asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8-big.jpg", "TemporaryFile(/tmp/multipartBody5491201953712893761asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8-medium.jpg", "TemporaryFile(/tmp/multipartBody5491201953712893761asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/54ecc42bc0bc845e289012f70bdde7a8-small.jpg", "TemporaryFile(/tmp/multipartBody5491201953712893761asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518948 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518948" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6034613398562025230asTemporaryFile -n 0964a0d4c6b5b3051be3125c3bda38c8 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_05072025_04_33_14_9049.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6034613398562025230asTemporaryFile -n 0964a0d4c6b5b3051be3125c3bda38c8 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:56:40-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 171991 (168K) [image/jpeg] Enregistre : «/tmp/e36d8861cf95171ec106cd2b0db275eb.jpg» 0K .......... .......... .......... .......... .......... 29% 2,53M 0s 50K .......... .......... .......... .......... .......... 59% 4,90M 0s 100K .......... .......... .......... .......... .......... 89% 108M 0s 150K .......... ....... 100% 119M=0,03s 2025-07-18 13:56:40 (5,49 MB/s) - «/tmp/e36d8861cf95171ec106cd2b0db275eb.jpg» enregistré [171991/171991] --2025-07-18 13:56:41-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1085386 (1,0M) [image/jpeg] Enregistre : «/tmp/0964a0d4c6b5b3051be3125c3bda38c8.jpg» 0K .......... .......... .......... .......... .......... 4% 2,39M 0s 50K .......... .......... .......... .......... .......... 9% 4,92M 0s 100K .......... .......... .......... .......... .......... 14% 103M 0s 150K .......... .......... .......... .......... .......... 18% 99,2M 0s 200K .......... .......... .......... .......... .......... 23% 5,19M 0s 250K .......... .......... .......... .......... .......... 28% 126M 0s 300K .......... .......... .......... .......... .......... 33% 126M 0s 350K .......... .......... .......... .......... .......... 37% 96,1M 0s 400K .......... .......... .......... .......... .......... 42% 5,61M 0s 450K .......... .......... .......... .......... .......... 47% 119M 0s 500K .......... .......... .......... .......... .......... 51% 94,4M 0s 550K .......... .......... .......... .......... .......... 56% 114M 0s 600K .......... .......... .......... .......... .......... 61% 119M 0s 650K .......... .......... .......... .......... .......... 66% 106M 0s 700K .......... .......... .......... .......... .......... 70% 115M 0s 750K .......... .......... .......... .......... .......... 75% 108M 0s 800K .......... .......... .......... .......... .......... 80% 7,57M 0s 850K .......... .......... .......... .......... .......... 84% 91,8M 0s 900K .......... .......... .......... .......... .......... 89% 105M 0s 950K .......... .......... .......... .......... .......... 94% 158M 0s 1000K .......... .......... .......... .......... .......... 99% 107M 0s 1050K ......... 100% 228M=0,06s 2025-07-18 13:56:41 (16,7 MB/s) - «/tmp/0964a0d4c6b5b3051be3125c3bda38c8.jpg» enregistré [1085386/1085386] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1958000415551047247asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1958000415551047247asTemporaryFile : 171991 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb.jpg -O /tmp/e36d8861cf95171ec106cd2b0db275eb.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb-small.jpg type_mfp mfpopt2025 size_object of file /tmp/e36d8861cf95171ec106cd2b0db275eb-big.jpg : 40915 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e36d8861cf95171ec106cd2b0db275eb-medium.jpg : 13086 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e36d8861cf95171ec106cd2b0db275eb-small.jpg : 4439 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.138839 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3658 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4189 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3658 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4189 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb.jpg", "TemporaryFile(/tmp/multipartBody1958000415551047247asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb-big.jpg", "TemporaryFile(/tmp/multipartBody1958000415551047247asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb-medium.jpg", "TemporaryFile(/tmp/multipartBody1958000415551047247asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e36d8861cf95171ec106cd2b0db275eb-small.jpg", "TemporaryFile(/tmp/multipartBody1958000415551047247asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3658 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4189 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518949 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518949" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_portfolio_id : Some(25050173) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631763, 1372631766, 1372631775, 1372631776, 1372631778, 1372631780) 0 mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_34_26_40630.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@27d6c7f4 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_35_05_39554.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@48d8b0d8 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_35_46_40578.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@a0c012c basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_36_26_39582.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4c6a7465 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_37_05_39574.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5d12e37b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_37_46_40680.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@50c1c671 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true 0 getSimpleUser in getUserObj 0 [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2700230473381266328asTemporaryFile -n 9e259895770906995d2ccc795d8546d6 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_34_26_40630.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2700230473381266328asTemporaryFile -n 9e259895770906995d2ccc795d8546d6 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050173, 1372631778,1372631778, "1" ,0,1042, NOW()), (25050173, 1372631763,1372631763, "1" ,0,1042, NOW()), (25050173, 1372631766,1372631766, "1" ,0,1042, NOW()), (25050173, 1372631780,1372631780, "1" ,0,1042, NOW()), (25050173, 1372631776,1372631776, "1" ,0,1042, NOW()), (25050173, 1372631775,1372631775, "1" ,0,1042, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3658 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4189 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137After insertPortfolioPhotoId , duration 26 : 356 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6034613398562025230asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6034613398562025230asTemporaryFile : 1085386 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8.jpg -O /tmp/0964a0d4c6b5b3051be3125c3bda38c8.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0964a0d4c6b5b3051be3125c3bda38c8-big.jpg : 64098 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0964a0d4c6b5b3051be3125c3bda38c8-medium.jpg : 14690 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0964a0d4c6b5b3051be3125c3bda38c8-small.jpg : 3969 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.354416 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 4380 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 4380 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8.jpg", "TemporaryFile(/tmp/multipartBody6034613398562025230asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8-big.jpg", "TemporaryFile(/tmp/multipartBody6034613398562025230asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8-medium.jpg", "TemporaryFile(/tmp/multipartBody6034613398562025230asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0964a0d4c6b5b3051be3125c3bda38c8-small.jpg", "TemporaryFile(/tmp/multipartBody6034613398562025230asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 4380 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518950 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518950" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7227244640837915543asTemporaryFile -n 94ed5ce5fc222cfc67b2a875cd2aec49 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_05072025_04_36_15_10228.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7227244640837915543asTemporaryFile -n 94ed5ce5fc222cfc67b2a875cd2aec49 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:56:44-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 252237 (246K) [image/jpeg] Enregistre : «/tmp/9e259895770906995d2ccc795d8546d6.jpg» 0K .......... .......... .......... .......... .......... 20% 2,46M 0s 50K .......... .......... .......... .......... .......... 40% 4,89M 0s 100K .......... .......... .......... .......... .......... 60% 126M 0s 150K .......... .......... .......... .......... .......... 81% 5,19M 0s 200K .......... .......... .......... .......... ...... 100% 127M=0,04s 2025-07-18 13:56:44 (6,01 MB/s) - «/tmp/9e259895770906995d2ccc795d8546d6.jpg» enregistré [252237/252237] --2025-07-18 13:56:45-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1085836 (1,0M) [image/jpeg] Enregistre : «/tmp/94ed5ce5fc222cfc67b2a875cd2aec49.jpg» 0K .......... .......... .......... .......... .......... 4% 2,40M 0s 50K .......... .......... .......... .......... .......... 9% 4,95M 0s 100K .......... .......... .......... .......... .......... 14% 102M 0s 150K .......... .......... .......... .......... .......... 18% 100M 0s 200K .......... .......... .......... .......... .......... 23% 5,17M 0s 250K .......... .......... .......... .......... .......... 28% 133M 0s 300K .......... .......... .......... .......... .......... 33% 108M 0s 350K .......... .......... .......... .......... .......... 37% 92,3M 0s 400K .......... .......... .......... .......... .......... 42% 5,79M 0s 450K .......... .......... .......... .......... .......... 47% 130M 0s 500K .......... .......... .......... .......... .......... 51% 102M 0s 550K .......... .......... .......... .......... .......... 56% 120M 0s 600K .......... .......... .......... .......... .......... 61% 106M 0s 650K .......... .......... .......... .......... .......... 66% 113M 0s 700K .......... .......... .......... .......... .......... 70% 127M 0s 750K .......... .......... .......... .......... .......... 75% 92,0M 0s 800K .......... .......... .......... .......... .......... 80% 128M 0s 850K .......... .......... .......... .......... .......... 84% 7,46M 0s 900K .......... .......... .......... .......... .......... 89% 128M 0s 950K .......... .......... .......... .......... .......... 94% 111M 0s 1000K .......... .......... .......... .......... .......... 99% 119M 0s 1050K .......... 100% 251M=0,06s 2025-07-18 13:56:45 (16,8 MB/s) - «/tmp/94ed5ce5fc222cfc67b2a875cd2aec49.jpg» enregistré [1085836/1085836] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3802 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3857 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 144 Before photo_uploader , duration 10 : 104.After photo_uploader , duration 11 : 3549 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3839 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3658 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4189 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137After insertPortfolioPhotoId , duration 26 : 356 About to finish After with svm , duration 27 : 2688 actions to do : and mtr_user_id : 1042 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305009 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2700230473381266328asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2700230473381266328asTemporaryFile : 252237 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6.jpg -O /tmp/9e259895770906995d2ccc795d8546d6.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6-small.jpg type_mfp mfpopt2025 size_object of file /tmp/9e259895770906995d2ccc795d8546d6-big.jpg : 103410 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9e259895770906995d2ccc795d8546d6-medium.jpg : 23989 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9e259895770906995d2ccc795d8546d6-small.jpg : 6425 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.697111 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6.jpg", "TemporaryFile(/tmp/multipartBody2700230473381266328asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6-big.jpg", "TemporaryFile(/tmp/multipartBody2700230473381266328asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6-medium.jpg", "TemporaryFile(/tmp/multipartBody2700230473381266328asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e259895770906995d2ccc795d8546d6-small.jpg", "TemporaryFile(/tmp/multipartBody2700230473381266328asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518951 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518951" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3672599591452702106asTemporaryFile -n 399845fc7c46a96bfc3ad53523f9175d --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_35_05_39554.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3672599591452702106asTemporaryFile -n 399845fc7c46a96bfc3ad53523f9175d --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7227244640837915543asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7227244640837915543asTemporaryFile : 1085836 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49.jpg -O /tmp/94ed5ce5fc222cfc67b2a875cd2aec49.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49-small.jpg type_mfp mfpopt2025 size_object of file /tmp/94ed5ce5fc222cfc67b2a875cd2aec49-big.jpg : 63970 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/94ed5ce5fc222cfc67b2a875cd2aec49-medium.jpg : 14665 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/94ed5ce5fc222cfc67b2a875cd2aec49-small.jpg : 3954 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.018332 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 4380 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 91.After photo_uploader , duration 23 : 4011 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 4380 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 91.After photo_uploader , duration 23 : 4011 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49.jpg", "TemporaryFile(/tmp/multipartBody7227244640837915543asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49-big.jpg", "TemporaryFile(/tmp/multipartBody7227244640837915543asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49-medium.jpg", "TemporaryFile(/tmp/multipartBody7227244640837915543asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/94ed5ce5fc222cfc67b2a875cd2aec49-small.jpg", "TemporaryFile(/tmp/multipartBody7227244640837915543asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 4380 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 91.After photo_uploader , duration 23 : 4011 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518958 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518958" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(24628033) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631765, 1372631774, 1372631777, 1372631779, 1372631781, 1372631789) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (24628033, 1372631765,1372631765, "1" ,0,979, NOW()), (24628033, 1372631789,1372631789, "1" ,0,979, NOW()), (24628033, 1372631774,1372631774, "1" ,0,979, NOW()), (24628033, 1372631777,1372631777, "1" ,0,979, NOW()), (24628033, 1372631779,1372631779, "1" ,0,979, NOW()), (24628033, 1372631781,1372631781, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 4380 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 91.After photo_uploader , duration 23 : 4011 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 363 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:56:48-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 234280 (229K) [image/jpeg] Enregistre : «/tmp/399845fc7c46a96bfc3ad53523f9175d.jpg» 0K .......... .......... .......... .......... .......... 21% 2,41M 0s 50K .......... .......... .......... .......... .......... 43% 4,93M 0s 100K .......... .......... .......... .......... .......... 65% 108M 0s 150K .......... .......... .......... .......... .......... 87% 5,16M 0s 200K .......... .......... ........ 100% 122M=0,04s 2025-07-18 13:56:48 (5,55 MB/s) - «/tmp/399845fc7c46a96bfc3ad53523f9175d.jpg» enregistré [234280/234280] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305009 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305009 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3672599591452702106asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3672599591452702106asTemporaryFile : 234280 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d.jpg -O /tmp/399845fc7c46a96bfc3ad53523f9175d.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d-small.jpg type_mfp mfpopt2025 size_object of file /tmp/399845fc7c46a96bfc3ad53523f9175d-big.jpg : 95131 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/399845fc7c46a96bfc3ad53523f9175d-medium.jpg : 22417 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/399845fc7c46a96bfc3ad53523f9175d-small.jpg : 6158 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.564727 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d.jpg", "TemporaryFile(/tmp/multipartBody3672599591452702106asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d-big.jpg", "TemporaryFile(/tmp/multipartBody3672599591452702106asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d-medium.jpg", "TemporaryFile(/tmp/multipartBody3672599591452702106asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/399845fc7c46a96bfc3ad53523f9175d-small.jpg", "TemporaryFile(/tmp/multipartBody3672599591452702106asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518959 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518959" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5581768167617744470asTemporaryFile -n a7e29a5900d8a11de633604e58cacb38 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_35_46_40578.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5581768167617744470asTemporaryFile -n a7e29a5900d8a11de633604e58cacb38 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] application - [securesocial] calling deleteExpiredTokens() [debug] a.c.DBUserService - TOKEN expired token : Map() [debug] a.c.DBUserService - all token : Map() [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4684 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4358 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 134 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4318 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 98.After photo_uploader , duration 15 : 4159 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 4380 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 91.After photo_uploader , duration 23 : 4011 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 363 About to finish After with svm , duration 27 : 2880 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3239071 --2025-07-18 13:56:52-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 244009 (238K) [image/jpeg] Enregistre : «/tmp/a7e29a5900d8a11de633604e58cacb38.jpg» 0K .......... .......... .......... .......... .......... 20% 4,76M 0s 50K .......... .......... .......... .......... .......... 41% 4,95M 0s 100K .......... .......... .......... .......... .......... 62% 48,0M 0s 150K .......... .......... .......... .......... .......... 83% 5,52M 0s 200K .......... .......... .......... ........ 100% 88,3M=0,03s 2025-07-18 13:56:52 (7,66 MB/s) - «/tmp/a7e29a5900d8a11de633604e58cacb38.jpg» enregistré [244009/244009] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3239071 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3239071 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5581768167617744470asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5581768167617744470asTemporaryFile : 244009 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38.jpg -O /tmp/a7e29a5900d8a11de633604e58cacb38.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38-small.jpg type_mfp mfpopt2025 size_object of file /tmp/a7e29a5900d8a11de633604e58cacb38-big.jpg : 99790 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a7e29a5900d8a11de633604e58cacb38-medium.jpg : 23516 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a7e29a5900d8a11de633604e58cacb38-small.jpg : 6425 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.236455 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38.jpg", "TemporaryFile(/tmp/multipartBody5581768167617744470asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38-big.jpg", "TemporaryFile(/tmp/multipartBody5581768167617744470asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38-medium.jpg", "TemporaryFile(/tmp/multipartBody5581768167617744470asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7e29a5900d8a11de633604e58cacb38-small.jpg", "TemporaryFile(/tmp/multipartBody5581768167617744470asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518960 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518960" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4137573848837180008asTemporaryFile -n 0cb258c9a7b0e5433092cbc9340b3f88 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_36_26_39582.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4137573848837180008asTemporaryFile -n 0cb258c9a7b0e5433092cbc9340b3f88 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:56:56-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 241957 (236K) [image/jpeg] Enregistre : «/tmp/0cb258c9a7b0e5433092cbc9340b3f88.jpg» 0K .......... .......... .......... .......... .......... 21% 4,77M 0s 50K .......... .......... .......... .......... .......... 42% 4,87M 0s 100K .......... .......... .......... .......... .......... 63% 113M 0s 150K .......... .......... .......... .......... .......... 84% 5,02M 0s 200K .......... .......... .......... ...... 100% 125M=0,03s 2025-07-18 13:56:56 (7,52 MB/s) - «/tmp/0cb258c9a7b0e5433092cbc9340b3f88.jpg» enregistré [241957/241957] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4137573848837180008asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4137573848837180008asTemporaryFile : 241957 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88.jpg -O /tmp/0cb258c9a7b0e5433092cbc9340b3f88.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0cb258c9a7b0e5433092cbc9340b3f88-big.jpg : 101306 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0cb258c9a7b0e5433092cbc9340b3f88-medium.jpg : 23775 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0cb258c9a7b0e5433092cbc9340b3f88-small.jpg : 6566 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.457887 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88.jpg", "TemporaryFile(/tmp/multipartBody4137573848837180008asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88-big.jpg", "TemporaryFile(/tmp/multipartBody4137573848837180008asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88-medium.jpg", "TemporaryFile(/tmp/multipartBody4137573848837180008asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0cb258c9a7b0e5433092cbc9340b3f88-small.jpg", "TemporaryFile(/tmp/multipartBody4137573848837180008asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518961 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518961" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1253775028225041607asTemporaryFile -n 696123c6fc4ca77f7f5e2694a06764af --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_37_05_39574.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1253775028225041607asTemporaryFile -n 696123c6fc4ca77f7f5e2694a06764af --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:00-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 247990 (242K) [image/jpeg] Enregistre : «/tmp/696123c6fc4ca77f7f5e2694a06764af.jpg» 0K .......... .......... .......... .......... .......... 20% 2,40M 0s 50K .......... .......... .......... .......... .......... 41% 5,34M 0s 100K .......... .......... .......... .......... .......... 61% 41,5M 0s 150K .......... .......... .......... .......... .......... 82% 5,58M 0s 200K .......... .......... .......... .......... .. 100% 38,8M=0,04s 2025-07-18 13:57:00 (5,84 MB/s) - «/tmp/696123c6fc4ca77f7f5e2694a06764af.jpg» enregistré [247990/247990] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1253775028225041607asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1253775028225041607asTemporaryFile : 247990 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af.jpg -O /tmp/696123c6fc4ca77f7f5e2694a06764af.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af-small.jpg type_mfp mfpopt2025 size_object of file /tmp/696123c6fc4ca77f7f5e2694a06764af-big.jpg : 103713 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/696123c6fc4ca77f7f5e2694a06764af-medium.jpg : 24379 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/696123c6fc4ca77f7f5e2694a06764af-small.jpg : 6679 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.905279 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3884 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3884 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af.jpg", "TemporaryFile(/tmp/multipartBody1253775028225041607asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af-big.jpg", "TemporaryFile(/tmp/multipartBody1253775028225041607asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af-medium.jpg", "TemporaryFile(/tmp/multipartBody1253775028225041607asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/696123c6fc4ca77f7f5e2694a06764af-small.jpg", "TemporaryFile(/tmp/multipartBody1253775028225041607asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3884 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 157 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518962 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518962" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7283845690496207166asTemporaryFile -n a768eecabfca24680bcc09f318da4ad7 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_37_46_40680.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7283845690496207166asTemporaryFile -n a768eecabfca24680bcc09f318da4ad7 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(85213b338a7900a79945692114f14db2) token_used : Some(e243aac39fb012c084cfefeb2a6a3641) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_56_54_9128.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2d288648 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_56_45_10135.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@71a5dca2 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_56_35_10130.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6a3649d0 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_56_25_10134.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5948f9f7 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_56_14_10135.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@30bb3e50 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_56_04_10169.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6f24b429 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_50_45_10697.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3a7e1bcf basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_50_35_9615.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1179cc7a basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_50_25_10618.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4e033241 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_50_14_9676.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@262e0946 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_50_05_9639.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6c44de2f basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_49_55_10638.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3301d5c1 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050138) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050138) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] list_hashtags : List([nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8594574568886566542asTemporaryFile -n fed3dee8484a3a7d3920a893370e8ef6 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_56_54_9128.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8594574568886566542asTemporaryFile -n fed3dee8484a3a7d3920a893370e8ef6 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6878823895832718047asTemporaryFile -n f7bdc4a7c9339614f744da6c0960f111 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_50_45_10697.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6878823895832718047asTemporaryFile -n f7bdc4a7c9339614f744da6c0960f111 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:04-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 248207 (242K) [image/jpeg] Enregistre : «/tmp/a768eecabfca24680bcc09f318da4ad7.jpg» 0K .......... .......... .......... .......... .......... 20% 4,84M 0s 50K .......... .......... .......... .......... .......... 41% 4,90M 0s 100K .......... .......... .......... .......... .......... 61% 45,0M 0s 150K .......... .......... .......... .......... .......... 82% 111M 0s 200K .......... .......... .......... .......... .. 100% 4,74M=0,03s 2025-07-18 13:57:04 (7,81 MB/s) - «/tmp/a768eecabfca24680bcc09f318da4ad7.jpg» enregistré [248207/248207] --2025-07-18 13:57:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. --2025-07-18 13:57:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… requête HTTP transmise, en attente de la réponse… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 114992 (112K) [image/jpeg] Enregistre : «/tmp/f7bdc4a7c9339614f744da6c0960f111.jpg» 0K .......... .......... .......... .......... .......... 44% 2,46M 0s 50K .......... .......... .......... .......... .......... 89% 4,88M 0s 100K .......... .. 100% 183M=0,03s 2025-07-18 13:57:05 (3,66 MB/s) - «/tmp/f7bdc4a7c9339614f744da6c0960f111.jpg» enregistré [114992/114992] 200 OK Taille : 183504 (179K) [image/jpeg] Enregistre : «/tmp/fed3dee8484a3a7d3920a893370e8ef6.jpg» 0K .......... .......... .......... .......... .......... 27% 4,49M 0s 50K .......... .......... .......... .......... .......... 55% 5,30M 0s 100K .......... .......... .......... .......... .......... 83% 41,1M 0s 150K .......... .......... ......... 100% 148M=0,02s 2025-07-18 13:57:05 (8,15 MB/s) - «/tmp/fed3dee8484a3a7d3920a893370e8ef6.jpg» enregistré [183504/183504] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7283845690496207166asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7283845690496207166asTemporaryFile : 248207 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7.jpg -O /tmp/a768eecabfca24680bcc09f318da4ad7.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7-small.jpg type_mfp mfpopt2025 size_object of file /tmp/a768eecabfca24680bcc09f318da4ad7-big.jpg : 103978 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a768eecabfca24680bcc09f318da4ad7-medium.jpg : 24488 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a768eecabfca24680bcc09f318da4ad7-small.jpg : 6718 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.486215 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3884 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 157 Before photo_uploader , duration 22 : 106.After photo_uploader , duration 23 : 3528 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3884 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 157 Before photo_uploader , duration 22 : 106.After photo_uploader , duration 23 : 3528 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7.jpg", "TemporaryFile(/tmp/multipartBody7283845690496207166asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7-big.jpg", "TemporaryFile(/tmp/multipartBody7283845690496207166asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7-medium.jpg", "TemporaryFile(/tmp/multipartBody7283845690496207166asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a768eecabfca24680bcc09f318da4ad7-small.jpg", "TemporaryFile(/tmp/multipartBody7283845690496207166asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3884 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 157 Before photo_uploader , duration 22 : 106.After photo_uploader , duration 23 : 3528 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518963 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518963" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25057218) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631782, 1372631790, 1372631791, 1372631792, 1372631793, 1372631794) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631792,1372631792, "1" ,0,991, NOW()), (25057218, 1372631794,1372631794, "1" ,0,991, NOW()), (25057218, 1372631782,1372631782, "1" ,0,991, NOW()), (25057218, 1372631791,1372631791, "1" ,0,991, NOW()), (25057218, 1372631790,1372631790, "1" ,0,991, NOW()), (25057218, 1372631793,1372631793, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3884 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 157 Before photo_uploader , duration 22 : 106.After photo_uploader , duration 23 : 3528 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 361 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8594574568886566542asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8594574568886566542asTemporaryFile : 183504 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6.jpg -O /tmp/fed3dee8484a3a7d3920a893370e8ef6.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6-small.jpg type_mfp mfpopt2025 size_object of file /tmp/fed3dee8484a3a7d3920a893370e8ef6-big.jpg : 44141 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/fed3dee8484a3a7d3920a893370e8ef6-medium.jpg : 13993 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/fed3dee8484a3a7d3920a893370e8ef6-small.jpg : 4810 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.379459 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6.jpg", "TemporaryFile(/tmp/multipartBody8594574568886566542asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6-big.jpg", "TemporaryFile(/tmp/multipartBody8594574568886566542asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6-medium.jpg", "TemporaryFile(/tmp/multipartBody8594574568886566542asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fed3dee8484a3a7d3920a893370e8ef6-small.jpg", "TemporaryFile(/tmp/multipartBody8594574568886566542asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518964 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518964" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6878823895832718047asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6878823895832718047asTemporaryFile : 114992 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111.jpg -O /tmp/f7bdc4a7c9339614f744da6c0960f111.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f7bdc4a7c9339614f744da6c0960f111-big.jpg : 26275 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f7bdc4a7c9339614f744da6c0960f111-medium.jpg : 9678 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f7bdc4a7c9339614f744da6c0960f111-small.jpg : 3675 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.544946 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111.jpg", "TemporaryFile(/tmp/multipartBody6878823895832718047asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4856490330022656048asTemporaryFile -n 96f84701eaeac15848972401e50144e6 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_56_45_10135.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4856490330022656048asTemporaryFile -n 96f84701eaeac15848972401e50144e6 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111-big.jpg", "TemporaryFile(/tmp/multipartBody6878823895832718047asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111-medium.jpg", "TemporaryFile(/tmp/multipartBody6878823895832718047asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f7bdc4a7c9339614f744da6c0960f111-small.jpg", "TemporaryFile(/tmp/multipartBody6878823895832718047asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518965 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518965" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2584337208789324627asTemporaryFile -n 969b2bf77ccd77c612e865ea59372aa9 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_50_35_9615.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2584337208789324627asTemporaryFile -n 969b2bf77ccd77c612e865ea59372aa9 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:08-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 183681 (179K) [image/jpeg] Enregistre : «/tmp/96f84701eaeac15848972401e50144e6.jpg» 0K .......... .......... .......... .......... .......... 27% 4,41M 0s 50K .......... .......... .......... .......... .......... 55% 5,42M 0s 100K .......... .......... .......... .......... .......... 83% 42,9M 0s 150K .......... .......... ......... 100% 98,6M=0,02s 2025-07-18 13:57:09 (8,15 MB/s) - «/tmp/96f84701eaeac15848972401e50144e6.jpg» enregistré [183681/183681] --2025-07-18 13:57:09-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 166666 (163K) [image/jpeg] Enregistre : «/tmp/969b2bf77ccd77c612e865ea59372aa9.jpg» 0K .......... .......... .......... .......... .......... 30% 2,47M 0s 50K .......... .......... .......... .......... .......... 61% 4,88M 0s 100K .......... .......... .......... .......... .......... 92% 124M 0s 150K .......... .. 100% 50,6M=0,03s 2025-07-18 13:57:09 (5,23 MB/s) - «/tmp/969b2bf77ccd77c612e865ea59372aa9.jpg» enregistré [166666/166666] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3759 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3559 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 4203 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 152 Before photo_uploader , duration 14 : 107.After photo_uploader , duration 15 : 3422 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 3884 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 157 Before photo_uploader , duration 22 : 106.After photo_uploader , duration 23 : 3528 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 361 About to finish After with svm , duration 27 : 2958 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4856490330022656048asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4856490330022656048asTemporaryFile : 183681 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6.jpg -O /tmp/96f84701eaeac15848972401e50144e6.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6-small.jpg type_mfp mfpopt2025 size_object of file /tmp/96f84701eaeac15848972401e50144e6-big.jpg : 44214 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/96f84701eaeac15848972401e50144e6-medium.jpg : 13987 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/96f84701eaeac15848972401e50144e6-small.jpg : 4800 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.562600 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6.jpg", "TemporaryFile(/tmp/multipartBody4856490330022656048asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6-big.jpg", "TemporaryFile(/tmp/multipartBody4856490330022656048asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6-medium.jpg", "TemporaryFile(/tmp/multipartBody4856490330022656048asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/96f84701eaeac15848972401e50144e6-small.jpg", "TemporaryFile(/tmp/multipartBody4856490330022656048asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 latitude : 0.0 longitude : 0.0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [info] a.models.Photo - source_id_submit_photo from insertion : 379518972 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518972" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody30997016932506916asTemporaryFile -n 935aec9414a1fe52fd8ed33c0def193f --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_56_35_10130.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody30997016932506916asTemporaryFile -n 935aec9414a1fe52fd8ed33c0def193f --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2584337208789324627asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2584337208789324627asTemporaryFile : 166666 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9.jpg -O /tmp/969b2bf77ccd77c612e865ea59372aa9.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9-small.jpg type_mfp mfpopt2025 size_object of file /tmp/969b2bf77ccd77c612e865ea59372aa9-big.jpg : 40751 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/969b2bf77ccd77c612e865ea59372aa9-medium.jpg : 13007 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/969b2bf77ccd77c612e865ea59372aa9-small.jpg : 4453 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.597536 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9.jpg", "TemporaryFile(/tmp/multipartBody2584337208789324627asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9-big.jpg", "TemporaryFile(/tmp/multipartBody2584337208789324627asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9-medium.jpg", "TemporaryFile(/tmp/multipartBody2584337208789324627asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969b2bf77ccd77c612e865ea59372aa9-small.jpg", "TemporaryFile(/tmp/multipartBody2584337208789324627asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518973 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518973" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1331478437577752992asTemporaryFile -n 246e2db7334e8ab664f92bb854b6e1f0 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_50_25_10618.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1331478437577752992asTemporaryFile -n 246e2db7334e8ab664f92bb854b6e1f0 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 --2025-07-18 13:57:12-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 183613 (179K) [image/jpeg] Enregistre : «/tmp/935aec9414a1fe52fd8ed33c0def193f.jpg» 0K .......... .......... .......... .......... .......... 27% 4,68M 0s 50K .......... .......... .......... .......... .......... 55% 4,99M 0s 100K .......... .......... .......... .......... .......... 83% 113M 0s 150K .......... .......... ......... 100% 116M=0,02s 2025-07-18 13:57:12 (8,38 MB/s) - «/tmp/935aec9414a1fe52fd8ed33c0def193f.jpg» enregistré [183613/183613] --2025-07-18 13:57:13-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 124781 (122K) [image/jpeg] Enregistre : «/tmp/246e2db7334e8ab664f92bb854b6e1f0.jpg» 0K .......... .......... .......... .......... .......... 41% 2,48M 0s 50K .......... .......... .......... .......... .......... 82% 4,82M 0s 100K .......... .......... . 100% 128M=0,03s 2025-07-18 13:57:13 (3,97 MB/s) - «/tmp/246e2db7334e8ab664f92bb854b6e1f0.jpg» enregistré [124781/124781] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody30997016932506916asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody30997016932506916asTemporaryFile : 183613 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f.jpg -O /tmp/935aec9414a1fe52fd8ed33c0def193f.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f-small.jpg type_mfp mfpopt2025 size_object of file /tmp/935aec9414a1fe52fd8ed33c0def193f-big.jpg : 44194 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/935aec9414a1fe52fd8ed33c0def193f-medium.jpg : 14002 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/935aec9414a1fe52fd8ed33c0def193f-small.jpg : 4797 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.603660 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f.jpg", "TemporaryFile(/tmp/multipartBody30997016932506916asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f-big.jpg", "TemporaryFile(/tmp/multipartBody30997016932506916asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1331478437577752992asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1331478437577752992asTemporaryFile : 124781 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0.jpg -O /tmp/246e2db7334e8ab664f92bb854b6e1f0.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0-small.jpg type_mfp mfpopt2025 size_object of file /tmp/246e2db7334e8ab664f92bb854b6e1f0-big.jpg : 29505 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/246e2db7334e8ab664f92bb854b6e1f0-medium.jpg : 10968 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/246e2db7334e8ab664f92bb854b6e1f0-small.jpg : 4132 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.306855 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0.jpg", "TemporaryFile(/tmp/multipartBody1331478437577752992asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f-medium.jpg", "TemporaryFile(/tmp/multipartBody30997016932506916asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0-big.jpg", "TemporaryFile(/tmp/multipartBody1331478437577752992asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/935aec9414a1fe52fd8ed33c0def193f-small.jpg", "TemporaryFile(/tmp/multipartBody30997016932506916asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0-medium.jpg", "TemporaryFile(/tmp/multipartBody1331478437577752992asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/246e2db7334e8ab664f92bb854b6e1f0-small.jpg", "TemporaryFile(/tmp/multipartBody1331478437577752992asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - source_id_submit_photo from insertion : 379518974 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518974" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 latitude : 0.0 longitude : 0.0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2526173405913459346asTemporaryFile -n 418878adacf479a7c3e1d0bb0b4d3f75 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_56_25_10134.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2526173405913459346asTemporaryFile -n 418878adacf479a7c3e1d0bb0b4d3f75 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.models.Photo - source_id_submit_photo from insertion : 379518975 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518975" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5817191929258158938asTemporaryFile -n 894791366fd7548792ad3e6a7f4b4cfc --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_50_14_9676.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5817191929258158938asTemporaryFile -n 894791366fd7548792ad3e6a7f4b4cfc --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:16-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 77632 (76K) [image/jpeg] Enregistre : «/tmp/418878adacf479a7c3e1d0bb0b4d3f75.jpg» 0K .......... .......... .......... .......... .......... 65% 2,48M 0s 50K .......... .......... ..... 100% 105M=0,02s 2025-07-18 13:57:16 (3,71 MB/s) - «/tmp/418878adacf479a7c3e1d0bb0b4d3f75.jpg» enregistré [77632/77632] --2025-07-18 13:57:16-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 121688 (119K) [image/jpeg] Enregistre : «/tmp/894791366fd7548792ad3e6a7f4b4cfc.jpg» 0K .......... .......... .......... .......... .......... 42% 4,85M 0s 50K .......... .......... .......... .......... .......... 84% 4,90M 0s 100K .......... ........ 100% 107M=0,02s 2025-07-18 13:57:16 (5,74 MB/s) - «/tmp/894791366fd7548792ad3e6a7f4b4cfc.jpg» enregistré [121688/121688] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2526173405913459346asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2526173405913459346asTemporaryFile : 77632 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75.jpg -O /tmp/418878adacf479a7c3e1d0bb0b4d3f75.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75-small.jpg type_mfp mfpopt2025 size_object of file /tmp/418878adacf479a7c3e1d0bb0b4d3f75-big.jpg : 19095 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/418878adacf479a7c3e1d0bb0b4d3f75-medium.jpg : 7362 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/418878adacf479a7c3e1d0bb0b4d3f75-small.jpg : 3241 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.446607 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75.jpg", "TemporaryFile(/tmp/multipartBody2526173405913459346asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75-big.jpg", "TemporaryFile(/tmp/multipartBody2526173405913459346asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75-medium.jpg", "TemporaryFile(/tmp/multipartBody2526173405913459346asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/418878adacf479a7c3e1d0bb0b4d3f75-small.jpg", "TemporaryFile(/tmp/multipartBody2526173405913459346asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518976 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518976" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5817191929258158938asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5817191929258158938asTemporaryFile : 121688 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc.jpg -O /tmp/894791366fd7548792ad3e6a7f4b4cfc.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc-small.jpg type_mfp mfpopt2025 size_object of file /tmp/894791366fd7548792ad3e6a7f4b4cfc-big.jpg : 26451 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/894791366fd7548792ad3e6a7f4b4cfc-medium.jpg : 9489 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/894791366fd7548792ad3e6a7f4b4cfc-small.jpg : 3683 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.581622 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4097282747452633887asTemporaryFile -n 32f45ff79811b00d5596a0b90e6162f7 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_56_14_10135.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4097282747452633887asTemporaryFile -n 32f45ff79811b00d5596a0b90e6162f7 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc.jpg", "TemporaryFile(/tmp/multipartBody5817191929258158938asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc-big.jpg", "TemporaryFile(/tmp/multipartBody5817191929258158938asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc-medium.jpg", "TemporaryFile(/tmp/multipartBody5817191929258158938asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/894791366fd7548792ad3e6a7f4b4cfc-small.jpg", "TemporaryFile(/tmp/multipartBody5817191929258158938asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518977 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518977" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8656921649261547531asTemporaryFile -n a852b740f0e2cdff90e1786198158684 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_50_05_9639.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8656921649261547531asTemporaryFile -n a852b740f0e2cdff90e1786198158684 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:20-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 276978 (270K) [image/jpeg] Enregistre : «/tmp/32f45ff79811b00d5596a0b90e6162f7.jpg» 0K .......... .......... .......... .......... .......... 18% 2,43M 0s 50K .......... .......... .......... .......... .......... 36% 4,83M 0s 100K .......... .......... .......... .......... .......... 55% 108M 0s 150K .......... .......... .......... .......... .......... 73% 5,12M 0s 200K .......... .......... .......... .......... .......... 92% 110M 0s 250K .......... .......... 100% 170M=0,04s 2025-07-18 13:57:20 (6,48 MB/s) - «/tmp/32f45ff79811b00d5596a0b90e6162f7.jpg» enregistré [276978/276978] --2025-07-18 13:57:20-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 150049 (147K) [image/jpeg] Enregistre : «/tmp/a852b740f0e2cdff90e1786198158684.jpg» 0K .......... .......... .......... .......... .......... 34% 2,51M 0s 50K .......... .......... .......... .......... .......... 68% 4,89M 0s 100K .......... .......... .......... .......... ...... 100% 135M=0,03s 2025-07-18 13:57:20 (4,81 MB/s) - «/tmp/a852b740f0e2cdff90e1786198158684.jpg» enregistré [150049/150049] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4097282747452633887asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4097282747452633887asTemporaryFile : 276978 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7.jpg -O /tmp/32f45ff79811b00d5596a0b90e6162f7.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7-small.jpg type_mfp mfpopt2025 size_object of file /tmp/32f45ff79811b00d5596a0b90e6162f7-big.jpg : 72569 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/32f45ff79811b00d5596a0b90e6162f7-medium.jpg : 21099 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/32f45ff79811b00d5596a0b90e6162f7-small.jpg : 6513 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.710038 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3801 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3801 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7.jpg", "TemporaryFile(/tmp/multipartBody4097282747452633887asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8656921649261547531asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8656921649261547531asTemporaryFile : 150049 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684.jpg -O /tmp/a852b740f0e2cdff90e1786198158684.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684-small.jpg type_mfp mfpopt2025 size_object of file /tmp/a852b740f0e2cdff90e1786198158684-big.jpg : 32168 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a852b740f0e2cdff90e1786198158684-medium.jpg : 11565 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a852b740f0e2cdff90e1786198158684-small.jpg : 4376 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.516285 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3614 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3614 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684.jpg", "TemporaryFile(/tmp/multipartBody8656921649261547531asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7-big.jpg", "TemporaryFile(/tmp/multipartBody4097282747452633887asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7-medium.jpg", "TemporaryFile(/tmp/multipartBody4097282747452633887asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684-big.jpg", "TemporaryFile(/tmp/multipartBody8656921649261547531asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32f45ff79811b00d5596a0b90e6162f7-small.jpg", "TemporaryFile(/tmp/multipartBody4097282747452633887asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684-medium.jpg", "TemporaryFile(/tmp/multipartBody8656921649261547531asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3801 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 135 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a852b740f0e2cdff90e1786198158684-small.jpg", "TemporaryFile(/tmp/multipartBody8656921649261547531asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3614 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518978 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518978" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518979 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518979" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3059072178492878100asTemporaryFile -n 9574ef21b099117914c24489de4ded63 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_56_04_10169.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3059072178492878100asTemporaryFile -n 9574ef21b099117914c24489de4ded63 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5035456505193392681asTemporaryFile -n aceb47626505fe7765c890e82aa5d14e --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_49_55_10638.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5035456505193392681asTemporaryFile -n aceb47626505fe7765c890e82aa5d14e --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:24-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… --2025-07-18 13:57:24-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 200 OK Taille : 248472 (243K) [image/jpeg] Enregistre : «/tmp/9574ef21b099117914c24489de4ded63.jpg» 0K .......... .......... .......... .54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… ......... .......... 20% 4,75M 0s 50K .......... .......... .........connecté. . .......... .......... 41% 4,89M 0s 100K .......... .......... .......... .......... .......... 61% 133M 0s 150K .......... .......... .......... .......... .......... 82% 5,13M 0s 200K .......... .......... .......... .......... .. 100% 125M=0,03s 2025-07-18 13:57:24 (7,77 MB/s) - «/tmp/9574ef21b099117914c24489de4ded63.jpg» enregistré [248472/248472] requête HTTP transmise, en attente de la réponse… 200 OK Taille : 125463 (123K) [image/jpeg] Enregistre : «/tmp/aceb47626505fe7765c890e82aa5d14e.jpg» 0K .......... .......... .......... .......... .......... 40% 2,44M 0s 50K .......... .......... .......... .......... .......... 81% 4,92M 0s 100K .......... .......... .. 100% 91,5M=0,03s 2025-07-18 13:57:24 (3,96 MB/s) - «/tmp/aceb47626505fe7765c890e82aa5d14e.jpg» enregistré [125463/125463] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5035456505193392681asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5035456505193392681asTemporaryFile : 125463 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e.jpg -O /tmp/aceb47626505fe7765c890e82aa5d14e.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e-small.jpg type_mfp mfpopt2025 size_object of file /tmp/aceb47626505fe7765c890e82aa5d14e-big.jpg : 28984 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/aceb47626505fe7765c890e82aa5d14e-medium.jpg : 10129 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/aceb47626505fe7765c890e82aa5d14e-small.jpg : 3786 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.457125 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3614 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3498 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3614 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3498 Before insertPortfolioPhotoId , duration 24 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e.jpg", "TemporaryFile(/tmp/multipartBody5035456505193392681asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e-big.jpg", "TemporaryFile(/tmp/multipartBody5035456505193392681asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3059072178492878100asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3059072178492878100asTemporaryFile : 248472 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63.jpg -O /tmp/9574ef21b099117914c24489de4ded63.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63-small.jpg type_mfp mfpopt2025 size_object of file /tmp/9574ef21b099117914c24489de4ded63-big.jpg : 64078 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9574ef21b099117914c24489de4ded63-medium.jpg : 18611 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9574ef21b099117914c24489de4ded63-small.jpg : 5883 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.579525 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3801 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 135 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3591 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3801 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 135 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3591 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63.jpg", "TemporaryFile(/tmp/multipartBody3059072178492878100asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e-medium.jpg", "TemporaryFile(/tmp/multipartBody5035456505193392681asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63-big.jpg", "TemporaryFile(/tmp/multipartBody3059072178492878100asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aceb47626505fe7765c890e82aa5d14e-small.jpg", "TemporaryFile(/tmp/multipartBody5035456505193392681asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63-medium.jpg", "TemporaryFile(/tmp/multipartBody3059072178492878100asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3614 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3498 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 135 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9574ef21b099117914c24489de4ded63-small.jpg", "TemporaryFile(/tmp/multipartBody3059072178492878100asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - source_id_submit_photo from insertion : 379518980 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518980" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3801 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 135 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3591 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 133 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518981 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518981" mtr_portfolio_id : Some(25050173) [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631796, 1372631804, 1372631806, 1372631808, 1372631810, 1372631811) 0 mtr_portfolio_id : Some(25050138) 0 SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631795, 1372631803, 1372631805, 1372631807, 1372631809, 1372631812) 0 0 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050173, 1372631811,1372631811, "1" ,0,1042, NOW()), (25050173, 1372631808,1372631808, "1" ,0,1042, NOW()), (25050173, 1372631810,1372631810, "1" ,0,1042, NOW()), (25050173, 1372631804,1372631804, "1" ,0,1042, NOW()), (25050173, 1372631806,1372631806, "1" ,0,1042, NOW()), (25050173, 1372631796,1372631796, "1" ,0,1042, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050138, 1372631805,1372631805, "1" ,0,979, NOW()), (25050138, 1372631795,1372631795, "1" ,0,979, NOW()), (25050138, 1372631807,1372631807, "1" ,0,979, NOW()), (25050138, 1372631812,1372631812, "1" ,0,979, NOW()), (25050138, 1372631809,1372631809, "1" ,0,979, NOW()), (25050138, 1372631803,1372631803, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3614 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3498 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 135After insertPortfolioPhotoId , duration 26 : 358 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3801 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 135 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3591 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 133After insertPortfolioPhotoId , duration 26 : 358 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3585 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 152 Before photo_uploader , duration 6 : 112.After photo_uploader , duration 7 : 3691 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 94.After photo_uploader , duration 11 : 3381 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 132 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3629 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3614 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3498 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 135After insertPortfolioPhotoId , duration 26 : 358 About to finish After with svm , duration 27 : 2688 actions to do : and mtr_user_id : 1042 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305009 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3386 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 149 Before photo_uploader , duration 6 : 96.After photo_uploader , duration 7 : 3625 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3620 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3457 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 143 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3801 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 135 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 3591 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 133After insertPortfolioPhotoId , duration 26 : 358 About to finish After with svm , duration 27 : 2964 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305009 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305009 Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_21062025_12_46_07_9234.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@394053cf basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_21062025_12_45_57_10213.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4a373852 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_21062025_12_45_37_10191.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3f715044 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(24230041) [info] a.c.Photo - given_mtr_portfolio_id : Some(24230041) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2903844336463599612asTemporaryFile -n 433021fd866bfb08eaac249fb71e441a --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_07_9234.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2903844336463599612asTemporaryFile -n 433021fd866bfb08eaac249fb71e441a --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.s.PersistentAuthenticator - TO debug [debug] a.c.DBUserService - find : id : IdentityId(vr@opio.fr,userpass) [debug] a.c.DBUserService - findIdFromDB : id : IdentityId(vr@opio.fr,userpass) [debug] a.c.DBUserService - Parsing SocialUserDBParser : SELECT * FROM MTRUser.social_users WHERE social_user_id='vr@opio.fr' AND provider='userpass' LIMIT 10 [debug] a.c.DBUserService - findMtrSocialIdByEmailAndProviderFromDB : email : vr@opio.fr provider : userpass [debug] a.c.DBUserService - SELECT * FROM MTRUser.social_users WHERE email='vr@opio.fr' AND provider='userpass' LIMIT 10 INSERT IGNORE INTO MTRAdmin.mtr_tentative_connections (`social_user_id`, `info`) VALUES ( 148, "try") [debug] a.c.DBUserService - identity found from db : : Some(SocialUserDB(148,31,vr@opio.fr,IdentityId(vr@opio.fr,userpass),Victor,Reutenauer,Victor Reutenauer,Some(vr@opio.fr),Some(),AuthenticationMethod(userpassword),None,None,Some(PasswordInfo(bcrypt,$2a$10$h5Lpg6vKzcWN3DixnzQ.n.CQqskSvvNLk7L8paLBBXBe69hlA8Oey,Some(null))),None)) [info] a.s.PersistentAuthenticator - save [info] a.s.PersistentAuthenticator - TO debug coucou 31 [info] a.s.PersistentAuthenticator - TO debug [debug] a.c.DBUserService - find : id : IdentityId(vr@opio.fr,userpass) [debug] a.c.DBUserService - findIdFromDB : id : IdentityId(vr@opio.fr,userpass) [debug] a.c.DBUserService - Parsing SocialUserDBParser : SELECT * FROM MTRUser.social_users WHERE social_user_id='vr@opio.fr' AND provider='userpass' LIMIT 10 [debug] a.c.DBUserService - findMtrSocialIdByEmailAndProviderFromDB : email : vr@opio.fr provider : userpass [debug] a.c.DBUserService - SELECT * FROM MTRUser.social_users WHERE email='vr@opio.fr' AND provider='userpass' LIMIT 10 INSERT IGNORE INTO MTRAdmin.mtr_tentative_connections (`social_user_id`, `info`) VALUES ( 148, "try") [debug] a.c.DBUserService - identity found from db : : Some(SocialUserDB(148,31,vr@opio.fr,IdentityId(vr@opio.fr,userpass),Victor,Reutenauer,Victor Reutenauer,Some(vr@opio.fr),Some(),AuthenticationMethod(userpassword),None,None,Some(PasswordInfo(bcrypt,$2a$10$h5Lpg6vKzcWN3DixnzQ.n.CQqskSvvNLk7L8paLBBXBe69hlA8Oey,Some(null))),None)) [info] a.s.PersistentAuthenticator - save [info] a.s.PersistentAuthenticator - TO debug SELECT * FROM MTRUser.mtr_server_api WHERE server_type="wssserver" AND param_server=9 AND active --2025-07-18 13:57:35-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… [info] a.s.PersistentAuthenticator - TO debug 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… [debug] a.c.DBUserService - find : id : IdentityId(vr@opio.fr,userpass) [debug] a.c.DBUserService - findIdFromDB : id : IdentityId(vr@opio.fr,userpass) 200 OK Taille : 1064574 (1,0M) [image/jpeg] Enregistre : «/tmp/433021fd866bfb08eaac249fb71e441a.jpg» [debug] a.c.DBUserService - Parsing SocialUserDBParser : SELECT * FROM MTRUser.social_users WHERE social_user_id='vr@opio.fr' AND provider='userpass' LIMIT 10 0K .......... .......... .......... .......... .......... 4% 2,39M 0s 50K .......... .......... .......... .......... .......... 9% 5,03M 0s 100K .......... .......... .......... .......... .......... 14% 85,1M 0s 150K .......... .......... .........[debug] a.c.DBUserService - findMtrSocialIdByEmailAndProviderFromDB : email : vr@opio.fr provider : userpass [debug] a.c.DBUserService - SELECT * FROM MTRUser.social_users WHERE email='vr@opio.fr' AND provider='userpass' LIMIT 10 . .......... .......... 19% 115M 0s 200K .......... .......... .......... .......... .......... 24% 5,18M 0s 250K .......... .......... .......... .......... .......... 28% 91,2M 0s 300K .......... .......... .......... .......... .......... 33% 116M 0s 350K .......... .......... .......... .......... .......... 38% 116M 0s 400K .......... .......... .......... .......... .......... 43% 5,85M 0s 450K .......... .......... .......... .......... .......... 48% 94,8M 0s 500K .......... .......... .......... .......... .......... 52% 107M 0s 550K .......... .......... .......... .......... .......... 57% 111M 0s 600K .......... .......... .......... .......... .......... 62% 98,7M 0s 650K .......... .......... .......... .......... .......... 67% 121M 0s 700K .......... .......... .......... .......... .......... 72% 94,7M 0s 750K .......... .......... .......... .......... .......... 76% 109M 0s 800K .......... .......... .......... .......... .......... 81% 113M 0s 850K .......... .......... .......... ....INSERT IGNORE INTO MTRAdmin.mtr_tentative_connections (`social_user_id`, `info`) VALUES ( 148, "try") ...... .......... 86% 7,89M 0s 900K .......... .......... .......... .......... .......... 91% 81,5M 0s 950K .......... .......... .......... .......... .......... 96% 126M 0s 1000K .......... .......... .......... ......... 100% 167M=0,06s 2025-07-18 13:57:35 (16,5 MB/s) - «/tmp/433021fd866bfb08eaac249fb71e441a.jpg» enregistré [1064574/1064574] [debug] a.c.DBUserService - identity found from db : : Some(SocialUserDB(148,31,vr@opio.fr,IdentityId(vr@opio.fr,userpass),Victor,Reutenauer,Victor Reutenauer,Some(vr@opio.fr),Some(),AuthenticationMethod(userpassword),None,None,Some(PasswordInfo(bcrypt,$2a$10$h5Lpg6vKzcWN3DixnzQ.n.CQqskSvvNLk7L8paLBBXBe69hlA8Oey,Some(null))),None)) [info] a.s.PersistentAuthenticator - save [info] a.s.PersistentAuthenticator - TO debug SELECT * FROM MTRUser.mtr_server_api WHERE server_type="wssserver" AND param_server=9 AND active /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2903844336463599612asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2903844336463599612asTemporaryFile : 1064574 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a.jpg -O /tmp/433021fd866bfb08eaac249fb71e441a.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a-small.jpg type_mfp mfpopt2025 size_object of file /tmp/433021fd866bfb08eaac249fb71e441a-big.jpg : 64540 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/433021fd866bfb08eaac249fb71e441a-medium.jpg : 14926 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/433021fd866bfb08eaac249fb71e441a-small.jpg : 3996 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.527016 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a.jpg", "TemporaryFile(/tmp/multipartBody2903844336463599612asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a-big.jpg", "TemporaryFile(/tmp/multipartBody2903844336463599612asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a-medium.jpg", "TemporaryFile(/tmp/multipartBody2903844336463599612asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/433021fd866bfb08eaac249fb71e441a-small.jpg", "TemporaryFile(/tmp/multipartBody2903844336463599612asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518988 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518988" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8863012470472045479asTemporaryFile -n 32fd84109661fa7af85aafa2d5e6bc47 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_57_10213.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8863012470472045479asTemporaryFile -n 32fd84109661fa7af85aafa2d5e6bc47 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:39-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1063875 (1,0M) [image/jpeg] Enregistre : «/tmp/32fd84109661fa7af85aafa2d5e6bc47.jpg» 0K .......... .......... .......... .......... .......... 4% 2,44M 0s 50K .......... .......... .......... .......... .......... 9% 4,82M 0s 100K .......... .......... .......... .......... .......... 14% 113M 0s 150K .......... .......... .......... .......... .......... 19% 5,18M 0s 200K .......... .......... .......... .......... .......... 24% 90,6M 0s 250K .......... .......... .......... .......... .......... 28% 108M 0s 300K .......... .......... .......... .......... .......... 33% 128M 0s 350K .......... .......... .......... .......... .......... 38% 5,59M 0s 400K .......... .......... .......... .......... .......... 43% 133M 0s 450K .......... .......... .......... .......... .......... 48% 105M 0s 500K .......... .......... .......... .......... .......... 52% 125M 0s 550K .......... .......... .......... .......... .......... 57% 94,6M 0s 600K .......... .......... .......... .......... .......... 62% 127M 0s 650K .......... .......... .......... .......... .......... 67% 116M 0s 700K .......... .......... .......... .......... .......... 72% 107M 0s 750K .......... .......... .......... .......... .......... 77% 7,02M 0s 800K .......... .......... .......... .......... .......... 81% 117M 0s 850K .......... .......... .......... .......... .......... 86% 106M 0s 900K .......... .......... .......... .......... .......... 91% 128M 0s 950K .......... .......... .......... .......... .......... 96% 104M 0s 1000K .......... .......... .......... ........ 100% 172M=0,06s 2025-07-18 13:57:40 (16,4 MB/s) - «/tmp/32fd84109661fa7af85aafa2d5e6bc47.jpg» enregistré [1063875/1063875] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8863012470472045479asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8863012470472045479asTemporaryFile : 1063875 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47.jpg -O /tmp/32fd84109661fa7af85aafa2d5e6bc47.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47-small.jpg type_mfp mfpopt2025 size_object of file /tmp/32fd84109661fa7af85aafa2d5e6bc47-big.jpg : 64517 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/32fd84109661fa7af85aafa2d5e6bc47-medium.jpg : 14924 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/32fd84109661fa7af85aafa2d5e6bc47-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.236035 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 111.After photo_uploader , duration 7 : 4220 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 111.After photo_uploader , duration 7 : 4220 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47.jpg", "TemporaryFile(/tmp/multipartBody8863012470472045479asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47-big.jpg", "TemporaryFile(/tmp/multipartBody8863012470472045479asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47-medium.jpg", "TemporaryFile(/tmp/multipartBody8863012470472045479asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/32fd84109661fa7af85aafa2d5e6bc47-small.jpg", "TemporaryFile(/tmp/multipartBody8863012470472045479asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 111.After photo_uploader , duration 7 : 4220 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518989 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518989" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3500526721678785600asTemporaryFile -n 75418fcf61f1ba0d86e147ed827e390f --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_37_10191.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3500526721678785600asTemporaryFile -n 75418fcf61f1ba0d86e147ed827e390f --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_38_25_39580.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7ec87fc5 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_39_05_39640.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3b7fdeef basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_39_46_40612.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4f558032 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_40_25_39589.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@61f1c24d basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_41_06_40648.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5c7abfe1 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_41_45_39584.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@19b79a27 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5305525708498854489asTemporaryFile -n 38ea5082afffe3c289abd905e989fd5d --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_38_25_39580.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5305525708498854489asTemporaryFile -n 38ea5082afffe3c289abd905e989fd5d --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:44-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1057682 (1,0M) [image/jpeg] Enregistre : «/tmp/75418fcf61f1ba0d86e147ed827e390f.jpg» 0K .......... .......... .......... .......... .......... 4% 4,78M 0s 50K .......... .......... .......... .......... .......... 9% 4,94M 0s 100K .......... .......... .......... .......... .......... 14% 90,6M 0s 150K .......... .......... .......... .......... .......... 19% 5,12M 0s 200K .......... .......... .......... .......... .......... 24% 132M 0s 250K .......... .......... .......... .......... .......... 29% 93,3M 0s 300K .......... .......... .......... .......... .......... 33% 123M 0s 350K .......... .......... .......... .......... .......... 38% 114M 0s 400K .......... .......... .......... .......... .......... 43% 5,68M 0s 450K .......... .......... .......... .......... .......... 48% 125M 0s 500K .......... .......... .......... .......... .......... 53% 118M 0s 550K .......... .......... .......... .......... .......... 58% 98,3M 0s 600K .......... .......... .......... .......... .......... 62% 113M 0s 650K .......... .......... .......... .......... .......... 67% 112M 0s 700K .......... .......... .......... .......... .......... 72% 127M 0s 750K .......... .......... .......... .......... .......... 77% 93,1M 0s 800K .......... .......... .......... .......... .......... 82% 7,30M 0s 850K .......... .......... .......... .......... .......... 87% 113M 0s 900K .......... .......... .......... .......... .......... 91% 125M 0s 950K .......... .......... .......... .......... .......... 96% 112M 0s 1000K .......... .......... .......... .. 100% 112M=0,05s 2025-07-18 13:57:44 (19,5 MB/s) - «/tmp/75418fcf61f1ba0d86e147ed827e390f.jpg» enregistré [1057682/1057682] --2025-07-18 13:57:44-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 239260 (234K) [image/jpeg] Enregistre : «/tmp/38ea5082afffe3c289abd905e989fd5d.jpg» 0K .......... .......... .......... .......... .......... 21% 4,86M 0s 50K .......... .......... .......... .......... .......... 42% 4,88M 0s 100K .......... .......... .......... .......... .......... 64% 109M 0s 150K .......... .......... .......... .......... .......... 85% 5,08M 0s 200K .......... .......... .......... ... 100% 114M=0,03s 2025-07-18 13:57:44 (7,50 MB/s) - «/tmp/38ea5082afffe3c289abd905e989fd5d.jpg» enregistré [239260/239260] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5305525708498854489asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5305525708498854489asTemporaryFile : 239260 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d.jpg -O /tmp/38ea5082afffe3c289abd905e989fd5d.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d-small.jpg type_mfp mfpopt2025 size_object of file /tmp/38ea5082afffe3c289abd905e989fd5d-big.jpg : 100566 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/38ea5082afffe3c289abd905e989fd5d-medium.jpg : 23666 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/38ea5082afffe3c289abd905e989fd5d-small.jpg : 6475 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.348722 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d.jpg", "TemporaryFile(/tmp/multipartBody5305525708498854489asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d-big.jpg", "TemporaryFile(/tmp/multipartBody5305525708498854489asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d-medium.jpg", "TemporaryFile(/tmp/multipartBody5305525708498854489asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/38ea5082afffe3c289abd905e989fd5d-small.jpg", "TemporaryFile(/tmp/multipartBody5305525708498854489asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 latitude : 0.0 longitude : 0.0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3500526721678785600asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3500526721678785600asTemporaryFile : 1057682 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f.jpg -O /tmp/75418fcf61f1ba0d86e147ed827e390f.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f-small.jpg type_mfp mfpopt2025 size_object of file /tmp/75418fcf61f1ba0d86e147ed827e390f-big.jpg : 64390 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/75418fcf61f1ba0d86e147ed827e390f-medium.jpg : 14889 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/75418fcf61f1ba0d86e147ed827e390f-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.035691 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 111.After photo_uploader , duration 7 : 4220 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 109.After photo_uploader , duration 11 : 4055 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 111.After photo_uploader , duration 7 : 4220 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 109.After photo_uploader , duration 11 : 4055 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f.jpg", "TemporaryFile(/tmp/multipartBody3500526721678785600asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [info] a.models.Photo - source_id_submit_photo from insertion : 379518990 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518990" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f-big.jpg", "TemporaryFile(/tmp/multipartBody3500526721678785600asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f-medium.jpg", "TemporaryFile(/tmp/multipartBody3500526721678785600asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2697372832551442536asTemporaryFile -n 3a9c5df8c274b756ce3b80b55e8e51be --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_39_05_39640.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2697372832551442536asTemporaryFile -n 3a9c5df8c274b756ce3b80b55e8e51be --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/75418fcf61f1ba0d86e147ed827e390f-small.jpg", "TemporaryFile(/tmp/multipartBody3500526721678785600asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 111.After photo_uploader , duration 7 : 4220 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 109.After photo_uploader , duration 11 : 4055 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518991 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518991" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(24230041) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631819, 1372631820, 1372631822) 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (24230041, 1372631820,1372631820, "1" ,0,979, NOW()), (24230041, 1372631822,1372631822, "1" ,0,979, NOW()), (24230041, 1372631819,1372631819, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 111.After photo_uploader , duration 7 : 4220 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 109.After photo_uploader , duration 11 : 4055 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134After insertPortfolioPhotoId , duration 14 : 306 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:57:48-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 230567 (225K) [image/jpeg] Enregistre : «/tmp/3a9c5df8c274b756ce3b80b55e8e51be.jpg» 0K .......... .......... .......... .......... .......... 22% 2,54M 0s 50K .......... .......... .......... .......... .......... 44% 4,90M 0s 100K .......... .......... .......... .......... .......... 66% 120M 0s 150K .......... .......... .......... .......... .......... 88% 5,15M 0s 200K .......... .......... ..... 100% 133M=0,04s 2025-07-18 13:57:48 (5,60 MB/s) - «/tmp/3a9c5df8c274b756ce3b80b55e8e51be.jpg» enregistré [230567/230567] token_used : Some(e243aac39fb012c084cfefeb2a6a3641) mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_56_45_9794.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6fda9e9e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_56_35_9795.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2451aee0 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_56_25_9802.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@41e7eca9 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_56_15_10833.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@318317aa basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_56_04_9798.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@a16516a basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_55_55_9651.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2319c866 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2827406041681300806asTemporaryFile -n c1737673eee5a70a3abb1300398f4302 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_56_45_9794.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2827406041681300806asTemporaryFile -n c1737673eee5a70a3abb1300398f4302 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4499 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 111.After photo_uploader , duration 7 : 4220 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 152 Before photo_uploader , duration 10 : 109.After photo_uploader , duration 11 : 4055 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134After insertPortfolioPhotoId , duration 14 : 306 About to finish After with svm , duration 15 : 2641 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3189040 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2697372832551442536asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2697372832551442536asTemporaryFile : 230567 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be.jpg -O /tmp/3a9c5df8c274b756ce3b80b55e8e51be.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be-small.jpg type_mfp mfpopt2025 size_object of file /tmp/3a9c5df8c274b756ce3b80b55e8e51be-big.jpg : 98338 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3a9c5df8c274b756ce3b80b55e8e51be-medium.jpg : 23183 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3a9c5df8c274b756ce3b80b55e8e51be-small.jpg : 6385 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.811972 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be.jpg", "TemporaryFile(/tmp/multipartBody2697372832551442536asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be-big.jpg", "TemporaryFile(/tmp/multipartBody2697372832551442536asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be-medium.jpg", "TemporaryFile(/tmp/multipartBody2697372832551442536asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3a9c5df8c274b756ce3b80b55e8e51be-small.jpg", "TemporaryFile(/tmp/multipartBody2697372832551442536asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518998 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518998" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 --2025-07-18 13:57:50-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2204466944472429590asTemporaryFile -n f5c83ec952ff885ba0e3d91e4625e9c0 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_39_46_40612.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2204466944472429590asTemporaryFile -n f5c83ec952ff885ba0e3d91e4625e9c0 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223662 (218K) [image/jpeg] Enregistre : «/tmp/c1737673eee5a70a3abb1300398f4302.jpg» 0K .......... .......... .......... .......... .......... 22% 2,41M 0s 50K .......... .......... .......... .......... .......... 45% 4,90M 0s 100K .......... .......... .......... .......... .......... 68% 98,9M 0s 150K .......... .......... .......... .......... .......... 91% 5,09M 0s 200K .......... ........ 100% 113M=0,04s 2025-07-18 13:57:50 (5,27 MB/s) - «/tmp/c1737673eee5a70a3abb1300398f4302.jpg» enregistré [223662/223662] --2025-07-18 13:57:52-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 232609 (227K) [image/jpeg] Enregistre : «/tmp/f5c83ec952ff885ba0e3d91e4625e9c0.jpg» 0K .......... .......... .......... .......... .......... 22% 2,53M 0s 50K .......... .......... .......... .......... .......... 44% 4,92M 0s 100K .......... .......... .......... .......... .......... 66% 94,7M 0s 150K .......... .......... .......... .......... .......... 88% 114M 0s 200K .......... .......... ....... 100% 2,86M=0,04s 2025-07-18 13:57:52 (5,62 MB/s) - «/tmp/f5c83ec952ff885ba0e3d91e4625e9c0.jpg» enregistré [232609/232609] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3189040 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3189040 [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.flushPendingEncryptedWrites(SslHandler.java:1108) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1047) ~[io.netty.netty-3.7.1.Final.jar:na] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2827406041681300806asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2827406041681300806asTemporaryFile : 223662 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302.jpg -O /tmp/c1737673eee5a70a3abb1300398f4302.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c1737673eee5a70a3abb1300398f4302-big.jpg : 52385 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c1737673eee5a70a3abb1300398f4302-medium.jpg : 14327 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c1737673eee5a70a3abb1300398f4302-small.jpg : 4415 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.552345 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302.jpg", "TemporaryFile(/tmp/multipartBody2827406041681300806asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302-big.jpg", "TemporaryFile(/tmp/multipartBody2827406041681300806asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302-medium.jpg", "TemporaryFile(/tmp/multipartBody2827406041681300806asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1737673eee5a70a3abb1300398f4302-small.jpg", "TemporaryFile(/tmp/multipartBody2827406041681300806asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379518999 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379518999" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1185728712659027358asTemporaryFile -n e26cfc876565e0a7f70d8dddb715cfd5 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_56_35_9795.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1185728712659027358asTemporaryFile -n e26cfc876565e0a7f70d8dddb715cfd5 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2204466944472429590asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2204466944472429590asTemporaryFile : 232609 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0.jpg -O /tmp/f5c83ec952ff885ba0e3d91e4625e9c0.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f5c83ec952ff885ba0e3d91e4625e9c0-big.jpg : 99257 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f5c83ec952ff885ba0e3d91e4625e9c0-medium.jpg : 23168 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f5c83ec952ff885ba0e3d91e4625e9c0-small.jpg : 6348 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.812615 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0.jpg", "TemporaryFile(/tmp/multipartBody2204466944472429590asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0-big.jpg", "TemporaryFile(/tmp/multipartBody2204466944472429590asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) --2025-07-18 13:57:54-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0-medium.jpg", "TemporaryFile(/tmp/multipartBody2204466944472429590asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) requête HTTP transmise, en attente de la réponse… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f5c83ec952ff885ba0e3d91e4625e9c0-small.jpg", "TemporaryFile(/tmp/multipartBody2204466944472429590asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 200 OK Taille : 224266 (219K) [image/jpeg] Enregistre : «/tmp/e26cfc876565e0a7f70d8dddb715cfd5.jpg» 0K .......... .......... .......... .......... .......... 22% 2,47M 0s 50K .......... .......... ..[info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 latitude : 0.0 longitude : 0.0........ .......... .......... 45% 4,91M 0s 100K .......... .......... .......... .......... .......... 68% 104M 0s 150K .......... .......... .......... .......... .......... 91% 5,12M 0s 200K .......... ......... 100% 89,5M=0,04s 2025-07-18 13:57:54 (5,35 MB/s) - «/tmp/e26cfc876565e0a7f70d8dddb715cfd5.jpg» enregistré [224266/224266] [info] a.models.Photo - source_id_submit_photo from insertion : 379519000 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519000" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5630246200135833994asTemporaryFile -n b88273ce2189f8b5aa63081d547b6010 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_40_25_39589.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5630246200135833994asTemporaryFile -n b88273ce2189f8b5aa63081d547b6010 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:56-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) 200 OK Taille : 236283 (231K) [image/jpeg] Enregistre : «/tmp/b88273ce2189f8b5aa63081d547b6010.jpg» 0K .......... .......... .......... .......... .......... 21% 2,38M 0s 50K .......... .......... .......... .......... .......... 43% 5,32M 0s 100K .......... .......... .......... .......... .......... 65% 41,9M 0s 150K .......... .......... .......... .......... .......... 86% 5,58M 0s 200K .......... .......... .......... 100% 32,5M=0,04s 2025-07-18 13:57:56 (5,56 MB/s) - «/tmp/b88273ce2189f8b5aa63081d547b6010.jpg» enregistré [236283/236283] res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1185728712659027358asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1185728712659027358asTemporaryFile : 224266 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5.jpg -O /tmp/e26cfc876565e0a7f70d8dddb715cfd5.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5-small.jpg type_mfp mfpopt2025 size_object of file /tmp/e26cfc876565e0a7f70d8dddb715cfd5-big.jpg : 52599 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e26cfc876565e0a7f70d8dddb715cfd5-medium.jpg : 14340 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e26cfc876565e0a7f70d8dddb715cfd5-small.jpg : 4414 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.597486 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5.jpg", "TemporaryFile(/tmp/multipartBody1185728712659027358asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5-big.jpg", "TemporaryFile(/tmp/multipartBody1185728712659027358asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5-medium.jpg", "TemporaryFile(/tmp/multipartBody1185728712659027358asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e26cfc876565e0a7f70d8dddb715cfd5-small.jpg", "TemporaryFile(/tmp/multipartBody1185728712659027358asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519001 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519001" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6028529472531373327asTemporaryFile -n 69a8b4f28103a55a7b8abff4606cf172 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_56_25_9802.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6028529472531373327asTemporaryFile -n 69a8b4f28103a55a7b8abff4606cf172 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:57:58-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 224404 (219K) [image/jpeg] Enregistre : «/tmp/69a8b4f28103a55a7b8abff4606cf172.jpg» 0K .......... .......... .......... .......... .......... 22% 4,39M 0s 50K .......... .......... .......... .......... .......... 45% 4,94M 0s 100K .......... .......... .......... .......... .......... 68% 82,4M 0s 150K .......... .......... .......... .......... .......... 91% 5,57M 0s 200K .......... ......... 100% 122M=0,03s 2025-07-18 13:57:58 (7,02 MB/s) - «/tmp/69a8b4f28103a55a7b8abff4606cf172.jpg» enregistré [224404/224404] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5630246200135833994asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5630246200135833994asTemporaryFile : 236283 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010.jpg -O /tmp/b88273ce2189f8b5aa63081d547b6010.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010-small.jpg type_mfp mfpopt2025 size_object of file /tmp/b88273ce2189f8b5aa63081d547b6010-big.jpg : 100209 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/b88273ce2189f8b5aa63081d547b6010-medium.jpg : 23413 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/b88273ce2189f8b5aa63081d547b6010-small.jpg : 6436 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.974817 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010.jpg", "TemporaryFile(/tmp/multipartBody5630246200135833994asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010-big.jpg", "TemporaryFile(/tmp/multipartBody5630246200135833994asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010-medium.jpg", "TemporaryFile(/tmp/multipartBody5630246200135833994asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b88273ce2189f8b5aa63081d547b6010-small.jpg", "TemporaryFile(/tmp/multipartBody5630246200135833994asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519002 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519002" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1714760051780158001asTemporaryFile -n 7b86317746000389add5f834e9af3d2d --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_41_06_40648.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1714760051780158001asTemporaryFile -n 7b86317746000389add5f834e9af3d2d --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:58:00-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) requête HTTP transmise, en attente de la réponse… token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_05072025_04_32_05_10189.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5f4d385c basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_05072025_04_32_15_10203.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@34c1609a basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true 200 OK Taille : 232488 (227K) [image/jpeg] Enregistre : «/tmp/7b86317746000389add5f834e9af3d2d.jpg» 0K .......... .......... .......... .......... .......... 22% 4,79M 0s 50K ..........getSimpleUser in getUserObj .......... ...... res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6028529472531373327asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6028529472531373327asTemporaryFile : 224404 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172.jpg -O /tmp/69a8b4f28103a55a7b8abff4606cf172.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172-small.jpg type_mfp mfpopt2025 size_object of file /tmp/69a8b4f28103a55a7b8abff4606cf172-big.jpg : 52582 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/69a8b4f28103a55a7b8abff4606cf172-medium.jpg : 14368 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/69a8b4f28103a55a7b8abff4606cf172-small.jpg : 4418 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.892087 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1 .... .......... .......... 44% 4,96M 0s 100K .......... .......... .......... .......... .......... 66% 88,5M 0s 150K .......... .......... .......... ........[debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172.jpg", "TemporaryFile(/tmp/multipartBody6028529472531373327asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') .. .......... 88% 5,03M 0s 200K .......... .......... ....... 100% 135M=0,03s 2025-07-18 13:58:00 (7,27 MB/s) - «/tmp/7b86317746000389add5f834e9af3d2d.jpg» enregistré [232488/232488] [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(24628033) [info] a.c.Photo - given_mtr_portfolio_id : Some(24628033) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8155779569569680719asTemporaryFile -n d6d2d222be6fc09f1574b5abb9c36c1e --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_05072025_04_32_05_10189.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8155779569569680719asTemporaryFile -n d6d2d222be6fc09f1574b5abb9c36c1e --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172-big.jpg", "TemporaryFile(/tmp/multipartBody6028529472531373327asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172-medium.jpg", "TemporaryFile(/tmp/multipartBody6028529472531373327asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/69a8b4f28103a55a7b8abff4606cf172-small.jpg", "TemporaryFile(/tmp/multipartBody6028529472531373327asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519003 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519003" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody933858964693396417asTemporaryFile -n 2f080b01a172084fc29663126a75c4f4 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_56_15_10833.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody933858964693396417asTemporaryFile -n 2f080b01a172084fc29663126a75c4f4 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! getSimpleUser in getUserObj getSimpleUser in getUserObj getSimpleUser in getUserObj false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 [error] application - ! @8a6497bco - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:58:02-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1714760051780158001asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1714760051780158001asTemporaryFile : 232488 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d.jpg -O /tmp/7b86317746000389add5f834e9af3d2d.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d-small.jpg type_mfp mfpopt2025 size_object of file /tmp/7b86317746000389add5f834e9af3d2d-big.jpg : 99326 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7b86317746000389add5f834e9af3d2d-medium.jpg : 23258 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7b86317746000389add5f834e9af3d2d-small.jpg : 6398 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.571996 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3565 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3565 Before insertPortfolioPhotoId , duration 20 : 0 requête HTTP transmise, en attente de la réponse… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d.jpg", "TemporaryFile(/tmp/multipartBody1714760051780158001asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') 200 OK Taille : 1079965 (1,0M) [image/jpeg] Enregistre : «/tmp/d6d2d222be6fc09f1574b5abb9c36c1e.jpg» 0K .......... .......... .......... .....--2025-07-18 13:58:02-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d-big.jpg", "TemporaryFile(/tmp/multipartBody1714760051780158001asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) ..... .......... 4% 2,46M 0s54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… 50K .......... .......... .......... .......... .......... 9% 4,87M 0s 100K .......... .......... .......... .......... .......... 14% 111M 0s 150K .......... .......... .......... .......... ....connecté. ...... 18% 5,27M 0s 200K .......... .......... .......... .......... .......... 23% 90,0M 0s 250K .......... .......... .......... .......... .......... 28% 95,9M 0s 300K .......... .......... .......... .......... .......... 33% 117M 0s 350K .......... .......... .......... .......... .......... 37% 117M 0s 400K .......... .......... .......... .......... .......... 42% 5,71M 0s 450K .......... .......... .......... .......... .......... 47% 114M 0s 500K .......... .......... .......... .......... .......... 52% 102M 0s 550K .......... .......... .......... .......... .......... 56% 116M 0s 600K .......... .......... .......... .......... .......... 61% 98,2M 0s 650K .......... .......... .......... .......... .......... 66% 119M 0s 700K .......... .......... .......... .......... .......... 71% 118M 0s 750K ..[debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d-medium.jpg", "TemporaryFile(/tmp/multipartBody1714760051780158001asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) ........ .......... .......... .......... .......... 75% 97,1M 0s 800K .......... .......... .......... .......... .......... 80% 119M 0s 850K .......... .......... .........requête HTTP transmise, en attente de la réponse… . .......... .......... 85% 7,82M 0s 900K .......... .......... .......... .......... .......... 90% 128M 0s 950K .......... .......... .......... .......... .......... 94% 98,0M 0s 1000K .......... .......... .......... .......... .......... 99% 102M 0s 1050K .... 100% 8876G=0,06s 2025-07-18 13:58:02 (16,8 MB/s) - «/tmp/d6d2d222be6fc09f1574b5abb9c36c1e.jpg» enregistré [1079965/1079965] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b86317746000389add5f834e9af3d2d-small.jpg", "TemporaryFile(/tmp/multipartBody1714760051780158001asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 200 OK Taille : 224262 (219K) [image/jpeg] Enregistre : «/tmp/2f080b01a172084fc29663126a75c4f4.jpg» 0K .......... .......... .......... .......... .......... 22% 4,76M 0s 50K .......... .......... .....[info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3565 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 latitude : 0.0 longitude : 0.0 ..... .......... .......... 45% 4,92M 0s 100K .......... .......... .......... .......... .......... 68% 98,8M 0s 150K .......... .......... .......... .......... .......... 91% 5,14M 0s 200K .......... ......... 100% 106M=0,03s 2025-07-18 13:58:02 (7,05 MB/s) - «/tmp/2f080b01a172084fc29663126a75c4f4.jpg» enregistré [224262/224262] [info] a.models.Photo - source_id_submit_photo from insertion : 379519004 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519004" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2312634221743216342asTemporaryFile -n 9e80710f8709dc740fd22f2b39ceab62 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_41_45_39584.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2312634221743216342asTemporaryFile -n 9e80710f8709dc740fd22f2b39ceab62 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_57_55_10134.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5c064c31 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_57_45_10135.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5a30ef54 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_57_35_10132.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7e271c57 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_57_24_10131.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4149f848 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_57_14_10133.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2fc05394 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_57_04_10158.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@72d74377 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050138) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050138) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] list_hashtags : List([nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2410920597865146758asTemporaryFile -n 5801dd81b4612f192d8421f0d0ca14ea --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_57_55_10134.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2410920597865146758asTemporaryFile -n 5801dd81b4612f192d8421f0d0ca14ea --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:58:04-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62.jpg /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 229060 (224K) [image/jpeg] Enregistre : «/tmp/9e80710f8709dc740fd22f2b39ceab62.jpg» 0K .......... .......... .......... .......... .......... 22% 2,40M 0s 50K .......... .......... .......... .......... .......... 44% 4,87M 0s 100K .......... .......... .......... .......... .......... 67% 106M 0s 150K .......... .......... .......... .......... .......... 89% 5,18M 0s 200K .......... .......... ... 100% 106M=0,04s 2025-07-18 13:58:04 (5,40 MB/s) - «/tmp/9e80710f8709dc740fd22f2b39ceab62.jpg» enregistré [229060/229060] res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody933858964693396417asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody933858964693396417asTemporaryFile : 224262 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4.jpg -O /tmp/2f080b01a172084fc29663126a75c4f4.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4-small.jpg type_mfp mfpopt2025 size_object of file /tmp/2f080b01a172084fc29663126a75c4f4-big.jpg : 52565 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2f080b01a172084fc29663126a75c4f4-medium.jpg : 14342 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2f080b01a172084fc29663126a75c4f4-small.jpg : 4412 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.542906 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4.jpg", "TemporaryFile(/tmp/multipartBody933858964693396417asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4-big.jpg", "TemporaryFile(/tmp/multipartBody933858964693396417asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4-medium.jpg", "TemporaryFile(/tmp/multipartBody933858964693396417asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2f080b01a172084fc29663126a75c4f4-small.jpg", "TemporaryFile(/tmp/multipartBody933858964693396417asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 latitude : 0.0 longitude : 0.0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8155779569569680719asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8155779569569680719asTemporaryFile : 1079965 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e.jpg -O /tmp/d6d2d222be6fc09f1574b5abb9c36c1e.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d6d2d222be6fc09f1574b5abb9c36c1e-big.jpg : 63897 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d6d2d222be6fc09f1574b5abb9c36c1e-medium.jpg : 14661 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d6d2d222be6fc09f1574b5abb9c36c1e-small.jpg : 3945 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.908404 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3992 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3992 Before insertPortfolioPhotoId , duration 4 : 0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519005 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519005" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e.jpg", "TemporaryFile(/tmp/multipartBody8155779569569680719asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e-big.jpg", "TemporaryFile(/tmp/multipartBody8155779569569680719asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2967055943633775092asTemporaryFile -n b7c8d8c2d130264e97d52c54d4460b24 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_56_04_9798.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2967055943633775092asTemporaryFile -n b7c8d8c2d130264e97d52c54d4460b24 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e-medium.jpg", "TemporaryFile(/tmp/multipartBody8155779569569680719asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d6d2d222be6fc09f1574b5abb9c36c1e-small.jpg", "TemporaryFile(/tmp/multipartBody8155779569569680719asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3992 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519006 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519006" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody569175437675691263asTemporaryFile -n 8979e97be3c5168af709e93524b536de --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_05072025_04_32_15_10203.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody569175437675691263asTemporaryFile -n 8979e97be3c5168af709e93524b536de --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 13:58:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 182992 (179K) [image/jpeg] Enregistre : «/tmp/5801dd81b4612f192d8421f0d0ca14ea.jpg» 0K .......... .......... .......... .......... .......... 27% 4,77M 0s 50K .......... .......... .......... .......... .......... 55% 4,85M 0s 100K .......... .......... .......... .......... .......... 83% 111M 0s 150K .......... .......... ........ 100% 105M=0,02s 2025-07-18 13:58:05 (8,31 MB/s) - «/tmp/5801dd81b4612f192d8421f0d0ca14ea.jpg» enregistré [182992/182992] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2312634221743216342asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2312634221743216342asTemporaryFile : 229060 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62.jpg -O /tmp/9e80710f8709dc740fd22f2b39ceab62.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62-small.jpg type_mfp mfpopt2025 size_object of file /tmp/9e80710f8709dc740fd22f2b39ceab62-big.jpg : 97642 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9e80710f8709dc740fd22f2b39ceab62-medium.jpg : 22883 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9e80710f8709dc740fd22f2b39ceab62-small.jpg : 6300 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.627265 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3565 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3670 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3565 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3670 Before insertPortfolioPhotoId , duration 24 : 0 [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 [error] application - ! @8a6497i0i - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62.jpg", "TemporaryFile(/tmp/multipartBody2312634221743216342asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62-big.jpg", "TemporaryFile(/tmp/multipartBody2312634221743216342asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62-medium.jpg", "TemporaryFile(/tmp/multipartBody2312634221743216342asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9e80710f8709dc740fd22f2b39ceab62-small.jpg", "TemporaryFile(/tmp/multipartBody2312634221743216342asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3565 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3670 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 141 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519007 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519007" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25057218) --2025-07-18 13:58:06-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… SELECT photo_id FROM MTRBack.photos WHERE photo_i 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… List(1372631821, 1372631829, 1372631831, 1372631833, 1372631835, 1372631838) connecté. 0 requête HTTP transmise, en attente de la réponse… 0 0 200 OK Taille : 224360 (219K) [image/jpeg] Enregistre : «/tmp/b7c8d8c2d130264e97d52c54d4460b24.jpg» 0K .......... .......... .......... .......... .......... 22% 2,51M 0s 50K .......... .......... .......... ......0 .... .......... 45% 4,89M 0s 100K .......... .......... .......... .......... .......... 68% 119M 0s 150K .......... .......... .......... .......... .......... 91% 5,22M 0s 200K .......... ......... 100% 138M=0,04s 2025-07-18 13:58:06 (5,44 MB/s) - «/tmp/b7c8d8c2d130264e97d52c54d4460b24.jpg» enregistré [224360/224360] --2025-07-18 13:58:06-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 0 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631835,1372631835, "1" ,0,991, NOW()), (25057218, 1372631838,1372631838, "1" ,0,991, NOW()), (25057218, 1372631829,1372631829, "1" ,0,991, NOW()), (25057218, 1372631831,1372631831, "1" ,0,991, NOW()), (25057218, 1372631833,1372631833, "1" ,0,991, NOW()), (25057218, 1372631821,1372631821, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 requête HTTP transmise, en attente de la réponse… [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE 200 OK Taille : 1081894 (1,0M) [image/jpeg] Enregistre : «/tmp/8979e97be3c5168af709e93524b536de.jpg» 0K .......... .......... .......... .......... .......... 4% 5,02M 0s 50K .......... .......... .......... .......... .......... 9% 4,86M 0s 100K .......... .......... .......... .......... .......... 14% 131M 0s 150K .......... .......... .......... .......... .......... 18% 5,09M 0s 200K .......... .......... .......... .......... .......... 23% 133M 0s 250K .......... .......... .......... .......... .......... 28% 115M 0s 300K .......... .......... .......... .......... .......... 33% 128M 0s 350K .......... .......... .......... ..[debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3565 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3670 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 141After insertPortfolioPhotoId , duration 26 : 360 About to tag photos ! ........ .......... 37% 5,52M 0s 400K .......... .......... .......... .......... .......... 42% 131M 0s 450K .......... .......... .......... .......... .......... 47% 126M 0s 500K .......... .......... .......... .......... .......... 52% 97,2M 0s 550K .......... .......... .......... .......... .......... 56% 136M 0s 600K .......... .......... .......... .......... .......... 61% 109M 0s 650K .......... .......... .......... .......... .......... 66% 104M 0s 700K .......... .......... .......... .......... .......... 70% 111M 0s 750K .......... .......... ..........[debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; .......... .......... 75% 7,12M 0s 800K .......... .......... .......... .......... .......... 80% 101M 0s 850K .......... .......... .......... .......... .......... 85% 126M 0s 900K .......... .......... .......... .......... .......... 89% 117M 0s 950K .......... .......... .......... .......... .......... 94% 127M 0s 1000K .......... .......... .......... .......... .......... 99% 109M 0s 1050K ...... 100% 81,0M=0,05s 2025-07-18 13:58:07 (19,9 MB/s) - «/tmp/8979e97be3c5168af709e93524b536de.jpg» enregistré [1081894/1081894] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 [error] application - ! @8a6497kbj - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2410920597865146758asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2410920597865146758asTemporaryFile : 182992 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea.jpg -O /tmp/5801dd81b4612f192d8421f0d0ca14ea.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea-small.jpg type_mfp mfpopt2025 size_object of file /tmp/5801dd81b4612f192d8421f0d0ca14ea-big.jpg : 47017 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5801dd81b4612f192d8421f0d0ca14ea-medium.jpg : 15393 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5801dd81b4612f192d8421f0d0ca14ea-small.jpg : 5406 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.798065 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea.jpg", "TemporaryFile(/tmp/multipartBody2410920597865146758asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea-big.jpg", "TemporaryFile(/tmp/multipartBody2410920597865146758asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea-medium.jpg", "TemporaryFile(/tmp/multipartBody2410920597865146758asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 [error] application - ! @8a6497lfb - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5801dd81b4612f192d8421f0d0ca14ea-small.jpg", "TemporaryFile(/tmp/multipartBody2410920597865146758asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519014 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519014" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7680432655978119334asTemporaryFile -n f3004460081191227a4175651fe4ad68 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_57_45_10135.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7680432655978119334asTemporaryFile -n f3004460081191227a4175651fe4ad68 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 [error] application - ! @8a6497lpc - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody569175437675691263asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody569175437675691263asTemporaryFile : 1081894 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de.jpg -O /tmp/8979e97be3c5168af709e93524b536de.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de-small.jpg type_mfp mfpopt2025 size_object of file /tmp/8979e97be3c5168af709e93524b536de-big.jpg : 63901 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8979e97be3c5168af709e93524b536de-medium.jpg : 14676 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8979e97be3c5168af709e93524b536de-small.jpg : 3970 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.096721 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3992 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 100.After photo_uploader , duration 7 : 4181 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3992 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 100.After photo_uploader , duration 7 : 4181 Before insertPortfolioPhotoId , duration 8 : 1 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2967055943633775092asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2967055943633775092asTemporaryFile : 224360 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24.jpg -O /tmp/b7c8d8c2d130264e97d52c54d4460b24.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24-small.jpg type_mfp mfpopt2025 size_object of file /tmp/b7c8d8c2d130264e97d52c54d4460b24-big.jpg : 52574 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/b7c8d8c2d130264e97d52c54d4460b24-medium.jpg : 14304 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/b7c8d8c2d130264e97d52c54d4460b24-small.jpg : 4401 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.294683 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4367 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4367 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de.jpg", "TemporaryFile(/tmp/multipartBody569175437675691263asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24.jpg", "TemporaryFile(/tmp/multipartBody2967055943633775092asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de-big.jpg", "TemporaryFile(/tmp/multipartBody569175437675691263asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24-big.jpg", "TemporaryFile(/tmp/multipartBody2967055943633775092asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de-medium.jpg", "TemporaryFile(/tmp/multipartBody569175437675691263asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24-medium.jpg", "TemporaryFile(/tmp/multipartBody2967055943633775092asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8979e97be3c5168af709e93524b536de-small.jpg", "TemporaryFile(/tmp/multipartBody569175437675691263asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/b7c8d8c2d130264e97d52c54d4460b24-small.jpg", "TemporaryFile(/tmp/multipartBody2967055943633775092asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3992 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 100.After photo_uploader , duration 7 : 4181 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 latitude : 0.0 longitude : 0.0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4367 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 132 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519015 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519015" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519016 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519016" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(24628033) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3136379288078824869asTemporaryFile -n 8956c3165ba8d80e5183d02d51d45c3f --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_55_55_9651.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3136379288078824869asTemporaryFile -n 8956c3165ba8d80e5183d02d51d45c3f --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631837, 1372631846) 0 [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 [error] application - ! @8a6497ma1 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (24628033, 1372631846,1372631846, "1" ,0,979, NOW()), (24628033, 1372631837,1372631837, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3992 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 100.After photo_uploader , duration 7 : 4181 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135After insertPortfolioPhotoId , duration 10 : 251 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 [error] application - ! @8a6497mkk - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3378 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 145 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3810 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 162 Before photo_uploader , duration 10 : 115.After photo_uploader , duration 11 : 3803 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 3981 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 140 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3565 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3670 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 141After insertPortfolioPhotoId , duration 26 : 360 About to finish After with svm , duration 27 : 2817 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 [error] application - ! @8a6497n5l - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 [error] application - ! @8a6497ngo - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] --2025-07-18 13:58:10-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 138674 (135K) [image/jpeg] Enregistre : «/tmp/f3004460081191227a4175651fe4ad68.jpg» 0K .......... .......... .......... .......... .......... 36% 4,71M 0s 50K .......... .......... .......... .......... .......... 73% 5,05M 0s 100K .......... .......... .......... ..... 100% 92,4M=0,02s 2025-07-18 13:58:10 (6,48 MB/s) - «/tmp/f3004460081191227a4175651fe4ad68.jpg» enregistré [138674/138674] --2025-07-18 13:58:11-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 224205 (219K) [image/jpeg] Enregistre : «/tmp/8956c3165ba8d80e5183d02d51d45c3f.jpg» 0K .......... .......... .......... .......... .......... 22% 2,47M 0s 50K .......... .......... .......... .......... .......... 45% 4,97M 0s 100K .......... .......... .......... .......... .......... 68% 86,2M 0s 150K .......... .......... .......... .......... .......... 91% 5,13M 0s 200K .......... ........ 100% 160M=0,04s 2025-07-18 13:58:11 (5,37 MB/s) - «/tmp/8956c3165ba8d80e5183d02d51d45c3f.jpg» enregistré [224205/224205] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 [error] application - ! @8a6497pnm - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7680432655978119334asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7680432655978119334asTemporaryFile : 138674 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68.jpg -O /tmp/f3004460081191227a4175651fe4ad68.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f3004460081191227a4175651fe4ad68-big.jpg : 35637 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f3004460081191227a4175651fe4ad68-medium.jpg : 12989 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f3004460081191227a4175651fe4ad68-small.jpg : 4882 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.459424 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68.jpg", "TemporaryFile(/tmp/multipartBody7680432655978119334asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3992 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 100.After photo_uploader , duration 7 : 4181 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135After insertPortfolioPhotoId , duration 10 : 251 About to finish After with svm , duration 11 : 2990 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3239071 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68-big.jpg", "TemporaryFile(/tmp/multipartBody7680432655978119334asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68-medium.jpg", "TemporaryFile(/tmp/multipartBody7680432655978119334asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f3004460081191227a4175651fe4ad68-small.jpg", "TemporaryFile(/tmp/multipartBody7680432655978119334asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519017 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519017" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8048657163956541624asTemporaryFile -n 327c249385b297729f65957b25278972 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_57_35_10132.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8048657163956541624asTemporaryFile -n 327c249385b297729f65957b25278972 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3136379288078824869asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3136379288078824869asTemporaryFile : 224205 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f.jpg -O /tmp/8956c3165ba8d80e5183d02d51d45c3f.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f-small.jpg type_mfp mfpopt2025 size_object of file /tmp/8956c3165ba8d80e5183d02d51d45c3f-big.jpg : 52550 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8956c3165ba8d80e5183d02d51d45c3f-medium.jpg : 14350 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8956c3165ba8d80e5183d02d51d45c3f-small.jpg : 4415 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.418395 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4367 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 132 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3482 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4367 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 132 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3482 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f.jpg", "TemporaryFile(/tmp/multipartBody3136379288078824869asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f-big.jpg", "TemporaryFile(/tmp/multipartBody3136379288078824869asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f-medium.jpg", "TemporaryFile(/tmp/multipartBody3136379288078824869asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8956c3165ba8d80e5183d02d51d45c3f-small.jpg", "TemporaryFile(/tmp/multipartBody3136379288078824869asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4367 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 132 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3482 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519018 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519018" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050173) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631830, 1372631832, 1372631834, 1372631836, 1372631847, 1372631849) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050173, 1372631847,1372631847, "1" ,0,1042, NOW()), (25050173, 1372631832,1372631832, "1" ,0,1042, NOW()), (25050173, 1372631849,1372631849, "1" ,0,1042, NOW()), (25050173, 1372631834,1372631834, "1" ,0,1042, NOW()), (25050173, 1372631830,1372631830, "1" ,0,1042, NOW()), (25050173, 1372631836,1372631836, "1" ,0,1042, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4367 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 132 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3482 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 357 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 [error] application - ! @8a64983bk - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] --2025-07-18 13:58:14-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 166814 (163K) [image/jpeg] Enregistre : «/tmp/327c249385b297729f65957b25278972.jpg» 0K .......... .......... .......... .......... .......... 30% 4,62M 0s 50K .......... .......... .......... .......... .......... 61% 4,88M 0s 100K .......... .......... .......... .......... .......... 92% 77,4M 0s 150K .......... .. 100% 139M=0,02s 2025-07-18 13:58:14 (7,47 MB/s) - «/tmp/327c249385b297729f65957b25278972.jpg» enregistré [166814/166814] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3239071 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3239071 [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.flushPendingEncryptedWrites(SslHandler.java:1108) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1047) ~[io.netty.netty-3.7.1.Final.jar:na] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3565 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 132 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3591 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 101.After photo_uploader , duration 11 : 3878 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 136 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3614 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 138 Before photo_uploader , duration 18 : 99.After photo_uploader , duration 19 : 4367 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 132 Before photo_uploader , duration 22 : 92.After photo_uploader , duration 23 : 3482 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 357 About to finish After with svm , duration 27 : 2930 actions to do : and mtr_user_id : 1042 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305009 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8048657163956541624asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8048657163956541624asTemporaryFile : 166814 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972.jpg -O /tmp/327c249385b297729f65957b25278972.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972-small.jpg type_mfp mfpopt2025 size_object of file /tmp/327c249385b297729f65957b25278972-big.jpg : 40922 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/327c249385b297729f65957b25278972-medium.jpg : 13691 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/327c249385b297729f65957b25278972-small.jpg : 4907 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.041913 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972.jpg", "TemporaryFile(/tmp/multipartBody8048657163956541624asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972-big.jpg", "TemporaryFile(/tmp/multipartBody8048657163956541624asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972-medium.jpg", "TemporaryFile(/tmp/multipartBody8048657163956541624asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/327c249385b297729f65957b25278972-small.jpg", "TemporaryFile(/tmp/multipartBody8048657163956541624asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519019 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519019" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody117348742064586464asTemporaryFile -n 88812b63d2d01ea26afdef882dda27aa --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_57_24_10131.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody117348742064586464asTemporaryFile -n 88812b63d2d01ea26afdef882dda27aa --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 13:58:19-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305009 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305009 200 OK Taille : 166876 (163K) [image/jpeg] Enregistre : «/tmp/88812b63d2d01ea26afdef882dda27aa.jpg» 0K .......... .......... .......... .......... .......... 30% 4,77M 0s 50K .......... .......... .......... .......... .......... 61% 4,96M 0s 100K .......... .......... .......... .......... .......... 92% 45,4M 0s 150K .......... .. 100% 150M=0,02s 2025-07-18 13:58:19 (7,50 MB/s) - «/tmp/88812b63d2d01ea26afdef882dda27aa.jpg» enregistré [166876/166876] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody117348742064586464asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody117348742064586464asTemporaryFile : 166876 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa.jpg -O /tmp/88812b63d2d01ea26afdef882dda27aa.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa-small.jpg type_mfp mfpopt2025 size_object of file /tmp/88812b63d2d01ea26afdef882dda27aa-big.jpg : 41041 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/88812b63d2d01ea26afdef882dda27aa-medium.jpg : 13656 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/88812b63d2d01ea26afdef882dda27aa-small.jpg : 4901 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.948529 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa.jpg", "TemporaryFile(/tmp/multipartBody117348742064586464asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa-big.jpg", "TemporaryFile(/tmp/multipartBody117348742064586464asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa-medium.jpg", "TemporaryFile(/tmp/multipartBody117348742064586464asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/88812b63d2d01ea26afdef882dda27aa-small.jpg", "TemporaryFile(/tmp/multipartBody117348742064586464asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519020 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519020" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7096467951289894916asTemporaryFile -n ea0576a6cfcd71ee8e0600b8fc91bc4a --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_57_14_10133.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7096467951289894916asTemporaryFile -n ea0576a6cfcd71ee8e0600b8fc91bc4a --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(832f9dd9be82d72b547808d5fcaa9529) mtr_user_id : 983 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_54_36_29939.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5bbac322 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_52_36_29909.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@13245f7b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_51_05_29932.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5cbac2cd basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_10_35_35_29936.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@290a28d3 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050172) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050172) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1837098589899158903asTemporaryFile -n c58f2e5bcb6ae78cf027e7d2cdd9eb72 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_13_54_36_29939.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1837098589899158903asTemporaryFile -n c58f2e5bcb6ae78cf027e7d2cdd9eb72 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:58:22-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 166377 (162K) [image/jpeg] Enregistre : «/tmp/ea0576a6cfcd71ee8e0600b8fc91bc4a.jpg» 0K .......... .......... .......... .......... .......... 30% 2,47M 0s 50K .......... .......... .......... .......... .......... 61% 4,81M 0s 100K .......... .......... .......... .......... .......... 92% 116M 0s 150K .......... .. 100% 168M=0,03s 2025-07-18 13:58:22 (5,22 MB/s) - «/tmp/ea0576a6cfcd71ee8e0600b8fc91bc4a.jpg» enregistré [166377/166377] --2025-07-18 13:58:23-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 203957 (199K) [image/jpeg] Enregistre : «/tmp/c58f2e5bcb6ae78cf027e7d2cdd9eb72.jpg» 0K .......... .......... .......... .......... .......... 25% 2,46M 0s 50K .......... .......... .......... .......... .......... 50% 4,85M 0s 100K .......... .......... .......... .......... .......... 75% 120M 0s 150K .......... .......... .......... .......... ......... 100% 94,4M=0,03s 2025-07-18 13:58:23 (6,31 MB/s) - «/tmp/c58f2e5bcb6ae78cf027e7d2cdd9eb72.jpg» enregistré [203957/203957] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7096467951289894916asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7096467951289894916asTemporaryFile : 166377 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a.jpg -O /tmp/ea0576a6cfcd71ee8e0600b8fc91bc4a.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ea0576a6cfcd71ee8e0600b8fc91bc4a-big.jpg : 40858 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ea0576a6cfcd71ee8e0600b8fc91bc4a-medium.jpg : 13662 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ea0576a6cfcd71ee8e0600b8fc91bc4a-small.jpg : 4909 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.356871 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3361 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3361 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a.jpg", "TemporaryFile(/tmp/multipartBody7096467951289894916asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a-big.jpg", "TemporaryFile(/tmp/multipartBody7096467951289894916asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a-medium.jpg", "TemporaryFile(/tmp/multipartBody7096467951289894916asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 [error] application - ! @8a6498ipe - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ea0576a6cfcd71ee8e0600b8fc91bc4a-small.jpg", "TemporaryFile(/tmp/multipartBody7096467951289894916asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3361 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519021 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519021" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7596616806081528999asTemporaryFile -n 0d6fa20b58232bfe35eab035f3815ae9 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_57_04_10158.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7596616806081528999asTemporaryFile -n 0d6fa20b58232bfe35eab035f3815ae9 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 [error] application - ! @8a6498j87 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 [error] application - ! @8a6498jh1 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1837098589899158903asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1837098589899158903asTemporaryFile : 203957 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72.jpg -O /tmp/c58f2e5bcb6ae78cf027e7d2cdd9eb72.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c58f2e5bcb6ae78cf027e7d2cdd9eb72-big.jpg : 46433 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c58f2e5bcb6ae78cf027e7d2cdd9eb72-medium.jpg : 15477 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c58f2e5bcb6ae78cf027e7d2cdd9eb72-small.jpg : 5317 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.804289 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72.jpg", "TemporaryFile(/tmp/multipartBody1837098589899158903asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72-big.jpg", "TemporaryFile(/tmp/multipartBody1837098589899158903asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72-medium.jpg", "TemporaryFile(/tmp/multipartBody1837098589899158903asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c58f2e5bcb6ae78cf027e7d2cdd9eb72-small.jpg", "TemporaryFile(/tmp/multipartBody1837098589899158903asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519022 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519022" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6992176745914910749asTemporaryFile -n 7b46a4216ff5fec8be820391af340e69 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_13_52_36_29909.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6992176745914910749asTemporaryFile -n 7b46a4216ff5fec8be820391af340e69 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:58:26-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 167194 (163K) [image/jpeg] Enregistre : «/tmp/0d6fa20b58232bfe35eab035f3815ae9.jpg» 0K .......... .......... .......... .......... .......... 30% 2,41M 0s 50K .......... .......... .......... .......... .......... 61% 4,70M 0s 100K .......... .......... .......... .......... .......... 91% 116M 0s 150K .......... ... 100% 103M=0,03s 2025-07-18 13:58:26 (5,12 MB/s) - «/tmp/0d6fa20b58232bfe35eab035f3815ae9.jpg» enregistré [167194/167194] --2025-07-18 13:58:27-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 208216 (203K) [image/jpeg] Enregistre : «/tmp/7b46a4216ff5fec8be820391af340e69.jpg» 0K .......... .......... .......... .......... .......... 24% 2,48M 0s 50K .......... .......... .......... .......... .......... 49% 4,94M 0s 100K .......... .......... .......... .......... .......... 73% 43,7M 0s 150K .......... .......... .......... .......... .......... 98% 114M 0s 200K ... 100% 6363G=0,03s 2025-07-18 13:58:27 (6,38 MB/s) - «/tmp/7b46a4216ff5fec8be820391af340e69.jpg» enregistré [208216/208216] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7596616806081528999asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7596616806081528999asTemporaryFile : 167194 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9.jpg -O /tmp/0d6fa20b58232bfe35eab035f3815ae9.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0d6fa20b58232bfe35eab035f3815ae9-big.jpg : 41061 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0d6fa20b58232bfe35eab035f3815ae9-medium.jpg : 13681 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0d6fa20b58232bfe35eab035f3815ae9-small.jpg : 4919 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.011044 Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3361 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 100.After photo_uploader , duration 23 : 3997 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3361 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 100.After photo_uploader , duration 23 : 3997 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9.jpg", "TemporaryFile(/tmp/multipartBody7596616806081528999asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9-big.jpg", "TemporaryFile(/tmp/multipartBody7596616806081528999asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9-medium.jpg", "TemporaryFile(/tmp/multipartBody7596616806081528999asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0d6fa20b58232bfe35eab035f3815ae9-small.jpg", "TemporaryFile(/tmp/multipartBody7596616806081528999asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3361 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 100.After photo_uploader , duration 23 : 3997 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519029 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519029" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050138) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631845, 1372631848, 1372631850, 1372631851, 1372631852, 1372631860) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050138, 1372631850,1372631850, "1" ,0,979, NOW()), (25050138, 1372631852,1372631852, "1" ,0,979, NOW()), (25050138, 1372631851,1372631851, "1" ,0,979, NOW()), (25050138, 1372631845,1372631845, "1" ,0,979, NOW()), (25050138, 1372631860,1372631860, "1" ,0,979, NOW()), (25050138, 1372631848,1372631848, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3361 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 100.After photo_uploader , duration 23 : 3997 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 360 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6992176745914910749asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6992176745914910749asTemporaryFile : 208216 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69.jpg -O /tmp/7b46a4216ff5fec8be820391af340e69.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69-small.jpg type_mfp mfpopt2025 size_object of file /tmp/7b46a4216ff5fec8be820391af340e69-big.jpg : 46072 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7b46a4216ff5fec8be820391af340e69-medium.jpg : 15611 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7b46a4216ff5fec8be820391af340e69-small.jpg : 5432 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.891132 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69.jpg", "TemporaryFile(/tmp/multipartBody6992176745914910749asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69-big.jpg", "TemporaryFile(/tmp/multipartBody6992176745914910749asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69-medium.jpg", "TemporaryFile(/tmp/multipartBody6992176745914910749asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7b46a4216ff5fec8be820391af340e69-small.jpg", "TemporaryFile(/tmp/multipartBody6992176745914910749asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519030 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519030" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody606496541591149898asTemporaryFile -n e5156f87ee5415bb0263419adb3dfa14 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_13_51_05_29932.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody606496541591149898asTemporaryFile -n e5156f87ee5415bb0263419adb3dfa14 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 13:58:31-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 215527 (210K) [image/jpeg] Enregistre : «/tmp/e5156f87ee5415bb0263419adb3dfa14.jpg» 0K .......... .......... .......... .......... .......... 23% 4,74M 0s 50K .......... .......... .......... .......... .......... 47% 5,03M 0s 100K .......... .......... .......... .......... .......... 71% 88,7M 0s 150K .......... .......... .......... .......... .......... 95% 5,13M 0s 200K .......... 100% 161M=0,03s 2025-07-18 13:58:32 (6,82 MB/s) - «/tmp/e5156f87ee5415bb0263419adb3dfa14.jpg» enregistré [215527/215527] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 46 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4820 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 131 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3485 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4067 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3954 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 3361 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 100.After photo_uploader , duration 23 : 3997 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 360 About to finish After with svm , duration 27 : 2947 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody606496541591149898asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody606496541591149898asTemporaryFile : 215527 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14.jpg -O /tmp/e5156f87ee5415bb0263419adb3dfa14.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14-small.jpg type_mfp mfpopt2025 size_object of file /tmp/e5156f87ee5415bb0263419adb3dfa14-big.jpg : 46493 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e5156f87ee5415bb0263419adb3dfa14-medium.jpg : 16025 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e5156f87ee5415bb0263419adb3dfa14-small.jpg : 5551 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.544471 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3556 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3556 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14.jpg", "TemporaryFile(/tmp/multipartBody606496541591149898asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14-big.jpg", "TemporaryFile(/tmp/multipartBody606496541591149898asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14-medium.jpg", "TemporaryFile(/tmp/multipartBody606496541591149898asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5156f87ee5415bb0263419adb3dfa14-small.jpg", "TemporaryFile(/tmp/multipartBody606496541591149898asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3556 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 135 latitude : 0.0 longitude : 0.0 token_used : Some(e243aac39fb012c084cfefeb2a6a3641) [info] a.models.Photo - source_id_submit_photo from insertion : 379519031 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519031" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_57_44_9791.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7584464f basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_57_35_9795.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2fc58f58 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_57_25_9793.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2bb9f38a basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_57_15_9803.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4a8135cf basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_57_05_10813.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1de0b4ee basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_56_54_9793.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1edc5745 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7527548544481000891asTemporaryFile -n ff3148c6d3ef5231ff8bdb9d7d09c1b7 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=983 --filename=image_18072025_10_35_35_29936.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7527548544481000891asTemporaryFile -n ff3148c6d3ef5231ff8bdb9d7d09c1b7 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3539980828272840604asTemporaryFile -n f2da5bfc40b1b0866f4bd0fc1a4b4381 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_44_9791.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3539980828272840604asTemporaryFile -n f2da5bfc40b1b0866f4bd0fc1a4b4381 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 --2025-07-18 13:58:35-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 211889 (207K) [image/jpeg] Enregistre : «/tmp/ff3148c6d3ef5231ff8bdb9d7d09c1b7.jpg» 0K .......... .......... .......... .......... .......... 24% 4,86M 0s 50K .......... .......... .......... .......... .......... 48% 4,91M 0s 100K .......... .......... .......... .......... .......... 72% 113M 0s 150K .......... .......... .......... .......... .......... 96% 112M 0s 200K ...... 100% 103M=0,02s 2025-07-18 13:58:35 (9,65 MB/s) - «/tmp/ff3148c6d3ef5231ff8bdb9d7d09c1b7.jpg» enregistré [211889/211889] --2025-07-18 13:58:36-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223644 (218K) [image/jpeg] Enregistre : «/tmp/f2da5bfc40b1b0866f4bd0fc1a4b4381.jpg» 0K .......... .......... .......... .......... .......... 22% 3,03M 0s 50K .......... .......... .......... .......... .......... 45% 4,86M 0s 100K .......... .......... .......... .......... .......... 68% 127M 0s 150K .......... .......... .......... .......... .......... 91% 13,1M 0s 200K .......... ........ 100% 172M=0,03s 2025-07-18 13:58:36 (7,03 MB/s) - «/tmp/f2da5bfc40b1b0866f4bd0fc1a4b4381.jpg» enregistré [223644/223644] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7527548544481000891asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7527548544481000891asTemporaryFile : 211889 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7.jpg -O /tmp/ff3148c6d3ef5231ff8bdb9d7d09c1b7.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ff3148c6d3ef5231ff8bdb9d7d09c1b7-big.jpg : 46658 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ff3148c6d3ef5231ff8bdb9d7d09c1b7-medium.jpg : 15807 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ff3148c6d3ef5231ff8bdb9d7d09c1b7-small.jpg : 5413 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.702353 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3556 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 135 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3688 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3556 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 135 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3688 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7.jpg", "TemporaryFile(/tmp/multipartBody7527548544481000891asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7-big.jpg", "TemporaryFile(/tmp/multipartBody7527548544481000891asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7-medium.jpg", "TemporaryFile(/tmp/multipartBody7527548544481000891asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (983, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ff3148c6d3ef5231ff8bdb9d7d09c1b7-small.jpg", "TemporaryFile(/tmp/multipartBody7527548544481000891asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3556 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 135 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3688 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519032 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519032" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25050172) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631853, 1372631861, 1372631862, 1372631863) 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050172, 1372631862,1372631862, "1" ,0,983, NOW()), (25050172, 1372631861,1372631861, "1" ,0,983, NOW()), (25050172, 1372631863,1372631863, "1" ,0,983, NOW()), (25050172, 1372631853,1372631853, "1" ,0,983, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3556 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 135 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3688 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134After insertPortfolioPhotoId , duration 18 : 304 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3539980828272840604asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3539980828272840604asTemporaryFile : 223644 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381.jpg -O /tmp/f2da5bfc40b1b0866f4bd0fc1a4b4381.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f2da5bfc40b1b0866f4bd0fc1a4b4381-big.jpg : 52368 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f2da5bfc40b1b0866f4bd0fc1a4b4381-medium.jpg : 14326 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f2da5bfc40b1b0866f4bd0fc1a4b4381-small.jpg : 4398 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.499224 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381.jpg", "TemporaryFile(/tmp/multipartBody3539980828272840604asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381-big.jpg", "TemporaryFile(/tmp/multipartBody3539980828272840604asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381-medium.jpg", "TemporaryFile(/tmp/multipartBody3539980828272840604asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f2da5bfc40b1b0866f4bd0fc1a4b4381-small.jpg", "TemporaryFile(/tmp/multipartBody3539980828272840604asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519033 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519033" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1007671593633920176asTemporaryFile -n 0c9c0d97ca536d1069f1645142842b81 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_35_9795.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1007671593633920176asTemporaryFile -n 0c9c0d97ca536d1069f1645142842b81 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:58:40-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223635 (218K) [image/jpeg] Enregistre : «/tmp/0c9c0d97ca536d1069f1645142842b81.jpg» 0K .......... .......... .......... .......... .......... 22% 2,45M 0s 50K .......... .......... .......... .......... .......... 45% 4,91M 0s 100K .......... .......... .......... .......... .......... 68% 124M 0s 150K .......... .......... .......... .......... .......... 91% 5,13M 0s 200K .......... ........ 100% 137M=0,04s 2025-07-18 13:58:40 (5,34 MB/s) - «/tmp/0c9c0d97ca536d1069f1645142842b81.jpg» enregistré [223635/223635] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3809 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 141 Before photo_uploader , duration 6 : 99.After photo_uploader , duration 7 : 3902 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 140 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3556 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 135 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3688 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134After insertPortfolioPhotoId , duration 18 : 304 About to finish After with svm , duration 19 : 2772 actions to do : and mtr_user_id : 983 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305008 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1007671593633920176asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1007671593633920176asTemporaryFile : 223635 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81.jpg -O /tmp/0c9c0d97ca536d1069f1645142842b81.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81-small.jpg type_mfp mfpopt2025 size_object of file /tmp/0c9c0d97ca536d1069f1645142842b81-big.jpg : 52416 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0c9c0d97ca536d1069f1645142842b81-medium.jpg : 14338 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/0c9c0d97ca536d1069f1645142842b81-small.jpg : 4408 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.653936 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81.jpg", "TemporaryFile(/tmp/multipartBody1007671593633920176asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81-big.jpg", "TemporaryFile(/tmp/multipartBody1007671593633920176asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81-medium.jpg", "TemporaryFile(/tmp/multipartBody1007671593633920176asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/0c9c0d97ca536d1069f1645142842b81-small.jpg", "TemporaryFile(/tmp/multipartBody1007671593633920176asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519034 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519034" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9044254969876782286asTemporaryFile -n c78d4c970ec1913cf0eff0e57a703b75 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_25_9793.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9044254969876782286asTemporaryFile -n c78d4c970ec1913cf0eff0e57a703b75 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_42_25_39658.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@50949f77 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_43_06_40708.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7f2d4d5b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_43_45_39601.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@73d75646 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_44_26_40590.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7a23e035 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_45_06_39636.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@e38a721 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_45_45_39595.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1b6a7428 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6560228661907577155asTemporaryFile -n f04d8447abc9535d4175163072c04c62 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_42_25_39658.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6560228661907577155asTemporaryFile -n f04d8447abc9535d4175163072c04c62 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305008 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305008 --2025-07-18 13:58:44-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223645 (218K) [image/jpeg] Enregistre : «/tmp/c78d4c970ec1913cf0eff0e57a703b75.jpg» 0K .......... .......... .......... .......... .......... 22% 2,45M 0s 50K .......... .......... .......... .......... .......... 45% 4,97M 0s 100K .......... .......... .......... .......... .......... 68% 89,5M 0s 150K .......... .......... .......... .......... .......... 91% 119M 0s 200K .......... ........ 100% 1,96M=0,04s 2025-07-18 13:58:44 (5,35 MB/s) - «/tmp/c78d4c970ec1913cf0eff0e57a703b75.jpg» enregistré [223645/223645] token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_21062025_12_46_07_9234.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@9bb0dc7 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_21062025_12_45_57_10213.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3e82691e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_21062025_12_45_37_10191.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@54ba67c8 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_21062025_12_45_27_10237.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5a4ac88f basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_21062025_12_45_07_10450.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@bce2334 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(24230041) [info] a.c.Photo - given_mtr_portfolio_id : Some(24230041) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7383966591715087235asTemporaryFile -n d8359566964b65af474d19d701f29140 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_07_9234.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7383966591715087235asTemporaryFile -n d8359566964b65af474d19d701f29140 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:58:45-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 227561 (222K) [image/jpeg] Enregistre : «/tmp/f04d8447abc9535d4175163072c04c62.jpg» 0K .......... .......... .......... .......... .......... 22% 2,40M 0s 50K .......... .......... .......... .......... .......... 44% 5,39M 0s 100K .......... .......... .......... .......... .......... 67% 42,7M 0s 150K .......... .......... .......... .......... .......... 89% 5,39M 0s 200K .......... .......... .. 100% 179M=0,04s 2025-07-18 13:58:45 (5,47 MB/s) - «/tmp/f04d8447abc9535d4175163072c04c62.jpg» enregistré [227561/227561] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9044254969876782286asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9044254969876782286asTemporaryFile : 223645 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75.jpg -O /tmp/c78d4c970ec1913cf0eff0e57a703b75.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c78d4c970ec1913cf0eff0e57a703b75-big.jpg : 52472 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c78d4c970ec1913cf0eff0e57a703b75-medium.jpg : 14365 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c78d4c970ec1913cf0eff0e57a703b75-small.jpg : 4419 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.650913 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75.jpg", "TemporaryFile(/tmp/multipartBody9044254969876782286asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75-big.jpg", "TemporaryFile(/tmp/multipartBody9044254969876782286asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75-medium.jpg", "TemporaryFile(/tmp/multipartBody9044254969876782286asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c78d4c970ec1913cf0eff0e57a703b75-small.jpg", "TemporaryFile(/tmp/multipartBody9044254969876782286asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519035 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519035" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3066083750313553597asTemporaryFile -n c25afce79f0f2a7a0ec22f28c18e54d9 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_15_9803.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3066083750313553597asTemporaryFile -n c25afce79f0f2a7a0ec22f28c18e54d9 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:58:46-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1064574 (1,0M) [image/jpeg] Enregistre : «/tmp/d8359566964b65af474d19d701f29140.jpg» 0K .......... .......... .......... .......... .......... 4% 4,71M 0s 50K .......... .......... .......... .......... .......... 9% 5,04M 0s 100K .......... .......... .......... .......... .......... 14% 44,4M 0s 150K .......... .......... .......... .......... .......... 19% 96,8M 0s 200K .......... .......... .......... .......... .......... 24% 5,77M 0s 250K .......... .......... .......... .......... .......... 28% 78,0M 0s 300K .......... .......... .......... .......... .......... 33% 96,2M 0s 350K .......... .......... .......... .......... .......... 38% 49,1M 0s 400K .......... .......... .......... .......... .......... 43% 6,27M 0s 450K .......... .......... .......... .......... .......... 48% 111M 0s 500K .......... .......... .......... .......... .......... 52% 95,3M 0s 550K .......... .......... .......... .......... .......... 57% 112M 0s 600K .......... .......... .......... .......... .......... 62% 113M 0s 650K .......... .......... .......... .......... .......... 67% 102M 0s 700K .......... .......... .......... .......... .......... 72% 92,7M 0s 750K .......... .......... .......... .......... .......... 76% 101M 0s 800K .......... .......... .......... .......... .......... 81% 116M 0s 850K .......... .......... .......... .......... .......... 86% 8,08M 0s 900K .......... .......... .......... .......... .......... 91% 94,4M 0s 950K .......... .......... .......... .......... .......... 96% 84,3M 0s 1000K .......... .......... .......... ......... 100% 122M=0,05s 2025-07-18 13:58:46 (19,8 MB/s) - «/tmp/d8359566964b65af474d19d701f29140.jpg» enregistré [1064574/1064574] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6560228661907577155asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6560228661907577155asTemporaryFile : 227561 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62.jpg -O /tmp/f04d8447abc9535d4175163072c04c62.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f04d8447abc9535d4175163072c04c62-big.jpg : 97930 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f04d8447abc9535d4175163072c04c62-medium.jpg : 23232 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f04d8447abc9535d4175163072c04c62-small.jpg : 6426 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.531521 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62.jpg", "TemporaryFile(/tmp/multipartBody6560228661907577155asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62-big.jpg", "TemporaryFile(/tmp/multipartBody6560228661907577155asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62-medium.jpg", "TemporaryFile(/tmp/multipartBody6560228661907577155asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f04d8447abc9535d4175163072c04c62-small.jpg", "TemporaryFile(/tmp/multipartBody6560228661907577155asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519039 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519039" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4400377112128369798asTemporaryFile -n 092260654d27a852496476124916a568 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_43_06_40708.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4400377112128369798asTemporaryFile -n 092260654d27a852496476124916a568 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:58:48-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223736 (218K) [image/jpeg] Enregistre : «/tmp/c25afce79f0f2a7a0ec22f28c18e54d9.jpg» 0K .......... .......... .......... .......... .......... 22% 4,73M 0s 50K .......... .......... .......... .......... .......... 45% 4,89M 0s 100K .......... .......... .......... .......... .......... 68% 106M 0s 150K .......... .......... .......... .......... .......... 91% 5,10M 0s 200K .......... ........ 100% 144M=0,03s 2025-07-18 13:58:48 (7,00 MB/s) - «/tmp/c25afce79f0f2a7a0ec22f28c18e54d9.jpg» enregistré [223736/223736] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7383966591715087235asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7383966591715087235asTemporaryFile : 1064574 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140.jpg -O /tmp/d8359566964b65af474d19d701f29140.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d8359566964b65af474d19d701f29140-big.jpg : 64540 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d8359566964b65af474d19d701f29140-medium.jpg : 14926 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d8359566964b65af474d19d701f29140-small.jpg : 3996 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.023641 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140.jpg", "TemporaryFile(/tmp/multipartBody7383966591715087235asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140-big.jpg", "TemporaryFile(/tmp/multipartBody7383966591715087235asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140-medium.jpg", "TemporaryFile(/tmp/multipartBody7383966591715087235asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d8359566964b65af474d19d701f29140-small.jpg", "TemporaryFile(/tmp/multipartBody7383966591715087235asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519043 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519043" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4255232505570900796asTemporaryFile -n bbf5b6e036dbcc8e2b8f3f6a948e2c6b --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_57_10213.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4255232505570900796asTemporaryFile -n bbf5b6e036dbcc8e2b8f3f6a948e2c6b --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:58:49-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 233883 (228K) [image/jpeg] Enregistre : «/tmp/092260654d27a852496476124916a568.jpg» 0K .......... .......... .......... .......... .......... 21% 2,41M 0s 50K .......... .......... .......... .......... .......... 43% 5,01M 0s 100K .......... .......... .......... .......... .......... 65% 95,8M 0s 150K .......... .......... .......... .......... .......... 87% 5,12M 0s 200K .......... .......... ........ 100% 246M=0,04s 2025-07-18 13:58:49 (5,56 MB/s) - «/tmp/092260654d27a852496476124916a568.jpg» enregistré [233883/233883] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3066083750313553597asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3066083750313553597asTemporaryFile : 223736 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9.jpg -O /tmp/c25afce79f0f2a7a0ec22f28c18e54d9.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c25afce79f0f2a7a0ec22f28c18e54d9-big.jpg : 52407 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c25afce79f0f2a7a0ec22f28c18e54d9-medium.jpg : 14328 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c25afce79f0f2a7a0ec22f28c18e54d9-small.jpg : 4406 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.714485 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9.jpg", "TemporaryFile(/tmp/multipartBody3066083750313553597asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9-big.jpg", "TemporaryFile(/tmp/multipartBody3066083750313553597asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9-medium.jpg", "TemporaryFile(/tmp/multipartBody3066083750313553597asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c25afce79f0f2a7a0ec22f28c18e54d9-small.jpg", "TemporaryFile(/tmp/multipartBody3066083750313553597asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519044 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519044" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody214699352978730765asTemporaryFile -n 1c13d46b262608579874a881c1c72cdd --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_05_10813.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody214699352978730765asTemporaryFile -n 1c13d46b262608579874a881c1c72cdd --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 13:58:51-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1063875 (1,0M) [image/jpeg] Enregistre : «/tmp/bbf5b6e036dbcc8e2b8f3f6a948e2c6b.jpg» 0K .......... .......... .......... .......... .......... 4% 2,50M 0s 50K .......... .......... .......... .......... .......... 9% 4,91M 0s 100K .......... .......... .......... .......... .......... 14% 116M 0s 150K .......... .......... .......... .......... .......... 19% 5,10M 0s 200K .......... .......... .......... .......... .......... 24% 107M 0s 250K .......... .......... .......... .......... .......... 28% 104M 0s 300K .......... .......... .......... .......... .......... 33% 129M 0s 350K .......... .......... .......... .......... .......... 38% 5,61M 0s 400K .......... .......... .......... .......... .......... 43% 126M 0s 450K .......... .......... .......... .......... .......... 48% 117M 0s 500K .......... .......... .......... .......... .......... 52% 106M 0s 550K .......... .......... .......... .......... .......... 57% 115M 0s 600K .......... .......... .......... .......... .......... 62% 104M 0s 650K .......... .......... .......... .......... .......... 67% 127M 0s 700K .......... .......... .......... .......... .......... 72% 92,7M 0s 750K .......... .......... .......... .......... .......... 77% 7,13M 0s 800K .......... .......... .......... .......... .......... 81% 104M 0s 850K .......... .......... .......... .......... .......... 86% 143M 0s 900K .......... .......... .......... .......... .......... 91% 92,5M 0s 950K .......... .......... .......... .......... .......... 96% 134M 0s 1000K .......... .......... .......... ........ 100% 116M=0,06s 2025-07-18 13:58:51 (16,5 MB/s) - «/tmp/bbf5b6e036dbcc8e2b8f3f6a948e2c6b.jpg» enregistré [1063875/1063875] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4400377112128369798asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4400377112128369798asTemporaryFile : 233883 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568.jpg -O /tmp/092260654d27a852496476124916a568.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568-small.jpg type_mfp mfpopt2025 size_object of file /tmp/092260654d27a852496476124916a568-big.jpg : 99191 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/092260654d27a852496476124916a568-medium.jpg : 23390 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/092260654d27a852496476124916a568-small.jpg : 6424 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.934541 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568.jpg", "TemporaryFile(/tmp/multipartBody4400377112128369798asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') --2025-07-18 13:58:52-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568-big.jpg", "TemporaryFile(/tmp/multipartBody4400377112128369798asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) requête HTTP transmise, en attente de la réponse… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568-medium.jpg", "TemporaryFile(/tmp/multipartBody4400377112128369798asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 200 OK Taille : 223580 (218K) [image/jpeg] Enregistre : «/tmp/1c13d46b262608579874a881c1c72cdd.jpg» 0K .......... .......... ........[debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/092260654d27a852496476124916a568-small.jpg", "TemporaryFile(/tmp/multipartBody4400377112128369798asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) .. .......... .......... 22% 4,45M 0s 50K .......... .......... .......... .......... .......... 45% 5,40M 0s 100K .......... .......... .......... .......... .......... 68% 35,3M 0s 150K .......... .......... .......... .......... .......... 91% 5,63M 0s 200K .......... ........ 100% 149M=0,03s 2025-07-18 13:58:52 (7,06 MB/s) - «/tmp/1c13d46b262608579874a881c1c72cdd.jpg» enregistré [223580/223580] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519045 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519045" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3580377518344250058asTemporaryFile -n bf60d99adb23c724935db0f2674a887a --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_43_45_39601.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3580377518344250058asTemporaryFile -n bf60d99adb23c724935db0f2674a887a --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) --2025-07-18 13:58:53-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4255232505570900796asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4255232505570900796asTemporaryFile : 1063875 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b.jpg -O /tmp/bbf5b6e036dbcc8e2b8f3f6a948e2c6b.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b-small.jpg type_mfp mfpopt2025 size_object of file /tmp/bbf5b6e036dbcc8e2b8f3f6a948e2c6b-big.jpg : 64517 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bbf5b6e036dbcc8e2b8f3f6a948e2c6b-medium.jpg : 14924 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bbf5b6e036dbcc8e2b8f3f6a948e2c6b-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.655756 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b.jpg", "TemporaryFile(/tmp/multipartBody4255232505570900796asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') requête HTTP transmise, en attente de la réponse… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b-big.jpg", "TemporaryFile(/tmp/multipartBody4255232505570900796asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 200 OK Taille : 239091 (233K) [image/jpeg] Enregistre : «/tmp/bf60d99adb23c724935db0f2674a887a.jpg» 0K .......... .......... .......... .......... .......... 21% 4,82M 0s 50K .......... .......... .......... .......... .......... 42% 4,86M 0s 100K .......... .......... .......... .......... .......... 64% 119M 0s 150K .......... ........[debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b-medium.jpg", "TemporaryFile(/tmp/multipartBody4255232505570900796asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) .. .......... .......... .......... 85% 5,03M 0s 200K .......... .......... .......... ... 100% 145M=0,03s 2025-07-18 13:58:54 (7,48 MB/s) - «/tmp/bf60d99adb23c724935db0f2674a887a.jpg» enregistré [239091/239091] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bbf5b6e036dbcc8e2b8f3f6a948e2c6b-small.jpg", "TemporaryFile(/tmp/multipartBody4255232505570900796asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519046 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519046" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody214699352978730765asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody214699352978730765asTemporaryFile : 223580 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd.jpg -O /tmp/1c13d46b262608579874a881c1c72cdd.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd-small.jpg type_mfp mfpopt2025 size_object of file /tmp/1c13d46b262608579874a881c1c72cdd-big.jpg : 52445 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1c13d46b262608579874a881c1c72cdd-medium.jpg : 14367 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/1c13d46b262608579874a881c1c72cdd-small.jpg : 4413 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.538317 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 3559 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 3559 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd.jpg", "TemporaryFile(/tmp/multipartBody214699352978730765asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1618738523840472195asTemporaryFile -n 036a69091e59cf79cc54e97476ed2532 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_37_10191.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1618738523840472195asTemporaryFile -n 036a69091e59cf79cc54e97476ed2532 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd-big.jpg", "TemporaryFile(/tmp/multipartBody214699352978730765asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd-medium.jpg", "TemporaryFile(/tmp/multipartBody214699352978730765asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/1c13d46b262608579874a881c1c72cdd-small.jpg", "TemporaryFile(/tmp/multipartBody214699352978730765asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 3559 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519047 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519047" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody879890997230210288asTemporaryFile -n 57e23fbdc682673a3c66d876daaf3414 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_56_54_9793.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody879890997230210288asTemporaryFile -n 57e23fbdc682673a3c66d876daaf3414 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 13:58:56-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… --2025-07-18 13:58:56-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. connecté. requête HTTP transmise, en attente de la réponse… requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1057682 (1,0M) [image/jpeg] Enregistre : «/tmp/036a69091e59cf79cc54e97476ed2532.jpg» 0K .......... .......... ........200 OK Taille : 223150 (218K) [image/jpeg] Enregistre : «/tmp/57e23fbdc682673a3c66d876daaf3414.jpg» 0K ......... .......... .......... 4% 4,74M 0s 50K .......... .......... ........... .......... .......... .......... .......... .......... 9% 4,84M 0s 100K .......... .......... .......... .......... .......... 14% 117M 0s 150K .......... .......... ...... .......... 22% 2,43M 0s 50K .......... .......... .......... ............ .......... .......... 19% 5,11M 0s 200K .......... .......... .......... .......... .......... 24% 113M 0s 250K .......... .......... .......... .......... .......... 29% 106M 0s 300K .......... .......... .......... .......... .......... 33% 94,8M 0s 350K .......... .......... .......... ..... .......... 45% 5,31M 0s 100K .......... .......... .......... .......... .......... 68% 41,8M 0s 150K .......... .......... .......... ........... .......... 38% 5,73M 0s 400K .......... .......... .......... .......... .......... 43% 128M 0s 450K .......... .......... .......... .......... .......... 48% 100M 0s 500K .......... .......... .......... .......... .......... 53% 116M 0s 550K .......... .......... .......... .......... .......... 58% 127M 0s 600K .......... .......... .......... .......... .......... 62% 126M 0s 650K .......... .......... .......... .......... .......... 67% 105M 0s 700K .......... .......... .......... .......... .......... 72% 99,4M 0s 750K ......... .......... 91% 5,56M 0s 200K .......... ....... 100% 191M=0,04s 2025-07-18 13:58:56 (5,41 MB/s) - «/tmp/57e23fbdc682673a3c66d876daaf3414.jpg» enregistré [223150/223150] ......... .......... .......... .......... .......... 77% 6,69M 0s 800K .......... .......... .......... .......... .......... 82% 116M 0s 850K .......... .......... .......... .......... .......... 87% 116M 0s 900K .......... .......... .......... .......... .......... 91% 112M 0s 950K .......... .......... .......... .......... .......... 96% 101M 0s 1000K .......... .......... .......... .. 100% 118M=0,05s 2025-07-18 13:58:56 (19,2 MB/s) - «/tmp/036a69091e59cf79cc54e97476ed2532.jpg» enregistré [1057682/1057682] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3580377518344250058asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3580377518344250058asTemporaryFile : 239091 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a.jpg -O /tmp/bf60d99adb23c724935db0f2674a887a.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a-small.jpg type_mfp mfpopt2025 size_object of file /tmp/bf60d99adb23c724935db0f2674a887a-big.jpg : 100407 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bf60d99adb23c724935db0f2674a887a-medium.jpg : 23587 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bf60d99adb23c724935db0f2674a887a-small.jpg : 6478 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.171278 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a.jpg", "TemporaryFile(/tmp/multipartBody3580377518344250058asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a-big.jpg", "TemporaryFile(/tmp/multipartBody3580377518344250058asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a-medium.jpg", "TemporaryFile(/tmp/multipartBody3580377518344250058asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bf60d99adb23c724935db0f2674a887a-small.jpg", "TemporaryFile(/tmp/multipartBody3580377518344250058asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519048 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519048" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7172407898672558390asTemporaryFile -n c0773e955e8c096da7f9b0d1690d36e6 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_44_26_40590.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7172407898672558390asTemporaryFile -n c0773e955e8c096da7f9b0d1690d36e6 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody879890997230210288asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody879890997230210288asTemporaryFile : 223150 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414.jpg -O /tmp/57e23fbdc682673a3c66d876daaf3414.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414-small.jpg type_mfp mfpopt2025 size_object of file /tmp/57e23fbdc682673a3c66d876daaf3414-big.jpg : 52454 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/57e23fbdc682673a3c66d876daaf3414-medium.jpg : 14346 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/57e23fbdc682673a3c66d876daaf3414-small.jpg : 4403 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.685075 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 3559 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3747 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 3559 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3747 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414.jpg", "TemporaryFile(/tmp/multipartBody879890997230210288asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414-big.jpg", "TemporaryFile(/tmp/multipartBody879890997230210288asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414-medium.jpg", "TemporaryFile(/tmp/multipartBody879890997230210288asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) --2025-07-18 13:58:58-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/57e23fbdc682673a3c66d876daaf3414-small.jpg", "TemporaryFile(/tmp/multipartBody879890997230210288asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 3559 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3747 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 146 latitude : 0.0 longitude : 0.0 requête HTTP transmise, en attente de la réponse… [info] a.models.Photo - source_id_submit_photo from insertion : 379519049 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519049" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 200 OK Taille : 240111 (234K) [image/jpeg] Enregistre : «/tmp/c0773e955e8c096da7f9b0d1690d36e6.jpg» 0K .......... .......... .......... .......... .......... 21% 2,48M 0s 50K .......... .......... .......... .......... .......... 42% 4,85M 0s 100K .......... .......... .......... .......... .......... 63% 113M 0s 150K .......... .......... .......... .......... .......... 85% 5,09M 0s 200K .......... .......... .......... .... 100% 145M=0,04s 2025-07-18 13:58:58 (5,73 MB/s) - «/tmp/c0773e955e8c096da7f9b0d1690d36e6.jpg» enregistré [240111/240111] mtr_portfolio_id : Some(25050173) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631864, 1372631865, 1372631866, 1372631875, 1372631878, 1372631880) 0 0 0 0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050173, 1372631865,1372631865, "1" ,0,1042, NOW()), (25050173, 1372631864,1372631864, "1" ,0,1042, NOW()), (25050173, 1372631875,1372631875, "1" ,0,1042, NOW()), (25050173, 1372631878,1372631878, "1" ,0,1042, NOW()), (25050173, 1372631866,1372631866, "1" ,0,1042, NOW()), (25050173, 1372631880,1372631880, "1" ,0,1042, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1618738523840472195asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1618738523840472195asTemporaryFile : 1057682 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532.jpg -O /tmp/036a69091e59cf79cc54e97476ed2532.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532-small.jpg type_mfp mfpopt2025 size_object of file /tmp/036a69091e59cf79cc54e97476ed2532-big.jpg : 64390 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/036a69091e59cf79cc54e97476ed2532-medium.jpg : 14889 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/036a69091e59cf79cc54e97476ed2532-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.375151 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532.jpg", "TemporaryFile(/tmp/multipartBody1618738523840472195asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 3559 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3747 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 146After insertPortfolioPhotoId , duration 26 : 364 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532-big.jpg", "TemporaryFile(/tmp/multipartBody1618738523840472195asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532-medium.jpg", "TemporaryFile(/tmp/multipartBody1618738523840472195asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/036a69091e59cf79cc54e97476ed2532-small.jpg", "TemporaryFile(/tmp/multipartBody1618738523840472195asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519050 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519050" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7052146631877597275asTemporaryFile -n f0601862fbca5ee42fc720c6f0f07cf0 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_27_10237.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7052146631877597275asTemporaryFile -n f0601862fbca5ee42fc720c6f0f07cf0 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:59:00-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) 200 OK Taille : 1057034 (1,0M) [image/jpeg] Enregistre : «/tmp/f0601862fbca5ee42fc720c6f0f07cf0.jpg» 0K .......... .......... .......... .......... .......... 4% 4,80M 0s 50K .......... .......... .......... .......... .......... 9% 4,86M 0s 100K .......... .......... .......... .......... .......... 14% 118M 0s 150K .......... .......... .......... .......... .......... 19% 5,22M 0s 200K .......... .......... .......... .......... .......... 24% 135M 0s 250K .......... .......... .......... .......... .......... 29% 91,5M 0s 300K .......... .......... .......... .......... .......... 33% 127M 0s 350K .......... .......... .......... .......... .......... 38% 115M 0s 400K .......... .......... .......... .......... .......... 43% 5,66M 0s 450K .......... .......... .......... .......... .......... 48% 118M 0s 500K .......... .......... .......... .......... .......... 53% 124M 0s 550K .......... .......... .......... .......... .......... 58% 94,1M 0s 600K .......... .......... .......... .......... .......... 62% 129M 0s 650K .......... .......... .......... .......... .......... 67% 110M 0s 700K .......... .......... .......... .......... .......... 72% 127M 0s 750K .......... .......... .......... .......... .......... 77% 98,1M 0s 800K .......... .......... .......... .......... .......... 82% 7,36M 0s 850K .......... .......... .......... .......... .......... 87% 97,8M 0s 900K .......... .......... .......... .......... .......... 92% 127M 0s 950K .......... .......... .......... .......... .......... 96% 118M 0s 1000K .......... .......... .......... .. 100% 174M=0,05s 2025-07-18 13:59:00 (19,6 MB/s) - «/tmp/f0601862fbca5ee42fc720c6f0f07cf0.jpg» enregistré [1057034/1057034] res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7172407898672558390asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7172407898672558390asTemporaryFile : 240111 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6.jpg -O /tmp/c0773e955e8c096da7f9b0d1690d36e6.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c0773e955e8c096da7f9b0d1690d36e6-big.jpg : 100833 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c0773e955e8c096da7f9b0d1690d36e6-medium.jpg : 23657 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c0773e955e8c096da7f9b0d1690d36e6-small.jpg : 6503 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.026752 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6.jpg", "TemporaryFile(/tmp/multipartBody7172407898672558390asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6-big.jpg", "TemporaryFile(/tmp/multipartBody7172407898672558390asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6-medium.jpg", "TemporaryFile(/tmp/multipartBody7172407898672558390asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c0773e955e8c096da7f9b0d1690d36e6-small.jpg", "TemporaryFile(/tmp/multipartBody7172407898672558390asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519051 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519051" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1786648614399001706asTemporaryFile -n edf2de3d698cf9ea8294314eef603f44 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_45_06_39636.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1786648614399001706asTemporaryFile -n edf2de3d698cf9ea8294314eef603f44 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4592 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 97.After photo_uploader , duration 7 : 3634 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3650 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 144 Before photo_uploader , duration 14 : 95.After photo_uploader , duration 15 : 3747 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 137 Before photo_uploader , duration 18 : 92.After photo_uploader , duration 19 : 3559 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 136 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3747 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 146After insertPortfolioPhotoId , duration 26 : 364 About to finish After with svm , duration 27 : 2966 actions to do : and mtr_user_id : 1042 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305009 getSimpleUser in getUserObj false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4934 AND mtr_user_id=979 List() col_value_to_insert : List(25050138) (input_json_string,{"input_json":{}}) INSERT IGNORE into MTRPhoto.mtr_datou_current (mtd_id, mtr_user_id,mtr_portfolio_id, input_json, state) VALUES (4934,979,25050138, '{"input_json":{}}', '0') ON DUPLICATE KEY UPDATE backup = backup + 1, input_json = VALUES(input_json), state=0 SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4934 AND mtr_user_id=979 token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_small [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private [debug] a.service.Utils - fromPostToArgBool could have a better implemtation compute_classification compute_classification : None upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 getSimpleUser in getUserObj [debug] a.m.Portfolio - SELECT *, mp.mtr_user_id='979' as is_owner FROM MTRUser.mtr_portfolios mp WHERE name collate utf8_general_ci like '%Dossier_Portfolio_Month_M7_Y2025%' AND mp.mtr_user_id in (979) ORDER BY -mp.id LIMIT 10000 OFFSET 0 --2025-07-18 13:59:02-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 242429 (237K) [image/jpeg] Enregistre : «/tmp/edf2de3d698cf9ea8294314eef603f44.jpg» 0K .......... .......... .......... .......... .......... 21% 2,43M 0s 50K .......... .......... .......... .......... .......... 42% 4,89M 0s 100K .......... .......... .......... .......... .......... 63% 107M 0s 150K .......... .......... .......... .......... .......... 84% 5,12M 0s 200K .......... .......... .......... ...... 100% 122M=0,04s 2025-07-18 13:59:02 (5,72 MB/s) - «/tmp/edf2de3d698cf9ea8294314eef603f44.jpg» enregistré [242429/242429] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7052146631877597275asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7052146631877597275asTemporaryFile : 1057034 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0.jpg -O /tmp/f0601862fbca5ee42fc720c6f0f07cf0.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f0601862fbca5ee42fc720c6f0f07cf0-big.jpg : 64263 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f0601862fbca5ee42fc720c6f0f07cf0-medium.jpg : 14936 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f0601862fbca5ee42fc720c6f0f07cf0-small.jpg : 3972 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.265970 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 4268 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 4268 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0.jpg", "TemporaryFile(/tmp/multipartBody7052146631877597275asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0-big.jpg", "TemporaryFile(/tmp/multipartBody7052146631877597275asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0-medium.jpg", "TemporaryFile(/tmp/multipartBody7052146631877597275asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f0601862fbca5ee42fc720c6f0f07cf0-small.jpg", "TemporaryFile(/tmp/multipartBody7052146631877597275asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 4268 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519052 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519052" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5225212760616309085asTemporaryFile -n 6f2508a33ccbd7d8b6698fb34a49942c --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_07_10450.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5225212760616309085asTemporaryFile -n 6f2508a33ccbd7d8b6698fb34a49942c --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305009 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305009 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1786648614399001706asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1786648614399001706asTemporaryFile : 242429 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44.jpg -O /tmp/edf2de3d698cf9ea8294314eef603f44.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44-small.jpg type_mfp mfpopt2025 size_object of file /tmp/edf2de3d698cf9ea8294314eef603f44-big.jpg : 101400 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/edf2de3d698cf9ea8294314eef603f44-medium.jpg : 23801 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/edf2de3d698cf9ea8294314eef603f44-small.jpg : 6534 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.596721 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3626 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3626 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44.jpg", "TemporaryFile(/tmp/multipartBody1786648614399001706asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44-big.jpg", "TemporaryFile(/tmp/multipartBody1786648614399001706asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44-medium.jpg", "TemporaryFile(/tmp/multipartBody1786648614399001706asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/edf2de3d698cf9ea8294314eef603f44-small.jpg", "TemporaryFile(/tmp/multipartBody1786648614399001706asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3626 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519053 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519053" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody642273715662363161asTemporaryFile -n 50aba132a015a690cf36cdd9be3f30af --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_45_45_39595.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody642273715662363161asTemporaryFile -n 50aba132a015a690cf36cdd9be3f30af --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! token_used : Some(e243aac39fb012c084cfefeb2a6a3641) mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_57_44_9791.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3535c10e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_57_35_9795.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@48a7266e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_57_25_9793.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7146d321 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_57_15_9803.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@182d1811 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_57_05_10813.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@38b87ab basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_56_54_9793.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@726e45e2 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6027375643126618958asTemporaryFile -n 78d8d66af19c1ca3447a1dd15e2f82ba --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_44_9791.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6027375643126618958asTemporaryFile -n 78d8d66af19c1ca3447a1dd15e2f82ba --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:59:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1054486 (1,0M) [image/jpeg] Enregistre : «/tmp/6f2508a33ccbd7d8b6698fb34a49942c.jpg» 0K .......... .......... .......... .......... .......... 4% 2,53M 0s 50K .......... .......... .......... .......... .......... 9% 4,88M 0s 100K .......... .......... .......... .......... .......... 14% 43,9M 0s 150K .......... .......... .......... .......... .......... 19% 5,53M 0s 200K .......... .......... .......... .......... .......... 24% 50,6M 0s 250K .......... .......... .......... .......... .......... 29% 123M 0s 300K .......... .......... .......... .......... .......... 33% 116M 0s 350K .......... .......... .......... .......... .......... 38% 111M 0s 400K .......... .......... .......... .......... .......... 43% 6,04M 0s 450K .......... .......... .......... .......... .......... 48% 85,4M 0s 500K .......... .......... .......... .......... .......... 53% 89,2M 0s 550K .......... .......... .......... .......... .......... 58% 142M 0s 600K .......... .......... .......... .......... .......... 63% 104M 0s 650K .......... .......... .......... .......... .......... 67% 128M 0s 700K .......... .......... .......... .......... .......... 72% 113M 0s 750K .......... .......... .......... .......... .......... 77% 91,5M 0s 800K .......... .......... .......... .......... .......... 82% 7,85M 0s 850K .......... .......... .......... .......... .......... 87% 87,4M 0s 900K .......... .......... .......... .......... .......... 92% 140M 0s 950K .......... .......... .......... .......... .......... 97% 90,8M 0s 1000K .......... .......... ......... 100% 114M=0,06s 2025-07-18 13:59:05 (16,5 MB/s) - «/tmp/6f2508a33ccbd7d8b6698fb34a49942c.jpg» enregistré [1054486/1054486] [debug] a.m.Portfolio - select mp.id, mrr.`status`, count(*) as count from MTRUser.mtr_request_rights mrr, MTRUser.mtr_portfolio_photos mpp, MTRUser.mtr_portfolios mp where mp.mtr_user_id=979 and mp.id=mpp.mtr_portfolio_id and mpp.mtr_photo_id=mrr.photo_id and mrr.mtr_license_type=0 group by mp.id, mrr.`status`; Select * From MTRDatou.classification_theme WHERE (mtr_user_id=979 OR is_public) AND live=1 ORDER BY (live+is_public) desc 25071850,25071849,25071848,25071847,25071845,25071841,25071840,25071836,25071830,25071828,25071825,25071822,25071765,25071337,25071227,25070875,25070678,25069947,25069893,25069727,25069450,25069289,25069249,25069177,25068908,25068571,25068523,25067950,25067919,25067758,25067541,25067482,25067343,25067313,25067101,25067062,25066924,25066552,25066188,25066181,25066179,25065889,25065884,25065656,25065387,25065319,25064904,25064861,25064767,25064707,25064287,25063549,25063408,25062673,25062656,25062500,25062337,25062190,25061977,25061924,25061735,25061709,25061708,25061707,25061569,25061516,25061515,25061334,25061304,25061250,25061221,25061121,25061119,25060835,25060724,25060694,25060548,25060522,25060393,25060313,25060287,25060235,25060208,25060158,25060131,25060082,25060030,25059977,25059762,25059711,25059661,25059660,25059529,25059449,25059423,25059421,25059334,25059279,25059057,25058837,25058785,25058759,25058732,25058502,25058375,25058349,25058348,25058320,25058245,25058218,25058111,25058085,25058005,25057927,25057745,25057643,25057592,25057591,25057291,25057163,25057032,25056907,25056880,25056690,25056533,25056532,25056504,25056503,25056488,25056450,25056293,25056211,25056158,25056056,25055951,25055850,25055747,25055346,25055345,25055265,25055226,25055213,25055161,25055108,25054956,25054905,25054729,25054676,25054623,25054622,25054519,25054492,25054442,25054440,25054390,25054233,25054208,25054155,25054069,25053982,25053929,25053727,25053594,25053542,25053541,25053456,25053455,25053354,25053353,25053301,25053173,25053096,25052993,25052917,25052762,25052734,25052709,25052658,25052657,25052606,25052542,25052503,25052374,25052322,25052176,25052124,25051884,25051859,25051808,25051756,25051725,25051650,25051598,25051546,25051465,25051464,25051364,25051289,25051237,25051136,25051071,25051025,25051024,25050972,25050868,25050561,25050320,25049977,25049899,25049873,25049795,25049742,25049416,25049356,25049249,25049197,25049043,25049015,25048936,25048884,25048734,25048720,25048717,25048331,25048192,25048173,25047880,25047669,25047608,25047192,25046998,25046561,25046547,25046169,25045637,25045231,25044963,25044763,25044578,25044425,25044169,25044166,25044005,25043935,25043627,25043481,25043306,25043265,25043260,25042989,25042943,25042719,25042347,25042170,25042077,25042065,25042001,25041776,25041675,25041393,25041204,25041155,25041153,25041018,25040835,25040605,25040560,25040499,25040249,25039947,25039946,25039725,25039622,25039477,25039447,25039252,25039180,25038881,25038486,25038445,25038444,25038286,25038052,25037949,25037914,25037912,25037857,25037457,25037417,25037043,25036908,25036417,25036311,25036043,25035906,25035874,25035873,25035536,25035457,25035213,25035071,25034837,25034573,25034124,25033979,25033187,25033061,25032524,25032208,25031971,25031618,25031106,25031070,25030754,25030438,25030110,25030102,25030097,25029974,25029687,25029442,25029409,25029183,25027744,25027270,25026945,25026593,25025696,25025452,25024776,25024665,25024270,25022610,25021997,25020662,25020384,25019958,25019925,25019680,25019286,25019153,25018784,25018728,25018504,25018500,25018156,25017960,25017517,25017423,25017208,25017169,25017079,25017044,25016677,25016447,25015865,25015696,25015273,25015018,25014696,25014540,25014118,25014090,25013742,25013715,25013714,25013655,25013635,25013494,25013468,25013016,25012915,25012909,25012907,25012872,25012784,25012618,25012601,25012513,25012439,25012128,25011930,25011505,25011343,25011318,25011305,25011069,25010907,25010385,25010101,25010048,25009880,25009789,25009375,25008611,25008084,25008019,25007356,25007331,25007209,25007031,25006922,25006775,25006158,25005785,25004477,25003784,25003698,25003616,25003496,25003432,25003277,25002565,25002064,25002060,25002055,25002043,25002041,25002040,25002034,25002021,25002016,25002014,25002012,25002010,25002009,25002007,25002006,25002001,25002000,25001999,25001998,25001996,25001992,25001983,25001982,25001979,25001973,25001971,25001970,25001966,25001962,25001952,25001949,25001946,25001944,25001943,25001942,25001941,25001938,25001928,25001925,25001923,25001920,25001919,25001918,25001912,25001911,25001909,25001908,25001905,25001904,25001901,25001898,25001897,25001893,25001892,25001891,25001886,25001885,25001883,25001882,25001879,25001876,25001873,25001872,25001870,25001868,25001867,25001866,25001865,25001864,25001858,25001856,25001855,25001852,25001850,25001849,25001846,25001845,25001844,25001843,25001841,25001838,25001837,25001834,25001831,25001830,25001829,25001827,25001826,25001825,25001823,25001820,25001818,25001817,25001813,25001811,25001810,25001809,25001805,25001803,25001799,25001797,25001796,25001795,25001794,25001790,25001789,25001787,25001785,25001784,25001782,25001779,25001777,25001774,25001772,25001771,25001766,25001765,25001762,25001757,25001750,25001748,25001747,25001746,25001743,25001741,25001736,25001734,25001733,25001732,25001731,25001730,25001729,25001723,25001722,25001720,25001718,25001717,25001715,25001711,25001710,25001709,25001706,25001705,25001702,25001698,25001696,25001695,25001694,25001692,25001686,25001685,25001684,25001681,25001677,25001672,25001671,25001670,25001667,25001666,25001665,25001664,25001658,25001657,25001655,25001654,25001653,25001651,25001649,25001644,25001643,25001642,25001639,25001634,25001633,25001632,25001630,25001629,25001627,25001626,25001623,25001612,25001610,25001607,25001605,25001604,25001603,25001602,25001595,25001594,25001593,25001591,25001589,25001588,25001579,25001578,25001577,25001574,25001571,25001566,25001564,25001563,25001562,25001561,25001558,25001553,25001552,25001551,25001550,25001546,25001539,25001536,25001535,25001534,25001533,25001528,25001527,25001526,25001525,25001524,25001523,25001522,25001521,25001520,25001519,25001515,25001514,25001512,25001511,25001510,25001508,25001505,25001504,25001500,25001498,25001496,25001495,25001493,25001490,25001487,25001486,25001485,25001484,25001483,25001482,25001479,25001475,25001474,25001467,25001460,25001459,25001458,25001455,25001454,25001443,25001442,25001440,25001437,25001435,25001434,25001428,25001427,25001425,25001424,25001422,25001421,25001419,25001415,25001413,25001412,25001411,25001410,25001409,25001407,25001403,25001402,25001401,25001399,25001397,25001393,25001392,25001391,25001390,25001385,25001381,25001380,25001379,25001378,25001376,25001369,25001368,25001365,25001364,25001362,25001359,25001354,25001353,25001347,25001346,25001344,25001343,25001341,25001340,25001339,25001334,25001330,25001328,25001327,25001325,25001324,25001319,25001318,25001317,25001314,25001308,25001306,25001303,25001302,25001301,25001296,25001294,25001293,25001292,25001290,25001288,25001285,25001283,25001279,25001278,25001277,25001276,25001271,25001269,25001266,25001264,25001262,25001256,25001253,25001250,25001246,25001245,25001232,25001229,25001228,25001224,25001222,25001218,25001217,25001213,25001212,25001211,25001208,25001203,25001202,25001197,25001195,25001194,25001189,25001186,25001185,25001184,25001177,25001176,25001174,25001173,25001169,25001168,25001167,25001158,25001154,25001148,25001144,25001139,25001138,25001137,25001134,25001132,25001127,25001117,25001116,25001115,25001111,25001108,25001104,25001101,25001099,25001098,25001096,25001092,25001089,25001088,25001084,25001077,25001070,25001066,25001062,25001061,25001060,25001059,25001052,25001051,25001049,25001045,25001040,25001039,25001027,25001025,25001021,25001013,25001012,25001008,25001003,25001001,25000998,25000992,25000989,25000988,25000984,25000983,25000982,25000976,25000974,25000714,25000220,25000014,24999901,24999832,24999482,24999347,24999223,24997774,24997124,24997013,24996759,24996565,24996532,24996488,24996429,24996390,24996385,24996331,24995473,24995468,24995440,24995410,24995246,24994847,24994638,24994548,24994074,24993896,24993737,24993391,24993191,24992958,24992593,24992387,24992321,24992037,24991997,24991766,24991702,24991553,24991514,24991477,24991380,24991323,24991265,24990861,24990794,24990649,24990592,24990172,24990129,24990096,24990035,24989756,24989755,24989671,24989541,24989502,24989463,24989359,24989332,24989154,24989010,24988971,24988920,24988817,24988689,24988638,24988534,24988482,24988481,24988269,24988265,24988264,24988213,24988108,24988077,24988049,24987999,24987948,24987766,24987688,24987638,24987612,24987586,24987585,24987405,24987364,24987326,24987274,24987273,24987272,24987216,24987142,24986987,24986936,24986849,24986823,24986771,24986770,24986597,24986491,24986462,24986460,24986357,24986314,24986255,24986152,24986050,24986049,24986022,24985995,24985994,24985920,24985919,24985763,24985712,24985635,24985558,24985291,24985204,24985126,24985100,24985061,24984729,24984491,24984490,24984385,24984382,24984357,24984283,24984231,24984076,24983999,24983632,24983631,24983494,24983456,24983250,24983119,24983094,24983067,24982952,24982786,24982696,24982658,24982653,24982579,24982562,24982549,24982539,24982497,24982396,24982395,24982265,24982211,24982185,24982159,24981950,24981885,24981811,24981770,24981469,24981456,24981422,24981317,24981313,24981288,24981210,24981059,24981007,24980981,24980930,24980903,24980865,24980801,24980771,24980721,24980568,24980565,24980479,24980440,24980336,24980109,24980011,24979971,24979841,24979806,24979763,24979609,24979608,24979531,24979347,24979346,24979319,24979269,24979256,24979216,24979116,24979088,24978933,24978932,24978881,24978829,24978828,24978574,24978486,24978399,24978347,24978294,24978141,24978089,24978007,24977956,24977955,24977904,24977603,24977550,24977359,24977208,24977180,24977103,24977076,24977015,24976937,24976910,24976858,24976768,24976767,24976657,24976630,24976542,24976362,24976332,24976193,24976061,24975938,24975861,24975832,24975243,24974887,24974761,24974377,24974252,24974176,24973795,24973525,24973516,24973485,24973431,24973349,24973347,24973344,24973266,24973202,24973135,24972915,24972750,24972568,24972486,24972392,24972286,24972220,24971973,24971905,24971900,24971744,24971614,24971450,24971447,24971396,24971279,24971277,24970955,24970366,24970182,24969907,24969799,24969618,24969530,24969475,24969445,24969308,24969120,24969057,24968919,24968870,24968781,24968692,24968062,24968034,24967980,24967950,24967862,24967666,24967417,24967232,24967056,24967009,24966906,24966572,24966498,24965895,24965755,24965679,24965154,24964921,24964728,24964576,24964574,24964570,24964499,24964458,24964417,24964293,24964240,24964239,24964030,24963908,24963876,24963838,24963795,24963792,24963661,24963518,24963391,24963388,24963251,24963250,24963221,24963216,24963138,24963136,24963081,24963079,24963071,24963013,24963010,24962997,24962951,24962930,24962851,24962840,24962838,24962825,24962821,24962820,24962740,24962737,24962708,24962652,24962187,24962091,24961671,24961624,24961560,24960998,24960955,24960771,24960746,24960678,24960448,24960353,24960064,24959933,24959799,24959681,24959579,24959573,24959545,24959511,24959102,24958978,24958841,24958762,24958740,24958493,24958455,24958321,24958185,24958035,24957862,24957740,24957503,24957381,24957355,24957347,24957259,24957232,24956899,24956758,24956712,24956623,24956196,24956082,24956041,24956020,24955983,24955726,24955694,24955485,24955462,24955405,24955262,24955244,24954953,24954649,24954577,24953903,24953800,24953779,24953471,24953259,24953072,24953047,24952973,24952775,24952728,24952333,24952169,24951848,24951796,24951771,24951695,24951261,24951216,24951011,24950971,24950897,24950843,24950558,24950393,24950095,24950052,24950011,24949999,24949793,24949695,24948944,24948784,24947239,24947023,24945507,24945506,24944976,24944630,24944605,24944429,24943144,24942963,24942163,24942139,24941813,24941607,24941574,24939903,24939866,24939540,24938460,24938132,24937232,24937161,24934829,24934193,24932242,24932207,24932196,24932165,24932098,24932068,24931976,24931907,24931734,24931725,24931668,24931624,24931511,24931444,24931291,24931273,24931183,24931167,24930985,24930847,24930829,24930822,24930816,24930723,24930663,24930625,24930514,24930337,24930329,24930252,24930185,24929928,24929926,24929895,24929798,24929750,24929673,24929572,24929466,24929458,24929171,24929042,24928705,24928564,24928439,24928429,24928351,24928151,24928133,24928110,24928016,24927968,24927944,24927787,24927597,24927551,24927535,24927433,24927428,24927368,24927300,24927157,24927152,24927021,24926940,24926760,24926730,24926688,24926406,24926380,24926266,24925977,24925937,24925828,24925758,24925687,24925378,24925300,24925263,24925033,24924957,24924888,24924819,24924808,24924669,24924570,24924482,24924400,24924268,24924218,24924216,24924023,24923992,24923768,24923762,24923436,24923345,24923318,24923241,24923012,24922949,24922896,24922842,24922814,24922676,24922675,24922623,24922513,24922463,24922434,24922206,24922191,24922038,24921933,24921845,24921681,24921628,24921543,24921118,24920935,24920906,24920724,24920696,24920618,24920481,24920480,24919872,24919869,24919763,24919717,24919555,24919552,24919496,24919494,24919467,24919465,24919306,24919136,24919083,24919081,24919029,24918975,24918888,24918885,24918832,24918754,24918731,24918694,24918661,24918466,24918465,24918411,24918097,24918041,24918038,24917986,24917851,24917824,24917690,24917664,24917499,24917445,24917365,24916968,24916965,24916829,24916752,24916722,24916696,24916669,24916269,24916196,24916178,24916040,24916038,24915798,24915585,24915559,24915488,24915369,24915342,24915341,24915105,24914953,24914855,24914829,24914678,24914671,24914418,24914405,24914258,24914207,24913905,24913850,24913744,24913639,24913446,24913154,24913093,24913067,24912955,24912801,24912494,24912256,24911957,24911877,24911712,24911500,24911257,24911114,24910889,24910779,24910689,24910636,24910579,24910242,24910184,24910039,24909731,24909676,24909591,24909381,24909260,24909234,24909192,24908841,24908772,24908731,24908426,24908345,24908289,24908259,24908167,24908137,24908060,24908035,24907978,24907923,24907870,24907816,24907786,24907760,24907576,24907547,24907492,24907437,24907295,24907085,24907057,24907003,24907002,24906950,24906921,24906895,24906842,24906646,24906496,24906332,24906330,24906304,24906227,24906005,24905914,24905813,24905599,24905544,24905406,24905401,24905188,24905137,24905082,24905031,24904928,24904874,24904795,24904746,24904545,24904492,24904438,24904385,24904330,24904277,24904250,24904200,24904095,24903914,24903889,24903838,24903786,24903734,24903656,24903344,24903290,24903261,24903256,24903203,24903151,24903123,24902970,24902933,24902893,24902841,24902789,24902663,24902611,24902532,24902504,24902472,24902438,24902397,24902380,24902326,24902274,24902223,24902095,24902043,24901992,24901941,24901877,24901826,24901721,24901716,24901715,24901712,24901711,24901706,24901705,24901703,24901702,24901701,24901699,24901697,24901696,24901691,24901689,24901687,24901685,24901684,24901682,24901679,24901677,24901674,24901672,24901654,24901634,24901558,24901556,24901553,24901516,24901514,24901512,24901510,24901509,24901505,24901504,24901491,24901486,24901480,24901479,24901474,24901472,24901470,24901469,24901468,24901467,24901465,24901461,24901458,24901457,24901456,24901455,24901454,24901415,24901334,24901332,24901331,24901327,24901326,24901325,24901323,24901322,24901320,24901316,24901313,24901312,24901311,24901310,24901308,24901303,24901301,24901300,24901299,24901246,24901227,24901154,24901039,24901031,24901029,24901025,24901024,24901022,24901021,24901018,24901017,24901012,24901010,24901008,24901007,24901005,24901004,24901003,24901000,24900999,24900961,24900926,24900887,24900808,24900807,24900805,24900801,24900800,24900799,24900797,24900796,24900795,24900794,24900789,24900787,24900772,24900769,24900768,24900764,24900656,24900549,24900343,24900274,24900272,24900237,24900065,24899960,24899923,24899832,24899723,24899515,24899394,24899331,24899186,24899149,24899144,24899143,24899141,24899140,24899138,24899133,24899132,24899129,24899128,24899127,24899125,24899123,24899119,24899118,24899116,24899113,24899111,24899110,24899109,24899108,24899102,24899101,24899099,24899098,24899043,24899024,24899022,24898983,24898944,24898939,24898938,24898937,24898932,24898931,24898930,24898929,24898928,24898927,24898925,24898923,24898919,24898918,24898880,24898733,24898660,24898551,24898047,24897569,24897458,24897225,24897224,24897221,24897219,24897215,24897214,24897209,24897196,24897189,24897188,24897187,24897186,24897182,24897181,24897179,24897176,24897172,24897170,24897167,24897165,24897164,24897050,24897048,24897047,24897042,24897040,24897039,24897033,24897032,24897030,24897029,24897027,24897023,24897022,24897020,24897019,24897018,24897015,24897014,24897010,24897009,24897007,24897005,24897004,24897003,24897002,24896928,24896815,24896813,24896812,24896807,24896806,24896803,24896802,24896800,24896795,24896792,24896790,24896787,24896786,24896782,24896780,24896779,24896778,24896775,24896774,24896773,24896770,24896769,24896768,24896766,24896764,24896763,24896762,24896686,24896685,24896683,24896680,24896679,24896678,24896675,24896671,24896669,24896657,24896647,24896646,24896645,24896623,24896604,24896602,24896600,24896599,24896597,24896596,24896593,24896592,24896590,24896586,24896581,24896580,24896579,24896578,24896573,24896571,24896569,24896568,24896566,24896565,24896564,24896563,24896560,24896535,24896534,24896533,24896532,24896527,24896526,24896524,24896523,24896521,24896520,24896519,24896406,24896405,24896404,24896400,24896399,24896398,24896396,24896393,24896389,24896388,24896387,24896386,24896384,24896383,24896381,24896380,24896375,24896373,24896372,24896371,24896370,24896368,24896367,24896366,24896358,24896357,24896336,24896240,24896235,24896231,24896230,24896229,24896224,24896223,24896222,24896220,24896215,24896210,24896202,24896201,24896198,24896197,24896195,24896079,24896078,24896071,24896070,24896067,24896065,24896058,24896053,24896049,24896045,24896044,24896039,24896038,24896037,24896033,24896030,24896029,24895991,24895953,24895913,24895912,24895907,24895906,24895904,24895902,24895898,24895897,24895894,24895892,24895891,24895886,24895884,24895883,24895880,24895874,24895873,24895872,24895835,24895834,24895833,24895755,24895754,24895750,24895749,24895748,24895747,24895744,24895743,24895739,24895738,24895735,24895734,24895730,24895728,24895722,24895712,24895711,24895710,24895669,24895595,24895594,24895584,24895583,24895579,24895575,24895573,24895571,24895570,24895568,24895560,24895559,24895545,24895543,24895537,24895536,24895534,24895530,24895529,24895491,24895454,24895453,24895376,24895372,24895371,24895366,24895365,24895364,24895359,24895358,24895357,24895355,24895353,24895352,24895348,24895347,24895344,24895342,24895337,24895336,24895335,24895333,24895332,24895255,24895252,24895248,24895247,24895246,24895245,24895242,24895239,24895238,24895232,24895221,24895215,24895210,24895207,24895206,24895202,24895200,24895198,24895196,24895194,24895136,24895117,24895116,24895076,24895075,24895070,24895069,24895053,24895043,24895038,24895034,24895033,24894963,24894962,24894959,24894957,24894955,24894951,24894949,24894948,24894946,24894945,24894943,24894941,24894936,24894935,24894932,24894931,24894930,24894893,24894891,24894816,24894812,24894808,24894807,24894803,24894802,24894801,24894800,24894796,24894794,24894790,24894787,24894784,24894783,24894779,24894776,24894772,24894769,24894765,24894761,24894760,24894759,24894722,24894644,24894643,24894641,24894638,24894637,24894635,24894634,24894633,24894630,24894628,24894622,24894599,24894598,24894597,24894594,24894591,24894590,24894588,24894587,24894586,24894583,24894578,24894576,24894575,24894538,24894536,24894494,24894457,24894456,24894455,24894451,24894450,24894449,24894448,24894447,24894442,24894441,24894440,24894439,24894438,24894436,24894435,24894432,24894431,24894426,24894425,24894422,24894400,24894398,24894397,24894395,24894392,24894391,24894388,24894386,24894385,24894348,24894311,24894269,24894268,24894264,24894262,24894259,24894253,24894250,24894248,24894245,24894244,24894240,24894238,24894233,24894230,24894229,24894227,24894223,24894221,24894220,24894182,24894108,24894102,24894101,24894096,24894095,24894094,24894092,24894088,24894087,24894084,24894073,24894063,24894061,24894060,24894057,24894056,24894055,24894054,24894053,24894052,24894051,24894050,24894045,24894043,24894041,24894004,24893929,24893927,24893926,24893925,24893921,24893920,24893918,24893914,24893912,24893911,24893908,24893907,24893902,24893901,24893899,24893898,24893896,24893895,24893894,24893889,24893887,24893851,24893849,24893814,24893813,24893589,24893570,24893551,24893544,24893543,24893540,24893539,24893538,24893535,24893534,24893532,24893531,24893528,24893527,24893526,24893521,24893520,24893518,24893517,24893516,24893515,24893514,24893509,24893508,24893507,24893506,24893471,24893469,24893467,24893354,24893352,24893351,24893347,24893345,24893307,24893306,24893304,24893301,24893300,24893299,24893298,24893297,24893296,24893290,24893288,24893287,24893285,24893284,24893280,24893279,24893278,24893242,24893173,24893137,24893136,24893093,24893015,24893014,24893011,24893008,24893006,24893005,24893004,24893002,24892997,24892995,24892994,24892992,24892990,24892988,24892986,24892984,24892981,24892980,24892979,24892978,24892975,24892972,24892970,24892969,24892966,24892929,24892928,24892890,24892840,24892825,24892811,24892771,24892722,24892715,24892702,24892695,24892416,24892295,24892023,24891386,24891030,24890903,24890674,24890359,24890282,24890249,24890245,24890225,24890185,24890149,24890111,24890109,24890089,24890062,24890023,24890007,24889995,24889922,24889867,24889770,24889756,24889734,24889723,24889678,24889605,24889580,24889561,24889528,24889507,24889489,24889448,24889276,24889270,24889160,24889158,24889120,24889096,24889084,24889078,24889045,24889042,24888946,24888836,24888791,24888757,24888724,24888698,24888666,24888602,24888421,24888420,24888385,24888353,24888343,24888337,24888285,24888257,24888247,24888208,24888206,24888188,24888170,24888154,24888115,24888086,24887866,24887826,24887750,24887729,24887639,24887606,24887564,24887525,24887489,24887467,24887451,24887411,24887267,24887228,24887227,24887224,24887207,24887185,24887168,24887133,24887112,24887106,24887088,24887056,24887012,24886959,24886956,24886938,24886898,24886759,24886717,24886633,24886620,24886599,24886598,24886582,24886579,24886562,24886558,24886499,24886498,24886462,24886437,24886422,24886401,24886383,24886367,24886364,24886328,24886327,24886219,24886065,24886045,24886029,24886009,24885972,24885934,24885901,24885824,24885816,24885804,24885776,24885763,24885728,24885710,24885708,24885697,24885685,24885654,24885451,24885449,24885431,24885395,24885337,24885266,24885173,24885135,24885083,24885050,24885027,24884864,24884696,24884658,24884584,24884566,24884451,24884395,24884377,24884327,24884321,24884311,24884289,24884246,24884235,24884031,24884022,24884006,24883986,24883970,24883949,24883932,24883786,24883711,24883612,24883606,24883554,24883553,24883519,24883516,24883477,24883476,24883409,24883092,24883053,24883020,24882981,24882911,24882840,24882734,24882704,24882674,24882621,24882566,24882545,24882513,24882508,24882123,24882014,24881321,24880928,24880853,24880720,24880656,24880302,24880194,24879770,24879338,24879033,24878759,24878640,24878616,24878370,24878284,24878180,24878173,24878116,24878098,24878088,24878046,24878043,24878010,24877825,24877747,24877693,24877674,24877621,24877615,24877581,24877580,24877579,24877561,24877502,24877490,24877489,24877466,24877465,24877462,24877418,24877401,24877371,24877268,24877230,24877165,24876879,24876807,24876806,24876786,24876763,24876757,24876637,24876635,24876634,24876632,24876630,24876628,24876627,24876623,24876622,24876617,24876615,24876614,24876613,24876611,24876610,24876608,24876607,24876605,24876603,24876597,24876596,24876595,24876593,24876591,24876590,24876589,24876584,24876583,24876582,24876545,24876543,24876542,24876540,24876430,24876288,24876262,24876171,24876146,24876119,24876093,24876092,24875999,24875989,24875964,24875913,24875887,24875833,24875790,24875753,24875752,24875725,24875591,24875538,24875460,24875330,24875278,24875226,24875174,24875046,24875020,24874887,24874692,24874637,24874558,24874456,24874407,24874350,24874325,24874281,24874242,24874181,24874177,24874137,24874061,24874010,24873856,24873855,24873727,24873662,24873542,24873527,24873489,24873449,24873361,24873332,24873331,24873177,24873046,24872992,24872891,24872877,24872849,24872795,24872664,24872621,24872435,24872380,24872298,24872194,24872073,24872048,24872021,24871995,24871981,24871968,24871965,24871878,24871791,24871739,24871683,24871631,24871555,24871528,24871425,24871324,24871273,24871168,24871115,24871027,24870949,24870947,24870720,24870667,24870666,24870636,24870634,24870580,24870552,24870527,24870526,24870422,24870293,24870292,24870264,24870214,24870186,24870110,24870109,24870057,24869953,24869849,24869740,24869587,24869485,24869404,24869292,24869240,24869199,24869012,24868697,24868671,24868645,24868556,24868528,24868527,24868425,24868362,24868286,24868198,24868123,24868122,24868016,24867970,24867703,24867639,24867448,24867365,24867337,24867249,24867132,24866965,24866777,24866420,24866356,24866258,24865884,24865671,24865670,24865584,24865129,24865012,24864851,24864798,24864737,24864633,24864581,24864530,24864529,24864443,24864401,24864205,24864135,24864081,24863963,24863935,24863722,24863680,24863536,24863455,24863053,24862737,24862686,24862685,24862610,24862580,24862467,24862454,24862366,24862311,24862148,24862097,24861977,24861925,24861780,24861665,24861637,24861636,24861536,24861377,24861037,24860889,24860565,24860290,24860220,24860150,24860108,24859719,24859663,24859384,24859195,24859083,24859019,24858785,24858735,24858662,24858619,24858430,24858305,24858303,24858009,24858002,24857723,24857521,24857072,24856772,24856392,24856007,24855981,24855803,24855679,24855618,24855412,24855308,24855287,24855152,24854932,24854918,24854879,24854799,24854540,24854513,24854463,24854357,24854108,24853837,24853702,24853388,24853358,24853357,24853205,24853151,24853099,24853073,24853021,24853017,24852888,24852886,24852835,24852750,24852442,24852417,24852282,24852252,24852210,24852132,24852106,24851951,24851842,24851661,24851626,24851209,24851108,24851069,24851041,24851040,24851001,24850898,24850787,24850742,24850632,24850549,24850463,24850429,24850291,24850200,24850199,24850147,24850081,24850041,24849821,24849690,24849612,24849530,24849143,24849106,24849100,24848891,24848704,24848703,24848677,24848626,24848571,24848542,24848456,24848405,24848385,24848334,24848259,24848198,24848022,24847945,24847709,24847708,24847206,24847175,24846849,24846798,24846791,24846775,24846576,24846553,24846540,24846356,24846338,24846183,24845853,24845627,24845601,24845417,24845187,24845111,24844904,24844730,24844695,24844553,24844351,24844266,24844034,24843794,24843682,24843585,24842447,24842003,24840650,24840069,24840065,24840060,24840056,24840055,24840051,24840041,24840040,24840039,24840032,24840031,24840028,24839970,24839893,24839864,24839863,24839807,24839439,24839363,24839356,24839257,24839075,24839074,24839022,24838815,24838328,24838227,24838172,24838035,24838032,24837929,24837928,24837715,24837580,24837538,24837423,24837314,24837312,24837309,24837254,24836989,24836910,24836875,24836825,24836714,24836686,24836426,24836323,24836319,24836239,24836002,24835990,24835988,24835938,24835881,24835879,24835876,24835873,24835870,24835865,24835863,24835861,24835827,24835826,24835800,24835799,24835797,24835795,24835793,24835791,24835790,24835741,24835600,24835142,24835068,24834944,24834781,24834541,24834377,24834221,24834171,24833602,24833594,24833217,24832857,24832829,24832712,24832544,24832312,24832200,24831957,24831920,24831426,24831391,24831386,24831384,24831366,24831281,24831152,24831016,24830960,24830948,24830916,24830794,24830591,24830561,24830461,24830458,24830451,24830336,24830323,24830293,24830242,24829230,24829085,24829077,24829055,24828907,24828877,24828830,24828751,24828675,24828603,24828544,24828528,24828258,24828175,24828174,24827992,24827710,24827675,24827417,24827358,24827356,24827298,24827054,24826951,24826793,24826746,24826669,24826668,24826512,24826437,24826410,24826409,24826354,24826251,24826245,24826242,24826212,24826058,24825413,24825286,24825258,24825167,24825062,24824907,24824901,24824847,24824798,24824745,24824742,24824690,24824640,24824469,24824468,24824346,24824344,24824214,24824083,24824075,24824021,24823960,24823928,24823796,24823766,24823665,24823663,24823662,24823584,24823583,24823495,24823456,24823394,24823151,24822966,24822965,24822914,24822908,24822807,24822805,24822719,24822694,24822609,24822473,24821649,24821648,24821536,24821535,24821425,24821378,24821345,24821270,24821172,24821060,24820998,24820997,24820792,24820767,24820765,24820735,24820734,24820603,24820577,24820501,24820500,24820336,24820333,24820306,24820302,24820151,24820126,24820099,24820020,24820012,24819957,24819908,24819759,24819663,24819662,24819613,24819574,24819520,24819397,24819288,24819168,24817590,24817449,24817397,24817171,24817170,24817117,24816939,24816890,24816876,24816863,24816757,24816654,24816653,24816600,24816599,24816564,24816442,24816336,24816138,24816135,24816081,24816052,24815890,24815861,24815807,24815802,24815801,24815798,24815769,24815767,24815766,24815765,24815738,24815711,24815709,24815705,24815701,24815699,24815698,24815671,24815645,24814863,24814830,24814755,24814754,24814752,24814750,24814690,24814661,24814581,24814506,24814374,24814334,24814291,24814049,24813940,24813915,24813886,24813834,24813795,24813756,24813702,24813434,24813371,24813296,24813156,24813014,24812965,24812912,24812716,24812611,24812385,24812367,24812269,24812086,24812004,24811977,24810545,24810387,24810256,24810178,24810008,24810006,24809849,24809848,24809766,24809704,24809676,24809391,24809352,24809253,24809204,24809151,24809123,24808959,24808958,24808808,24808807,24808757,24808705,24808482,24808442,24808327,24808197,24808194,24808168,24807813,24807347,24806983,24806980,24806849,24806848,24806847,24806821,24806818,24806717,24806663,24806608,24806438,24806436,24806319,24806231,24806107,24805933,24805904,24805873,24805870,24805757,24805544,24805542,24805541,24805488,24805485,24805362,24805309,24805276,24805092,24804951,24804909,24804800,24804799,24804798,24804741,24804568,24804402,24804318,24803674,24803112,24803087,24803059,24802897,24802884,24802806,24802746,24802668,24802526,24802524,24802498,24802365,24802255,24801963,24801910,24801759,24801708,24801706,24801625,24801493,24801467,24801247,24801243,24801192,24801191,24801112,24801108,24800985,24800981,24800917,24800883,24800532,24800507,24800503,24800337,24800257,24800047,24799945,24799601,24799463,24799407,24799329,24799205,24799153,24799152,24798973,24798869,24798738,24798684,24798574,24798513,24798364,24798363,24798294,24798202,24798199,24798080,24798042,24797955,24797770,24797572,24797492,24797368,24797306,24797293,24797239,24797226,24797010,24796834,24796807,24796786,24796755,24796706,24796632,24796583,24796502,24796446,24796432,24796407,24796342,24796140,24796128,24796119,24796104,24796097,24796049,24796001,24795984,24795936,24795848,24795768,24795626,24795383,24794836,24794577,24793703,24793642,24793245,24792396,24792347,24791831,24791758,24791368,24791358,24788593,24787502,24785450,24785085,24785058,24785057,24785056,24785007,24784839,24784802,24784545,24784492,24783624,24783464,24783161,24783009,24782882,24782703,24782650,24782597,24782470,24782417,24782024,24781971,24781868,24781694,24781499,24781461,24780630,24780312,24780249,24779774,24779659,24779388,24779307,24779177,24779048,24778971,24778841,24778722,24778682,24778543,24778477,24778108,24778082,24778018,24777959,24777957,24777931,24777777,24777555,24777419,24777390,24777365,24777248,24776959,24776687,24776642,24776617,24776097,24776070,24776019,24775738,24775385,24775280,24775253,24775105,24775039,24774969,24774845,24774600,24774599,24774340,24774276,24774161,24773945,24773870,24773721,24773670,24773634,24773608,24773606,24773165,24772074,24770731,24770306,24769256,24769097,24768154,24767170,24765954,24765076,24763414,24762937,24761946,24761933,24761880,24761877,24761625,24761598,24761435,24760967,24760491,24760334,24760216,24760053,24759995,24759634,24759467,24759362,24759242,24759193,24759000,24758999,24758876,24758220,24758119,24757852,24757851,24757720,24757486,24756872,24756679,24756645,24756404,24756365,24756360,24756118,24755352,24754175,24753761,24753225,24753185,24752763,24752511,24751546,24750869,24750824,24750325,24749842,24749315,24748871,24748469,24748103,24748063,24747682,24747033,24747000,24746957,24746826,24746812,24746762,24746760,24746468,24746145,24745935,24745612,24745103,24745084,24745064,24744850,24744769,24744728,24744638,24744556,24744257,24744137,24743725,24743719,24743718,24743708,24743534,24743476,24743247,24743237,24743141,24743103,24743100,24743047,24743007,24742758,24741883,24741751,24741625,24741624,24741620,24741619,24741616,24741615,24741609,24741470,24741467,24741463,24741462,24741461,24741460,24741434,24741321,24741317,24741313,24741312,24741308,24741171,24741166,24741162,24741161,24741157,24741097,24741019,24741016,24741012,24741011,24741009,24741004,24740764,24740757,24740751,24740750,24740749,24740746,24740745,24740741,24740569,24740568,24740567,24740547,24740529,24740525,24740521,24740482,24740343,24740339,24740338,24740337,24740333,24740332,24740331,24740325,24740321,24740283,24740178,24740143,24740102,24738937,24738816,24738428,24738129,24737838,24737510,24737055,24736662,24736319,24736301,24736236,24735975,24735950,24735766,24735713,24735621,24735586,24735473,24735455,24735441,24735131,24734911,24734577,24734560,24734489,24734353,24734233,24734072,24733935,24733867,24733850,24733784,24733674,24733396,24733301,24733189,24733066,24733046,24732989,24732559,24732514,24732482,24732429,24732133,24731683,24731364,24731332,24731279,24731167,24731142,24731130,24730597,24730484,24730455,24730384,24730179,24729993,24729933,24729624,24729266,24729184,24728953,24728230,24728151,24727661,24727461,24726365,24725631,24725142,24724802,24723673,24722971,24722181,24720391,24719517,24719513,24719509,24719505,24719503,24719500,24719498,24719495,24719483,24719477,24719476,24719471,24719453,24719188,24719114,24718907,24718586,24718401,24718331,24717463,24717013,24716702,24716575,24716069,24716060,24715825,24715745,24715681,24715377,24714930,24714798,24714746,24714507,24714455,24713860,24713652,24713395,24712985,24712832,24712752,24712725,24712673,24712029,24711592,24711156,24711081,24711078,24710508,24710200,24709846,24709434,24709279,24709276,24709149,24709070,24708917,24708685,24708632,24708417,24708355,24708324,24708134,24708080,24708015,24707521,24707393,24707241,24707139,24707088,24706959,24706399,24706372,24705587,24705325,24705259,24705157,24704952,24704486,24704272,24704003,24703976,24703764,24703464,24703393,24703093,24703041,24702989,24702936,24702806,24702496,24702316,24702117,24702061,24701977,24701974,24701769,24701739,24701612,24701214,24701160,24700884,24699611,24698428,24697974,24697682,24697120,24697035,24696160,24695892,24695469,24695080,24694957,24694714,24694595,24694254,24694178,24694016,24693788,24693609,24693527,24693291,24692951,24692634,24692354,24691957,24691768,24691103,24690875,24690777,24690769,24690674,24690544,24690346,24690171,24689883,24689820,24689628,24689551,24689394,24689246,24689088,24688544,24688283,24688276,24687846,24687682,24687497,24685872,24685460,24685306,24684922,24684770,24684728,24684121,24684058,24683873,24683781,24683662,24683490,24683351,24683120,24682684,24682021,24681935,24681904,24681686,24681289,24680858,24680388,24679970,24679885,24679822,24679728,24679641,24679204,24679092,24678909,24678904,24678749,24678467,24677497,24677257,24676717,24676629,24676130,24675566,24675228,24675220,24675112,24674917,24674619,24674559,24674275,24674243,24674021,24672787,24672607,24672433,24672214,24672086,24671934,24671530,24671210,24671096,24670955,24670827,24670620,24670614,24670498,24670297,24669968,24669291,24669056,24668943,24668517,24668211,24667831,24667109,24667002,24666969,24666466,24666359,24665833,24665613,24665386,24665319,24665192,24665107,24665101,24664303,24664234,24664115,24663867,24663636,24663403,24663301,24663146,24662723,24662643,24662463,24662348,24662230,24662154,24662053,24661819,24661184,24661176,24661168,24661145,24661099,24661024,24661007,24660994,24660993,24660986,24660982,24660860,24660858,24660857,24660856,24660850,24660847,24660620,24660612,24660604,24660595,24660594,24660589,24660474,24660473,24660468,24660464,24660460,24660455,24660430,24660120,24659393,24659386,24659379,24659366,24659362,24659244,24659230,24659228,24659152,24657519,24656974,24656756,24656735,24656727,24656710,24656709,24656593,24656590,24656585,24656581,24656579,24656576,24656573,24656487,24656418,24656412,24656411,24656259,24656258,24656255,24656254,24656251,24656209,24656124,24656118,24656116,24656109,24656091,24656038,24655961,24655960,24655956,24655951,24655935,24655922,24655774,24655758,24655756,24655748,24655708,24655707,24655591,24655588,24655554,24655551,24655550,24655425,24655417,24655409,24655406,24655397,24655392,24655314,24655301,24655295,24655288,24655282,24655278,24655274,24655162,24655156,24655150,24655144,24655111,24655109,24655034,24654979,24654978,24654974,24654971,24654966,24654961,24654958,24654836,24654835,24654812,24654800,24654794,24654788,24654787,24654670,24654668,24654535,24654531,24654519,24654444,24654382,24654378,24654365,24654364,24654363,24654242,24654223,24654203,24654193,24654072,24654067,24654059,24654048,24654030,24653903,24653897,24653890,24653883,24653846,24653767,24653756,24653736,24653727,24653725,24653609,24653599,24653592,24653589,24653588,24653584,24653574,24653573,24653535,24653422,24653338,24653324,24653170,24653158,24653139,24653137,24653130,24653095,24653054,24652935,24652933,24652928,24652917,24652916,24652870,24652865,24652864,24652751,24652677,24652401,24652235,24652008,24651237,24650980,24649981,24649899,24649645,24649626,24649356,24649355,24649278,24649258,24649238,24649085,24649027,24648696,24648655,24648641,24648630,24648488,24648401,24648310,24648291,24648009,24647965,24647775,24647694,24647617,24647602,24647483,24647025,24646818,24646520,24646519,24646445,24646373,24646268,24646163,24646005,24645984,24645977,24645844,24645636,24645630,24645547,24645405,24645311,24645299,24645196,24645069,24645006,24644746,24644707,24644670,24644642,24644586,24644538,24644516,24644325,24644243,24644192,24644179,24644158,24644117,24644113,24644095,24644062,24644030,24643994,24643871,24643656,24643633,24643616,24643466,24643389,24643346,24643191,24643077,24643023,24642936,24642897,24642822,24642739,24642584,24642446,24642216,24642196,24642118,24642050,24641835,24641798,24641777,24641751,24641516,24641457,24641401,24641388,24641228,24641189,24641133,24641049,24641008,24640907,24640648,24640445,24639846,24639785,24639745,24639613,24639513,24639466,24639441,24639273,24638729,24638633,24638593,24638368,24638357,24638347,24638216,24638044,24638043,24638042,24638023,24638017,24638015,24638008,24638006,24637982,24637978,24637972,24637971,24637855,24637853,24637846,24637841,24637839,24637838,24637831,24637829,24637811,24637793,24637789,24637446,24637276,24637016,24636977,24636516,24636401,24636361,24635978,24635757,24635702,24635525,24635496,24635463,24635101,24635063,24634979,24634928,24634686,24634582,24634554,24634374,24634340,24634236,24634135,24634108,24633535,24633506,24633172,24633147,24633095,24632937,24632780,24632673,24632362,24632330,24632070,24631948,24631895,24631432,24631415,24631348,24631275,24631181,24631118,24631025,24630877,24630726,24630571,24630543,24630339,24630185,24630075,24629718,24629583,24629454,24629353,24629015,24628836,24628533,24628249,24627890,24627755,24627753,24627725,24627612,24627474,24626994,24626887,24626872,24626834,24626681,24626494,24626220,24626128,24626082,24625737,24625685,24625210,24625023,24624449,24624037,24623383,24622897,24622779,24622587,24622404,24622326,24622181,24622065,24621860,24621751,24621558,24621321,24620821,24620714,24620631,24620338,24620112,24619720,24619527,24619219,24619154,24619116,24618650,24618563,24618534,24618340,24618250,24618197,24617875,24617792,24617557,24617430,24617429,24617324,24617048,24616685,24616323,24616207,24615541,24615491,24615403,24614984,24614932,24614852,24614569,24614540,24614296,24613884,24613645,24613458,24613404,24613271,24613094,24612324,24612242,24612154,24611680,24610780,24610444,24609931,24609802,24609497,24609384,24609169,24608620,24608277,24607915,24607464,24607365,24606781,24606473,24604998,24604710,24604489,24603625,24603424,24602924,24602738,24602681,24602679,24602483,24601973,24601140,24600876,24600732,24600279,24600018,24599986,24599414,24598788,24598392,24597531,24596932,24596739,24596315,24596130,24594302,24593627,24593334,24592537,24591692,24591450,24590320,24590181,24589419,24589298,24589005,24588657,24587511,24586950,24585958,24585498,24584806,24584189,24583794,24581854,24576669,24576664,24576660,24576651,24576564,24576091,24575616,24575496,24574882,24574557,24573913,24573425,24572845,24572717,24571688,24571261,24568841,24568107,24567943,24567185,24567096,24566715,24566362,24566082,24565595,24565437,24565164,24564868,24563655,24563059,24553677,24553567,24553388,24553282,24553218,24552871,24552111,24551834,24551622,24551528,24551364,24550900,24550834,24550137,24549410,24548632,24548499,24548417,24548321,24547803,24547531,24546436,24545382,24544815,24544562,24544034,24543711,24543447,24543340,24543298,24542325,24542004,24541725,24541321,24540943,24540749,24540698,24540563,24540250,24539989,24539914,24539661,24539360,24538801,24538257,24537635,24537514,24536914,24536794,24536605,24536307,24536091,24535711,24535580,24534770,24534692,24534567,24534300,24533944,24533766,24533636,24533295,24532692,24531749,24531450,24531389,24530728,24530216,24530109,24529131,24528927,24528706,24528326,24527799,24527030,24526830,24526161,24525422,24524440,24524273,24524204,24523998,24523716,24523554,24523140,24522754,24522348,24522032,24521973,24521571,24521424,24520699,24520571,24520064,24520003,24519889,24519689,24519492,24519372,24519210,24519113,24518977,24518419,24518047,24517625,24516486,24514434,24514078,24513133,24511957,24511251,24511079,24510369,24509361,24509103,24508709,24507902,24507212,24507011,24506922,24506709,24506317,24505726,24504909,24504726,24504585,24504060,24503037,24502967,24501495,24500669,24500472,24500333,24500019,24499622,24499511,24499429,24499264,24499051,24498533,24497905,24497681,24497438,24497323,24496695,24496093,24495655,24495626,24495129,24495026,24494778,24494538,24494500,24494334,24494182,24493853,24493845,24488161,24488017,24487900,24487709,24487378,24486874,24486687,24486265,24484993,24484838,24484461,24483878,24483629,24483485,24482710,24482499,24482119,24481184,24480962,24480802,24480200,24479942,24479862,24479744,24479542,24479450,24479019,24478967,24478806,24478645,24478551,24478115,24477861,24477725,24477371,24477082,24476986,24476911,24476791,24476687,24476466,24475843,24475522,24475456,24475403,24475238,24474999,24474976,24474693,24473926,24473254,24472458,24472187,24471998,24471513,24471227,24470934,24470883,24470404,24470133,24470102,24470056,24468899,24468757,24468570,24468346,24467954,24467776,24467441,24466802,24466475,24466318,24465547,24464993,24464866,24464669,24464580,24464489,24464273,24462958,24462654,24462550,24462293,24462171,24462157,24462062,24462056,24461641,24461029,24460754,24460301,24460062,24459362,24459337,24458997,24458593,24458555,24458127,24457987,24457918,24457861,24457752,24457697,24456618,24456230,24456172,24456147,24455810,24455522,24455447,24454989,24454942,24454631,24454508,24454193,24453910,24453773,24453525,24453456,24453356,24453085,24452734,24452729,24452689,24452637,24452636,24452623,24451957,24451871,24451870,24451867,24451835,24451783,24451589,24451203,24450801,24450547,24449648,24449598,24449514 List(4866, 4865, 4864, 4863, 4862, 4861, 4860, 4859, 4858, 4857, 4856, 4855, 4854, 4853, 4852, 4851, 4850, 4849, 4848, 4847, 4846, 4845, 4844, 4843, 4842, 4841, 4840, 4839, 4838, 4837, 4836, 4835, 4834, 4833, 4832, 4831, 4830, 4829, 4828, 4827, 4826, 4825, 4824, 4823, 4822, 4821, 4820, 4819, 4818, 4817, 4816, 4815, 4814, 4813, 4812, 4811, 4810, 4809, 4808, 4807, 4806, 4805, 4804, 4803, 4802, 4801, 4800, 4799, 4798, 4797, 4796, 4795, 4794, 4793, 4792, 4791, 4790, 4789, 4788, 4787, 4786, 4785, 4784, 4783, 4782, 4781, 4780, 4779, 4778, 4777, 4776, 4775, 4774, 4773, 4772, 4771, 4770, 4769, 4768, 4767, 4766, 4765, 4764, 4763, 4762, 4761, 4760, 4759, 4758, 4757, 4756, 4755, 4754, 4753, 4752, 4751, 4750, 4749, 4748, 4747, 4746, 4745, 4744, 4743, 4742, 4741, 4740, 4739, 4738, 4737, 4736, 4735, 4734, 4733, 4732, 4731, 4730, 4729, 4728, 4727, 4726, 4725, 4724, 4723, 4722, 4721, 4720, 4719, 4718, 4717, 4716, 4715, 4714, 4713, 4712, 4711, 4710, 4709, 4708, 4707, 4706, 4705, 4704, 4703, 4702, 4701, 4700, 4699, 4698, 4697, 4696, 4695, 4694, 4693, 4692, 4691, 4690, 4689, 4688, 4687, 4686, 4685, 4684, 4683, 4682, 4681, 4680, 4679, 4678, 4677, 4676, 4675, 4674, 4673, 4672, 4671, 4670, 4669, 4668, 4667, 4666, 4665, 4664, 4663, 4662, 4661, 4660, 4659, 4658, 4657, 4656, 4655, 4654, 4653, 4652, 4651, 4650, 4649, 4648, 4647, 4646, 4645, 4644, 4643, 4642, 4641, 4640, 4639, 4638, 4637, 4636, 4635, 4634, 4633, 4632, 4631, 4630, 4629, 4628, 4627, 4626, 4625, 4624, 4623, 4622, 4621, 4620, 4619, 4618, 4617, 4616, 4615, 4614, 4613, 4612, 4611, 4610, 4609, 4608, 4607, 4606, 4605, 4604, 4603, 4602, 4601, 4600, 4599, 4598, 4597, 4596, 4595, 4594, 4593, 4592, 4591, 4590, 4589, 4588, 4587, 4586, 4585, 4584, 4583, 4582, 4581, 4580, 4579, 4578, 4577, 4576, 4575, 4574, 4573, 4572, 4571, 4570, 4569, 4568, 4567, 4566, 4565, 4564, 4563, 4562, 4561, 4560, 4559, 4558, 4557, 4556, 4555, 4554, 4553, 4552, 4551, 4550, 4549, 4548, 4547, 4546, 4545, 4544, 4543, 4542, 4541, 4540, 4539, 4538, 4537, 4536, 4535, 4534, 4533, 4532, 4531, 4530, 4529, 4528, 4527, 4526, 4525, 4524, 4523, 4522, 4521, 4520, 4519, 4518, 4517, 4516, 4515, 4514, 4513, 4512, 4511, 4510, 4509, 4508, 4507, 4506, 4505, 4504, 4503, 4502, 4501, 4500, 4499, 4498, 4497, 4496, 4495, 4494, 4493, 4492, 4491, 4490, 4489, 4488, 4487, 4486, 4485, 4484, 4483, 4482, 4481, 4480, 4479, 4478, 4477, 4476, 4475, 4474, 4473, 4472, 4471, 4470, 4469, 4468, 4467, 4466, 4465, 4464, 4463, 4462, 4461, 4460, 4459, 4458, 4457, 4456, 4455, 4454, 4453, 4452, 4451, 4450, 4449, 4448, 4447, 4446, 4445, 4444, 4443, 4442, 4441, 4440, 4439, 4438, 4437, 4436, 4435, 4434, 4433, 4432, 4431, 4430, 4429, 4428, 4427, 4426, 4425, 4424, 4423, 4422, 4421, 4420, 4419, 4418, 4417, 4416, 4415, 4414, 4413, 4412, 4411, 4410, 4409, 4408, 4407, 4406, 4405, 4404, 4403, 4402, 4401, 4400, 4399, 4398, 4397, 4396, 4395, 4394, 4393, 4392, 4391, 4390, 4389, 4388, 4387, 4386, 4385, 4384, 4383, 4382, 4381, 4380, 4379, 4378, 4377, 4376, 4375, 4374, 4373, 4372, 4371, 4370, 4369, 4368, 4367, 4366, 4365, 4364, 4363, 4362, 4361, 4360, 4359, 4358, 4357, 4356, 4355, 4354, 4353, 4352, 4351, 4350, 4349, 4348, 4347, 4346, 4345, 4344, 4343, 4342, 4341, 4340, 4339, 4338, 4337, 4336, 4335, 4334, 4333, 4332, 4331, 4330, 4329, 4328, 4327, 4326, 4325, 4324, 4323, 4322, 4321, 4320, 4319, 4318, 4317, 4316, 4315, 4314, 4313, 4312, 4311, 4310, 4309, 4308, 4307, 4306, 4305, 4304, 4303, 4302, 4301, 4300, 4299, 4298, 4297, 4296, 4295, 4294, 4293, 4292, 4291, 4290, 4289, 4288, 4287, 4286, 4285, 4284, 4283, 4282, 4281, 4280, 4279, 4278, 4277, 4276, 4275, 4274, 4273, 4272, 4271, 4270, 4269, 4268, 4267, 4266, 4265, 4264, 4263, 4262, 4261, 4260, 4259, 4258, 4257, 4256, 4255, 4254, 4253, 4252, 4251, 4250, 4249, 4248, 4247, 4246, 4245, 4244, 4243, 4242, 4241, 4240, 4239, 4238, 4237, 4236, 4235, 4234, 4233, 4232, 4231, 4230, 4229, 4228, 4227, 4226, 4225, 4224, 4223, 4222, 4221, 4220, 4219, 4218, 4217, 4216, 4215, 4214, 4213, 4212, 4211, 4210, 4209, 4208, 4207, 4206, 4205, 4204, 4203, 4202, 4201, 4200, 4199, 4198, 4197, 4196, 4195, 4194, 4193, 4192, 4191, 4190, 4189, 4188, 4187, 4186, 4185, 4184, 4183, 4182, 4181, 4180, 4179, 4178, 4177, 4176, 4175, 4174, 4173, 4172, 4171, 4170, 4169, 4168, 4167, 4166, 4165, 4164, 4163, 4162, 4161, 4160, 4159, 4158, 4157, 4156, 4155, 4154, 4153, 4152, 4151, 4150, 4149, 4148, 4147, 4146, 4145, 4144, 4143, 4142, 4141, 4140, 4139, 4138, 4137, 4136, 4135, 4134, 4133, 4132, 4131, 4130, 4129, 4128, 4127, 4126, 4125, 4124, 4123, 4122, 4121, 4120, 4119, 4118, 4117, 4116, 4115, 4114, 4113, 4112, 4111, 4110, 4109, 4108, 4107, 4106, 4105, 4104, 4103, 4102, 4101, 4100, 4099, 4098, 4097, 4096, 4095, 4094, 4093, 4092, 4091, 4090, 4089, 4088, 4087, 4086, 4085, 4084, 4083, 4082, 4081, 4080, 4079, 4078, 4077, 4076, 4075, 4074, 4073, 4072, 4071, 4070, 4069, 4068, 4067, 4066, 4065, 4064, 4063, 4062, 4061, 4060, 4059, 4058, 4057, 4056, 4055, 4054, 4053, 4052, 4051, 4050, 4049, 4048, 4047, 4046, 4045, 4044, 4043, 4042, 4041, 4040, 4039, 4038, 4037, 4036, 4035, 4034, 4033, 4032, 4031, 4030, 4029, 4028, 4027, 4026, 4025, 4024, 4023, 4022, 4021, 4020, 4019, 4018, 4017, 4016, 4015, 4014, 4013, 4012, 4011, 4010, 4009, 4008, 4007, 4006, 4005, 4004, 4003, 4002, 4001, 4000, 3999, 3998, 3997, 3996, 3995, 3994, 3993, 3992, 3991, 3990, 3989, 3988, 3987, 3986, 3985, 3984, 3983, 3982, 3981, 3980, 3979, 3978, 3977, 3976, 3975, 3974, 3973, 3972, 3971, 3970, 3969, 3968, 3967, 3966, 3965, 3964, 3963, 3962, 3961, 3960, 3959, 3958, 3957, 3956, 3955, 3954, 3953, 3952, 3951, 3950, 3949, 3948, 3947, 3946, 3945, 3944, 3943, 3942, 3941, 3940, 3939, 3938, 3937, 3936, 3935, 3934, 3933, 3932, 3931, 3930, 3929, 3928, 3927, 3926, 3925, 3924, 3923, 3922, 3921, 3920, 3919, 3918, 3917, 3916, 3915, 3914, 3913, 3912, 3911, 3910, 3909, 3908, 3907, 3906, 3905, 3904, 3903, 3902, 3901, 3900, 3899, 3898, 3897, 3896, 3895, 3894, 3893, 3892, 3891, 3890, 3889, 3888, 3887, 3886, 3885, 3884, 3883, 3882, 3881, 3880, 3879, 3878, 3877, 3876, 3875, 3874, 3873, 3872, 3871, 3870, 3869, 3868, 3867, 3866, 3865, 3864, 3863, 3862, 3861, 3860, 3859, 3858, 3857, 3856, 3855, 3854, 3853, 3852, 3851, 3850, 3849, 3848, 3847, 3846, 3845, 3844, 3843, 3842, 3841, 3840, 3839, 3838, 3837, 3836, 3835, 3834, 3833, 3832, 3831, 3830, 3829, 3828, 3827, 3826, 3825, 3824, 3823, 3822, 3821, 3820, 3819, 3818, 3817, 3816, 3815, 3814, 3813, 3812, 3811, 3810, 3809, 3808, 3807, 3806, 3805, 3804, 3803, 3802, 3801, 3800, 3799, 3798, 3797, 3796, 3795, 3794, 3793, 3792, 3791, 3790, 3789, 3788, 3787, 3786, 3785, 3784, 3783, 3782, 3781, 3780, 3779, 3778, 3777, 3776, 3775, 3774, 3773, 3772, 3771, 3770, 3769, 3768, 3767, 3766, 3765, 3764, 3763, 3762, 3761, 3760, 3759, 3758, 3757, 3756, 3755, 3754, 3753, 3752, 3751, 3750, 3749, 3748, 3747, 3746, 3745, 3744, 3743, 3742, 3741, 3740, 3739, 3738, 3737, 3736, 3735, 3734, 3733, 3732, 3731, 3730, 3729, 3728, 3727, 3726, 3725, 3724, 3723, 3722, 3721, 3720, 3719, 3718, 3717, 3716, 3715, 3714, 3713, 3712, 3711, 3710, 3709, 3708, 3707, 3706, 3705, 3704, 3703, 3702, 3701, 3700, 3699, 3698, 3697, 3696, 3695, 3694, 3693, 3692, 3691, 3690, 3689, 3688, 3687, 3686, 3685, 3684, 3683, 3682, 3681, 3680, 3679, 3678, 3677, 3676, 3675, 3674, 3673, 3672, 3671, 3670, 3669, 3668, 3667, 3666, 3665, 3664, 3663, 3662, 3661, 3660, 3659, 3658, 3657, 3656, 3655, 3654, 3653, 3652, 3651, 3650, 3649, 3648, 3647, 3646, 3645, 3644, 3643, 3642, 3641, 3640, 3639, 3638, 3637, 3636, 3635, 3634, 3633, 3632, 3631, 3630, 3629, 3628, 3627, 3626, 3625, 3624, 3623, 3622, 3621, 3620, 3619, 3618, 3617, 3616, 3615, 3614, 3613, 3612, 3611, 3610, 3609, 3608, 3607, 3606, 3605, 3604, 3603, 3602, 3601, 3600, 3599, 3598, 3597, 3596, 3595, 3594, 3593, 3592, 3591, 3590, 3589, 3588, 3587, 3586, 3585, 3584, 3583, 3582, 3581, 3580, 3579, 3578, 3577, 3576, 3575, 3574, 3573, 3572, 3571, 3570, 3569, 3568, 3567, 3566, 3565, 3564, 3563, 3562, 3561, 3560, 3559, 3558, 3557, 3556, 3555, 3554, 3553, 3552, 3551, 3550, 3549, 3548, 3547, 3546, 3545, 3544, 3543, 3542, 3541, 3540, 3539, 3538, 3537, 3536, 3535, 3534, 3533, 3532, 3531, 3530, 3529, 3528, 3527, 3526, 3525, 3524, 3523, 3522, 3521, 3520, 3519, 3518, 3517, 3516, 3515, 3514, 3513, 3512, 3511, 3510, 3509, 3508, 3507, 3506, 3505, 3504, 3503, 3502, 3501, 3500, 3499, 3498, 3497, 3496, 3495, 3494, 3493, 3492, 3491, 3490, 3489, 3488, 3487, 3486, 3485, 3484, 3483, 3482, 3481, 3480, 3479, 3478, 3477, 3476, 3475, 3474, 3473, 3472, 3471, 3470, 3469, 3468, 3467, 3466, 3465, 3464, 3463, 3462, 3461, 3460, 3459, 3458, 3457, 3456, 3455, 3454, 3453, 3452, 3451, 3450, 3449, 3448, 3447, 3446, 3445, 3444, 3443, 3442, 3441, 3440, 3439, 3438, 3437, 3436, 3435, 3434, 3433, 3432, 3431, 3430, 3429, 3428, 3427, 3426, 3425, 3424, 3423, 3422, 3421, 3420, 3419, 3418, 3417, 3416, 3415, 3414, 3413, 3412, 3411, 3410, 3409, 3408, 3407, 3406, 3405, 3404, 3403, 3402, 3401, 3400, 3399, 3398, 3397, 3396, 3395, 3394, 3393, 3392, 3391, 3390, 3389, 3388, 3387, 3386, 3385, 3384, 3383, 3382, 3381, 3380, 3379, 3378, 3377, 3376, 3375, 3374, 3373, 3372, 3371, 3370, 3369, 3368, 3367, 3366, 3365, 3364, 3363, 3362, 3361, 3360, 3359, 3358, 3357, 3356, 3355, 3354, 3353, 3352, 3351, 3350, 3349, 3348, 3347, 3346, 3345, 3344, 3343, 3342, 3341, 3340, 3339, 3338, 3337, 3336, 3335, 3334, 3333, 3332, 3331, 3330, 3329, 3328, 3327, 3326, 3325, 3324, 3323, 3322, 3321, 3320, 3319, 3318, 3317, 3316, 3315, 3314, 3313, 3312, 3311, 3310, 3309, 3308, 3307, 3306, 3305, 3304, 3303, 3302, 3301, 3300, 3299, 3298, 3297, 3296, 3295, 3294, 3293, 3292, 3291, 3290, 3289, 3288, 3287, 3286, 3285, 3284, 3283, 3282, 3281, 3280, 3279, 3278, 3277, 3276, 3275, 3274, 3273, 3272, 3271, 3270, 3269, 3268, 3267, 3266, 3265, 3264, 3263, 3262, 3261, 3260, 3259, 3258, 3257, 3256, 3255, 3254, 3253, 3252, 3251, 3250, 3249, 3248, 3247, 3246, 3245, 3244, 3243, 3242, 3241, 3240, 3239, 3238, 3237, 3236, 3235, 3234, 3233, 3232, 3231, 3230, 3229, 3228, 3227, 3226, 3225, 3224, 3223, 3222, 3221, 3220, 3219, 3218, 3217, 3216, 3215, 3214, 3213, 3212, 3211, 3210, 3209, 3208, 3207, 3206, 3205, 3204, 3203, 3202, 3201, 3200, 3199, 3198, 3197, 3196, 3195, 3194, 3193, 3192, 3191, 3190, 3189, 3188, 3187, 3186, 3185, 3184, 3183, 3182, 3181, 3180, 3179, 3178, 3177, 3176, 3175, 3174, 3173, 3172, 3171, 3170, 3169, 3168, 3167, 3166, 3165, 3164, 3163, 3162, 3161, 3160, 3159, 3158, 3157, 3156, 3155, 3154, 3153, 3152, 3151, 3150, 3149, 3148, 3147, 3146, 3145, 3144, 3143, 3142, 3141, 3140, 3139, 3138, 3137, 3136, 3135, 3134, 3133, 3132, 3131, 3130, 3129, 3128, 3127, 3126, 3125, 3124, 3123, 3122, 3121, 3120, 3119, 3118, 3117, 3116, 3115, 3114, 3113, 3112, 3111, 3110, 3109, 3108, 3107, 3106, 3105, 3104, 3103, 3102, 3101, 3100, 3099, 3098, 3097, 3096, 3095, 3094, 3093, 3092, 3091, 3090, 3089, 3088, 3087, 3086, 3085, 3084, 3083, 3082, 3081, 3080, 3079, 3078, 3077, 3076, 3075, 3074, 3073, 3072, 3071, 3070, 3069, 3068, 3067, 3066, 3065, 3064, 3063, 3062, 3061, 3060, 3059, 3058, 3057, 3056, 3055, 3054, 3053, 3052, 3051, 3050, 3049, 3048, 3047, 3046, 3045, 3044, 3043, 3042, 3041, 3040, 3039, 3038, 3037, 3036, 3035, 3034, 3033, 3032, 3031, 3030, 3029, 3028, 3027, 3026, 3025, 3024, 3023, 3022, 3021, 3020, 3019, 3018, 3017, 3016, 3015, 3014, 3013, 3012, 3011, 3010, 3009, 3008, 3007, 3006, 3005, 3004, 3003, 3002, 3001, 3000, 2999, 2998, 2997, 2996, 2995, 2994, 2993, 2992, 2991, 2990, 2989, 2988, 2987, 2986, 2985, 2984, 2983, 2982, 2981, 2980, 2979, 2978, 2977, 2976, 2975, 2974, 2973, 2972, 2971, 2970, 2969, 2968, 2967, 2966, 2965, 2964, 2963, 2962, 2961, 2960, 2959, 2958, 2957, 2956, 2955, 2954, 2953, 2952, 2951, 2950, 2949, 2948, 2947, 2946, 2945, 2944, 2943, 2942, 2941, 2940, 2939, 2938, 2937, 2936, 2935, 2934, 2933, 2932, 2931, 2930, 2929, 2928, 2927, 2926, 2925, 2924, 2923, 2922, 2921, 2920, 2919, 2918, 2917, 2916, 2915, 2914, 2913, 2912, 2911, 2910, 2909, 2908, 2907, 2906, 2905, 2904, 2903, 2902, 2901, 2900, 2899, 2898, 2897, 2896, 2895, 2894, 2893, 2892, 2891, 2890, 2889, 2888, 2887, 2886, 2885, 2884, 2883, 2882, 2881, 2880, 2879, 2878, 2877, 2876, 2875, 2874, 2873, 2872, 2871, 2870, 2869, 2868, 2867, 2866, 2865, 2864, 2863, 2862, 2861, 2860, 2859, 2858, 2857, 2856, 2855, 2854, 2853, 2852, 2851, 2850, 2849, 2848, 2847, 2846, 2845, 2844, 2843, 2842, 2841, 2840, 2839, 2838, 2837, 2836, 2835, 2834, 2833, 2832, 2831, 2830, 2829, 2828, 2827, 2826, 2825, 2824, 2823, 2822, 2821, 2820, 2819, 2818, 2817, 2816, 2815, 2814, 2813, 2812, 2811, 2810, 2809, 2808, 2807, 2806, 2805, 2804, 2803, 2802, 2801, 2800, 2799, 2798, 2797, 2796, 2795, 2794, 2793, 2792, 2791, 2790, 2789, 2788, 2787, 2786, 2785, 2784, 2783, 2782, 2781, 2780, 2779, 2778, 2777, 2776, 2775, 2774, 2773, 2772, 2771, 2770, 2769, 2768, 2767, 2766, 2765, 2764, 2763, 2762, 2761, 2760, 2759, 2758, 2757, 2756, 2755, 2754, 2753, 2752, 2751, 2750, 2749, 2748, 2747, 2746, 2745, 2744, 2743, 2742, 2741, 2740, 2739, 2738, 2737, 2736, 2735, 2734, 2733, 2732, 2731, 2730, 2729, 2728, 2727, 2726, 2725, 2724, 2723, 2722, 2721, 2720, 2719, 2718, 2717, 2716, 2715, 2714, 2713, 2712, 2711, 2710, 2709, 2708, 2707, 2706, 2705, 2704, 2703, 2702, 2701, 2700, 2699, 2698, 2697, 2696, 2695, 2694, 2693, 2692, 2691, 2690, 2689, 2688, 2687, 2686, 2685, 2684, 2683, 2682, 2681, 2680, 2679, 2678, 2677, 2676, 2675, 2674, 2673, 2672, 2671, 2670, 2669, 2668, 2667, 2666, 2665, 2664, 2663, 2662, 2661, 2660, 2659, 2658, 2657, 2656, 2655, 2654, 2653, 2652, 2651, 2650, 2649, 2648, 2647, 2646, 2645, 2644, 2643, 2642, 2641, 2640, 2639, 2638, 2637, 2636, 2635, 2634, 2633, 2632, 2631, 2630, 2629, 2628, 2627, 2626, 2625, 2624, 2623, 2622, 2621, 2620, 2619, 2618, 2617, 2616, 2615, 2614, 2613, 2612, 2611, 2610, 2609, 2608, 2607, 2606, 2605, 2604, 2603, 2602, 2601, 2600, 2599, 2598, 2597, 2596, 2595, 2594, 2593, 2592, 2591, 2590, 2589, 2588, 2587, 2586, 2585, 2584, 2583, 2582, 2581, 2580, 2579, 2578, 2577, 2576, 2575, 2574, 2573, 2572, 2571, 2570, 2569, 2568, 2567, 2566, 2565, 2564, 2563, 2562, 2561, 2560, 2559, 2558, 2557, 2556, 2555, 2554, 2553, 2552, 2551, 2550, 2549, 2548, 2547, 2546, 2545, 2544, 2543, 2542, 2541, 2540, 2539, 2538, 2537, 2536, 2535, 2534, 2533, 2532, 2531, 2530, 2529, 2528, 2527, 2526, 2525, 2524, 2523, 2522, 2521, 2520, 2519, 2518, 2517, 2516, 2515, 2514, 2513, 2512, 2511, 2510, 2509, 2508, 2507, 2506, 2505, 2504, 2503, 2502, 2501, 2500, 2499, 2498, 2497, 2496, 2495, 2494, 2493, 2492, 2491, 2490, 2489, 2488, 2487, 2486, 2485, 2484, 2483, 2482, 2481, 2480, 2479, 2478, 2477, 2476, 2475, 2474, 2473, 2472, 2471, 2470, 2469, 2468, 2467, 2466, 2465, 2464, 2463, 2462, 2461, 2460, 2459, 2458, 2457, 2456, 2455, 2454, 2453, 2452, 2451, 2450, 2449, 2448, 2447, 2446, 2445, 2444, 2443, 2442, 2441, 2440, 2439, 2438, 2437, 2436, 2435, 2434, 2433, 2432, 2431, 2430, 2429, 2428, 2427, 2426, 2425, 2424, 2423, 2422, 2421, 2420, 2419, 2418, 2417, 2416, 2415, 2414, 2413, 2412, 2411, 2410, 2409, 2408, 2407, 2406, 2405, 2404, 2403, 2402, 2401, 2400, 2399, 2398, 2397, 2396, 2395, 2394, 2393, 2392, 2391, 2390, 2389, 2388, 2387, 2386, 2385, 2384, 2383, 2382, 2381, 2380, 2379, 2378, 2377, 2376, 2375, 2374, 2373, 2372, 2371, 2370, 2369, 2368, 2367, 2366, 2365, 2364, 2363, 2362, 2361, 2360, 2359, 2358, 2357, 2356, 2355, 2354, 2353, 2352, 2351, 2350, 2349, 2348, 2347, 2346, 2345, 2344, 2343, 2342, 2341, 2340, 2339, 2338, 2337, 2336, 2335, 2334, 2333, 2332, 2331, 2330, 2329, 2328, 2327, 2326, 2325, 2324, 2323, 2322, 2321, 2320, 2319, 2318, 2317, 2316, 2315, 2314, 2313, 2312, 2311, 2310, 2309, 2308, 2307, 2306, 2305, 2304, 2303, 2302, 2301, 2300, 2299, 2298, 2297, 2296, 2295, 2294, 2293, 2292, 2291, 2290, 2289, 2288, 2287, 2286, 2285, 2284, 2283, 2282, 2281, 2280, 2279, 2278, 2277, 2276, 2275, 2274, 2273, 2272, 2271, 2270, 2269, 2268, 2267, 2266, 2265, 2264, 2263, 2262, 2261, 2260, 2259, 2258, 2257, 2256, 2255, 2254, 2253, 2252, 2251, 2250, 2249, 2248, 2247, 2246, 2245, 2244, 2243, 2242, 2241, 2240, 2239, 2238, 2237, 2236, 2235, 2234, 2233, 2232, 2231, 2230, 2229, 2228, 2227, 2226, 2225, 2224, 2223, 2222, 2221, 2220, 2219, 2218, 2217, 2216, 2215, 2214, 2213, 2212, 2211, 2210, 2209, 2208, 2207, 2206, 2205, 2204, 2203, 2202, 2201, 2200, 2199, 2198, 2197, 2196, 2195, 2194, 2193, 2192, 2191, 2190, 2189, 2188, 2187, 2186, 2185, 2184, 2183, 2182, 2181, 2180, 2179, 2178, 2177, 2176, 2175, 2174, 2173, 2172, 2171, 2170, 2169, 2168, 2167, 2166, 2165, 2164, 2163, 2162, 2161, 2160, 2159, 2158, 2157, 2156, 2155, 2154, 2153, 2152, 2151, 2150, 2149, 2148, 2147, 2146, 2145, 2144, 2143, 2142, 2141, 2140, 2139, 2138, 2137, 2136, 2135, 2134, 2133, 2132, 2131, 2130, 2129, 2128, 2127, 2126, 2125, 2124, 2123, 2122, 2121, 2120, 2119, 2118, 2117, 2116, 2115, 2114, 2113, 2112, 2111, 2110, 2109, 2108, 2107, 2106, 2105, 2104, 2103, 2102, 2101, 2100, 2099, 2098, 2097, 2096, 2095, 2094, 2093, 2092, 2091, 2090, 2089, 2088, 2087, 2086, 2085, 2084, 2083, 2082, 2081, 2080, 2079, 2078, 2077, 2076, 2075, 2074, 2073, 2072, 2071, 2070, 2069, 2068, 2067, 2066, 2065, 2064, 2063, 2062, 2061, 2060, 2059, 2058, 2057, 2056, 2055, 2054, 2053, 2052, 2051, 2050, 2049, 2048, 2047, 2046, 2045, 2044, 2043, 2042, 2041, 2040, 2039, 2038, 2037, 2036, 2035, 2034, 2033, 2032, 2031, 2030, 2029, 2028, 2027, 2026, 2025, 2024, 2023, 2022, 2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000, 1999, 1998, 1997, 1996, 1995, 1994, 1993, 1992, 1991, 1990, 1989, 1988, 1987, 1986, 1985, 1984, 1983, 1982, 1981, 1980, 1979, 1978, 1977, 1976, 1975, 1974, 1973, 1972, 1971, 1970, 1969, 1968, 1967, 1966, 1965, 1964, 1963, 1962, 1961, 1960, 1959, 1958, 1957, 1956, 1955, 1954, 1953, 1952, 1951, 1950, 1949, 1948, 1947, 1946, 1945, 1944, 1943, 1942, 1941, 1940, 1939, 1938, 1937, 1936, 1935, 1934, 1933, 1932, 1931, 1930, 1929, 1928, 1927, 1926, 1925, 1924, 1923, 1922, 1921, 1920, 1919, 1918, 1917, 1916, 1915, 1914, 1913, 1912, 1911, 1910, 1909, 1908, 1907, 1906, 1905, 1904, 1903, 1902, 1901, 1900, 1899, 1898, 1897, 1896, 1895, 1894, 1893, 1892, 1891, 1890, 1889, 1888, 1887, 1886, 1885, 1884, 1883, 1882, 1881, 1880, 1879, 1878, 1877, 1876, 1875, 1874, 1873, 1872, 1871, 1870, 1869, 1868, 1867, 1866, 1865, 1864, 1863, 1862, 1861, 1860, 1859, 1858, 1857, 1856, 1855, 1854, 1853, 1852, 1851, 1850, 1849, 1848, 1847, 1846, 1845, 1844, 1843, 1842, 1841, 1840, 1839, 1838, 1837, 1836, 1835, 1834, 1833, 1832, 1831, 1830, 1829, 1828, 1827, 1826, 1825, 1824, 1823, 1822, 1821, 1820, 1819, 1818, 1817, 1816, 1815, 1814, 1813, 1812, 1811, 1810, 1809, 1808, 1807, 1806, 1805, 1804, 1803, 1802, 1801, 1800, 1799, 1798, 1797, 1796, 1795, 1794, 1793, 1792, 1791, 1790, 1789, 1788, 1787, 1786, 1785, 1784, 1783, 1782, 1781, 1780, 1779, 1778, 1777, 1776, 1775, 1774, 1773, 1772, 1771, 1770, 1769, 1768, 1767, 1766, 1765, 1764, 1763, 1762, 1761, 1760, 1759, 1758, 1757, 1756, 1755, 1754, 1753, 1752, 1751, 1750, 1749, 1748, 1747, 1746, 1745, 1744, 1743, 1742, 1741, 1740, 1739, 1738, 1737, 1736, 1735, 1734, 1733, 1732, 1731, 1730, 1729, 1728, 1727, 1726, 1725, 1724, 1723, 1722, 1721, 1720, 1719, 1718, 1717, 1716, 1715, 1714, 1713, 1712, 1711, 1710, 1709, 1708, 1707, 1706, 1705, 1704, 1703, 1702, 1701, 1700, 1699, 1698, 1697, 1696, 1695, 1694, 1693, 1692, 1691, 1690, 1689, 1688, 1687, 1686, 1685, 1684, 1683, 1682, 1681, 1680, 1679, 1678, 1677, 1676, 1675, 1674, 1673, 1672, 1671, 1670, 1669, 1668, 1667, 1666, 1665, 1664, 1663, 1662, 1661, 1660, 1659, 1658, 1657, 1656, 1655, 1654, 1653, 1652, 1651, 1650, 1649, 1648, 1647, 1646, 1645, 1644, 1643, 1642, 1641, 1640, 1639, 1638, 1637, 1636, 1635, 1634, 1633, 1632, 1631, 1630, 1629, 1628, 1627, 1626, 1625, 1624, 1623, 1622, 1621, 1620, 1619, 1618, 1617, 1616, 1615, 1614, 1613, 1612, 1611, 1610, 1609, 1608, 1607, 1606, 1605, 1604, 1603, 1602, 1601, 1600, 1599, 1598, 1597, 1596, 1595, 1594, 1593, 1592, 1591, 1590, 1589, 1588, 1587, 1586, 1585, 1584, 1583, 1582, 1581, 1580, 1579, 1578, 1577, 1576, 1575, 1574, 1573, 1572, 1571, 1570, 1569, 1568, 1567, 1566, 1565, 1564, 1563, 1562, 1561, 1560, 1559, 1558, 1557, 1556, 1555, 1554, 1553, 1552, 1551, 1550, 1549, 1548, 1547, 1546, 1545, 1544, 1543, 1542, 1541, 1540, 1539, 1538, 1537, 1536, 1535, 1534, 1533, 1532, 1531, 1530, 1529, 1528, 1527, 1526, 1525, 1524, 1523, 1522, 1521, 1520, 1519, 1518, 1517, 1516, 1515, 1514, 1513, 1512, 1511, 1510, 1509, 1508, 1507, 1506, 1505, 1504, 1503, 1502, 1501, 1500, 1499, 1498, 1497, 1496, 1495, 1494, 1493, 1492, 1491, 1490, 1489, 1488, 1487, 1486, 1485, 1484, 1483, 1482, 1481, 1480, 1479, 1478, 1477, 1476, 1475, 1474, 1473, 1472, 1471, 1470, 1469, 1468, 1467, 1466, 1465, 1464, 1463, 1462, 1461, 1460, 1459, 1458, 1457, 1456, 1455, 1454, 1453, 1452, 1451, 1450, 1449, 1448, 1447, 1446, 1445, 1444, 1443, 1442, 1441, 1440, 1439, 1438, 1437, 1436, 1435, 1434, 1433, 1432, 1431, 1430, 1429, 1428, 1427, 1426, 1425, 1424, 1423, 1422, 1421, 1420, 1419, 1418, 1417, 1416, 1415, 1414, 1413, 1412, 1411, 1410, 1409, 1408, 1407, 1406, 1405, 1404, 1403, 1402, 1401, 1400, 1399, 1398, 1397, 1396, 1395, 1394, 1393, 1392, 1391, 1390, 1389, 1388, 1387, 1386, 1385, 1384, 1383, 1382, 1381, 1380, 1379, 1378, 1377, 1376, 1375, 1374, 1373, 1372, 1371, 1370, 1369, 1368, 1367, 1366, 1365, 1364, 1363, 1362, 1361, 1360, 1359, 1358, 1357, 1356, 1355, 1354, 1353, 1352, 1351, 1350, 1349, 1348, 1347, 1346, 1345, 1344, 1343, 1342, 1341, 1340, 1339, 1338, 1337, 1336, 1335, 1334, 1333, 1332, 1331, 1330, 1329, 1328, 1327, 1326, 1325, 1324, 1323, 1322, 1321, 1320, 1319, 1318, 1317, 1316, 1315, 1314, 1313, 1312, 1311, 1310, 1309, 1308, 1307, 1306, 1305, 1304, 1303, 1302, 1301, 1300, 1299, 1298, 1297, 1296, 1295, 1294, 1293, 1292, 1291, 1290, 1289, 1288, 1287, 1286, 1285, 1284, 1283, 1282, 1281, 1280, 1279, 1278, 1277, 1276, 1275, 1274, 1273, 1272, 1271, 1270, 1269, 1268, 1267, 1266, 1265, 1264, 1263, 1262, 1261, 1260, 1259, 1258, 1257, 1256, 1255, 1254, 1253, 1252, 1251, 1250, 1249, 1248, 1247, 1246, 1245, 1244, 1243, 1242, 1241, 1240, 1239, 1238, 1237, 1236, 1235, 1234, 1233, 1232, 1231, 1230, 1229, 1228, 1227, 1226, 1225, 1224, 1223, 1222, 1221, 1220, 1219, 1218, 1217, 1216, 1215, 1214, 1213, 1212, 1211, 1210, 1209, 1208, 1207, 1206, 1205, 1204, 1203, 1202, 1201, 1200, 1199, 1198, 1197, 1196, 1195, 1194, 1193, 1192, 1191, 1190, 1189, 1188, 1187, 1186, 1185, 1184, 1183, 1182, 1181, 1180, 1179, 1178, 1177, 1176, 1175, 1174, 1173, 1172, 1171, 1170, 1169, 1168, 1167, 1166, 1165, 1164, 1163, 1162, 1161, 1160, 1159, 1158, 1157, 1156, 1155, 1154, 1153, 1152, 1151, 1150, 1149, 1148, 1147, 1146, 1145, 1144, 1143, 1142, 1141, 1140, 1139, 1138, 1137, 1136, 1135, 1134, 1133, 1132, 1131, 1130, 1129, 1128, 1127, 1126, 1125, 1124, 1123, 1122, 1121, 1120, 1119, 1118, 1117, 1116, 1115, 1114, 1113, 1112, 1111, 1110, 1109, 1108, 1107, 1106, 1105, 1104, 1103, 1102, 1101, 1100, 1099, 1098, 1097, 1096, 1095, 1094, 1093, 1092, 1091, 1090, 1089, 1088, 1087, 1086, 1085, 1084, 1083, 1082, 1081, 1080, 1079, 1078, 1077, 1076, 1075, 1074, 1073, 1072, 1071, 1070, 1069, 1068, 1067, 1066, 1065, 1064, 1063, 1062, 1061, 1060, 1059, 1058, 1057, 1056, 1055, 1054, 1053, 1052, 1051, 1050, 1049, 1048, 1047, 1046, 1045, 1044, 1043, 1042, 1041, 1040, 1039, 1038, 1037, 1036, 1035, 1034, 1033, 1032, 1031, 1030, 1029, 1028, 1027, 1026, 1025, 1024, 1023, 1022, 1021, 1020, 1019, 1018, 1017, 1016, 1015, 1014, 1013, 1012, 1011, 1010, 1009, 1008, 1007, 1006, 1005, 1004, 1003, 1002, 1001, 1000, 999, 998, 997, 996, 995, 994, 993, 992, 991, 990, 989, 988, 987, 986, 985, 984, 983, 982, 981, 980, 979, 978, 977, 976, 975, 974, 973, 972, 971, 970, 969, 968, 967, 966, 965, 964, 963, 962, 961, 960, 959, 958, 957, 956, 955, 954, 953, 952, 951, 950, 949, 948, 947, 946, 945, 944, 943, 942, 941, 940, 939, 938, 937, 936, 935, 934, 933, 932, 931, 930, 929, 928, 927, 926, 925, 924, 923, 922, 921, 920, 919, 918, 917, 916, 915, 914, 913, 912, 911, 910, 909, 908, 907, 906, 905, 904, 903, 902, 901, 900, 899, 898, 897, 896, 895, 894, 893, 892, 891, 890, 889, 888, 887, 886, 885, 884, 883, 882, 881, 880, 879, 878, 877, 876, 875, 874, 873, 872, 871, 870, 869, 868, 867, 866, 865, 864, 863, 862, 861, 860, 859, 858, 857, 856, 855, 854, 853, 852, 851, 850, 849, 848, 847, 846, 845, 844, 843, 842, 841, 840, 839, 838, 837, 836, 835, 834, 833, 832, 831, 830, 829, 828, 827, 826, 825, 824, 823, 822, 821, 820, 819, 818, 817, 816, 815, 814, 813, 812, 811, 810, 809, 808, 807, 806, 805, 804, 803, 802, 801, 800, 799, 798, 797, 796, 795, 794, 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, 757, 756, 755, 754, 753, 752, 751, 750, 749, 748, 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 730, 729, 728, 727, 726, 725, 724, 723, 722, 721, 720, 719, 718, 717, 716, 715, 714, 713, 712, 711, 710, 709, 708, 707, 706, 705, 704, 703, 702, 701, 700, 699, 698, 697, 696, 695, 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, 660, 659, 658, 657, 656, 655, 654, 653, 652, 651, 650, 649, 648, 647, 646, 645, 644, 643, 642, 641, 640, 639, 638, 637, 636, 635, 634, 633, 632, 631, 630, 629, 628, 627, 626, 625, 624, 623, 622, 621, 620, 619, 618, 617, 616, 615, 614, 613, 612, 611, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, 583, 582, 581, 580, 579, 578, 577, 576, 575, 574, 573, 572, 571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 545, 544, 543, 542, 541, 540, 539, 538, 537, 536, 535, 534, 533, 532, 531, 530, 529, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, 482, 481, 480, 479, 478, 477, 476, 475, 474, 473, 472, 471, 470, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 451, 450, 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 429, 428, 427, 426, 425, 424, 423, 422, 421, 420, 419, 418, 417, 416, 415, 414, 413, 412, 411, 410, 409, 408, 407, 406, 405, 404, 403, 402, 401, 400, 399, 398, 397, 396, 395, 394, 393, 392, 391, 390, 389, 388, 387, 386, 385, 384, 383, 382, 381, 380, 379, 378, 377, 376, 375, 374, 373, 372, 371, 370, 369, 368, 367, 366, 365, 364, 363, 362, 361, 360, 359, 358, 357, 356, 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, 327, 326, 325, 324, 323, 322, 321, 320, 319, 318, 317, 316, 315, 314, 313, 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, 302, 301, 300, 299, 298, 297, 296, 295, 294, 293, 292, 291, 290, 289, 288, 287, 286, 285, 284, 283, 282, 281, 280, 279, 278, 277, 276, 275, 274, 273, 272, 271, 270, 269, 268, 267, 266, 265, 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 228, 227, 226, 225, 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 209, 208, 207, 206, 205, 204, 203, 202, 201, 200, 199, 198, 197, 196, 195, 194, 193, 192, 191, 190, 189, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) name_chosen : Dossier_Portfolio_Month_M7_Y2025_4867 [debug] a.m.Portfolio - testing existence of this portfolio [debug] a.m.Portfolio - SELECT *, mp.mtr_user_id=979 as is_owner FROM MTRUser.mtr_portfolios mp WHERE name='Dossier_Portfolio_Month_M7_Y2025_4867' AND mtr_user_id='979' [debug] a.m.Portfolio - Insert portfolio name [debug] a.m.Portfolio - insert into MTRUser.mtr_portfolios (mtr_user_id, name, private, created_at, updated_at) values ('979', 'Dossier_Portfolio_Month_M7_Y2025_4867', false, NOW(), NOW()) retrieving new id portfolio [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : list_hashtags : List() mtr_portfolio_id : Some(25071851) [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 4011After insertPortfolioPhotoId , duration 2 : 73 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; --2025-07-18 13:59:06-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… --2025-07-18 13:59:06-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba.jpg 200 OK Taille : 242291 (237K) [image/jpeg] Enregistre : «/tmp/50aba132a015a690cf36cdd9be3f30af.jpg» 0K .......... .......... .......... .Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… ......... .......... 21% 4,83M 0s 50K .......... .......... ....connecté. ...... .......... .......... 42% 4,86M 0s 100K .......... .......... .......... .......... .......... 63% 111M 0s 150K .......... .......... .......... .......... .......... 84% 5,09M 0s 200K .......... .......... .......... ...... 100% 102M=0,03s 2025-07-18 13:59:06 (7,57 MB/s) - «/tmp/50aba132a015a690cf36cdd9be3f30af.jpg» enregistré [242291/242291] requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223644 (218K) [image/jpeg] Enregistre : «/tmp/78d8d66af19c1ca3447a1dd15e2f82ba.jpg» 0K .......... .......... .......... .......... .......... 22% 4,91M 0s 50K .......... .......... .......... .......... .......... 45% 4,96M 0s 100K .......... .......... .......... .......... .......... 68% 93,0M 0s 150K .......... .......... .......... .......... .......... 91% 5,14M 0s 200K .......... ........ 100% 117M=0,03s 2025-07-18 13:59:06 (7,12 MB/s) - «/tmp/78d8d66af19c1ca3447a1dd15e2f82ba.jpg» enregistré [223644/223644] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5225212760616309085asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5225212760616309085asTemporaryFile : 1054486 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c.jpg -O /tmp/6f2508a33ccbd7d8b6698fb34a49942c.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c-small.jpg type_mfp mfpopt2025 size_object of file /tmp/6f2508a33ccbd7d8b6698fb34a49942c-big.jpg : 64334 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6f2508a33ccbd7d8b6698fb34a49942c-medium.jpg : 14913 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6f2508a33ccbd7d8b6698fb34a49942c-small.jpg : 3973 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.185130 Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 4268 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 4194 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 4268 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 4194 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c.jpg", "TemporaryFile(/tmp/multipartBody5225212760616309085asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c-big.jpg", "TemporaryFile(/tmp/multipartBody5225212760616309085asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c-medium.jpg", "TemporaryFile(/tmp/multipartBody5225212760616309085asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6f2508a33ccbd7d8b6698fb34a49942c-small.jpg", "TemporaryFile(/tmp/multipartBody5225212760616309085asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 4268 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 4194 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519054 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519054" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(24230041) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631874, 1372631877, 1372631881, 1372631883, 1372631885) 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (24230041, 1372631883,1372631883, "1" ,0,979, NOW()), (24230041, 1372631877,1372631877, "1" ,0,979, NOW()), (24230041, 1372631885,1372631885, "1" ,0,979, NOW()), (24230041, 1372631881,1372631881, "1" ,0,979, NOW()), (24230041, 1372631874,1372631874, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 4268 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 4194 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 135After insertPortfolioPhotoId , duration 22 : 328 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody642273715662363161asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody642273715662363161asTemporaryFile : 242291 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af.jpg -O /tmp/50aba132a015a690cf36cdd9be3f30af.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af-small.jpg type_mfp mfpopt2025 size_object of file /tmp/50aba132a015a690cf36cdd9be3f30af-big.jpg : 101570 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/50aba132a015a690cf36cdd9be3f30af-medium.jpg : 23871 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/50aba132a015a690cf36cdd9be3f30af-small.jpg : 6539 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.521905 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3626 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3574 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3626 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3574 Before insertPortfolioPhotoId , duration 24 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af.jpg", "TemporaryFile(/tmp/multipartBody642273715662363161asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af-big.jpg", "TemporaryFile(/tmp/multipartBody642273715662363161asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af-medium.jpg", "TemporaryFile(/tmp/multipartBody642273715662363161asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/50aba132a015a690cf36cdd9be3f30af-small.jpg", "TemporaryFile(/tmp/multipartBody642273715662363161asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3626 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3574 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519055 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519055" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6027375643126618958asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6027375643126618958asTemporaryFile : 223644 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba.jpg -O /tmp/78d8d66af19c1ca3447a1dd15e2f82ba.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba-small.jpg type_mfp mfpopt2025 size_object of file /tmp/78d8d66af19c1ca3447a1dd15e2f82ba-big.jpg : 52368 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/78d8d66af19c1ca3447a1dd15e2f82ba-medium.jpg : 14326 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/78d8d66af19c1ca3447a1dd15e2f82ba-small.jpg : 4398 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.629067 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba.jpg", "TemporaryFile(/tmp/multipartBody6027375643126618958asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') mtr_portfolio_id : Some(25057218) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba-big.jpg", "TemporaryFile(/tmp/multipartBody6027375643126618958asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631871, 1372631876, 1372631879, 1372631882, 1372631884, 1372631886) 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba-medium.jpg", "TemporaryFile(/tmp/multipartBody6027375643126618958asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/78d8d66af19c1ca3447a1dd15e2f82ba-small.jpg", "TemporaryFile(/tmp/multipartBody6027375643126618958asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 latitude : 0.0 longitude : 0.0 0 0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519056 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519056" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631882,1372631882, "1" ,0,991, NOW()), (25057218, 1372631879,1372631879, "1" ,0,991, NOW()), (25057218, 1372631876,1372631876, "1" ,0,991, NOW()), (25057218, 1372631884,1372631884, "1" ,0,991, NOW()), (25057218, 1372631886,1372631886, "1" ,0,991, NOW()), (25057218, 1372631871,1372631871, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3604409429258525992asTemporaryFile -n 63cd485b88c8578d337bb1e9f75a16c1 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_35_9795.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3604409429258525992asTemporaryFile -n 63cd485b88c8578d337bb1e9f75a16c1 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3626 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3574 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 138After insertPortfolioPhotoId , duration 26 : 360 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 4011After insertPortfolioPhotoId , duration 2 : 73 About to finish After with svm , duration 3 : 3021 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : false is_live : false false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3239071 --2025-07-18 13:59:10-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223635 (218K) [image/jpeg] Enregistre : «/tmp/63cd485b88c8578d337bb1e9f75a16c1.jpg» 0K .......... .......... .......... .......... .......... 22% 2,43M 0s 50K .......... .......... .......... .......... .......... 45% 4,94M 0s 100K .......... .......... .......... .......... .......... 68% 104M 0s 150K .......... .......... .......... .......... .......... 91% 127M 0s 200K .......... ........ 100% 2,13M=0,04s 2025-07-18 13:59:10 (5,44 MB/s) - «/tmp/63cd485b88c8578d337bb1e9f75a16c1.jpg» enregistré [223635/223635] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 49 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4020 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 139 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 4670 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 136 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 4443 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 133 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 4268 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 100.After photo_uploader , duration 19 : 4194 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 135After insertPortfolioPhotoId , duration 22 : 328 About to finish After with svm , duration 23 : 2956 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3189040 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4550 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 136 Before photo_uploader , duration 6 : 104.After photo_uploader , duration 7 : 3965 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 137 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 4178 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 4032 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 3626 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 142 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3574 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 138After insertPortfolioPhotoId , duration 26 : 360 About to finish After with svm , duration 27 : 3092 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3604409429258525992asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3604409429258525992asTemporaryFile : 223635 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1.jpg -O /tmp/63cd485b88c8578d337bb1e9f75a16c1.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1-small.jpg type_mfp mfpopt2025 size_object of file /tmp/63cd485b88c8578d337bb1e9f75a16c1-big.jpg : 52416 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/63cd485b88c8578d337bb1e9f75a16c1-medium.jpg : 14338 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/63cd485b88c8578d337bb1e9f75a16c1-small.jpg : 4408 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.579956 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1.jpg", "TemporaryFile(/tmp/multipartBody3604409429258525992asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1-big.jpg", "TemporaryFile(/tmp/multipartBody3604409429258525992asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1-medium.jpg", "TemporaryFile(/tmp/multipartBody3604409429258525992asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/63cd485b88c8578d337bb1e9f75a16c1-small.jpg", "TemporaryFile(/tmp/multipartBody3604409429258525992asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519057 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519057" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5760230074988793810asTemporaryFile -n 51d339ace232b5dc5dd28d01fa23a976 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_25_9793.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5760230074988793810asTemporaryFile -n 51d339ace232b5dc5dd28d01fa23a976 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3239071 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3239071 [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.flushPendingEncryptedWrites(SslHandler.java:1108) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1047) ~[io.netty.netty-3.7.1.Final.jar:na] --2025-07-18 13:59:14-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223645 (218K) [image/jpeg] Enregistre : «/tmp/51d339ace232b5dc5dd28d01fa23a976.jpg» 0K .......... .......... .......... .......... .......... 22% 4,44M 0s 50K .......... .......... .......... .......... .......... 45% 5,43M 0s 100K .......... .......... .......... .......... .......... 68% 47,0M 0s 150K .......... .......... .......... .......... .......... 91% 5,48M 0s 200K .......... ........ 100% 239M=0,03s 2025-07-18 13:59:14 (7,11 MB/s) - «/tmp/51d339ace232b5dc5dd28d01fa23a976.jpg» enregistré [223645/223645] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3189040 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3189040 [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:434) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:129) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.flushPendingEncryptedWrites(SslHandler.java:1108) ~[io.netty.netty-3.7.1.Final.jar:na] at org.jboss.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1047) ~[io.netty.netty-3.7.1.Final.jar:na] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5760230074988793810asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5760230074988793810asTemporaryFile : 223645 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976.jpg -O /tmp/51d339ace232b5dc5dd28d01fa23a976.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976-small.jpg type_mfp mfpopt2025 size_object of file /tmp/51d339ace232b5dc5dd28d01fa23a976-big.jpg : 52472 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/51d339ace232b5dc5dd28d01fa23a976-medium.jpg : 14365 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/51d339ace232b5dc5dd28d01fa23a976-small.jpg : 4419 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.995831 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976.jpg", "TemporaryFile(/tmp/multipartBody5760230074988793810asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976-big.jpg", "TemporaryFile(/tmp/multipartBody5760230074988793810asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976-medium.jpg", "TemporaryFile(/tmp/multipartBody5760230074988793810asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/51d339ace232b5dc5dd28d01fa23a976-small.jpg", "TemporaryFile(/tmp/multipartBody5760230074988793810asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519058 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519058" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3026983590842639189asTemporaryFile -n a5d86d97c26a27443526491358157978 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_15_9803.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3026983590842639189asTemporaryFile -n a5d86d97c26a27443526491358157978 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:59:18-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223736 (218K) [image/jpeg] Enregistre : «/tmp/a5d86d97c26a27443526491358157978.jpg» 0K .......... .......... .......... .......... .......... 22% 2,51M 0s 50K .......... .......... .......... .......... .......... 45% 4,90M 0s 100K .......... .......... .......... .......... .......... 68% 48,7M 0s 150K .......... .......... .......... .......... .......... 91% 115M 0s 200K .......... ........ 100% 2,07M=0,04s 2025-07-18 13:59:18 (5,39 MB/s) - «/tmp/a5d86d97c26a27443526491358157978.jpg» enregistré [223736/223736] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3026983590842639189asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3026983590842639189asTemporaryFile : 223736 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978.jpg -O /tmp/a5d86d97c26a27443526491358157978.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978-small.jpg type_mfp mfpopt2025 size_object of file /tmp/a5d86d97c26a27443526491358157978-big.jpg : 52407 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a5d86d97c26a27443526491358157978-medium.jpg : 14328 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a5d86d97c26a27443526491358157978-small.jpg : 4406 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.514916 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978.jpg", "TemporaryFile(/tmp/multipartBody3026983590842639189asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978-big.jpg", "TemporaryFile(/tmp/multipartBody3026983590842639189asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978-medium.jpg", "TemporaryFile(/tmp/multipartBody3026983590842639189asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a5d86d97c26a27443526491358157978-small.jpg", "TemporaryFile(/tmp/multipartBody3026983590842639189asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519059 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519059" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7662986648089816110asTemporaryFile -n 9dba9e09fb473787026526a59205ec78 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_57_05_10813.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7662986648089816110asTemporaryFile -n 9dba9e09fb473787026526a59205ec78 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:59:22-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223580 (218K) [image/jpeg] Enregistre : «/tmp/9dba9e09fb473787026526a59205ec78.jpg» 0K .......... .......... .......... .......... .......... 22% 2,39M 0s 50K .......... .......... .......... .......... .......... 45% 5,38M 0s 100K .......... .......... .......... .......... .......... 68% 37,4M 0s 150K .......... .......... .......... .......... .......... 91% 5,62M 0s 200K .......... ........ 100% 124M=0,04s 2025-07-18 13:59:22 (5,38 MB/s) - «/tmp/9dba9e09fb473787026526a59205ec78.jpg» enregistré [223580/223580] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7662986648089816110asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7662986648089816110asTemporaryFile : 223580 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78.jpg -O /tmp/9dba9e09fb473787026526a59205ec78.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78-small.jpg type_mfp mfpopt2025 size_object of file /tmp/9dba9e09fb473787026526a59205ec78-big.jpg : 52445 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9dba9e09fb473787026526a59205ec78-medium.jpg : 14367 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/9dba9e09fb473787026526a59205ec78-small.jpg : 4413 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.969832 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 4035 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 4035 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78.jpg", "TemporaryFile(/tmp/multipartBody7662986648089816110asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78-big.jpg", "TemporaryFile(/tmp/multipartBody7662986648089816110asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78-medium.jpg", "TemporaryFile(/tmp/multipartBody7662986648089816110asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/9dba9e09fb473787026526a59205ec78-small.jpg", "TemporaryFile(/tmp/multipartBody7662986648089816110asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 4035 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519060 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519060" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6995931047202988181asTemporaryFile -n f8f62f84b2ce538ab61daf6ff3fc9706 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_13_56_54_9793.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6995931047202988181asTemporaryFile -n f8f62f84b2ce538ab61daf6ff3fc9706 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 13:59:26-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 223150 (218K) [image/jpeg] Enregistre : «/tmp/f8f62f84b2ce538ab61daf6ff3fc9706.jpg» 0K .......... .......... .......... .......... .......... 22% 4,75M 0s 50K .......... .......... .......... .......... .......... 45% 4,97M 0s 100K .......... .......... .......... .......... .......... 68% 107M 0s 150K .......... .......... .......... .......... .......... 91% 118M 0s 200K .......... ....... 100% 1,91M=0,03s 2025-07-18 13:59:26 (7,06 MB/s) - «/tmp/f8f62f84b2ce538ab61daf6ff3fc9706.jpg» enregistré [223150/223150] getSimpleUser in getUserObj false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050172) AND mtd_id=3142 AND mtr_user_id=983 List(25050172) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() WHERE mtr_portfolio_id in (25050172) AND mtd_id=3142 AND mtr_user_id=983 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050172) AND mtd_id=3142 AND mtr_user_id=983 [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 [error] application - ! @8a649e6mi - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] getSimpleUser in getUserObj getSimpleUser in getUserObj getSimpleUser in getUserObj getSimpleUser in getUserObj false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25057218) AND mtd_id=4311 AND mtr_user_id=991 false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 List(25057218) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() WHERE mtr_portfolio_id in (25057218) AND mtd_id=4311 AND mtr_user_id=991 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25057218) AND mtd_id=4311 AND mtr_user_id=991 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 getSimpleUser in getUserObj false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050173) AND mtd_id=0 AND mtr_user_id=1042 List(25050173) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() WHERE mtr_portfolio_id in (25050173) AND mtd_id=0 AND mtr_user_id=1042 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050173) AND mtd_id=0 AND mtr_user_id=1042 token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_59_54_10137.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5baebb7b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_59_44_10136.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@60e0ed18 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_59_34_10136.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3fb14a86 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_59_24_9129.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@10ac98a4 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_59_14_10993.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3e779ca9 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_58_45_10133.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@59183e52 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050138) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050138) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] list_hashtags : List([nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1103649996374374394asTemporaryFile -n fb959812f0b45f4367940f9d06ee5767 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_59_54_10137.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1103649996374374394asTemporaryFile -n fb959812f0b45f4367940f9d06ee5767 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_42_25_39658.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6ade0d17 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_43_06_40708.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@70ad1d55 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_43_45_39601.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@64934de5 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_44_26_40590.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3a6b5826 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_45_06_39636.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@20474cc9 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_45_45_39595.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3898ba21 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4134487914638735319asTemporaryFile -n 7483389f3c94317f9d3b67a3ce56430b --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_42_25_39658.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4134487914638735319asTemporaryFile -n 7483389f3c94317f9d3b67a3ce56430b --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:06-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 273367 (267K) [image/jpeg] Enregistre : «/tmp/fb959812f0b45f4367940f9d06ee5767.jpg» 0K .......... .......... .......... ........--2025-07-18 14:00:06-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… .. .......... 18% 2,49M 0s 50K .......... ..........54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… .......... .......... .......... 37% 4,94M 0s 100K .......... .......... .......... .......... .......... 56% 82,2M 0s 150K .......... .......... .......... .......... ........connecté. .. 74% 5,22M 0s 200K .......... .......... .......... .......... .......... 93% 102M 0s 250K .......... ...... 100% 136M=0,04s 2025-07-18 14:00:06 (6,50 MB/s) - «/tmp/fb959812f0b45f4367940f9d06ee5767.jpg» enregistré [273367/273367] requête HTTP transmise, en attente de la réponse… 200 OK Taille : 227561 (222K) [image/jpeg] Enregistre : «/tmp/7483389f3c94317f9d3b67a3ce56430b.jpg» 0K .......... .......... .......... .......... .......... 22% 2,42M 0s 50K .......... .......... .......... .......... .......... 44% 4,66M 0s 100K .......... .......... .......... .......... .......... 67% 32,4M 0s 150K .......... .......... .......... .......... .......... 89% 5,88M 0s 200K .......... .......... .. 100% 108M=0,04s 2025-07-18 14:00:06 (5,33 MB/s) - «/tmp/7483389f3c94317f9d3b67a3ce56430b.jpg» enregistré [227561/227561] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 [error] application - ! @8a649eea8 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51740 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1103649996374374394asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1103649996374374394asTemporaryFile : 273367 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767.jpg -O /tmp/fb959812f0b45f4367940f9d06ee5767.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767-small.jpg type_mfp mfpopt2025 size_object of file /tmp/fb959812f0b45f4367940f9d06ee5767-big.jpg : 69501 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/fb959812f0b45f4367940f9d06ee5767-medium.jpg : 20036 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/fb959812f0b45f4367940f9d06ee5767-small.jpg : 6262 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.703272 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767.jpg", "TemporaryFile(/tmp/multipartBody1103649996374374394asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767-big.jpg", "TemporaryFile(/tmp/multipartBody1103649996374374394asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767-medium.jpg", "TemporaryFile(/tmp/multipartBody1103649996374374394asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/fb959812f0b45f4367940f9d06ee5767-small.jpg", "TemporaryFile(/tmp/multipartBody1103649996374374394asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 latitude : 0.0 longitude : 0.0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [info] a.models.Photo - source_id_submit_photo from insertion : 379519061 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519061" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody707694096411862024asTemporaryFile -n aa5cd4610bbb973bedb935f76c632f96 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_59_44_10136.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody707694096411862024asTemporaryFile -n aa5cd4610bbb973bedb935f76c632f96 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4134487914638735319asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4134487914638735319asTemporaryFile : 227561 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b.jpg -O /tmp/7483389f3c94317f9d3b67a3ce56430b.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b-small.jpg type_mfp mfpopt2025 size_object of file /tmp/7483389f3c94317f9d3b67a3ce56430b-big.jpg : 97930 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7483389f3c94317f9d3b67a3ce56430b-medium.jpg : 23232 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/7483389f3c94317f9d3b67a3ce56430b-small.jpg : 6426 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.852841 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b.jpg", "TemporaryFile(/tmp/multipartBody4134487914638735319asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b-big.jpg", "TemporaryFile(/tmp/multipartBody4134487914638735319asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b-medium.jpg", "TemporaryFile(/tmp/multipartBody4134487914638735319asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/7483389f3c94317f9d3b67a3ce56430b-small.jpg", "TemporaryFile(/tmp/multipartBody4134487914638735319asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519062 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519062" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3943623101441930817asTemporaryFile -n e11cf634ea09e2946f51d47242398469 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_43_06_40708.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3943623101441930817asTemporaryFile -n e11cf634ea09e2946f51d47242398469 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 [error] application - ! @8a649egnp - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51744 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 [error] application - ! @8a649ei24 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51747 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 [error] application - ! @8a649eic9 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51748 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] --2025-07-18 14:00:10-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96.jpg [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 [error] application - ! @8a649ein4 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51749 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 273109 (267K) [image/jpeg] Enregistre : «/tmp/aa5cd4610bbb973bedb935f76c632f96.jpg» 0K .......... .......... ........--2025-07-18 14:00:10-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… .. .......... .......... 18% 2,50M 0s 50K .......... .......... .....54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… ..... .......... .......... 37% 4,79M 0s 100K .......... .......... .......... .......... .......... 56% 116M 0s 150K .......... .......... ..........connecté. .......... .......... 74% 5,13M 0s 200K .......... .......... .......... .......... .......... 93% 131M 0s 250K .......... ...... 100% 140M=0,04s 2025-07-18 14:00:10 (6,49 MB/s) - «/tmp/aa5cd4610bbb973bedb935f76c632f96.jpg» enregistré [273109/273109] requête HTTP transmise, en attente de la réponse… 200 OK Taille : 233883 (228K) [image/jpeg] Enregistre : «/tmp/e11cf634ea09e2946f51d47242398469.jpg» 0K .......... .......... .......... .......... .......... 21% 2,46M 0s 50K .......... .......... .......... .......... .......... 43% 4,80M 0s 100K .......... .......... .......... .......... .......... 65% 133M 0s 150K .......... .......... .......... .......... .......... 87% 5,15M 0s 200K .......... .......... ........ 100% 113M=0,04s 2025-07-18 14:00:10 (5,56 MB/s) - «/tmp/e11cf634ea09e2946f51d47242398469.jpg» enregistré [233883/233883] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 [error] application - ! @8a649ej7l - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51750 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 [error] application - ! @8a649eji3 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51751 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 [error] application - ! @8a649ek0j - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51752 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 [error] application - ! @8a649el3f - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51776 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3943623101441930817asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3943623101441930817asTemporaryFile : 233883 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469.jpg -O /tmp/e11cf634ea09e2946f51d47242398469.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469-small.jpg type_mfp mfpopt2025 size_object of file /tmp/e11cf634ea09e2946f51d47242398469-big.jpg : 99191 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e11cf634ea09e2946f51d47242398469-medium.jpg : 23390 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e11cf634ea09e2946f51d47242398469-small.jpg : 6424 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.447479 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469.jpg", "TemporaryFile(/tmp/multipartBody3943623101441930817asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469-big.jpg", "TemporaryFile(/tmp/multipartBody3943623101441930817asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469-medium.jpg", "TemporaryFile(/tmp/multipartBody3943623101441930817asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody707694096411862024asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody707694096411862024asTemporaryFile : 273109 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96.jpg -O /tmp/aa5cd4610bbb973bedb935f76c632f96.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96-small.jpg type_mfp mfpopt2025 size_object of file /tmp/aa5cd4610bbb973bedb935f76c632f96-big.jpg : 69503 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/aa5cd4610bbb973bedb935f76c632f96-medium.jpg : 20031 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/aa5cd4610bbb973bedb935f76c632f96-small.jpg : 6264 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.825627 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96.jpg", "TemporaryFile(/tmp/multipartBody707694096411862024asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e11cf634ea09e2946f51d47242398469-small.jpg", "TemporaryFile(/tmp/multipartBody3943623101441930817asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96-big.jpg", "TemporaryFile(/tmp/multipartBody707694096411862024asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - source_id_submit_photo from insertion : 379519063 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519063" [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96-medium.jpg", "TemporaryFile(/tmp/multipartBody707694096411862024asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/aa5cd4610bbb973bedb935f76c632f96-small.jpg", "TemporaryFile(/tmp/multipartBody707694096411862024asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3531329495745514923asTemporaryFile -n 79f9d87992c76f49a08bddca30a38f33 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_43_45_39601.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3531329495745514923asTemporaryFile -n 79f9d87992c76f49a08bddca30a38f33 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519064 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519064" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2613138937805782330asTemporaryFile -n c1d94c9079cfae28d6610517985ebacb --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_59_34_10136.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2613138937805782330asTemporaryFile -n c1d94c9079cfae28d6610517985ebacb --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:13-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 239091 (233K) [image/jpeg] Enregistre : «/tmp/79f9d87992c76f49a08bddca30a38f33.jpg» 0K .......... .......... .......... .......... .......... 21% 4,74M 0s 50K .......... .......... .......... .......... .......... 42% 4,87M 0s 100K .......... .......... .......... .......... .......... 64% 95,8M 0s 150K .......... .......... .......... .......... .......... 85% 5,13M 0s 200K .......... .......... .......... ... 100% 123M=0,03s 2025-07-18 14:00:14 (7,44 MB/s) - «/tmp/79f9d87992c76f49a08bddca30a38f33.jpg» enregistré [239091/239091] --2025-07-18 14:00:14-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 255988 (250K) [image/jpeg] Enregistre : «/tmp/c1d94c9079cfae28d6610517985ebacb.jpg» 0K .......... .......... .......... .......... .......... 20% 4,81M 0s 50K .......... .......... .......... .......... .......... 40% 4,81M 0s 100K .......... .......... .......... .......... .......... 60% 60,8M 0s 150K .......... .......... .......... .......... .......... 80% 5,44M 0s 200K .......... .......... .......... .......... ......... 100% 108M=0,03s 2025-07-18 14:00:14 (8,00 MB/s) - «/tmp/c1d94c9079cfae28d6610517985ebacb.jpg» enregistré [255988/255988] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 [error] application - ! @8a649ep1o - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51779 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2613138937805782330asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2613138937805782330asTemporaryFile : 255988 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb.jpg -O /tmp/c1d94c9079cfae28d6610517985ebacb.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb-small.jpg type_mfp mfpopt2025 size_object of file /tmp/c1d94c9079cfae28d6610517985ebacb-big.jpg : 68394 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c1d94c9079cfae28d6610517985ebacb-medium.jpg : 20375 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/c1d94c9079cfae28d6610517985ebacb-small.jpg : 6538 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.636831 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb.jpg", "TemporaryFile(/tmp/multipartBody2613138937805782330asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3531329495745514923asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3531329495745514923asTemporaryFile : 239091 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33.jpg -O /tmp/79f9d87992c76f49a08bddca30a38f33.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33-small.jpg type_mfp mfpopt2025 size_object of file /tmp/79f9d87992c76f49a08bddca30a38f33-big.jpg : 100407 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/79f9d87992c76f49a08bddca30a38f33-medium.jpg : 23587 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/79f9d87992c76f49a08bddca30a38f33-small.jpg : 6478 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.804104 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb-big.jpg", "TemporaryFile(/tmp/multipartBody2613138937805782330asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33.jpg", "TemporaryFile(/tmp/multipartBody3531329495745514923asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb-medium.jpg", "TemporaryFile(/tmp/multipartBody2613138937805782330asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33-big.jpg", "TemporaryFile(/tmp/multipartBody3531329495745514923asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/c1d94c9079cfae28d6610517985ebacb-small.jpg", "TemporaryFile(/tmp/multipartBody2613138937805782330asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33-medium.jpg", "TemporaryFile(/tmp/multipartBody3531329495745514923asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/79f9d87992c76f49a08bddca30a38f33-small.jpg", "TemporaryFile(/tmp/multipartBody3531329495745514923asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519065 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519065" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519066 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519066" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7492612628572058300asTemporaryFile -n e9fba70685be7ffd535650359404f0bb --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_59_24_9129.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7492612628572058300asTemporaryFile -n e9fba70685be7ffd535650359404f0bb --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody27766780647260763asTemporaryFile -n d7bb53a0696a1f6cb9898c774cdac23b --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_44_26_40590.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody27766780647260763asTemporaryFile -n d7bb53a0696a1f6cb9898c774cdac23b --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 14:00:17-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… --2025-07-18 14:00:18-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 240111 (234K) [image/jpeg] Enregistre : «/tmp/d7bb53a0696a1f6cb9898c774cdac23b.jpg» 0K .......... .......... .......... .......... .......... 21% 2,43M 0s 50K .......... .......... .........200 OK Taille : 255843 (250K) [image/jpeg] Enregistre : «/tmp/e9fba70685be7ffd535650359404f0bb.jpg» 0K .......... .......... .......... .. .......... .......... 42% 4,88M 0s 100K .......... .......... .......... .......... .......... 63% 128M 0s 150K .......... .......... .............. .......... 20% 4,73M 0s 50K .......... .......... .............. .......... .......... 85% 5,03M 0s 200K .......... .......... .......... .... 100% 144M=0,04s 2025-07-18 14:00:18 (5,67 MB/s) - «/tmp/d7bb53a0696a1f6cb9898c774cdac23b.jpg» enregistré [240111/240111] . .......... .......... 40% 4,94M 0s 100K .......... .......... .......... .......... .......... 60% 132M 0s 150K .......... .......... .......... .......... .......... 80% 5,05M 0s 200K .......... .......... .......... .......... ......... 100% 126M=0,03s 2025-07-18 14:00:18 (7,97 MB/s) - «/tmp/e9fba70685be7ffd535650359404f0bb.jpg» enregistré [255843/255843] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7492612628572058300asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7492612628572058300asTemporaryFile : 255843 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb.jpg -O /tmp/e9fba70685be7ffd535650359404f0bb.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb-small.jpg type_mfp mfpopt2025 size_object of file /tmp/e9fba70685be7ffd535650359404f0bb-big.jpg : 68385 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e9fba70685be7ffd535650359404f0bb-medium.jpg : 20356 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e9fba70685be7ffd535650359404f0bb-small.jpg : 6534 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.554113 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb.jpg", "TemporaryFile(/tmp/multipartBody7492612628572058300asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb-big.jpg", "TemporaryFile(/tmp/multipartBody7492612628572058300asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody27766780647260763asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody27766780647260763asTemporaryFile : 240111 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b.jpg -O /tmp/d7bb53a0696a1f6cb9898c774cdac23b.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b-small.jpg type_mfp mfpopt2025 size_object of file /tmp/d7bb53a0696a1f6cb9898c774cdac23b-big.jpg : 100833 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d7bb53a0696a1f6cb9898c774cdac23b-medium.jpg : 23657 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/d7bb53a0696a1f6cb9898c774cdac23b-small.jpg : 6503 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.551875 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b.jpg", "TemporaryFile(/tmp/multipartBody27766780647260763asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb-medium.jpg", "TemporaryFile(/tmp/multipartBody7492612628572058300asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b-big.jpg", "TemporaryFile(/tmp/multipartBody27766780647260763asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e9fba70685be7ffd535650359404f0bb-small.jpg", "TemporaryFile(/tmp/multipartBody7492612628572058300asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b-medium.jpg", "TemporaryFile(/tmp/multipartBody27766780647260763asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 134 latitude : 0.0 longitude : 0.0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/d7bb53a0696a1f6cb9898c774cdac23b-small.jpg", "TemporaryFile(/tmp/multipartBody27766780647260763asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.models.Photo - source_id_submit_photo from insertion : 379519073 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519073" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519074 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519074" extension : jpg [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1719074322595675627asTemporaryFile -n 6e8d06222020b2bc0c89861a29333e37 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_59_14_10993.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1719074322595675627asTemporaryFile -n 6e8d06222020b2bc0c89861a29333e37 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4049255726405160763asTemporaryFile -n 4f820c6dd0548e8885d92e93edbaac70 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_45_06_39636.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody4049255726405160763asTemporaryFile -n 4f820c6dd0548e8885d92e93edbaac70 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:21-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 255648 (250K) [image/jpeg] Enregistre : «/tmp/6e8d06222020b2bc0c89861a29333e37.jpg» 0K .......... .......... .......... .......... .......... 20% 2,41M 0s 50K .......... .......... .......... .......... .......... 40% 5,40M 0s 100K .......... .......... .......... .......... .......... 60% 37,6M 0s 150K .......... .......... .......... .......... .......... 80% 5,63M 0s 200K .......... .......... .......... .......... ......... 100% 41,6M=0,04s 2025-07-18 14:00:21 (6,03 MB/s) - «/tmp/6e8d06222020b2bc0c89861a29333e37.jpg» enregistré [255648/255648] --2025-07-18 14:00:22-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 242429 (237K) [image/jpeg] Enregistre : «/tmp/4f820c6dd0548e8885d92e93edbaac70.jpg» 0K .......... .......... .......... .......... .......... 21% 2,46M 0s 50K .......... .......... .......... .......... .......... 42% 4,95M 0s 100K .......... .......... .......... .......... .......... 63% 94,2M 0s 150K .......... .......... .......... .......... .......... 84% 5,14M 0s 200K .......... .......... .......... ...... 100% 63,3M=0,04s 2025-07-18 14:00:22 (5,73 MB/s) - «/tmp/4f820c6dd0548e8885d92e93edbaac70.jpg» enregistré [242429/242429] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1719074322595675627asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1719074322595675627asTemporaryFile : 255648 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37.jpg -O /tmp/6e8d06222020b2bc0c89861a29333e37.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37-small.jpg type_mfp mfpopt2025 size_object of file /tmp/6e8d06222020b2bc0c89861a29333e37-big.jpg : 68415 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6e8d06222020b2bc0c89861a29333e37-medium.jpg : 20363 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/6e8d06222020b2bc0c89861a29333e37-small.jpg : 6543 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.436790 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3455 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3455 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37.jpg", "TemporaryFile(/tmp/multipartBody1719074322595675627asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37-big.jpg", "TemporaryFile(/tmp/multipartBody1719074322595675627asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37-medium.jpg", "TemporaryFile(/tmp/multipartBody1719074322595675627asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/6e8d06222020b2bc0c89861a29333e37-small.jpg", "TemporaryFile(/tmp/multipartBody1719074322595675627asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3455 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519075 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519075" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody848581748926223373asTemporaryFile -n ec0451a18e0b7883c9396ebb0e3fd845 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_13_58_45_10133.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody848581748926223373asTemporaryFile -n ec0451a18e0b7883c9396ebb0e3fd845 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody4049255726405160763asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody4049255726405160763asTemporaryFile : 242429 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70.jpg -O /tmp/4f820c6dd0548e8885d92e93edbaac70.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70-small.jpg type_mfp mfpopt2025 size_object of file /tmp/4f820c6dd0548e8885d92e93edbaac70-big.jpg : 101400 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/4f820c6dd0548e8885d92e93edbaac70-medium.jpg : 23801 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/4f820c6dd0548e8885d92e93edbaac70-small.jpg : 6534 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.851582 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3861 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3861 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70.jpg", "TemporaryFile(/tmp/multipartBody4049255726405160763asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70-big.jpg", "TemporaryFile(/tmp/multipartBody4049255726405160763asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70-medium.jpg", "TemporaryFile(/tmp/multipartBody4049255726405160763asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4f820c6dd0548e8885d92e93edbaac70-small.jpg", "TemporaryFile(/tmp/multipartBody4049255726405160763asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3861 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519076 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519076" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7862512673914172185asTemporaryFile -n 2a88d6532f30d690e24d9fda8de4ad04 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_45_45_39595.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7862512673914172185asTemporaryFile -n 2a88d6532f30d690e24d9fda8de4ad04 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 [error] application - ! @8a649femc - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51760 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 [error] application - ! @8a649ff51 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51761 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 [error] application - ! @8a649ffdh - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51762 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] --2025-07-18 14:00:25-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 215128 (210K) [image/jpeg] Enregistre : «/tmp/ec0451a18e0b7883c9396ebb0e3fd845.jpg» 0K .......... .......... .......... .......... .......... 23% 2,43M 0s 50K .......... .......... .......... .......... .......... 47% 4,86M 0s 100K .......... .......... .......... .......... .......... 71% 103M 0s 150K .......... .......... .......... .......... .......... 95% 5,20M 0s 200K .......... 100% 55,7M=0,04s 2025-07-18 14:00:25 (5,10 MB/s) - «/tmp/ec0451a18e0b7883c9396ebb0e3fd845.jpg» enregistré [215128/215128] --2025-07-18 14:00:26-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 242291 (237K) [image/jpeg] Enregistre : «/tmp/2a88d6532f30d690e24d9fda8de4ad04.jpg» 0K .......... .......... .......... .......... .......... 21% 2,88M 0s 50K .......... .......... .......... .......... .......... 42% 4,89M 0s 100K .......... .......... .......... .......... .......... 63% 129M 0s 150K .......... .......... .......... .......... .......... 84% 17,4M 0s 200K .......... .......... .......... ...... 100% 5,06M=0,04s 2025-07-18 14:00:26 (6,22 MB/s) - «/tmp/2a88d6532f30d690e24d9fda8de4ad04.jpg» enregistré [242291/242291] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody848581748926223373asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody848581748926223373asTemporaryFile : 215128 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845.jpg -O /tmp/ec0451a18e0b7883c9396ebb0e3fd845.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845-small.jpg type_mfp mfpopt2025 size_object of file /tmp/ec0451a18e0b7883c9396ebb0e3fd845-big.jpg : 56388 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ec0451a18e0b7883c9396ebb0e3fd845-medium.jpg : 17793 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/ec0451a18e0b7883c9396ebb0e3fd845-small.jpg : 6023 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.992879 Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3455 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4013 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3455 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4013 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845.jpg", "TemporaryFile(/tmp/multipartBody848581748926223373asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845-big.jpg", "TemporaryFile(/tmp/multipartBody848581748926223373asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845-medium.jpg", "TemporaryFile(/tmp/multipartBody848581748926223373asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/ec0451a18e0b7883c9396ebb0e3fd845-small.jpg", "TemporaryFile(/tmp/multipartBody848581748926223373asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3455 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4013 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519077 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519077" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) mtr_portfolio_id : Some(25050138) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631892, 1372631895, 1372631896, 1372631904, 1372631906, 1372631908) 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7862512673914172185asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7862512673914172185asTemporaryFile : 242291 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04.jpg -O /tmp/2a88d6532f30d690e24d9fda8de4ad04.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04-small.jpg type_mfp mfpopt2025 size_object of file /tmp/2a88d6532f30d690e24d9fda8de4ad04-big.jpg : 101570 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2a88d6532f30d690e24d9fda8de4ad04-medium.jpg : 23871 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/2a88d6532f30d690e24d9fda8de4ad04-small.jpg : 6539 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.815587 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3861 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3867 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3861 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3867 Before insertPortfolioPhotoId , duration 24 : 1 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04.jpg", "TemporaryFile(/tmp/multipartBody7862512673914172185asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04-big.jpg", "TemporaryFile(/tmp/multipartBody7862512673914172185asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04-medium.jpg", "TemporaryFile(/tmp/multipartBody7862512673914172185asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050138, 1372631904,1372631904, "1" ,0,979, NOW()), (25050138, 1372631906,1372631906, "1" ,0,979, NOW()), (25050138, 1372631896,1372631896, "1" ,0,979, NOW()), (25050138, 1372631908,1372631908, "1" ,0,979, NOW()), (25050138, 1372631892,1372631892, "1" ,0,979, NOW()), (25050138, 1372631895,1372631895, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/2a88d6532f30d690e24d9fda8de4ad04-small.jpg", "TemporaryFile(/tmp/multipartBody7862512673914172185asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3861 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3867 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 134 latitude : 0.0 longitude : 0.0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [info] a.models.Photo - source_id_submit_photo from insertion : 379519081 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519081" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3455 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4013 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137After insertPortfolioPhotoId , duration 26 : 383 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; mtr_portfolio_id : Some(25057218) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631893, 1372631894, 1372631897, 1372631905, 1372631907, 1372631913) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631913,1372631913, "1" ,0,991, NOW()), (25057218, 1372631907,1372631907, "1" ,0,991, NOW()), (25057218, 1372631897,1372631897, "1" ,0,991, NOW()), (25057218, 1372631894,1372631894, "1" ,0,991, NOW()), (25057218, 1372631893,1372631893, "1" ,0,991, NOW()), (25057218, 1372631905,1372631905, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3861 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3867 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 357 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 44 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3755 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 140 Before photo_uploader , duration 6 : 98.After photo_uploader , duration 7 : 3878 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 133 Before photo_uploader , duration 10 : 91.After photo_uploader , duration 11 : 3714 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 142 Before photo_uploader , duration 14 : 100.After photo_uploader , duration 15 : 3583 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 95.After photo_uploader , duration 19 : 3455 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 139 Before photo_uploader , duration 22 : 95.After photo_uploader , duration 23 : 4013 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 137After insertPortfolioPhotoId , duration 26 : 383 About to finish After with svm , duration 27 : 2969 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3868 Before insertPortfolioPhotoId , duration 4 : 1.After insertPortfolioPhotoId , duration 5 : 135 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 3496 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 96.After photo_uploader , duration 11 : 3840 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 150 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3599 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 133 Before photo_uploader , duration 18 : 94.After photo_uploader , duration 19 : 3861 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 137 Before photo_uploader , duration 22 : 94.After photo_uploader , duration 23 : 3867 Before insertPortfolioPhotoId , duration 24 : 1.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 357 About to finish After with svm , duration 27 : 2740 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 token_used : Some(85213b338a7900a79945692114f14db2) mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_21062025_12_46_07_9234.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5acc2f54 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_21062025_12_45_57_10213.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@276f2910 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_21062025_12_45_37_10191.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@424b0135 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_21062025_12_45_27_10237.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@620ff40d basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_21062025_12_45_07_10450.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5902c197 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_21062025_12_44_47_10177.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@77b540e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(24230041) [info] a.c.Photo - given_mtr_portfolio_id : Some(24230041) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3587208352349990463asTemporaryFile -n 14527d61b1e01dd031ed57e3ac44eb71 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_46_07_9234.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3587208352349990463asTemporaryFile -n 14527d61b1e01dd031ed57e3ac44eb71 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:34-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1064574 (1,0M) [image/jpeg] Enregistre : «/tmp/14527d61b1e01dd031ed57e3ac44eb71.jpg» 0K .......... .......... .......... .......... .......... 4% 4,79M 0s 50K .......... .......... .......... .......... .......... 9% 4,78M 0s 100K .......... .......... .......... .......... .......... 14% 111M 0s 150K .......... .......... .......... .......... .......... 19% 5,17M 0s 200K .......... .......... .......... .......... .......... 24% 86,4M 0s 250K .......... .......... .......... .......... .......... 28% 97,1M 0s 300K .......... .......... .......... .......... .......... 33% 96,6M 0s 350K .......... .......... .......... .......... .......... 38% 5,73M 0s 400K .......... .......... .......... .......... .......... 43% 83,4M 0s 450K .......... .......... .......... .......... .......... 48% 98,5M 0s 500K .......... .......... .......... .......... .......... 52% 80,9M 0s 550K .......... .......... .......... .......... .......... 57% 94,1M 0s 600K .......... .......... .......... .......... .......... 62% 90,3M 0s 650K .......... .......... .......... .......... .......... 67% 110M 0s 700K .......... .......... .......... .......... .......... 72% 97,7M 0s 750K .......... .......... .......... .......... .......... 76% 7,82M 0s 800K .......... .......... .......... .......... .......... 81% 91,4M 0s 850K .......... .......... .......... .......... .......... 86% 110M 0s 900K .......... .......... .......... .......... .......... 91% 132M 0s 950K .......... .......... .....Count : 0 ..... .INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 ......... .......... 96% 119M 0s 1000K .......... .......... .......... ......... 100% 166M=0,05s 2025-07-18 14:00:34 (19,4 MB/s) - «/tmp/14527d61b1e01dd031ed57e3ac44eb71.jpg» enregistré [1064574/1064574] Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3587208352349990463asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3587208352349990463asTemporaryFile : 1064574 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71.jpg -O /tmp/14527d61b1e01dd031ed57e3ac44eb71.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71-small.jpg type_mfp mfpopt2025 size_object of file /tmp/14527d61b1e01dd031ed57e3ac44eb71-big.jpg : 64540 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/14527d61b1e01dd031ed57e3ac44eb71-medium.jpg : 14926 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/14527d61b1e01dd031ed57e3ac44eb71-small.jpg : 3996 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.195513 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71.jpg", "TemporaryFile(/tmp/multipartBody3587208352349990463asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71-big.jpg", "TemporaryFile(/tmp/multipartBody3587208352349990463asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71-medium.jpg", "TemporaryFile(/tmp/multipartBody3587208352349990463asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/14527d61b1e01dd031ed57e3ac44eb71-small.jpg", "TemporaryFile(/tmp/multipartBody3587208352349990463asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519085 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519085" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8298608666913578221asTemporaryFile -n 41488b74318d7c23a5ecaee8839da05d --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_57_10213.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8298608666913578221asTemporaryFile -n 41488b74318d7c23a5ecaee8839da05d --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:38-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1063875 (1,0M) [image/jpeg] Enregistre : «/tmp/41488b74318d7c23a5ecaee8839da05d.jpg» 0K .......... .......... .......... .......... .......... 4% 2,45M 0s 50K .......... .......... .......... .......... .......... 9% 4,89M 0s 100K .......... .......... .......... .......... .......... 14% 117M 0s 150K .......... .......... .......... .......... .......... 19% 5,07M 0s 200K .......... .......... .......... .......... .......... 24% 130M 0s 250K .......... .......... .......... .......... .......... 28% 113M 0s 300K .......... .......... .......... .......... .......... 33% 126M 0s 350K .......... .......... .......... .......... .......... 38% 5,60M 0s 400K .......... .......... .......... .......... .......... 43% 119M 0s 450K .......... .......... .......... .......... .......... 48% 110M 0s 500K .......... .......... .......... .......... .......... 52% 93,1M 0s 550K .......... .......... .......... .......... .......... 57% 129M 0s 600K .......... .......... .......... .......... .......... 62% 105M 0s 650K .......... .......... .......... .......... .......... 67% 127M 0s 700K .......... .......... .......... .......... .......... 72% 99,8M 0s 750K .......... .......... .......... .......... .......... 77% 7,12M 0s 800K .......... .......... .......... .......... .......... 81% 127M 0s 850K .......... .......... .......... .......... .......... 86% 115M 0s 900K .......... .......... .......... .......... .......... 91% 146M 0s 950K .......... .......... .......... .......... .......... 96% 94,3M 0s 1000K .......... .......... .......... ........ 100% 203M=0,06s 2025-07-18 14:00:39 (16,4 MB/s) - «/tmp/41488b74318d7c23a5ecaee8839da05d.jpg» enregistré [1063875/1063875] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8298608666913578221asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8298608666913578221asTemporaryFile : 1063875 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d.jpg -O /tmp/41488b74318d7c23a5ecaee8839da05d.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d-small.jpg type_mfp mfpopt2025 size_object of file /tmp/41488b74318d7c23a5ecaee8839da05d-big.jpg : 64517 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/41488b74318d7c23a5ecaee8839da05d-medium.jpg : 14924 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/41488b74318d7c23a5ecaee8839da05d-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.114632 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d.jpg", "TemporaryFile(/tmp/multipartBody8298608666913578221asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d-big.jpg", "TemporaryFile(/tmp/multipartBody8298608666913578221asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d-medium.jpg", "TemporaryFile(/tmp/multipartBody8298608666913578221asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/41488b74318d7c23a5ecaee8839da05d-small.jpg", "TemporaryFile(/tmp/multipartBody8298608666913578221asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519086 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519086" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8806512695399498048asTemporaryFile -n dd8a12b3c7c77ad267ea45e2f95d73bd --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_37_10191.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8806512695399498048asTemporaryFile -n dd8a12b3c7c77ad267ea45e2f95d73bd --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:43-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1057682 (1,0M) [image/jpeg] Enregistre : «/tmp/dd8a12b3c7c77ad267ea45e2f95d73bd.jpg» 0K .......... .......... .......... .......... .......... 4% 2,44M 0s 50K .......... .......... .......... .......... .......... 9% 4,87M 0s 100K .......... .......... .......... .......... .......... 14% 125M 0s 150K .......... .......... .......... .......... .......... 19% 5,10M 0s 200K .......... .......... .......... .......... .......... 24% 101M 0s 250K .......... .......... .......... .......... .......... 29% 112M 0s 300K .......... .......... .......... .......... .......... 33% 89,8M 0s 350K .......... .......... .......... .......... .......... 38% 88,2M 0s 400K .......... .......... .......... .......... .......... 43% 5,89M 0s 450K .......... .......... .......... .......... .......... 48% 112M 0s 500K .......... .......... .......... .......... .......... 53% 103M 0s 550K .......... .......... .......... .......... .......... 58% 99,8M 0s 600K .......... .......... .......... .......... .......... 62% 96,9M 0s 650K .......... .......... .......... .......... .......... 67% 114M 0s 700K .......... .......... .......... .......... .......... 72% 88,5M 0s 750K .......... .......... .......... .......... .......... 77% 94,2M 0s 800K .......... .......... .......... .......... .......... 82% 7,77M 0s 850K .......... .......... .......... .......... .......... 87% 108M 0s 900K .......... .......... .......... .......... .......... 91% 104M 0s 950K .......... .......... .......... .......... .......... 96% 94,9M 0s 1000K .......... .......... .......... .. 100% 159M=0,06s 2025-07-18 14:00:43 (16,4 MB/s) - «/tmp/dd8a12b3c7c77ad267ea45e2f95d73bd.jpg» enregistré [1057682/1057682] token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_46_26_40602.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@365430b8 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_47_05_39567.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3090b093 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_47_46_40600.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3bc1d44e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_48_26_39725.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3d83c99b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_49_05_39573.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2a45ef63 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_49_46_40641.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1f64d690 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7055491332733746737asTemporaryFile -n 02f6e07ba0a8eb6a3cfe857e6bc8285a --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_46_26_40602.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7055491332733746737asTemporaryFile -n 02f6e07ba0a8eb6a3cfe857e6bc8285a --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:44-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 240853 (235K) [image/jpeg] Enregistre : «/tmp/02f6e07ba0a8eb6a3cfe857e6bc8285a.jpg» 0K .......... .......... .......... .......... .......... 21% 4,75M 0s 50K .......... .......... .......... .......... .......... 42% 4,89M 0s 100K .......... .......... .......... .......... .......... 63% 125M 0s 150K .......... .......... .......... .......... .......... 85% 5,16M 0s 200K .......... .......... .......... ..... 100% 144M=0,03s 2025-07-18 14:00:44 (7,57 MB/s) - «/tmp/02f6e07ba0a8eb6a3cfe857e6bc8285a.jpg» enregistré [240853/240853] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8806512695399498048asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8806512695399498048asTemporaryFile : 1057682 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd.jpg -O /tmp/dd8a12b3c7c77ad267ea45e2f95d73bd.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd-small.jpg type_mfp mfpopt2025 size_object of file /tmp/dd8a12b3c7c77ad267ea45e2f95d73bd-big.jpg : 64390 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/dd8a12b3c7c77ad267ea45e2f95d73bd-medium.jpg : 14889 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/dd8a12b3c7c77ad267ea45e2f95d73bd-small.jpg : 3985 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.859647 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd.jpg", "TemporaryFile(/tmp/multipartBody8806512695399498048asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd-big.jpg", "TemporaryFile(/tmp/multipartBody8806512695399498048asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd-medium.jpg", "TemporaryFile(/tmp/multipartBody8806512695399498048asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/dd8a12b3c7c77ad267ea45e2f95d73bd-small.jpg", "TemporaryFile(/tmp/multipartBody8806512695399498048asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519087 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519087" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7457387903305074262asTemporaryFile -n 592adbcb07e6ebb209fb9e4ed06546b5 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_27_10237.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody7457387903305074262asTemporaryFile -n 592adbcb07e6ebb209fb9e4ed06546b5 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7055491332733746737asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7055491332733746737asTemporaryFile : 240853 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a.jpg -O /tmp/02f6e07ba0a8eb6a3cfe857e6bc8285a.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a-small.jpg type_mfp mfpopt2025 size_object of file /tmp/02f6e07ba0a8eb6a3cfe857e6bc8285a-big.jpg : 101288 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/02f6e07ba0a8eb6a3cfe857e6bc8285a-medium.jpg : 23745 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/02f6e07ba0a8eb6a3cfe857e6bc8285a-small.jpg : 6533 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.467768 Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a.jpg", "TemporaryFile(/tmp/multipartBody7055491332733746737asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a-big.jpg", "TemporaryFile(/tmp/multipartBody7055491332733746737asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a-medium.jpg", "TemporaryFile(/tmp/multipartBody7055491332733746737asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/02f6e07ba0a8eb6a3cfe857e6bc8285a-small.jpg", "TemporaryFile(/tmp/multipartBody7055491332733746737asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519088 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519088" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2226112323932037546asTemporaryFile -n e5ae4229ddaea8f777af66763093b045 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_47_05_39567.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2226112323932037546asTemporaryFile -n e5ae4229ddaea8f777af66763093b045 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:47-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1057034 (1,0M) [image/jpeg] Enregistre : «/tmp/592adbcb07e6ebb209fb9e4ed06546b5.jpg» 0K .......... .......... .......... .......... .......... 4% 4,83M 0s 50K .......... .......... .......... .......... .......... 9% 4,88M 0s 100K .......... .......... .......... .......... .......... 14% 94,3M 0s 150K .......... .......... .......... .......... .......... 19% 5,13M 0s 200K .......... .......... .......... .......... .......... 24% 82,2M 0s 250K .......... .......... .......... .......... .......... 29% 66,9M 0s 300K .......... .......... .......... .......... .......... 33% 97,0M 0s 350K .......... .......... .......... .......... .......... 38% 6,02M 0s 400K .......... .......... .......... .......... .......... 43% 128M 0s 450K .......... .......... .......... .......... .......... 48% 92,3M 0s 500K .......... .......... .......... .......... .......... 53% 127M 0s 550K .......... .......... .......... .......... .......... 58% 122M 0s 600K .......... .......... .......... .......... .......... 62% 126M 0s 650K .......... .......... .......... .......... .......... 67% 97,8M 0s 700K .......... .......... .......... .......... .......... 72% 130M 0s 750K .......... .......... .......... .......... .......... 77% 6,93M 0s 800K .......... .......... .......... .......... .......... 82% 92,1M 0s 850K .......... .......... .......... .......... .......... 87% 127M 0s 900K .......... .......... .......... .......... .......... 92% 128M 0s 950K .......... .......... .......... .......... .......... 96% 118M 0s 1000K .......... .......... .......... .. 100% 124M=0,05s 2025-07-18 14:00:47 (19,4 MB/s) - «/tmp/592adbcb07e6ebb209fb9e4ed06546b5.jpg» enregistré [1057034/1057034] --2025-07-18 14:00:48-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 241328 (236K) [image/jpeg] Enregistre : «/tmp/e5ae4229ddaea8f777af66763093b045.jpg» 0K .......... .......... .......... .......... .......... 21% 2,41M 0s 50K .......... .......... .......... .......... .......... 42% 4,91M 0s 100K .......... .......... .......... .......... .......... 63% 111M 0s 150K .......... .......... .......... .......... .......... 84% 129M 0s 200K .......... .......... .......... ..... 100% 3,72M=0,04s 2025-07-18 14:00:48 (5,69 MB/s) - «/tmp/e5ae4229ddaea8f777af66763093b045.jpg» enregistré [241328/241328] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody7457387903305074262asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody7457387903305074262asTemporaryFile : 1057034 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5.jpg -O /tmp/592adbcb07e6ebb209fb9e4ed06546b5.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5-small.jpg type_mfp mfpopt2025 size_object of file /tmp/592adbcb07e6ebb209fb9e4ed06546b5-big.jpg : 64263 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/592adbcb07e6ebb209fb9e4ed06546b5-medium.jpg : 14936 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/592adbcb07e6ebb209fb9e4ed06546b5-small.jpg : 3972 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.120417 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5.jpg", "TemporaryFile(/tmp/multipartBody7457387903305074262asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5-big.jpg", "TemporaryFile(/tmp/multipartBody7457387903305074262asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5-medium.jpg", "TemporaryFile(/tmp/multipartBody7457387903305074262asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/592adbcb07e6ebb209fb9e4ed06546b5-small.jpg", "TemporaryFile(/tmp/multipartBody7457387903305074262asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519095 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519095" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8046207632413290085asTemporaryFile -n f8361c3e92aa255a553925bfd732bff3 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_45_07_10450.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8046207632413290085asTemporaryFile -n f8361c3e92aa255a553925bfd732bff3 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2226112323932037546asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2226112323932037546asTemporaryFile : 241328 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045.jpg -O /tmp/e5ae4229ddaea8f777af66763093b045.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045-small.jpg type_mfp mfpopt2025 size_object of file /tmp/e5ae4229ddaea8f777af66763093b045-big.jpg : 101394 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e5ae4229ddaea8f777af66763093b045-medium.jpg : 23856 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e5ae4229ddaea8f777af66763093b045-small.jpg : 6541 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.694457 Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045.jpg", "TemporaryFile(/tmp/multipartBody2226112323932037546asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045-big.jpg", "TemporaryFile(/tmp/multipartBody2226112323932037546asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045-medium.jpg", "TemporaryFile(/tmp/multipartBody2226112323932037546asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e5ae4229ddaea8f777af66763093b045-small.jpg", "TemporaryFile(/tmp/multipartBody2226112323932037546asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519096 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519096" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6591920310192220626asTemporaryFile -n a683a4bd7bc153677d282b95d8dab840 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_47_46_40600.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6591920310192220626asTemporaryFile -n a683a4bd7bc153677d282b95d8dab840 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:51-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1054486 (1,0M) [image/jpeg] Enregistre : «/tmp/f8361c3e92aa255a553925bfd732bff3.jpg» 0K .......... .......... .......... .......... .......... 4% 2,42M 0s 50K .......... .......... .......... .......... .......... 9% 4,95M 0s 100K .......... .......... .......... .......... .......... 14% 107M 0s 150K .......... .......... .......... .......... .......... 19% 5,12M 0s 200K .......... .......... .......... .......... .......... 24% 135M 0s 250K .......... .......... .......... .......... .......... 29% 89,7M 0s 300K .......... .......... .......... .......... .......... 33% 126M 0s 350K .......... .......... .......... .......... .......... 38% 128M 0s 400K .......... .......... .......... .......... .......... 43% 5,63M 0s 450K .......... .......... .......... .......... .......... 48% 132M 0s 500K .......... .......... .......... .......... .......... 53% 126M 0s 550K .......... .......... .......... .......... .......... 58% 126M 0s 600K .......... .......... .......... .......... .......... 63% 89,9M 0s 650K .......... .......... .......... .......... .......... 67% 129M 0s 700K .......... .......... .......... .......... .......... 72% 116M 0s 750K .......... .......... .......... .......... .......... 77% 89,7M 0s 800K .......... .......... .......... .......... .......... 82% 7,40M 0s 850K .......... .......... .......... .......... .......... 87% 106M 0s 900K .......... .......... .......... .......... .......... 92% 101M 0s 950K .......... .......... .......... .......... .......... 97% 118M 0s 1000K .......... .......... ......... 100% 117M=0,06s 2025-07-18 14:00:51 (16,3 MB/s) - «/tmp/f8361c3e92aa255a553925bfd732bff3.jpg» enregistré [1054486/1054486] --2025-07-18 14:00:52-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 239802 (234K) [image/jpeg] Enregistre : «/tmp/a683a4bd7bc153677d282b95d8dab840.jpg» 0K .......... .......... .......... .......... .......... 21% 2,44M 0s 50K .......... .......... .......... .......... .......... 42% 4,84M 0s 100K .......... .......... .......... .......... .......... 64% 4,88M 0s 150K .......... .......... .......... .......... .......... 85% 109M 0s 200K .......... .......... .......... .... 100% 106M=0,04s 2025-07-18 14:00:52 (5,60 MB/s) - «/tmp/a683a4bd7bc153677d282b95d8dab840.jpg» enregistré [239802/239802] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8046207632413290085asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8046207632413290085asTemporaryFile : 1054486 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3.jpg -O /tmp/f8361c3e92aa255a553925bfd732bff3.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f8361c3e92aa255a553925bfd732bff3-big.jpg : 64334 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f8361c3e92aa255a553925bfd732bff3-medium.jpg : 14913 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f8361c3e92aa255a553925bfd732bff3-small.jpg : 3973 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.070390 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 4073 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 4073 Before insertPortfolioPhotoId , duration 20 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3.jpg", "TemporaryFile(/tmp/multipartBody8046207632413290085asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3-big.jpg", "TemporaryFile(/tmp/multipartBody8046207632413290085asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3-medium.jpg", "TemporaryFile(/tmp/multipartBody8046207632413290085asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8361c3e92aa255a553925bfd732bff3-small.jpg", "TemporaryFile(/tmp/multipartBody8046207632413290085asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 4073 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519097 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519097" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8129442744391744593asTemporaryFile -n 166f82fa39b82712ed7c793f774513c5 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_21062025_12_44_47_10177.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody8129442744391744593asTemporaryFile -n 166f82fa39b82712ed7c793f774513c5 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6591920310192220626asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6591920310192220626asTemporaryFile : 239802 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840.jpg -O /tmp/a683a4bd7bc153677d282b95d8dab840.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840-small.jpg type_mfp mfpopt2025 size_object of file /tmp/a683a4bd7bc153677d282b95d8dab840-big.jpg : 101091 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a683a4bd7bc153677d282b95d8dab840-medium.jpg : 23786 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a683a4bd7bc153677d282b95d8dab840-small.jpg : 6556 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.127813 Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840.jpg", "TemporaryFile(/tmp/multipartBody6591920310192220626asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840-big.jpg", "TemporaryFile(/tmp/multipartBody6591920310192220626asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840-medium.jpg", "TemporaryFile(/tmp/multipartBody6591920310192220626asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a683a4bd7bc153677d282b95d8dab840-small.jpg", "TemporaryFile(/tmp/multipartBody6591920310192220626asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519098 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519098" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2219376429767492550asTemporaryFile -n 3f20ffd24f4eccea1c27244955a8b0b2 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_48_26_39725.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2219376429767492550asTemporaryFile -n 3f20ffd24f4eccea1c27244955a8b0b2 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:00:55-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 1052538 (1,0M) [image/jpeg] Enregistre : «/tmp/166f82fa39b82712ed7c793f774513c5.jpg» 0K .......... .......... .......... .......... .......... 4% 2,46M 0s 50K .......... .......... .......... .......... .......... 9% 4,92M 0s 100K .......... .......... .......... .......... .......... 14% 120M 0s 150K .......... .......... .......... .......... .......... 19% 111M 0s 200K .......... .......... .......... .......... .......... 24% 5,10M 0s 250K .......... .......... .......... .......... .......... 29% 103M 0s 300K .......... .......... .......... .......... .......... 34% 111M 0s 350K .......... .......... .......... .......... .......... 38% 124M 0s 400K .......... .......... .......... .......... .......... 43% 5,55M 0s 450K .......... .......... .......... .......... .......... 48% 137M 0s 500K .......... .......... .......... .......... .......... 53% 96,5M 0s 550K .......... .......... .......... .......... .......... 58% 108M 0s 600K .......... .......... .......... .......... .......... 63% 128M 0s 650K .......... .......... .......... .......... .......... 68% 113M 0s 700K .......... .......... .......... .......... .......... 72% 103M 0s 750K .......... .......... .......... .......... .......... 77% 114M 0s 800K .......... .......... .......... .......... .......... 82% 7,41M 0s 850K .......... .......... .......... .......... .......... 87% 113M 0s 900K .......... .......... .......... .......... .......... 92% 125M 0s 950K .......... .......... .......... .......... .......... 97% 113M 0s 1000K .......... .......... ....... 100% 111M=0,06s 2025-07-18 14:00:56 (16,3 MB/s) - «/tmp/166f82fa39b82712ed7c793f774513c5.jpg» enregistré [1052538/1052538] --2025-07-18 14:00:56-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 234933 (229K) [image/jpeg] Enregistre : «/tmp/3f20ffd24f4eccea1c27244955a8b0b2.jpg» 0K .......... .......... .......... .......... .......... 21% 2,42M 0s 50K .......... .......... .......... .......... .......... 43% 4,84M 0s 100K .......... .......... .......... .......... .......... 65% 120M 0s 150K .......... .......... .......... .......... .......... 87% 5,22M 0s 200K .......... .......... ......... 100% 141M=0,04s 2025-07-18 14:00:57 (5,57 MB/s) - «/tmp/3f20ffd24f4eccea1c27244955a8b0b2.jpg» enregistré [234933/234933] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody8129442744391744593asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody8129442744391744593asTemporaryFile : 1052538 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5.jpg -O /tmp/166f82fa39b82712ed7c793f774513c5.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5-small.jpg type_mfp mfpopt2025 size_object of file /tmp/166f82fa39b82712ed7c793f774513c5-big.jpg : 64173 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/166f82fa39b82712ed7c793f774513c5-medium.jpg : 14866 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/166f82fa39b82712ed7c793f774513c5-small.jpg : 3980 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.922084 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 4073 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3959 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 4073 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3959 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5.jpg", "TemporaryFile(/tmp/multipartBody8129442744391744593asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5-big.jpg", "TemporaryFile(/tmp/multipartBody8129442744391744593asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5-medium.jpg", "TemporaryFile(/tmp/multipartBody8129442744391744593asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/166f82fa39b82712ed7c793f774513c5-small.jpg", "TemporaryFile(/tmp/multipartBody8129442744391744593asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 4073 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3959 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519099 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519099" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(24230041) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631916, 1372631917, 1372631918, 1372631926, 1372631928, 1372631930) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (24230041, 1372631916,1372631916, "1" ,0,979, NOW()), (24230041, 1372631928,1372631928, "1" ,0,979, NOW()), (24230041, 1372631930,1372631930, "1" ,0,979, NOW()), (24230041, 1372631918,1372631918, "1" ,0,979, NOW()), (24230041, 1372631926,1372631926, "1" ,0,979, NOW()), (24230041, 1372631917,1372631917, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 4073 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3959 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 139After insertPortfolioPhotoId , duration 26 : 360 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody2219376429767492550asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody2219376429767492550asTemporaryFile : 234933 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2.jpg -O /tmp/3f20ffd24f4eccea1c27244955a8b0b2.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2-small.jpg type_mfp mfpopt2025 size_object of file /tmp/3f20ffd24f4eccea1c27244955a8b0b2-big.jpg : 100153 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3f20ffd24f4eccea1c27244955a8b0b2-medium.jpg : 23554 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3f20ffd24f4eccea1c27244955a8b0b2-small.jpg : 6485 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.544389 Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2.jpg", "TemporaryFile(/tmp/multipartBody2219376429767492550asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2-big.jpg", "TemporaryFile(/tmp/multipartBody2219376429767492550asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2-medium.jpg", "TemporaryFile(/tmp/multipartBody2219376429767492550asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3f20ffd24f4eccea1c27244955a8b0b2-small.jpg", "TemporaryFile(/tmp/multipartBody2219376429767492550asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519100 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519100" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody22345922547278057asTemporaryFile -n 4eb0d1ddac05b1365de8d61442757081 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_49_05_39573.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody22345922547278057asTemporaryFile -n 4eb0d1ddac05b1365de8d61442757081 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 14:01:00-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 235453 (230K) [image/jpeg] Enregistre : «/tmp/4eb0d1ddac05b1365de8d61442757081.jpg» 0K .......... .......... .......... .......... .......... 21% 2,42M 0s 50K .......... .......... .......... .......... .......... 43% 4,93M 0s 100K .......... .......... .......... .......... .......... 65% 4,85M 0s 150K .......... .......... .......... .......... .......... 86% 122M 0s 200K .......... .......... ......... 100% 113M=0,04s 2025-07-18 14:01:00 (5,50 MB/s) - «/tmp/4eb0d1ddac05b1365de8d61442757081.jpg» enregistré [235453/235453] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 4183 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 159 Before photo_uploader , duration 6 : 109.After photo_uploader , duration 7 : 4082 Before insertPortfolioPhotoId , duration 8 : 1.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3887 Before insertPortfolioPhotoId , duration 12 : 1.After insertPortfolioPhotoId , duration 13 : 137 Before photo_uploader , duration 14 : 99.After photo_uploader , duration 15 : 4094 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 97.After photo_uploader , duration 19 : 4073 Before insertPortfolioPhotoId , duration 20 : 1.After insertPortfolioPhotoId , duration 21 : 138 Before photo_uploader , duration 22 : 93.After photo_uploader , duration 23 : 3959 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 139After insertPortfolioPhotoId , duration 26 : 360 About to finish After with svm , duration 27 : 2625 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3189040 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody22345922547278057asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody22345922547278057asTemporaryFile : 235453 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081.jpg -O /tmp/4eb0d1ddac05b1365de8d61442757081.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081-small.jpg type_mfp mfpopt2025 size_object of file /tmp/4eb0d1ddac05b1365de8d61442757081-big.jpg : 99974 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/4eb0d1ddac05b1365de8d61442757081-medium.jpg : 23524 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/4eb0d1ddac05b1365de8d61442757081-small.jpg : 6463 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:03.098838 Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 4063 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 4063 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081.jpg", "TemporaryFile(/tmp/multipartBody22345922547278057asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081-big.jpg", "TemporaryFile(/tmp/multipartBody22345922547278057asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081-medium.jpg", "TemporaryFile(/tmp/multipartBody22345922547278057asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/4eb0d1ddac05b1365de8d61442757081-small.jpg", "TemporaryFile(/tmp/multipartBody22345922547278057asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 4063 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 145 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519101 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519101" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3518754149321694978asTemporaryFile -n bba332b3a83ff0a37e7a234ed4640170 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_49_46_40641.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3518754149321694978asTemporaryFile -n bba332b3a83ff0a37e7a234ed4640170 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! token_used : Some(85213b338a7900a79945692114f14db2) Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3189040 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3189040 mtr_user_id : 979 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_14_00_54_10136.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2861b73d basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_14_00_44_10137.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6b4d6680 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_14_00_33_9126.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@704419bb basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_14_00_24_10139.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5acd6ae7 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_14_00_14_10137.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7f30f6dc basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_14_00_04_10138.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@7f49f6dc basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050138) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050138) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done];[nothing_done] list_hashtags : List([nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done], [nothing_done]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3247635273605211389asTemporaryFile -n 858b2621c882dadb370128205ede4cbe --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_14_00_54_10136.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3247635273605211389asTemporaryFile -n 858b2621c882dadb370128205ede4cbe --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:01:04-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 228495 (223K) [image/jpeg] Enregistre : «/tmp/bba332b3a83ff0a37e7a234ed4640170.jpg» 0K .......... .......... .......... .......... .......... 22% 2,47M 0s 50K .......... .......... .......... .......... .......... 44% 4,88M 0s 100K .......... .......... .......... .......... .......... 67% 113M 0s 150K .......... .......... .......... .......... .......... 89% 128M 0s 200K .......... .......... ... 100% 2,43M=0,04s 2025-07-18 14:01:05 (5,47 MB/s) - «/tmp/bba332b3a83ff0a37e7a234ed4640170.jpg» enregistré [228495/228495] [info] a.c.Portfolio - fromPostToArgLong could have a better implemtation user_id [info] a.c.Portfolio - fromPostToArgLong could have a better implemtation port [info] a.c.Portfolio - fromPostToArgString could have a better implemtation hostname [info] a.c.Portfolio - fromPostToArgString could have a better implemtation basename [info] a.c.Portfolio - fromPostToArgString could have a better implemtation basefolder [info] a.c.Portfolio - fromPostToArgLong could have a better implemtation pause [info] a.c.Portfolio - fromPostToArgString could have a better implemtation nbr_photo_prise [info] a.c.Portfolio - fromPostToArgString could have a better implemtation res_df_h [info] a.c.Portfolio - fromPostToArgString could have a better implemtation lsblk [info] a.c.Portfolio - fromPostToArgString could have a better implemtation version [info] a.c.Portfolio - fromPostToArgString could have a better implemtation token [info] a.c.Portfolio - fromPostToArgString could have a better implemtation operator_ip [info] a.c.Portfolio - fromPostToArgString could have a better implemtation measure_temp [info] a.c.Portfolio - fromPostToArgString could have a better implemtation uptime [info] a.c.Portfolio - fromPostToArgString could have a better implemtation uptime_day --2025-07-18 14:01:05-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 254358 (248K) [image/jpeg] Enregistre : «/tmp/858b2621c882dadb370128205ede4cbe.jpg» 0K .......... .......... .......... .......... .......... 20% 2,50M 0s 50K .......... .......... .......... .......... .......... 40% 4,83M 0s 100K .......... .......... .......... .......... .......... 60% 109M 0s 150K .......... .......... .......... .......... .......... 80% 5,10M 0s 200K .......... .......... .......... .......... ........ 100% 110M=0,04s 2025-07-18 14:01:05 (6,05 MB/s) - «/tmp/858b2621c882dadb370128205ede4cbe.jpg» enregistré [254358/254358] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3518754149321694978asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3518754149321694978asTemporaryFile : 228495 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170.jpg -O /tmp/bba332b3a83ff0a37e7a234ed4640170.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170-small.jpg type_mfp mfpopt2025 size_object of file /tmp/bba332b3a83ff0a37e7a234ed4640170-big.jpg : 98030 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bba332b3a83ff0a37e7a234ed4640170-medium.jpg : 23229 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/bba332b3a83ff0a37e7a234ed4640170-small.jpg : 6400 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.660729 Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 4063 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 145 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3700 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 4063 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 145 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3700 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170.jpg", "TemporaryFile(/tmp/multipartBody3518754149321694978asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170-big.jpg", "TemporaryFile(/tmp/multipartBody3518754149321694978asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170-medium.jpg", "TemporaryFile(/tmp/multipartBody3518754149321694978asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/bba332b3a83ff0a37e7a234ed4640170-small.jpg", "TemporaryFile(/tmp/multipartBody3518754149321694978asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 4063 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 145 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3700 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 140 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519102 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519102" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 mtr_portfolio_id : Some(25057218) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631919, 1372631927, 1372631929, 1372631931, 1372631932, 1372631933) 0 0 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25057218, 1372631931,1372631931, "1" ,0,991, NOW()), (25057218, 1372631919,1372631919, "1" ,0,991, NOW()), (25057218, 1372631933,1372631933, "1" ,0,991, NOW()), (25057218, 1372631927,1372631927, "1" ,0,991, NOW()), (25057218, 1372631932,1372631932, "1" ,0,991, NOW()), (25057218, 1372631929,1372631929, "1" ,0,991, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 4063 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 145 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3700 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 140After insertPortfolioPhotoId , duration 26 : 393 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3247635273605211389asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3247635273605211389asTemporaryFile : 254358 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe.jpg -O /tmp/858b2621c882dadb370128205ede4cbe.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe-small.jpg type_mfp mfpopt2025 size_object of file /tmp/858b2621c882dadb370128205ede4cbe-big.jpg : 65164 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/858b2621c882dadb370128205ede4cbe-medium.jpg : 19048 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/858b2621c882dadb370128205ede4cbe-small.jpg : 6057 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.545915 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe.jpg", "TemporaryFile(/tmp/multipartBody3247635273605211389asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe-big.jpg", "TemporaryFile(/tmp/multipartBody3247635273605211389asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe-medium.jpg", "TemporaryFile(/tmp/multipartBody3247635273605211389asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/858b2621c882dadb370128205ede4cbe-small.jpg", "TemporaryFile(/tmp/multipartBody3247635273605211389asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519103 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519103" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3564360408919273805asTemporaryFile -n 5ccbf95f44d6e932379a291befd6a380 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_14_00_44_10137.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3564360408919273805asTemporaryFile -n 5ccbf95f44d6e932379a291befd6a380 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:01:09-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 255143 (249K) [image/jpeg] Enregistre : «/tmp/5ccbf95f44d6e932379a291befd6a380.jpg» 0K .......... .......... .......... .......... .......... 20% 4,81M 0s 50K .......... .......... .......... .......... .......... 40% 4,90M 0s 100K .......... .......... .......... .......... .......... 60% 130M 0s 150K .......... .......... .......... .......... .......... 80% 5,12M 0s 200K .......... .......... .......... .......... ......... 100% 124M=0,03s 2025-07-18 14:01:09 (8,00 MB/s) - «/tmp/5ccbf95f44d6e932379a291befd6a380.jpg» enregistré [255143/255143] [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 51 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3475 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 147 Before photo_uploader , duration 6 : 107.After photo_uploader , duration 7 : 3694 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 138 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 4138 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 138 Before photo_uploader , duration 14 : 96.After photo_uploader , duration 15 : 3535 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 139 Before photo_uploader , duration 18 : 98.After photo_uploader , duration 19 : 4063 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 145 Before photo_uploader , duration 22 : 97.After photo_uploader , duration 23 : 3700 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 140After insertPortfolioPhotoId , duration 26 : 393 About to finish After with svm , duration 27 : 2967 actions to do : and mtr_user_id : 991 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305717 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3564360408919273805asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3564360408919273805asTemporaryFile : 255143 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380.jpg -O /tmp/5ccbf95f44d6e932379a291befd6a380.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380-small.jpg type_mfp mfpopt2025 size_object of file /tmp/5ccbf95f44d6e932379a291befd6a380-big.jpg : 65243 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5ccbf95f44d6e932379a291befd6a380-medium.jpg : 19044 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/5ccbf95f44d6e932379a291befd6a380-small.jpg : 6039 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:04.174685 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380.jpg", "TemporaryFile(/tmp/multipartBody3564360408919273805asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380-big.jpg", "TemporaryFile(/tmp/multipartBody3564360408919273805asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380-medium.jpg", "TemporaryFile(/tmp/multipartBody3564360408919273805asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305717 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305717 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/5ccbf95f44d6e932379a291befd6a380-small.jpg", "TemporaryFile(/tmp/multipartBody3564360408919273805asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519110 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519110" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody120819640585102505asTemporaryFile -n 059c63dc31dfb1293bf2fcc83fd96c94 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_14_00_33_9126.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody120819640585102505asTemporaryFile -n 059c63dc31dfb1293bf2fcc83fd96c94 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 14:01:15-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 255211 (249K) [image/jpeg] Enregistre : «/tmp/059c63dc31dfb1293bf2fcc83fd96c94.jpg» 0K .......... .......... .......... .......... .......... 20% 2,43M 0s 50K .......... .......... .......... .......... .......... 40% 4,93M 0s 100K .......... .......... .......... .......... .......... 60% 100M 0s 150K .......... .......... .......... .......... .......... 80% 5,21M 0s 200K .......... .......... .......... .......... ......... 100% 90,1M=0,04s 2025-07-18 14:01:15 (6,03 MB/s) - «/tmp/059c63dc31dfb1293bf2fcc83fd96c94.jpg» enregistré [255211/255211] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody120819640585102505asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody120819640585102505asTemporaryFile : 255211 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94.jpg -O /tmp/059c63dc31dfb1293bf2fcc83fd96c94.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94-small.jpg type_mfp mfpopt2025 size_object of file /tmp/059c63dc31dfb1293bf2fcc83fd96c94-big.jpg : 65280 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/059c63dc31dfb1293bf2fcc83fd96c94-medium.jpg : 19040 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/059c63dc31dfb1293bf2fcc83fd96c94-small.jpg : 6053 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.556467 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94.jpg", "TemporaryFile(/tmp/multipartBody120819640585102505asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94-big.jpg", "TemporaryFile(/tmp/multipartBody120819640585102505asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94-medium.jpg", "TemporaryFile(/tmp/multipartBody120819640585102505asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/059c63dc31dfb1293bf2fcc83fd96c94-small.jpg", "TemporaryFile(/tmp/multipartBody120819640585102505asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519111 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519111" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9050009009798653029asTemporaryFile -n a7ac37ac6828e4e6061bd5fd3ebc74af --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_14_00_24_10139.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody9050009009798653029asTemporaryFile -n a7ac37ac6828e4e6061bd5fd3ebc74af --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:01:18-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 254544 (249K) [image/jpeg] Enregistre : «/tmp/a7ac37ac6828e4e6061bd5fd3ebc74af.jpg» 0K .......... .......... .......... .......... .......... 20% 4,78M 0s 50K .......... .......... .......... .......... .......... 40% 4,89M 0s 100K .......... .......... .......... .......... .......... 60% 114M 0s 150K .......... .......... .......... .......... .......... 80% 5,05M 0s 200K .......... .......... .......... .......... ........ 100% 128M=0,03s 2025-07-18 14:01:19 (7,92 MB/s) - «/tmp/a7ac37ac6828e4e6061bd5fd3ebc74af.jpg» enregistré [254544/254544] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody9050009009798653029asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody9050009009798653029asTemporaryFile : 254544 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af.jpg -O /tmp/a7ac37ac6828e4e6061bd5fd3ebc74af.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af-small.jpg type_mfp mfpopt2025 size_object of file /tmp/a7ac37ac6828e4e6061bd5fd3ebc74af-big.jpg : 65089 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a7ac37ac6828e4e6061bd5fd3ebc74af-medium.jpg : 19038 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/a7ac37ac6828e4e6061bd5fd3ebc74af-small.jpg : 6045 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:04.107298 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af.jpg", "TemporaryFile(/tmp/multipartBody9050009009798653029asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af-big.jpg", "TemporaryFile(/tmp/multipartBody9050009009798653029asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af-medium.jpg", "TemporaryFile(/tmp/multipartBody9050009009798653029asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/a7ac37ac6828e4e6061bd5fd3ebc74af-small.jpg", "TemporaryFile(/tmp/multipartBody9050009009798653029asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 160 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519112 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519112" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3070670475201862957asTemporaryFile -n e16980350987484578dfef843119d1c6 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_14_00_14_10137.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3070670475201862957asTemporaryFile -n e16980350987484578dfef843119d1c6 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:01:24-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 247708 (242K) [image/jpeg] Enregistre : «/tmp/e16980350987484578dfef843119d1c6.jpg» 0K .......... .......... .......... .......... .......... 20% 2,45M 0s 50K .......... .......... .......... .......... .......... 41% 4,89M 0s 100K .......... .......... .......... .......... .......... 62% 94,4M 0s 150K .......... .......... .......... .......... .......... 82% 5,15M 0s 200K .......... .......... .......... .......... . 100% 123M=0,04s 2025-07-18 14:01:24 (5,88 MB/s) - «/tmp/e16980350987484578dfef843119d1c6.jpg» enregistré [247708/247708] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3070670475201862957asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3070670475201862957asTemporaryFile : 247708 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6.jpg -O /tmp/e16980350987484578dfef843119d1c6.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6-small.jpg type_mfp mfpopt2025 size_object of file /tmp/e16980350987484578dfef843119d1c6-big.jpg : 63815 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e16980350987484578dfef843119d1c6-medium.jpg : 18916 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/e16980350987484578dfef843119d1c6-small.jpg : 6046 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.589165 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 160 Before photo_uploader , duration 18 : 113.After photo_uploader , duration 19 : 3604 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 160 Before photo_uploader , duration 18 : 113.After photo_uploader , duration 19 : 3604 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6.jpg", "TemporaryFile(/tmp/multipartBody3070670475201862957asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6-big.jpg", "TemporaryFile(/tmp/multipartBody3070670475201862957asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6-medium.jpg", "TemporaryFile(/tmp/multipartBody3070670475201862957asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e16980350987484578dfef843119d1c6-small.jpg", "TemporaryFile(/tmp/multipartBody3070670475201862957asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 160 Before photo_uploader , duration 18 : 113.After photo_uploader , duration 19 : 3604 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519113 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519113" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5419130791319723000asTemporaryFile -n 969fef8f912a6112ff257d39e804e355 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=979 --filename=image_18072025_14_00_04_10138.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5419130791319723000asTemporaryFile -n 969fef8f912a6112ff257d39e804e355 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:01:27-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 273909 (267K) [image/jpeg] Enregistre : «/tmp/969fef8f912a6112ff257d39e804e355.jpg» 0K .......... .......... .......... .......... .......... 18% 4,73M 0s 50K .......... .......... .......... .......... .......... 37% 4,98M 0s 100K .......... .......... .......... .......... .......... 56% 100M 0s 150K .......... .......... .......... .......... .......... 74% 110M 0s 200K .......... .......... .......... .......... .......... 93% 5,19M 0s 250K .......... ....... 100% 125M=0,03s 2025-07-18 14:01:28 (8,53 MB/s) - «/tmp/969fef8f912a6112ff257d39e804e355.jpg» enregistré [273909/273909] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6995931047202988181asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6995931047202988181asTemporaryFile : 223150 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706.jpg -O /tmp/f8f62f84b2ce538ab61daf6ff3fc9706.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706-small.jpg type_mfp mfpopt2025 size_object of file /tmp/f8f62f84b2ce538ab61daf6ff3fc9706-big.jpg : 52454 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f8f62f84b2ce538ab61daf6ff3fc9706-medium.jpg : 14346 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/f8f62f84b2ce538ab61daf6ff3fc9706-small.jpg : 4403 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:02:03.668965 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 4035 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 124678 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 4035 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 124678 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706.jpg", "TemporaryFile(/tmp/multipartBody6995931047202988181asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706-big.jpg", "TemporaryFile(/tmp/multipartBody6995931047202988181asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706-medium.jpg", "TemporaryFile(/tmp/multipartBody6995931047202988181asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/f8f62f84b2ce538ab61daf6ff3fc9706-small.jpg", "TemporaryFile(/tmp/multipartBody6995931047202988181asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 4035 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 124678 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 159 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519120 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519120" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5419130791319723000asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5419130791319723000asTemporaryFile : 273909 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355.jpg -O /tmp/969fef8f912a6112ff257d39e804e355.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355-small.jpg type_mfp mfpopt2025 size_object of file /tmp/969fef8f912a6112ff257d39e804e355-big.jpg : 69618 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/969fef8f912a6112ff257d39e804e355-medium.jpg : 20052 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/969fef8f912a6112ff257d39e804e355-small.jpg : 6267 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.428624 Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 160 Before photo_uploader , duration 18 : 113.After photo_uploader , duration 19 : 3604 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 99.After photo_uploader , duration 23 : 3397 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 160 Before photo_uploader , duration 18 : 113.After photo_uploader , duration 19 : 3604 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 99.After photo_uploader , duration 23 : 3397 Before insertPortfolioPhotoId , duration 24 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355.jpg", "TemporaryFile(/tmp/multipartBody5419130791319723000asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') mtr_portfolio_id : Some(25050173) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631887, 1372631888, 1372631889, 1372631890, 1372631891, 1372631951) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355-big.jpg", "TemporaryFile(/tmp/multipartBody5419130791319723000asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355-medium.jpg", "TemporaryFile(/tmp/multipartBody5419130791319723000asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (979, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/969fef8f912a6112ff257d39e804e355-small.jpg", "TemporaryFile(/tmp/multipartBody5419130791319723000asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) 0 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 160 Before photo_uploader , duration 18 : 113.After photo_uploader , duration 19 : 3604 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 99.After photo_uploader , duration 23 : 3397 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134 latitude : 0.0 longitude : 0.0 0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519121 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519121" 0 [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050173, 1372631891,1372631891, "1" ,0,1042, NOW()), (25050173, 1372631951,1372631951, "1" ,0,1042, NOW()), (25050173, 1372631888,1372631888, "1" ,0,1042, NOW()), (25050173, 1372631887,1372631887, "1" ,0,1042, NOW()), (25050173, 1372631890,1372631890, "1" ,0,1042, NOW()), (25050173, 1372631889,1372631889, "1" ,0,1042, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE mtr_portfolio_id : Some(25050138) SELECT photo_id FROM MTRBack.photos WHERE photo_i List(1372631934, 1372631941, 1372631942, 1372631943, 1372631944, 1372631952) 0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 4035 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 124678 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 159After insertPortfolioPhotoId , duration 26 : 357 About to tag photos ! 0 [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; 0 0 0 0 [debug] a.m.Portfolio - insert ignore into MTRUser.mtr_portfolio_photos (`mtr_portfolio_id`, `mtr_photo_id`, `order`, `display_text`, `hide_status`, `mtr_user_id`, `created_at`) VALUES (25050138, 1372631934,1372631934, "1" ,0,979, NOW()), (25050138, 1372631943,1372631943, "1" ,0,979, NOW()), (25050138, 1372631942,1372631942, "1" ,0,979, NOW()), (25050138, 1372631941,1372631941, "1" ,0,979, NOW()), (25050138, 1372631944,1372631944, "1" ,0,979, NOW()), (25050138, 1372631952,1372631952, "1" ,0,979, NOW()) ON DUPLICATE KEY UPDATE `order`=VALUES(`order`) , `hide_status`=VALUES(`hide_status`) insert in mtr_portfolio_photos : 0 [debug] a.m.Portfolio - UPDATE `MTRBack`.`photos` SE [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 160 Before photo_uploader , duration 18 : 113.After photo_uploader , duration 19 : 3604 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 99.After photo_uploader , duration 23 : 3397 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 359 About to tag photos ! [debug] a.s.MTRUser - SELECT count(*) FROM MTRUser.mtr_user_actions p where p.context like '%No hashtag from computation%' and p.timestamp > subtime(NOW(), '0 0:05:00') order by id desc; [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 1.After photo_uploader , duration 3 : 3657 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 134 Before photo_uploader , duration 6 : 93.After photo_uploader , duration 7 : 3560 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 135 Before photo_uploader , duration 10 : 93.After photo_uploader , duration 11 : 3982 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 134 Before photo_uploader , duration 14 : 92.After photo_uploader , duration 15 : 3576 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 136 Before photo_uploader , duration 18 : 96.After photo_uploader , duration 19 : 4035 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 140 Before photo_uploader , duration 22 : 98.After photo_uploader , duration 23 : 124678 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 159After insertPortfolioPhotoId , duration 26 : 357 About to finish After with svm , duration 27 : 2920 actions to do : and mtr_user_id : 1042 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305009 [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 48 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3529 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 138 Before photo_uploader , duration 6 : 95.After photo_uploader , duration 7 : 5150 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 156 Before photo_uploader , duration 10 : 111.After photo_uploader , duration 11 : 3545 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 139 Before photo_uploader , duration 14 : 94.After photo_uploader , duration 15 : 5080 Before insertPortfolioPhotoId , duration 16 : 0.After insertPortfolioPhotoId , duration 17 : 160 Before photo_uploader , duration 18 : 113.After photo_uploader , duration 19 : 3604 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 134 Before photo_uploader , duration 22 : 99.After photo_uploader , duration 23 : 3397 Before insertPortfolioPhotoId , duration 24 : 0.After insertPortfolioPhotoId , duration 25 : 134After insertPortfolioPhotoId , duration 26 : 359 About to finish After with svm , duration 27 : 2926 actions to do : and mtr_user_id : 979 TODO : PARSE AS JSON ETCAETERA => should be modularized in a function datou Some(0) is_live : true is_live : true false INSERT IGNORE INTO MTRPhoto.mtr_datou_result_search (`id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at`) SELECT `id`, `mtd_id`, `mtr_current_id`, `mtr_portfolio_id`, `mtr_photo_id`, `created_at` FROM MTRPhoto.mtr_datou_result WHERE mtr_current_id=3305006 Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305009 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305009 Count : 0 INSERT IGNORE INTO MTRPhoto.mtr_datou_current (id, created_at, updated_at, mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, state) SELECT mtr_current_id, created_at, now(), mtd_id, mtr_user_id, mtr_photo_id, mtr_portfolio_id, input_json, 0 FROM MTRPhoto.mtr_datou_done WHERE mtr_current_id=3305006 SELECT id FROM MTRPhoto.mtr_datou_current WHERE id=3305006 token_used : Some(814cca0266bcde387dcca7c32045d470) mtr_user_id : 991 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_13_50_26_39581.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@64a5a5d1 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_13_51_05_39568.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@5354df3 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_13_51_46_40732.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2323f57b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_13_52_25_39581.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@2250c5ac basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_13_53_05_39602.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@6b12671a basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_53_46_40585.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@4467f55e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25057218) [info] a.c.Photo - given_mtr_portfolio_id : Some(25057218) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3538023268712157617asTemporaryFile -n adb6c9f490d73bfb82d6a04fbb54c9d7 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_50_26_39581.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3538023268712157617asTemporaryFile -n adb6c9f490d73bfb82d6a04fbb54c9d7 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:01:45-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 232799 (227K) [image/jpeg] Enregistre : «/tmp/adb6c9f490d73bfb82d6a04fbb54c9d7.jpg» 0K .......... .......... .......... .......... .......... 21% 2,44M 0s 50K .......... .......... .......... .......... .......... 43% 4,90M 0s 100K .......... .......... .......... .......... .......... 65% 121M 0s 150K .......... .......... .......... .......... .......... 87% 104M 0s 200K .......... .......... ....... 100% 2,88M=0,04s 2025-07-18 14:01:45 (5,54 MB/s) - «/tmp/adb6c9f490d73bfb82d6a04fbb54c9d7.jpg» enregistré [232799/232799] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3538023268712157617asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3538023268712157617asTemporaryFile : 232799 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7.jpg -O /tmp/adb6c9f490d73bfb82d6a04fbb54c9d7.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7-small.jpg type_mfp mfpopt2025 size_object of file /tmp/adb6c9f490d73bfb82d6a04fbb54c9d7-big.jpg : 98360 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/adb6c9f490d73bfb82d6a04fbb54c9d7-medium.jpg : 23152 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/adb6c9f490d73bfb82d6a04fbb54c9d7-small.jpg : 6380 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.833236 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7.jpg", "TemporaryFile(/tmp/multipartBody3538023268712157617asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7-big.jpg", "TemporaryFile(/tmp/multipartBody3538023268712157617asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7-medium.jpg", "TemporaryFile(/tmp/multipartBody3538023268712157617asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/adb6c9f490d73bfb82d6a04fbb54c9d7-small.jpg", "TemporaryFile(/tmp/multipartBody3538023268712157617asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519122 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519122" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6328250810707067498asTemporaryFile -n 3fec6a6eac22ea9bfe3bea650df327eb --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_51_05_39568.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody6328250810707067498asTemporaryFile -n 3fec6a6eac22ea9bfe3bea650df327eb --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:01:49-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 231149 (226K) [image/jpeg] Enregistre : «/tmp/3fec6a6eac22ea9bfe3bea650df327eb.jpg» 0K .......... .......... .......... .......... .......... 22% 4,73M 0s 50K .......... .......... .......... .......... .......... 44% 4,94M 0s 100K .......... .......... .......... .......... .......... 66% 110M 0s 150K .......... .......... .......... .......... .......... 88% 5,13M 0s 200K .......... .......... ..... 100% 107M=0,03s 2025-07-18 14:01:49 (7,25 MB/s) - «/tmp/3fec6a6eac22ea9bfe3bea650df327eb.jpg» enregistré [231149/231149] token_used : Some(e243aac39fb012c084cfefeb2a6a3641) mtr_user_id : 1042 new_portfolio in uploadPhotoSecured : true [debug] a.service.Utils - fromPostToArgJson could have a better implemtation legend json_map_legend : None [debug] a.service.Utils - fromPostToArgString could have a better implemtation legend json_map_legend_string : None picture.key : file0 contentType : None filename : image_18072025_14_00_45_9813.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@52c20bc2 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file1 contentType : None filename : image_18072025_14_00_35_9791.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1ab9a97b basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file2 contentType : None filename : image_18072025_14_00_25_10810.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@3c9b96a7 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file3 contentType : None filename : image_18072025_14_00_14_9826.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@1bd11896 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file4 contentType : None filename : image_18072025_14_00_05_9818.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@590f8c35 basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg picture.key : file5 contentType : None filename : image_18072025_13_59_55_9794.jpg filename.getClass : class java.lang.String basenameAndType.getClass : class [Ljava.lang.String; basenameAndType : [Ljava.lang.String;@eaa141e basenameAndType.length : 2 basenameAndType.size : 2 extension : jpg extension : jpg in uploadPhoto : new_portfolio : true new_portfolio : true getSimpleUser in getUserObj [debug] a.service.Utils - fromPostToArgBool could have a better implemtation upload_photo_private compute_classification : Some(true) upload_small : false [debug] a.service.Utils - fromPostToArgBool could have a better implemtation use_client_file [debug] a.service.Utils - fromPostToArgBool could have a better implementation classification_actions [debug] a.service.Utils - fromPostToArgBool could have a better implementation new_crops new_crops : None upload_photo_private_post : None upload_photo_private : None user.actions.upload_photo_private : Some(false) user.aux_data.photo_right_category : None photo_right_category None upload_photo_private_used false photo_right_category_used 0 [debug] a.service.Utils - fromPostToArgBool could have a better implementation input_csv_args_datou_json hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] [info] a.c.Photo - problem_tagging_name chosen : 59 url_string: latitude_input_2 : 0.0 longitude_input_2 : 0.0 given_mtr_portfolio_id : Some(25050173) [info] a.c.Photo - given_mtr_portfolio_id : Some(25050173) [debug] a.c.Photo - We have these photo ids that comes from urls : Map() hashtags : [ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification];[ok_for_neural_classification] list_hashtags : List([ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification], [ok_for_neural_classification]) extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1019354879744601431asTemporaryFile -n 91e2f89453762d7a962e7f946adc7bc2 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_14_00_45_9813.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1019354879744601431asTemporaryFile -n 91e2f89453762d7a962e7f946adc7bc2 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [debug] application - [securesocial] calling deleteExpiredTokens() [debug] a.c.DBUserService - TOKEN expired token : Map() [debug] a.c.DBUserService - all token : Map() /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody6328250810707067498asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody6328250810707067498asTemporaryFile : 231149 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb.jpg -O /tmp/3fec6a6eac22ea9bfe3bea650df327eb.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb-small.jpg type_mfp mfpopt2025 size_object of file /tmp/3fec6a6eac22ea9bfe3bea650df327eb-big.jpg : 97384 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3fec6a6eac22ea9bfe3bea650df327eb-medium.jpg : 23061 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3fec6a6eac22ea9bfe3bea650df327eb-small.jpg : 6345 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.629848 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb.jpg", "TemporaryFile(/tmp/multipartBody6328250810707067498asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb-big.jpg", "TemporaryFile(/tmp/multipartBody6328250810707067498asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) --2025-07-18 14:01:51-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb-medium.jpg", "TemporaryFile(/tmp/multipartBody6328250810707067498asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) requête HTTP transmise, en attente de la réponse… [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3fec6a6eac22ea9bfe3bea650df327eb-small.jpg", "TemporaryFile(/tmp/multipartBody6328250810707067498asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 latitude : 0.0 longitude : 0.0 200 OK Taille : 222655 (217K) [image/jpeg] Enregistre : «/tmp/91e2f89453762d7a962e7f946adc7bc2.jpg» 0K .......... .......... .......... .......... .......... 22% 2,44M 0s 50K .......... .......... .......... .......... .......... 45% 4,87M 0s 100K .......... .......... .......... .......... .......... 68% 117M 0s 150K .......... .......... .......... .......... .......... 91% 5,15M 0s 200K .......... ....... 100% 124M=0,04s 2025-07-18 14:01:51 (5,30 MB/s) - «/tmp/91e2f89453762d7a962e7f946adc7bc2.jpg» enregistré [222655/222655] [info] a.models.Photo - source_id_submit_photo from insertion : 379519129 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519129" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3812462158657842537asTemporaryFile -n 8194951204f4d5e324651d5de42ca038 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_51_46_40732.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody3812462158657842537asTemporaryFile -n 8194951204f4d5e324651d5de42ca038 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:01:52-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 233951 (228K) [image/jpeg] Enregistre : «/tmp/8194951204f4d5e324651d5de42ca038.jpg» 0K .......... .......... .......... .......... .......... 21% 4,78M 0s 50K .......... .......... .......... .......... .......... 43% 4,83M 0s 100K .......... .......... .......... .......... .......... 65% 129M 0s 150K .......... .......... .......... .......... .......... 87% 5,10M 0s 200K .......... .......... ........ 100% 115M=0,03s 2025-07-18 14:01:53 (7,31 MB/s) - «/tmp/8194951204f4d5e324651d5de42ca038.jpg» enregistré [233951/233951] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1019354879744601431asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1019354879744601431asTemporaryFile : 222655 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2.jpg -O /tmp/91e2f89453762d7a962e7f946adc7bc2.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2-small.jpg type_mfp mfpopt2025 size_object of file /tmp/91e2f89453762d7a962e7f946adc7bc2-big.jpg : 52366 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/91e2f89453762d7a962e7f946adc7bc2-medium.jpg : 14345 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/91e2f89453762d7a962e7f946adc7bc2-small.jpg : 4413 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.627190 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3667 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3667 Before insertPortfolioPhotoId , duration 4 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2.jpg", "TemporaryFile(/tmp/multipartBody1019354879744601431asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2-big.jpg", "TemporaryFile(/tmp/multipartBody1019354879744601431asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2-medium.jpg", "TemporaryFile(/tmp/multipartBody1019354879744601431asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/91e2f89453762d7a962e7f946adc7bc2-small.jpg", "TemporaryFile(/tmp/multipartBody1019354879744601431asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3667 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 144 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519130 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519130" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5200330766052015113asTemporaryFile -n 192295f47f0bc2fdb472391cb4e3e580 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_14_00_35_9791.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody5200330766052015113asTemporaryFile -n 192295f47f0bc2fdb472391cb4e3e580 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody3812462158657842537asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody3812462158657842537asTemporaryFile : 233951 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038.jpg -O /tmp/8194951204f4d5e324651d5de42ca038.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038-small.jpg type_mfp mfpopt2025 size_object of file /tmp/8194951204f4d5e324651d5de42ca038-big.jpg : 98291 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8194951204f4d5e324651d5de42ca038-medium.jpg : 23149 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/8194951204f4d5e324651d5de42ca038-small.jpg : 6359 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.577498 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3584 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3584 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038.jpg", "TemporaryFile(/tmp/multipartBody3812462158657842537asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038-big.jpg", "TemporaryFile(/tmp/multipartBody3812462158657842537asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038-medium.jpg", "TemporaryFile(/tmp/multipartBody3812462158657842537asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/8194951204f4d5e324651d5de42ca038-small.jpg", "TemporaryFile(/tmp/multipartBody3812462158657842537asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3584 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519131 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519131" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody224900170755698145asTemporaryFile -n 3752f37de3c07db0be0e780afef19d0e --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_52_25_39581.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody224900170755698145asTemporaryFile -n 3752f37de3c07db0be0e780afef19d0e --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! --2025-07-18 14:01:55-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 222624 (217K) [image/jpeg] Enregistre : «/tmp/192295f47f0bc2fdb472391cb4e3e580.jpg» 0K .......... .......... .......... .......... .......... 22% 4,73M 0s 50K .......... .......... .......... .......... .......... 45% 4,99M 0s 100K .......... .......... .......... .......... .......... 68% 89,5M 0s 150K .......... .......... .......... .......... .......... 91% 5,11M 0s 200K .......... ....... 100% 152M=0,03s 2025-07-18 14:01:55 (7,00 MB/s) - «/tmp/192295f47f0bc2fdb472391cb4e3e580.jpg» enregistré [222624/222624] --2025-07-18 14:01:56-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 236160 (231K) [image/jpeg] Enregistre : «/tmp/3752f37de3c07db0be0e780afef19d0e.jpg» 0K .......... .......... .......... .......... .......... 21% 4,42M 0s 50K .......... .......... .......... .......... .......... 43% 5,47M 0s 100K .......... .......... .......... .......... .......... 65% 38,4M 0s 150K .......... .......... .......... .......... .......... 86% 5,50M 0s 200K .......... .......... .......... 100% 129M=0,03s 2025-07-18 14:01:56 (7,42 MB/s) - «/tmp/3752f37de3c07db0be0e780afef19d0e.jpg» enregistré [236160/236160] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody5200330766052015113asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody5200330766052015113asTemporaryFile : 222624 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580.jpg -O /tmp/192295f47f0bc2fdb472391cb4e3e580.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580-small.jpg type_mfp mfpopt2025 size_object of file /tmp/192295f47f0bc2fdb472391cb4e3e580-big.jpg : 52322 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/192295f47f0bc2fdb472391cb4e3e580-medium.jpg : 14336 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/192295f47f0bc2fdb472391cb4e3e580-small.jpg : 4416 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.608073 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3667 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 144 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3609 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3667 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 144 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3609 Before insertPortfolioPhotoId , duration 8 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580.jpg", "TemporaryFile(/tmp/multipartBody5200330766052015113asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580-big.jpg", "TemporaryFile(/tmp/multipartBody5200330766052015113asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580-medium.jpg", "TemporaryFile(/tmp/multipartBody5200330766052015113asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/192295f47f0bc2fdb472391cb4e3e580-small.jpg", "TemporaryFile(/tmp/multipartBody5200330766052015113asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3667 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 144 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3609 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519132 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519132" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody26177896136834710asTemporaryFile -n 20780fd79641690db92d3bb9bd4a9381 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_14_00_25_10810.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody26177896136834710asTemporaryFile -n 20780fd79641690db92d3bb9bd4a9381 --storage_server ovh -c media.fotonower.com Currently in runCommand in service.Utils ! /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody224900170755698145asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody224900170755698145asTemporaryFile : 236160 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e.jpg -O /tmp/3752f37de3c07db0be0e780afef19d0e.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e-small.jpg type_mfp mfpopt2025 size_object of file /tmp/3752f37de3c07db0be0e780afef19d0e-big.jpg : 98443 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3752f37de3c07db0be0e780afef19d0e-medium.jpg : 23225 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/3752f37de3c07db0be0e780afef19d0e-small.jpg : 6364 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.424135 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3584 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3477 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3584 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3477 Before insertPortfolioPhotoId , duration 16 : 1 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e.jpg", "TemporaryFile(/tmp/multipartBody224900170755698145asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e-big.jpg", "TemporaryFile(/tmp/multipartBody224900170755698145asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e-medium.jpg", "TemporaryFile(/tmp/multipartBody224900170755698145asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/3752f37de3c07db0be0e780afef19d0e-small.jpg", "TemporaryFile(/tmp/multipartBody224900170755698145asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3584 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3477 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519133 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519133" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1547294460982578808asTemporaryFile -n 59c18c01bbc25c5bcae45114bcf6dda0 --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=991 --filename=image_18072025_13_53_05_39602.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody1547294460982578808asTemporaryFile -n 59c18c01bbc25c5bcae45114bcf6dda0 --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! --2025-07-18 14:01:59-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 222258 (217K) [image/jpeg] Enregistre : «/tmp/20780fd79641690db92d3bb9bd4a9381.jpg» 0K .......... .......... .......... .......... .......... 23% 2,46M 0s 50K .......... .......... .......... .......... .......... 46% 4,96M 0s 100K .......... .......... .......... .......... .......... 69% 96,0M 0s 150K .......... .......... .......... .......... .......... 92% 115M 0s 200K .......... ....... 100% 1,82M=0,04s 2025-07-18 14:01:59 (5,33 MB/s) - «/tmp/20780fd79641690db92d3bb9bd4a9381.jpg» enregistré [222258/222258] --2025-07-18 14:02:00-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… connecté. requête HTTP transmise, en attente de la réponse… 200 OK Taille : 238538 (233K) [image/jpeg] Enregistre : «/tmp/59c18c01bbc25c5bcae45114bcf6dda0.jpg» 0K .......... .......... .......... .......... .......... 21% 4,77M 0s 50K .......... .......... .......... .......... .......... 42% 4,88M 0s 100K .......... .......... .......... .......... .......... 64% 107M 0s 150K .......... .......... .......... .......... .......... 85% 5,08M 0s 200K .......... .......... .......... .. 100% 113M=0,03s 2025-07-18 14:02:00 (7,44 MB/s) - «/tmp/59c18c01bbc25c5bcae45114bcf6dda0.jpg» enregistré [238538/238538] /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody26177896136834710asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody26177896136834710asTemporaryFile : 222258 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381.jpg -O /tmp/20780fd79641690db92d3bb9bd4a9381.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381-small.jpg type_mfp mfpopt2025 size_object of file /tmp/20780fd79641690db92d3bb9bd4a9381-big.jpg : 52305 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/20780fd79641690db92d3bb9bd4a9381-medium.jpg : 14322 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/20780fd79641690db92d3bb9bd4a9381-small.jpg : 4409 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.560847 Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3667 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 144 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3609 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3536 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3667 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 144 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3609 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3536 Before insertPortfolioPhotoId , duration 12 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381.jpg", "TemporaryFile(/tmp/multipartBody26177896136834710asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381-big.jpg", "TemporaryFile(/tmp/multipartBody26177896136834710asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381-medium.jpg", "TemporaryFile(/tmp/multipartBody26177896136834710asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (1042, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/20780fd79641690db92d3bb9bd4a9381-small.jpg", "TemporaryFile(/tmp/multipartBody26177896136834710asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 45 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3667 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 144 Before photo_uploader , duration 6 : 94.After photo_uploader , duration 7 : 3609 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 139 Before photo_uploader , duration 10 : 95.After photo_uploader , duration 11 : 3536 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 135 latitude : 0.0 longitude : 0.0 [info] a.models.Photo - source_id_submit_photo from insertion : 379519134 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519134" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 extension : jpg python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2222164007821355709asTemporaryFile -n e854be7e91951a94ef0f80030bc767bc --storage_server ovh -c media.fotonower.com -o 2025/7/18/ --specify_out --extension=jpg --custom_size=0 --mtr_user_id=1042 --filename=image_18072025_14_00_14_9826.jpg [info] a.service.Utils - Running : python3 /home/admin/workarea/git/Velours/python/photo_uploader.py -u /tmp/multipartBody2222164007821355709asTemporaryFile -n e854be7e91951a94ef0f80030bc767bc --storage_server ovh -c media.fotonower.co Currently in runCommand in service.Utils ! [error] play - Cannot invoke the action, eventually got an error: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 [error] application - ! @8a649l2c3 - Internal server error, for (POST) [/api/v1/raspi/addping] -> play.api.Application$$anon$1: Execution exception[[MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'report' at row 51736 at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:960) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1116) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1066) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1396) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1051) ~[mysql.mysql-connector-java-8.0.11.jar:8.0.11] getSimpleUser in getUserObj false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4876 AND mtr_user_id=979 getSimpleUser in getUserObj false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 getSimpleUser in getUserObj List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4883 AND mtr_user_id=979 false SELECT * from MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 List(25050138) UPDATE MTRPhoto.mtr_datou_current SET created_at=NOW(), updated_at=NOW() , state=0 WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 col_value_to_insert : List() SELECT id FROM MTRPhoto.mtr_datou_current WHERE mtr_portfolio_id in (25050138) AND mtd_id=4935 AND mtr_user_id=979 /home/admin/workarea/git/Velours/python/photo_uploader.py:138: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead. Image.ANTIALIAS) res from running command to print ! import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data options.local_file : /tmp/multipartBody1547294460982578808asTemporaryFile https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0.jpg image_url : https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0.jpg read_size type_mfp mfpopt2025 size_object of file /tmp/multipartBody1547294460982578808asTemporaryFile : 238538 TODO : update_height_and_width_fotonower_photos_mfpopt2025 je passe ici wget https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0.jpg -O /tmp/59c18c01bbc25c5bcae45114bcf6dda0.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0-big.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0-medium.jpg https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0-small.jpg type_mfp mfpopt2025 size_object of file /tmp/59c18c01bbc25c5bcae45114bcf6dda0-big.jpg : 99247 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/59c18c01bbc25c5bcae45114bcf6dda0-medium.jpg : 23423 TODO : update_height_and_width_fotonower_photos_mfpopt2025 type_mfp mfpopt2025 size_object of file /tmp/59c18c01bbc25c5bcae45114bcf6dda0-small.jpg : 6417 TODO : update_height_and_width_fotonower_photos_mfpopt2025 process time for diagram : 0:00:02.767507 Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3584 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3477 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 101.After photo_uploader , duration 19 : 3783 res : (0.0,0.0,0,0,0,0) latitude : 0.0 [debug] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3584 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3477 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 101.After photo_uploader , duration 19 : 3783 Before insertPortfolioPhotoId , duration 20 : 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0.jpg", "TemporaryFile(/tmp/multipartBody1547294460982578808asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", '0', '0') [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0-big.jpg", "TemporaryFile(/tmp/multipartBody1547294460982578808asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) coucou 0 [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0-medium.jpg", "TemporaryFile(/tmp/multipartBody1547294460982578808asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [debug] a.m.PhotoFotonower - INSERT IGNORE INTO MTRUser.mtr_fotonower_photos (`mtr_user_id`, `url`, `text`, `latitude`, `longitude`, `uploaded_at`, `content_type`, `width`, `height`) VALUES (991, "https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/59c18c01bbc25c5bcae45114bcf6dda0-small.jpg", "TemporaryFile(/tmp/multipartBody1547294460982578808asTemporaryFile)", 0.0, 0.0, UNIX_TIMESTAMP(),"", NULL, NULL) [info] a.c.Photo - Before photo_uploader for loop , duration 1 : 47 Before photo_uploader , duration 2 : 0.After photo_uploader , duration 3 : 3811 Before insertPortfolioPhotoId , duration 4 : 0.After insertPortfolioPhotoId , duration 5 : 156 Before photo_uploader , duration 6 : 115.After photo_uploader , duration 7 : 3626 Before insertPortfolioPhotoId , duration 8 : 0.After insertPortfolioPhotoId , duration 9 : 141 Before photo_uploader , duration 10 : 98.After photo_uploader , duration 11 : 3584 Before insertPortfolioPhotoId , duration 12 : 0.After insertPortfolioPhotoId , duration 13 : 141 Before photo_uploader , duration 14 : 93.After photo_uploader , duration 15 : 3477 Before insertPortfolioPhotoId , duration 16 : 1.After insertPortfolioPhotoId , duration 17 : 134 Before photo_uploader , duration 18 : 101.After photo_uploader , duration 19 : 3783 Before insertPortfolioPhotoId , duration 20 : 0.After insertPortfolioPhotoId , duration 21 : 146 latitude : 0.0 longitude : 0.0 [debug] a.c.Application - mtr_user_id : 0 0 [info] application - [securesocial] unloaded identity provider: userpass [info] application - [securesocial] unloaded password hasher bcrypt [info] play - Shutdown application default Akka system. [info] a.models.Photo - source_id_submit_photo from insertion : 379519135 query : SELECT photo_id FROM MTRBack.photos WHERE sourcename="manual_api_submit" AND source_id = "379519135" [info] a.models.Photo - photo_id_already_there is not already there photo_id_already_there : 0 --2025-07-18 14:02:02-- https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/18/e854be7e91951a94ef0f80030bc767bc.jpg Résolution de storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)… [error] play - Cannot invoke the action, eventually got an error: java.sql.SQLException: Attempting to obtain a connection from a pool that has already been shutdown. Stack trace of location where pool was shutdown follows: java.lang.Thread.getStackTrace(Thread.java:1564) com.jolbox.bonecp.BoneCP.captureStackTrace(BoneCP.java:572) com.jolbox.bonecp.BoneCP.shutdown(BoneCP.java:161) com.jolbox.bonecp.BoneCPDataSource.close(BoneCPDataSource.java:143) play.api.db.BoneCPApi.shutdownPool(DB.scala:411) play.api.db.BoneCPPlugin$$anonfun$onStop$1.apply(DB.scala:264) play.api.db.BoneCPPlugin$$anonfun$onStop$1.apply(DB.scala:262) scala.collection.immutable.List.foreach(List.scala:318) play.api.db.BoneCPPlugin.onStop(DB.scala:262) play.api.Play$$anonfun$stop$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$2.apply(Play.scala:105) play.api.Play$$anonfun$stop$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$2.apply(Play.scala:104) scala.collection.immutable.List.foreach(List.scala:318) play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply$mcV$sp(Play.scala:104) play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply(Play.scala:104) play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply(Play.scala:104) play.utils.Threads$.withContextClassLoader(Threads.scala:18) play.api.Play$$anonfun$stop$1.apply(Play.scala:103) play.api.Play$$anonfun$stop$1.apply(Play.scala:102) scala.Option.map(Option.scala:145) play.api.Play$.stop(Play.scala:102) play.core.server.NettyServer.stop(NettyServer.scala:163) play.core.server.NettyServer$$anon$2.run(NettyServer.scala:251) [error] application - ! @8a649l3lp - Internal server error, for (POST) [/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=3305717&datou=0] -> play.api.Application$$anon$1: Execution exception[[SQLException: Attempting to obtain a connection from a pool that has already been shutdown. Stack trace of location where pool was shutdown follows: java.lang.Thread.getStackTrace(Thread.java:1564) com.jolbox.bonecp.BoneCP.captureStackTrace(BoneCP.java:572) com.jolbox.bonecp.BoneCP.shutdown(BoneCP.java:161) com.jolbox.bonecp.BoneCPDataSource.close(BoneCPDataSource.java:143) play.api.db.BoneCPApi.shutdownPool(DB.scala:411) play.api.db.BoneCPPlugin$$anonfun$onStop$1.apply(DB.scala:264) play.api.db.BoneCPPlugin$$anonfun$onStop$1.apply(DB.scala:262) scala.collection.immutable.List.foreach(List.scala:318) play.api.db.BoneCPPlugin.onStop(DB.scala:262) play.api.Play$$anonfun$stop$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$2.apply(Play.scala:105) play.api.Play$$anonfun$stop$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$2.apply(Play.scala:104) scala.collection.immutable.List.foreach(List.scala:318) play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply$mcV$sp(Play.scala:104) play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply(Play.scala:104) play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply(Play.scala:104) play.utils.Threads$.withContextClassLoader(Threads.scala:18) play.api.Play$$anonfun$stop$1.apply(Play.scala:103) play.api.Play$$anonfun$stop$1.apply(Play.scala:102) scala.Option.map(Option.scala:145) play.api.Play$.stop(Play.scala:102) play.core.server.NettyServer.stop(NettyServer.scala:163) play.core.server.NettyServer$$anon$2.run(NettyServer.scala:251) ]] at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3] Caused by: java.sql.SQLException: Attempting to obtain a connection from a pool that has already been shutdown. Stack trace of location where pool was shutdown follows: java.lang.Thread.getStackTrace(Thread.java:1564) com.jolbox.bonecp.BoneCP.captureStackTrace(BoneCP.java:572) com.jolbox.bonecp.BoneCP.shutdown(BoneCP.java:161) com.jolbox.bonecp.BoneCPDataSource.close(BoneCPDataSource.java:143) play.api.db.BoneCPApi.shutdownPool(DB.scala:411) play.api.db.BoneCPPlugin$$anonfun$onStop$1.apply(DB.scala:264) play.api.db.BoneCPPlugin$$anonfun$onStop$1.apply(DB.scala:262) scala.collection.immutable.List.foreach(List.scala:318) play.api.db.BoneCPPlugin.onStop(DB.scala:262) play.api.Play$$anonfun$stop$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$2.apply(Play.scala:105) play.api.Play$$anonfun$stop$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$2.apply(Play.scala:104) scala.collection.immutable.List.foreach(List.scala:318) play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply$mcV$sp(Play.scala:104) play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply(Play.scala:104) play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply(Play.scala:104) play.utils.Threads$.withContextClassLoader(Threads.scala:18) play.api.Play$$anonfun$stop$1.apply(Play.scala:103) play.api.Play$$anonfun$stop$1.apply(Play.scala:102) scala.Option.map(Option.scala:145) play.api.Play$.stop(Play.scala:102) play.core.server.NettyServer.stop(NettyServer.scala:163) play.core.server.NettyServer$$anon$2.run(NettyServer.scala:251) at com.jolbox.bonecp.AbstractConnectionStrategy.preConnection(AbstractConnectionStrategy.java:52) ~[com.jolbox.bonecp-0.8.0.RELEASE.jar:na] at com.jolbox.bonecp.AbstractConnectionStrategy.getConnection(AbstractConnectionStrategy.java:88) ~[com.jolbox.bonecp-0.8.0.RELEASE.jar:na] at com.jolbox.bonecp.BoneCP.getConnection(BoneCP.java:553) ~[com.jolbox.bonecp-0.8.0.RELEASE.jar:na] at com.jolbox.bonecp.BoneCPDataSource.getConnection(BoneCPDataSource.java:131) ~[com.jolbox.bonecp-0.8.0.RELEASE.jar:na] at play.api.db.DBApi$class.getConnection(DB.scala:67) ~[com.typesafe.play.play-jdbc_2.10-2.2.3.jar:2.2.3] at play.api.db.BoneCPApi.getConnection(DB.scala:276) ~[com.typesafe.play.play-jdbc_2.10-2.2.3.jar:2.2.3] 54.38.230.76 Connexion à storage.sbg.cloud.ovh.net (storage.sbg.cloud.ovh.net)|54.38.230.76|:443… Command exited with non-zero status 143 399.18user 408.96system 10:15.34elapsed 131%CPU (0avgtext+0avgdata 1259048maxresident)k 976inputs+754088outputs (530major+12199610minor)pagefaults 0swaps