Page MenuHomePhabricator

JeanFred (Jean-Frédéric)
Volunteer

Projects (9)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Oct 6 2014, 10:01 PM (533 w, 5 d)
Availability
Available
IRC Nick
JeanFred
LDAP User
Jean-Frédéric
MediaWiki User
Jean-Frédéric [ Global Accounts ]

Developer of Tool-inteGraality. Maintainer of Tool-wikiloves and Wiki-Loves-Monuments

Recent Activity

Nov 9 2024

JeanFred added a comment to T379452: wikiloves inaccessible since November 4th.

The service was going in 403 forbidden (at least something different!) When I tried to stop/start, it started as a PHP service ; I then ran the command logged above in SAL ; and edited webservice.template to specify web: python3.9.

Nov 9 2024, 8:23 AM · Tool-wikiloves
JeanFred added a comment to T379452: wikiloves inaccessible since November 4th.

@dhinus on IRC took some steps some 8 hours ago:
<dhinus> the pod is indeed in CrashLoopBackOff, and has already restarted 44 times
<dhinus> kubectl describe pod shows "Back-off restarting failed container webservice in pod wikiloves-6849f4ccb4-9w6b6_tool-wikiloves"
<dhinus> I will try the stop+start myself while I'm here
<dhinus> the pod is now rescheduled on tools-k8s-worker-nfs-74 and it seems more healthy

Nov 9 2024, 8:17 AM · Tool-wikiloves
JeanFred added a comment to T379452: wikiloves inaccessible since November 4th.

Asking for help on Telegram, I was told this might be T362867#10292196

Nov 9 2024, 8:14 AM · Tool-wikiloves
JeanFred added a comment to T379452: wikiloves inaccessible since November 4th.

Yesterday, just in case, I recreated the virtual-environment using

toolforge webservice python3.9 shell
webservice-python-bootstrap --fresh
Nov 9 2024, 8:13 AM · Tool-wikiloves
JeanFred added a comment to T379452: wikiloves inaccessible since November 4th.

Two days ago, I ran webservice restart a few times, which did not help

Nov 9 2024, 8:12 AM · Tool-wikiloves
JeanFred added a comment to T379452: wikiloves inaccessible since November 4th.

The UWSGI logs are a vast loop of

*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:27:45 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:27:58 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:28:27 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:29:12 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:30:20 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:32:05 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:35:01 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:40:26 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:45:46 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:51:11 2024] ***
*** Starting uWSGI 2.0.19.1-debian (64bit) on [Mon Nov  4 14:56:35 2024] ***
...
Nov 9 2024, 8:11 AM · Tool-wikiloves
JeanFred created T379452: wikiloves inaccessible since November 4th.
Nov 9 2024, 8:10 AM · Tool-wikiloves

Oct 10 2024

JeanFred awarded T376902: Add information to InteGraality user guide from Wikipedia Workbook for Cultural Institutions a Love token.
Oct 10 2024, 3:28 PM · Documentation, good first task, Tool-inteGraality

Sep 25 2024

Antanana awarded T346681: Known fields for ua_uk a Y So Serious token.
Sep 25 2024, 4:44 PM · Wiki-Loves-Monuments-Database

Sep 23 2024

JeanFred updated the task description for T186061: Evaluate Matrix / Element as the recommended chat system for Wikimedia.
Sep 23 2024, 10:48 AM · ERC, Matrix, User-Tgr, Developer-Advocacy

Sep 18 2024

JeanFred created P69251 Errors during ErfgoedBot harvsting 2024-09-18.
Sep 18 2024, 9:16 AM

Sep 1 2024

JeanFred created T373771: /_buildStats.php crashes.
Sep 1 2024, 7:38 PM · Wiki-Loves-Monuments-Database

Aug 28 2024

JeanFred added a comment to T319787: Migrate heritage from Toolforge GridEngine to Toolforge Kubernetes.

That sounds promising, trying that out. Quick question: the jobsNewJob schema does not seem to have a wait parameter − that means starting a new job via the API is necessarily fire-and-forget, correct?

Aug 28 2024, 7:43 PM · Wiki-Loves-Monuments-Database, Grid-Engine-to-K8s-Migration
JeanFred added a comment to T319787: Migrate heritage from Toolforge GridEngine to Toolforge Kubernetes.
Aug 28 2024, 7:18 PM · Wiki-Loves-Monuments-Database, Grid-Engine-to-K8s-Migration

Aug 21 2024

JeanFred added a comment to T319787: Migrate heritage from Toolforge GridEngine to Toolforge Kubernetes.

I got something working, will wait overnight to see if it went well, and will then send to Gerrit the necessary changes.

