Page MenuHomePhabricator

JeanFred (Jean-Frédéric)
Volunteer

Projects (9)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Oct 6 2014, 10:01 PM (497 w, 2 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

Tue, Mar 26

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

Mar 17 2024

JeanFred committed R2566:3a93a59f2446: Run updates with toolforge-jobs in Ansible deployment playbook.
Run updates with toolforge-jobs in Ansible deployment playbook
Mar 17 2024, 9:34 PM
JeanFred committed R2566:9bdfb0214788: Switch to Python3.9 as default interpreter.
Switch to Python3.9 as default interpreter
Mar 17 2024, 9:34 PM
JeanFred committed R2566:bde571587721: Add pyproject.toml with pytest configuration to run tests outside of tox.
Add pyproject.toml with pytest configuration to run tests outside of tox
Mar 17 2024, 9:34 PM
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 15 2024

JeanFred committed R2566:3c23229df7cd: Change PropertyColumn key format and use it as column reference when rendering….
Change PropertyColumn key format and use it as column reference when rendering…
Feb 15 2024, 9:00 PM

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 added a reverting change for R2566:f45589bfbca4: Add scaffolding for statsd instrumentation: R2566:992670c0d7ee: Remove statsd integration as not available anymore in WMCS.
Nov 21 2023, 10:02 PM
JeanFred added a reverting change for R2566:c4367608dbd8: Use correct statsd port in Toolforge environment: R2566:992670c0d7ee: Remove statsd integration as not available anymore in WMCS.
Nov 21 2023, 10:02 PM
JeanFred committed R2566:992670c0d7ee: Remove statsd integration as not available anymore in WMCS.
Remove statsd integration as not available anymore in WMCS
Nov 21 2023, 10:02 PM
JeanFred added a reverting change for R2566:8ffbad82c397: Send elapased time of periodic updates as statsd timers: R2566:992670c0d7ee: Remove statsd integration as not available anymore in WMCS.
Nov 21 2023, 10:02 PM
JeanFred committed R2566:38e76236eb60: Do not use Mocks for Coumns in test_queries.
Do not use Mocks for Coumns in test_queries
Nov 21 2023, 10:02 PM
JeanFred committed R2566:1f41a79498a7: Move some more formatting logic out of queries Jinja template to Column objects.
Move some more formatting logic out of queries Jinja template to Column objects
Nov 21 2023, 10:02 PM
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 17 2023

JeanFred committed R2566:7ee0cbbc01a6: Fix incorrect SPARQL syntax in Sitelink's `get_filter_for_negative_query`.
Fix incorrect SPARQL syntax in Sitelink's `get_filter_for_negative_query`
Oct 17 2023, 3:25 PM
JeanFred committed R2566:01f2a8f38831: Fix relative path to `wikiprojects.json` static file.
Fix relative path to `wikiprojects.json` static file
Oct 17 2023, 3:25 PM
JeanFred committed R2566:82f90c49aaac: Add unit tests for `get_query_for_items_for_property_[posi|nega]tive` for….
Add unit tests for `get_query_for_items_for_property_[posi|nega]tive` for…
Oct 17 2023, 3:25 PM
JeanFred committed R2566:03d49e4b9ff6: Support for sitelink name in queries Jinja template.
Support for sitelink name in queries Jinja template
Oct 17 2023, 3:25 PM
JeanFred committed R2566:d7f09b390b7e: Add unit tests for positive/negative_query for all Line objects.
Add unit tests for positive/negative_query for all Line objects
Oct 17 2023, 3:25 PM
JeanFred committed R2566:eb1de62dc2e5: Add support for sitelink column.
Add support for sitelink column
Oct 17 2023, 3:25 PM
JeanFred committed R2566:f4e3656fe578: Add Sitelink column to the PropertyStatisticsTest fixtures.
Add Sitelink column to the PropertyStatisticsTest fixtures
Oct 17 2023, 3:25 PM

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 committed R2566:3ba5e84e6da0: Move HTML formatting of predicates to the GroupingConfiguration objects.
Move HTML formatting of predicates to the GroupingConfiguration objects
Oct 3 2023, 7:27 PM
JeanFred created T348053: Support wikibase-lexeme as datatype for grouping.
Oct 3 2023, 6:42 PM · Tool-inteGraality
JeanFred committed R2566:220d51e56eaa: Retire the use of `grouping property` for `grouping predicate`.
Retire the use of `grouping property` for `grouping predicate`
Oct 3 2023, 6:29 PM
JeanFred committed R2566:801ddeb68ec8: Explicitly support only Pxyz as grouping property.
Explicitly support only Pxyz as grouping property
Oct 3 2023, 6:02 PM
JeanFred committed R2566:f2ffd22d7051: Add support for grouping by any Wikibase predicate.
Add support for grouping by any Wikibase predicate
Oct 3 2023, 6:02 PM
JeanFred committed R2566:da9982058cd0: Create grouping configuration based on the property datatype.
Create grouping configuration based on the property datatype
Oct 3 2023, 6:02 PM

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
JeanFred committed R2566:3f9a3d5193c5: Do not crash on redirected items when formatting grouping links.
Do not crash on redirected items when formatting grouping links
Oct 2 2023, 9:29 AM

Sep 27 2023

JeanFred committed R2566:07ef2b53c351: Do not add higher grouping empty column when there is no higher grouping.
Do not add higher grouping empty column when there is no higher grouping
Sep 27 2023, 7:29 AM

Sep 26 2023

JeanFred committed R2566:ac64840b866c: Move SPARQL-formatting code from `get_query_for_items_for_property_negative` to….
Move SPARQL-formatting code from `get_query_for_items_for_property_negative` to…
Sep 26 2023, 6:36 PM
JeanFred committed R2566:6178698830ca: Leverage GroupingConfiguration in Column.get_info_query.
Leverage GroupingConfiguration in Column.get_info_query
Sep 26 2023, 6:36 PM
JeanFred committed R2566:06cb52d776e9: Move SPARQL-formatting code from `get_query_for_items_for_property_positive` to….
Move SPARQL-formatting code from `get_query_for_items_for_property_positive` to…
Sep 26 2023, 6:36 PM
JeanFred committed R2566:63ab29722796: Remove redundant attributes from PropertyStatistics.
Remove redundant attributes from PropertyStatistics
Sep 26 2023, 6:36 PM
JeanFred committed R2566:3e3f47fc9d08: Add GroupingConfiguration object as attribute to PropertyStatistics.
Add GroupingConfiguration object as attribute to PropertyStatistics
Sep 26 2023, 6:36 PM
JeanFred committed R2566:c88ad3537bc4: Move some SPARQL-related things to `sparql_utils.py`.
Move some SPARQL-related things to `sparql_utils.py`
Sep 26 2023, 6:36 PM
JeanFred committed R2566:e575508be446: Move `get_grouping_information` logic to GroupingConfiguration.
Move `get_grouping_information` logic to GroupingConfiguration
Sep 26 2023, 6:36 PM
JeanFred committed R2566:a8029ed6def8: Introduce GroupingConfiguration concept tree.
Introduce GroupingConfiguration concept tree
Sep 26 2023, 6:36 PM

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

Sep 6 2023

JeanFred committed R2566:3caa9ed1f48d: Add tox target to reformat Python files using Black.
Add tox target to reformat Python files using Black
Sep 6 2023, 8:16 AM

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 (Kanban), 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 (Kanban), 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

Jun 11 2023

JeanFred committed R2566:9712666babc4: Guard against empty result in `populate_groupings` when getting the counts for….
Guard against empty result in `populate_groupings` when getting the counts for…
Jun 11 2023, 1:16 PM
JeanFred committed R2566:649259f45d16: Extract method `populate_groupings` from `retrieve_data`.
Extract method `populate_groupings` from `retrieve_data`
Jun 11 2023, 1:16 PM
JeanFred committed R2566:5aecae8a131f: Include cells contents in Grouping equality operator.
Include cells contents in Grouping equality operator
Jun 11 2023, 1:16 PM
JeanFred added a comment to T338684: Hard crash when configured with a column (property) that is never used on any items.

Confirmed that https://www.wikidata.org/w/index.php?title=User%3AAmadalvarez%2Fdashboard%2Fmotociclisme&diff=1912981582&oldid=1912428855 was updated correctly.

Jun 11 2023, 12:58 PM · Tool-inteGraality