Aug 21 2024, 7:48 PM · Wiki-Loves-Monuments-Database, Grid-Engine-to-K8s-Migration

Aug 19 2024

JeanFred added a comment to T319787: Migrate heritage from Toolforge GridEngine to Toolforge Kubernetes.

Status report (see also https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.heritage/SAL)

  • Recreated the venv under k8s
  • Tried to run a one-off job using toolforge jobs run update-monuments-min --command /data/project/heritage/bin/update_monuments_min.sh --image python3.7
Aug 19 2024, 1:22 PM · Wiki-Loves-Monuments-Database, Grid-Engine-to-K8s-Migration

Jul 27 2024

JeanFred renamed T371178: Year groups with advanced grouping configuration from Year grouping and advanced grouping to Year groups with advanced grouping configuration.
Jul 27 2024, 12:50 PM · Tool-inteGraality
JeanFred created T371178: Year groups with advanced grouping configuration.
Jul 27 2024, 12:49 PM · Tool-inteGraality

Jun 24 2024

simon04 awarded T218057: Determine workflow to selectively purge potentially privacy-sensitive EXIF fields, such as geocoordinates, from a Wikimedia Commons file a Burninate token.
Jun 24 2024, 7:41 PM · Privacy Engineering, Multimedia, Privacy, Commons, UploadWizard, MediaWiki-File-management

Jun 21 2024

JeanFred added a comment to T367996: United States.

Could you elaborate ? @Trioslosdios850 :)

Jun 21 2024, 7:47 AM · Wiki-Loves-Monuments-Sources

Jun 19 2024

JeanFred updated the task description for T368001: Create pages linked using `grouping_link`.
Jun 19 2024, 10:30 PM · Tool-inteGraality
JeanFred moved T368001: Create pages linked using `grouping_link` from Backlog to Enhancements on the Tool-inteGraality board.
Jun 19 2024, 10:29 PM · Tool-inteGraality
JeanFred created T368001: Create pages linked using `grouping_link`.
Jun 19 2024, 10:29 PM · Tool-inteGraality

May 24 2024

JeanFred added a comment to T174633: Set license on heritage repo.

Oh, geez, we never followed-up on that >_>. Adding at least MIT sounds good to me.

May 24 2024, 9:00 AM · User-LokalProfil, Software-Licensing, Wiki-Loves-Monuments-Database
JeanFred added a comment to T319787: Migrate heritage from Toolforge GridEngine to Toolforge Kubernetes.

Thanks for the answer!:

May 24 2024, 9:00 AM · Wiki-Loves-Monuments-Database, Grid-Engine-to-K8s-Migration
JeanFred added a comment to T319787: Migrate heritage from Toolforge GridEngine to Toolforge Kubernetes.

can you please publish the code for your tool on a public repository (like gitlab.wikimedia.org), that would help me greatly know how to guide you, and make your tool compliant with the TOU of toolforge.

May 24 2024, 8:11 AM · Wiki-Loves-Monuments-Database, Grid-Engine-to-K8s-Migration

May 15 2024

JeanFred added a comment to T365064: Wiki Loves Earth in Democratic Republic of the Congo.

For background − the tool looks up categories with the format Images from <contest> <year> in <country>.

May 15 2024, 8:35 PM · Tool-wikiloves
JeanFred added a comment to T365064: Wiki Loves Earth in Democratic Republic of the Congo.

Reason is that the tool expects the category names to be « Category:Images from Wiki Loves XYZ 20XX in the Democratic Republic of the Congo » (note the the), but the WLE categories are named « Category:Wiki Loves Earth 20XX in Democratic Republic of the Congo‎ (without the)

May 15 2024, 8:25 PM · Tool-wikiloves
JeanFred updated the task description for T365064: Wiki Loves Earth in Democratic Republic of the Congo.
May 15 2024, 8:23 PM · Tool-wikiloves
JeanFred created T365064: Wiki Loves Earth in Democratic Republic of the Congo.
May 15 2024, 8:23 PM · Tool-wikiloves

May 4 2024

JeanFred closed T364035: Armenia in WLE statistic as Resolved.

The story has been touched before in T284129#7144208 or T318944#8289726: since 2017 the tool expects the category name to be Images from Wiki Loves XYZ in Armenia & Nagorno-Karabakh (e810058). I was under the impression that this was supposed to be the standard pattern.

May 4 2024, 9:21 PM · Tool-wikiloves
JeanFred added a comment to T251008: Queries endpoint support for Property columns with qualifier.

Also, slight refinement for the positive query:

May 4 2024, 5:31 PM · Tool-inteGraality
JeanFred added a comment to T251008: Queries endpoint support for Property columns with qualifier.

For the positive query, I would suggest:

SELECT DISTINCT ?entity ?entityLabel ?value ?valueLabel WHERE {
  ?entity wdt:P31 wd:Q28564,wd:Q11396180;wdt:P17 wd:Q55 .
  ?entity wdt:P361 wd:Q59961903 .
  ?entity p:P669 ?statement .
  { ?statement pq:P670 ?value . } UNION { ?statement a wdno:P670 . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
May 4 2024, 5:08 PM · Tool-inteGraality
JeanFred updated the task description for T251008: Queries endpoint support for Property columns with qualifier.
May 4 2024, 7:26 AM · Tool-inteGraality

May 3 2024

JeanFred updated subscribers of T251008: Queries endpoint support for Property columns with qualifier.

Ok, the code is now in a shape where I can do this. I’m only missing the SPARQL queries :) Let’s continue to take https://www.wikidata.org/wiki/User:Jean-Fr%C3%A9d%C3%A9ric/T251008 as example − what would be correct query for the last column?

May 3 2024, 10:47 PM · Tool-inteGraality
JeanFred renamed T251008: Queries endpoint support for Property columns with qualifier from Qualifier cells do not contain the qualifier information to Queries endpoint support for Property columns with qualifier.
May 3 2024, 10:29 PM · Tool-inteGraality

Apr 27 2024

JeanFred closed T319813: Migrate integraality from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Apr 27 2024, 9:48 AM · Tool-inteGraality, Grid-Engine-to-K8s-Migration

Mar 26 2024

JeanFred created P58933 PropertyCreator.js errror.
Mar 26 2024, 11:25 PM

Mar 17 2024

JeanFred reopened T319787: Migrate heritage from Toolforge GridEngine to Toolforge Kubernetes as "Open".
Mar 17 2024, 11:49 AM · Wiki-Loves-Monuments-Database, Grid-Engine-to-K8s-Migration
JeanFred added a project to T319813: Migrate integraality from Toolforge GridEngine to Toolforge Kubernetes: Tool-inteGraality.
Mar 17 2024, 11:46 AM · Tool-inteGraality, Grid-Engine-to-K8s-Migration
JeanFred reopened T319813: Migrate integraality from Toolforge GridEngine to Toolforge Kubernetes as "Open".
Mar 17 2024, 11:45 AM · Tool-inteGraality, Grid-Engine-to-K8s-Migration

Mar 14 2024

JeanFred closed T313588: Add Wiki Loves Folklore Competition to wikiloves stats tool as Resolved.

Closing as resolved from my perspective. Please reopen if need be. Thanks!

Mar 14 2024, 9:45 AM · Tool-wikiloves
JeanFred closed T355006: Include Wiki Loves Bangla in the Wikiloves tool as Declined.

Please see https://wikitech.wikimedia.org/wiki/Tool:Wikiloves#Scope : this tool currently does not work for global events.

Mar 14 2024, 9:43 AM · Tool-wikiloves

Feb 10 2024

JeanFred claimed T319813: Migrate integraality from Toolforge GridEngine to Toolforge Kubernetes.
Feb 10 2024, 6:11 PM · Tool-inteGraality, Grid-Engine-to-K8s-Migration
JeanFred closed T319778: Migrate governance-timeline from Toolforge GridEngine to Toolforge Kubernetes as Invalid.

This tool can be deleted actually. I just disabled it in the toolsadmin console.

Feb 10 2024, 6:09 PM · Grid-Engine-to-K8s-Migration
JeanFred added a comment to T320160: Migrate wikiloves from Toolforge GridEngine to Toolforge Kubernetes.

@JeanFred: Do you need help with this task? I don't see the code of wikiloves for years, but if it is still in python2 I can create a virtualenv in python2 in kubernetes. I have other two tools running python2 in kubernetes that also use Flask and pymysql and I can copy the version of each lib, that is the main difficulty when creating a python2 virtualenv, find the libraries versions that work in python2.

Unfortunately, we can not just copy the virtualenv used in grid engine because grid engine and kubernernetes python2 image use different debian versions and the virtualenv does not work in a different version.

Feb 10 2024, 6:00 PM · Tool-wikiloves, Grid-Engine-to-K8s-Migration
JeanFred closed T320160: Migrate wikiloves from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Feb 10 2024, 5:59 PM · Tool-wikiloves, Grid-Engine-to-K8s-Migration
JeanFred closed T334932: Upgrade wikiloves to Python3 as Resolved.

Done in April 2023 via 1b084c487a90 & 442fa0d0fdd2.

Feb 10 2024, 5:54 PM · Tool-wikiloves

Jan 29 2024

Don-vip awarded T218057: Determine workflow to selectively purge potentially privacy-sensitive EXIF fields, such as geocoordinates, from a Wikimedia Commons file a Hungry Hippo token.
Jan 29 2024, 9:07 PM · Privacy Engineering, Multimedia, Privacy, Commons, UploadWizard, MediaWiki-File-management

Nov 21 2023

JeanFred closed T351574: Internal Server Error on InteGraality as Resolved.

This was due to T326266: Remove the WMCS statsd/Graphite service: as the cloudmetrics0003 host was removed, and pystatsd has the interesting behaviour of crashing out if the statsd host is unavailable (https://github.com/jsocol/pystatsd/issues/130)

Nov 21 2023, 8:02 PM · Tool-inteGraality

Oct 29 2023

JeanFred added a comment to T236590: Allow grouping by date properties.

💡 (thanks to “Fictional characters whose birth/death date is in the current decade” from the Query Service example page

BIND(YEAR(?date) as ?year).
BIND(xsd:integer(?year/10) as ?decade).
FILTER(?decade = 200).
Oct 29 2023, 9:27 PM · Tool-inteGraality
JeanFred added a comment to T236590: Allow grouping by date properties.

Support was added back with 0a8e7fb, and since da99820 there is no need to configure it explicitly, as is automatically inferred based on the property datatype.

Oct 29 2023, 9:12 PM · Tool-inteGraality
JeanFred closed T312726: Add integraality column for sitelinks as Resolved.
Oct 29 2023, 9:02 PM · Tool-inteGraality
JeanFred closed T312728: Refactor integraality grouping configuration and logic as Resolved.

This took me a long long time, but I think I’m mostly done.

Oct 29 2023, 9:02 PM · Tool-inteGraality
JeanFred closed T312729: Support grouping by other Wikibase concepts than wdt:Pxyz, a subtask of T294889: Assess whether integraality works/makese sense for Lexemes, as Resolved.
Oct 29 2023, 9:01 PM · Tool-inteGraality
JeanFred closed T312729: Support grouping by other Wikibase concepts than wdt:Pxyz, a subtask of T312728: Refactor integraality grouping configuration and logic, as Resolved.
Oct 29 2023, 9:01 PM · Tool-inteGraality
JeanFred closed T312729: Support grouping by other Wikibase concepts than wdt:Pxyz as Resolved.

3ba5e84 solves this.

Oct 29 2023, 9:01 PM · Tool-inteGraality

Oct 22 2023

JeanFred added a comment to T346681: Known fields for ua_uk.

I quickly commented out the wd_item part

#        {
#            "dest": "wd_item",
#            "source": "wikidata",
#            "check": "checkWD"
#        },

so that hopefully next harvest does not crash

Oct 22 2023, 10:23 AM · Wiki-Loves-Monuments-Database
JeanFred updated subscribers of T346681: Known fields for ua_uk.

@Lokal_Profil What do you think ? Is there a proper way to map to wd_item and having it nullable somehow ? Or shall we just revert that mapping?

Oct 22 2023, 10:22 AM · Wiki-Loves-Monuments-Database
JeanFred added a comment to T346681: Known fields for ua_uk.

Checked the logs quickly:

ERROR: Unknown error occurred when processing country ua in lang uk
(1048, "Column 'wd_item' cannot be null")

So, yeah, this is definitely linked to 0a8c490 :-/

Oct 22 2023, 10:21 AM · Wiki-Loves-Monuments-Database

Oct 12 2023

JeanFred merged T319144: Armenia missing in Statistik list, WLM 2022 into T318944: WLM 2022: Armenia missing from wikiloves .
Oct 12 2023, 7:35 AM · Tool-wikiloves, Wiki Loves Monuments FY 2022-2023
JeanFred merged task T319144: Armenia missing in Statistik list, WLM 2022 into T318944: WLM 2022: Armenia missing from wikiloves .
Oct 12 2023, 7:35 AM · Tool-wikiloves
JeanFred added a project to T318944: WLM 2022: Armenia missing from wikiloves : Tool-wikiloves.
Oct 12 2023, 7:34 AM · Tool-wikiloves, Wiki Loves Monuments FY 2022-2023
JeanFred closed T347813: WLM2023 Statistic Armenia as Resolved.

See https://wikiloves.toolforge.org/monuments/2023/Armenia

Oct 12 2023, 7:33 AM · Wiki-Loves-Monuments

Oct 5 2023

JeanFred added a comment to T312726: Add integraality column for sitelinks.

Syntax-wise, I checked for inspiration the JSON rendering (example) − the sitelinks are keyed as “frwiki” or “bnwikivoyage“. That looks good enough ; but can I then use that in a SPARQL query? The SPARQL seems to use URLs, eg

?article schema:about ?item.
?article schema:isPartOf <https://en.wikipedia.org/>.
Oct 5 2023, 7:17 PM · Tool-inteGraality

Oct 3 2023

JeanFred created T348053: Support wikibase-lexeme as datatype for grouping.
Oct 3 2023, 6:42 PM · Tool-inteGraality

Oct 2 2023

JeanFred closed T302314: Table not updating as Invalid.

Closing as invalid, as there is nothing much I can do there from the service side.

Oct 2 2023, 6:02 PM · Tool-inteGraality
JeanFred moved T347897: integraality column for EntitySchema compliance? from Backlog to Enhancements on the Tool-inteGraality board.
Oct 2 2023, 6:00 PM · Tool-inteGraality
JeanFred created T347897: integraality column for EntitySchema compliance?.
Oct 2 2023, 5:53 PM · Tool-inteGraality

Sep 18 2023

JeanFred created T346681: Known fields for ua_uk.
Sep 18 2023, 7:03 PM · Wiki-Loves-Monuments-Database
JeanFred closed T231796: 502 Bad Gateway error in wikiloves images view when passing a user as Resolved.

Four years later, finally took the time to look into it properly :)

Sep 18 2023, 4:12 PM · Tool-wikiloves
JeanFred merged T316917: 502 error on visiting the user subpage of a competition into T231796: 502 Bad Gateway error in wikiloves images view when passing a user.
Sep 18 2023, 4:07 PM · Tool-wikiloves
JeanFred merged task T316917: 502 error on visiting the user subpage of a competition into T231796: 502 Bad Gateway error in wikiloves images view when passing a user.
Sep 18 2023, 4:07 PM · Tool-wikiloves

Aug 29 2023

JeanFred created T345155: Pre-fill “Title language code” based on album statements (P407).
Aug 29 2023, 1:08 PM · Tool-multitrack-drafting

Aug 28 2023

JeanFred closed T338987: Multiple DB-related errors during harvesting as Resolved.

Harvesting has been stable for a few days now − closing as Resolved 🎉

Aug 28 2023, 9:12 AM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Should the "SET sql_mode =" patch also be applied to the other sql templates (classic_table.sql.template and wikidata_table.sql.template)?

Aug 28 2023, 9:11 AM · Data-Services, Wiki-Loves-Monuments-Database

Aug 27 2023

JeanFred added a comment to T249678: Add OAuth login to mailman for accessing list memberships/archive viewing.

The appstream patch was merged, will be presumably released with 0.45 (maybe some time around the end of the year, based on their average release frequency).

Aug 27 2023, 9:58 PM · Wikimedia-Hackathon-2021, Upstream, SRE, Wikimedia-Mailing-lists

Aug 25 2023

JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

@Lokal_Profil Thanks! I have the two STRICT_TRANS_TABLES open patches manually applied on the server, so I’ll only be able to deploy your changes once they are merged.

Aug 25 2023, 9:29 AM · Data-Services, Wiki-Loves-Monuments-Database

Aug 24 2023

JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Grepping through the logs for errors, only 2:

ERROR: Unknown error occurred when processing country de-he in lang de
(1048, "Column 'wd_item' cannot be null")
Aug 24 2023, 6:31 PM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Monuments Database is back to 1.7M monuments 🎉 https://commons.wikimedia.org/wiki/Commons:Monuments_database/Statistics

Aug 24 2023, 2:41 PM · Data-Services, Wiki-Loves-Monuments-Database

Aug 23 2023

JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Harvesting ran today without issue − until the very last step:

2023-08-23_18:22:51 Update monuments_all table...
ERROR 1292 (22007) at line 514: Truncated incorrect DECIMAL value: ''
Aug 23 2023, 6:32 PM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Edited the code in place on Toolforge to add a sql_mode argument to the pymysql connection object. If that works out, I’ll submit a Gerrit patch.

Aug 23 2023, 7:27 AM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Ah, so the SQL mode setting simply does not stick. Running again:

MariaDB [s51138__heritage_p]> SELECT @@SQL_MODE, @@GLOBAL.SQL_MODE;
+-------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+
| @@SQL_MODE                                                                                | @@GLOBAL.SQL_MODE                                                                         |
+-------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+
| STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION | STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
+-------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+
Aug 23 2023, 7:18 AM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Hmmm, running SELECT @@SQL_MODE, @@GLOBAL.SQL_MODE; again in s51138__heritage_p I’m getting

Aug 23 2023, 7:13 AM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Harvesting ran over night − still 84 errors :/

ERROR: Unknown error occurred when processing country ir in lang fa
(1406, "Data too long for column 'image' at row 1")
--
ERROR: Unknown error occurred when processing country se-arbetsl in lang sv
(1406, "Data too long for column 'id' at row 1")
--
ERROR: Unknown error occurred when processing country de-nrw-bm in lang de
(1406, "Data too long for column 'beschreibung' at row 1")
--
ERROR: Unknown error occurred when processing country es-ct in lang ca
(1265, "Data truncated for column 'prot' at row 1")
--
ERROR: Unknown error occurred when processing country ro in lang ro
(1406, "Data too long for column 'adresa' at row 1")
--
ERROR: Unknown error occurred when processing country be-vlg in lang fr
(1406, "Data too long for column 'classement' at row 1")
--
ERROR: Unknown error occurred when processing country ie in lang en
(1265, "Data truncated for column 'number' at row 1")
--
ERROR: Unknown error occurred when processing country hu in lang hu
(1265, "Data truncated for column 'site' at row 1")
--
ERROR: Unknown error occurred when processing country ch2 in lang de
(1406, "Data too long for column 'fotobeschreibung' at row 1")
--
ERROR: Unknown error occurred when processing country gb-eng in lang en
(1406, "Data too long for column 'name' at row 1")
--
ERROR: Unknown error occurred when processing country rs in lang sr
(1265, "Data truncated for column 'site' at row 1")
--
ERROR: Unknown error occurred when processing country be-wal in lang fr
(1406, "Data too long for column 'nom_objet' at row 1")
--
ERROR: Unknown error occurred when processing country uy in lang es
(1406, "Data too long for column 'monumento' at row 1")
--
ERROR: Unknown error occurred when processing country es in lang ca
(1265, "Data truncated for column 'prot' at row 1")
--
ERROR: Unknown error occurred when processing country gb-nir in lang en
(1406, "Data too long for column 'hb' at row 1")
--
ERROR: Unknown error occurred when processing country aq in lang en
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country ch-old in lang en
(1265, "Data truncated for column 'kgs_nr' at row 1")
--
ERROR: Unknown error occurred when processing country no in lang no
(1265, "Data truncated for column 'id' at row 1")
--
ERROR: Unknown error occurred when processing country us-ca in lang en
(1265, "Data truncated for column 'refnum' at row 1")
--
ERROR: Unknown error occurred when processing country fr in lang fr
(1406, "Data too long for column 'notice' at row 1")
--
ERROR: Unknown error occurred when processing country it-bz in lang de
(1406, "Data too long for column 'beschreibung' at row 1")
--
ERROR: Unknown error occurred when processing country ca-prov in lang en
(1366, "Incorrect integer value: '––' for column `s51138__heritage_p`.`monuments_ca-prov_(en)`.`idm` at row 1")
--
ERROR: Unknown error occurred when processing country th in lang th
(1265, "Data truncated for column 'site' at row 1")
--
ERROR: Unknown error occurred when processing country il in lang he
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country de-he in lang de
(1406, "Data too long for column 'beschreibung' at row 1")
--
ERROR: Unknown error occurred when processing country pt in lang pt
(1406, "Data too long for column 'designacoes' at row 1")
--
ERROR: Unknown error occurred when processing country fr-object in lang fr
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country mx in lang es
(1406, "Data too long for column 'id' at row 1")
--
ERROR: Unknown error occurred when processing country be-bru in lang nl
(1406, "Data too long for column 'bouwdoor' at row 1")
--
ERROR: Unknown error occurred when processing country au in lang en
(1366, "Incorrect double value: '' for column `s51138__heritage_p`.`monuments_au_(en)`.`lon` at row 35")
--
ERROR: Unknown error occurred when processing country be-wal in lang nl
(1406, "Data too long for column 'descr_nl' at row 1")
--
ERROR: Unknown error occurred when processing country gb-sct in lang en
(1265, "Data truncated for column 'hb' at row 1")
--
ERROR: Unknown error occurred when processing country es-vc in lang ca
(1265, "Data truncated for column 'prot' at row 1")
--
ERROR: Unknown error occurred when processing country hr in lang hr
(1406, "Data too long for column 'arhitekt' at row 1")
--
ERROR: Unknown error occurred when processing country jp-nhs in lang en
(1406, "Data too long for column 'comments' at row 1")
--
ERROR: Unknown error occurred when processing country za in lang en
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country pa in lang es
(1406, "Data too long for column 'descripcion' at row 1")
--
ERROR: Unknown error occurred when processing country ar in lang es
(1406, "Data too long for column 'direccion' at row 1")
--
ERROR: Unknown error occurred when processing country sr in lang commons
(1366, "Incorrect double value: '' for column `s51138__heritage_p`.`monuments_sr_(nl)`.`lon` at row 2")
--
ERROR: Unknown error occurred when processing country pl in lang pl
(1406, "Data too long for column 'nazwa' at row 1")
--
ERROR: Unknown error occurred when processing country in in lang en
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country es in lang es
(1406, "Data too long for column 'lugar' at row 1")
--
ERROR: Unknown error occurred when processing country wlpa-es-ct in lang ca
(1406, "Data too long for column 'descripcio' at row 1")
--
ERROR: Unknown error occurred when processing country be-wal in lang en
(1406, "Data too long for column 'descr_nl' at row 1")
--
ERROR: Unknown error occurred when processing country us in lang en
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country at in lang de
(1406, "Data too long for column 'beschreibung' at row 1")
--
ERROR: Unknown error occurred when processing country dk-bygning in lang da
(1265, "Data truncated for column 'systemnrbyg' at row 1")
--
ERROR: Unknown error occurred when processing country by in lang be-tarask
(1406, "Data too long for column 'name' at row 1")
--
ERROR: Unknown error occurred when processing country eg in lang ar
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country de-nrw-k in lang de
(1406, "Data too long for column 'beschreibung' at row 1")
--
ERROR: Unknown error occurred when processing country mt in lang de
(1406, "Data too long for column 'beschreibung' at row 1")
--
ERROR: Unknown error occurred when processing country ug in lang en
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country ca-fed in lang en
(1406, "Data too long for column 'address' at row 1")
--
ERROR: Unknown error occurred when processing country tn in lang fr
(1406, "Data too long for column 'monument' at row 1")
--
ERROR: Unknown error occurred when processing country il-npa in lang he
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country nl in lang nl
(1265, "Data truncated for column 'type_obj' at row 1")
--
ERROR: Unknown error occurred when processing country cn in lang en
(1406, "Data too long for column 'designation' at row 1")
--
ERROR: Unknown error occurred when processing country be-vlg in lang en
(1406, "Data too long for column 'address' at row 1")
--
ERROR: Unknown error occurred when processing country pe in lang es
(1406, "Data too long for column 'direccion' at row 1")
--
ERROR: Unknown error occurred when processing country ee in lang et
(1406, "Data too long for column 'aadress' at row 1")
--
ERROR: Unknown error occurred when processing country nl-gem in lang nl
(1406, "Data too long for column 'objnr' at row 1")
--
ERROR: Unknown error occurred when processing country ph in lang en
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country it in lang it
(1265, "Data truncated for column 'site' at row 1")
--
ERROR: Unknown error occurred when processing country gh in lang en
(1406, "Data too long for column 'id' at row 1")
--
ERROR: Unknown error occurred when processing country sk in lang de
(1406, "Data too long for column 'beschreibung-de' at row 1")
--
ERROR: Unknown error occurred when processing country be-vlg in lang nl
(1406, "Data too long for column 'adres' at row 1")
--
ERROR: Unknown error occurred when processing country de-by in lang de
(1406, "Data too long for column 'beschreibung' at row 1")
--
ERROR: Unknown error occurred when processing country iq in lang ar
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country es-gl in lang gl
(1406, "Data too long for column 'notas' at row 1")
--
ERROR: Unknown error occurred when processing country fr in lang ca
(1265, "Data truncated for column 'prot' at row 1")
--
ERROR: Unknown error occurred when processing country cz in lang cs
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country dk-fortids in lang da
(1265, "Data truncated for column 'fredningsnummer' at row 1")
--
ERROR: Unknown error occurred when processing country am in lang hy
(1406, "Data too long for column 'id' at row 1")
--
ERROR: Unknown error occurred when processing country gb-wls in lang en
(1406, "Data too long for column 'notes' at row 1")
--
ERROR: Unknown error occurred when processing country wlpa-at in lang de
(1406, "Data too long for column 'Beschreibung' at row 1")
--
ERROR: Unknown error occurred when processing country ru in lang ru
(1406, "Data too long for column 'description' at row 1")
--
ERROR: Unknown error occurred when processing country ua in lang uk
(1265, "Data truncated for column 'site' at row 1")
--
ERROR: Unknown error occurred when processing country cl in lang es
(1366, "Incorrect integer value: 'S/N' for column `s51138__heritage_p`.`monuments_cl_(es)`.`id` at row 1")
--
ERROR: Unknown error occurred when processing country ch in lang de
(1406, "Data too long for column 'anzeige-adresse' at row 1")
--
ERROR: Unknown error occurred when processing country pt-wd in lang pt
(1366, "Incorrect double value: '' for column `s51138__heritage_p`.`monuments_pt-wd_(pt)`.`lon` at row 3")
--
ERROR: Unknown error occurred when processing country co in lang es
(1406, "Data too long for column 'id' at row 1")
--
ERROR: Unknown error occurred when processing country ca-muni in lang en
(1366, "Incorrect integer value: '––' for column `s51138__heritage_p`.`monuments_ca-muni_(en)`.`idm` at row 1")
--
ERROR 1292 (22007) at line 514: Truncated incorrect DECIMAL value: ''
2023-08-23_04:30:04 Restart the categorization job...
--
ERROR: Unknown error occurred when processing country in-com in lang commons
Language 'commons' does not exist in family wikipedia
Aug 23 2023, 7:11 AM · Data-Services, Wiki-Loves-Monuments-Database

Aug 22 2023

JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Nice one! Can this task be resolved, or is there something else that you would like to fix?

Aug 22 2023, 7:28 PM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

(The annoying thing is that I don’t have yet support to test such things in my local docker-compose setup)

Why not? It should work if you use a similar MariaDB version.

Aug 22 2023, 12:42 PM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

(The annoying thing is that I don’t have yet support to test such things in my local docker-compose setup)

Aug 22 2023, 10:08 AM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

The problem could be that innodb_strict_mode changed from OFF to ON in MariaDB 10.2. Try set innodb_strict_mode = OFF; before issuing your query.

Aug 22 2023, 9:21 AM · Data-Services, Wiki-Loves-Monuments-Database

Aug 21 2023

JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.
Aug 21 2023, 7:36 PM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

It seems to me that "Data too long for column X" means bad data in the source tables. The harvesting used to ignore that, now it does not. The proper fix is to correct the source data, but we can’t do all that.

Aug 21 2023, 7:35 PM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

One example of

(1406, "Data too long for column 'image' at row 1")

Aug 21 2023, 7:28 PM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

One example of

(1366, "Incorrect double value: '' for column s51138__heritage_p.monuments_pk_(en).lon at row 1")

would be

REPLACE INTO monuments_pk_(en) (source, number, prov_iso, description, address, district, lon, monument_article, registrant_url) VALUES (//en.wikipedia.org/w/index.php?title=List_of_cultural_heritage_sites_in_Balochistan,_Pakistan&oldid=1139504719, BA-2, PK-BA, [[Nindo Damb]], Ornach Valley, Tehsil Wadh, [[Killa Abdullah District]], , Nindo_Damb, BA-2)

Aug 21 2023, 5:15 PM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred added a comment to T341773: Update queries based on templatelinks migration to use linktaget.

@JeanFred I see that there are some local changes on heritage (check_emailable_users.py and database_config.default.yml) unsure if they should be kept or not so not deploying this just yet.

Aug 21 2023, 3:38 PM · Wiki-Loves-Monuments-Database
JeanFred assigned T318644: Include Wiki Loves Food in the Wikiloves tool to Bodhisattwa.

@Bodhisattwa Could you take care of adding the necessary configuration for the remaining years ?

Aug 21 2023, 8:51 AM · Tool-wikiloves

Jul 4 2023

JeanFred added a comment to T332899: [EPIC] Migrate selected R-based Wikidata products .

Hey @AndrewTavis_WMDE & @Manuel , I only used the dashboard to get a nice visualization of the external ID galaxy − see this slide (the red bubble is the video-game related IDs)

ExternalIds.png (768×1 px, 753 KB)

Jul 4 2023, 5:31 PM · Wikidata Analytics, Epic, Wikidata

Jun 20 2023

JeanFred updated subscribers of T332899: [EPIC] Migrate selected R-based Wikidata products .

I was pointed to this ticket by @Lydia_Pintscher: I wanted to update a presentation slide that uses https://wikidata-analytics.wmcloud.org/app_direct/WD_ExternalIdentifiersDashboard (that’s the only dashboard I can remember using)

Jun 20 2023, 7:40 PM · Wikidata Analytics, Epic, Wikidata

Jun 14 2023

JeanFred added a comment to T338987: Multiple DB-related errors during harvesting.

Likely related to the MariaDB upgrade T301949

Jun 14 2023, 5:51 AM · Data-Services, Wiki-Loves-Monuments-Database

Jun 13 2023

JeanFred triaged T338987: Multiple DB-related errors during harvesting as High priority.

Looks like this is happening since April 7th

Jun 13 2023, 6:26 PM · Data-Services, Wiki-Loves-Monuments-Database
JeanFred created T338987: Multiple DB-related errors during harvesting.
Jun 13 2023, 6:19 PM · Data-Services, Wiki-Loves-Monuments-Database