User Details
- User Since
- Sep 16 2019, 11:47 AM (258 w, 20 h)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- So9q [ Global Accounts ]
Wed, Jul 31
Response from MW is here:
{"error":{"code":"wikilambda-zerror","info":"Error of type Z548","title":"Invalid JSON","message":"Invalid JSON","zerror":{"Z1K1":"Z5","Z5K1":"Z548","Z5K2":{"Z1K1":{"Z1K1":"Z7","Z7K1":"Z885","Z885K1":"Z548"},"K1":"Syntax error","K2":{"Z1K1":"Z99","Z99K1":"{\"Z1K1\":\"Z2\",\"Z2K1\":{\"Z1K1\":\"Z6\",\"Z6K1\":\"Z18346\"},\"Z2K2\":{\"Z1K1\":\"Z14\",\"Z14K1\":\"Z18336\",\"Z14K3\":{\"Z1K1\":\"Z16\",\"Z16K1\":\"Z610\",\"Z16K2\":\"def Z18336(Z18336K1):\\n # strip prefix dash\\n string = str(Z18336K1)[1:].strip()\\n if '-' in string and string.startswith('L'):\\n # cheching form or sense id\\n pattern = r'(L\\d+-[FS]\\d+)'\\n import re\\n if re.search(pattern, string):\\n return True\\n return False\\n else:\\n if not string.startswith(('L', 'P', 'Q')) or not string[1:].isdigit():\\n return False\\n else:\\n return True\\n\"}},\"Z2K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"is valid Wikidata entity identifier? python\"}]},\"Z2K4\":{\"Z1K1\":\"Z32\",\"Z32K1\":[\"Z31\"]},\"Z2K5\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\"]}}"}}},"labelled":{"type":"Error","error type":"Invalid JSON","error value":{"type":{"type":"Function call","function":"Errortype to type","errortype":"Invalid JSON"},"error message":"Syntax error","input":{"type":"Quote","Quote":"{\"Z1K1\":\"Z2\",\"Z2K1\":{\"Z1K1\":\"Z6\",\"Z6K1\":\"Z18346\"},\"Z2K2\":{\"Z1K1\":\"Z14\",\"Z14K1\":\"Z18336\",\"Z14K3\":{\"Z1K1\":\"Z16\",\"Z16K1\":\"Z610\",\"Z16K2\":\"def Z18336(Z18336K1):\\n # strip prefix dash\\n string = str(Z18336K1)[1:].strip()\\n if '-' in string and string.startswith('L'):\\n # cheching form or sense id\\n pattern = r'(L\\d+-[FS]\\d+)'\\n import re\\n if re.search(pattern, string):\\n return True\\n return False\\n else:\\n if not string.startswith(('L', 'P', 'Q')) or not string[1:].isdigit():\\n return False\\n else:\\n return True\\n\"}},\"Z2K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"is valid Wikidata entity identifier? python\"}]},\"Z2K4\":{\"Z1K1\":\"Z32\",\"Z32K1\":[\"Z31\"]},\"Z2K5\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\"]}}"}}},"*":"See https://www.wikifunctions.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."},"servedby":"mw-wikifunctions.eqiad.main-78b5ccbb46-lfcz7"}
Thanks to @Mahir256 for linking to https://t.me/Wikifunctions/9592 "Right now your shouldn't be able to make any outside requests. If you are, please let us know immediately." from @DVrandecic
This might be worked around by T282926 being done for this particular test case and implementation.
Here is a chat with chatgpt where we try to diagnose and work around the issue:
https://chatgpt.com/share/89369c64-2531-485f-bc39-5cae75160cd8
Chatgpt suggested the following:
P1 -> 1P also doesn't work, see https://www.wikifunctions.org/view/en/Z18328
May 3 2024
Apr 23 2024
Mar 26 2024
Feb 27 2024
Feb 17 2024
Most of SPARQL 1.1 is now supported with few exceptions. QLever is looking more promising by the day. Very nice work!
See https://github.com/ad-freiburg/qlever/wiki/Current-deviations-from-the-SPARQL-1.1-standard for details
I tested on my VPS in OVH and got:
Feb 10 2024
Feb 2 2024
To see the error in action try this url: https://topic-curator.toolforge.org/results?lang=en&subgraph=&qid=Q7889&limit=&prefix=&affix=&terms=videogame&terms=computer+games&terms=video+game&terms=computer+game&terms=videogames
Select all
Click submit
->
Big thanks for taking a deeper look into this and for the suggestion to adjust the encoding. I'll close this as resolved for now, while I try diving deeper into the issue and try to make it work.
Locally on my machine everything works fine. I can send batches as large as 5000 items to QS with no problems which translates to 10k qs-lines to edit.
Jan 30 2024
Dec 14 2023
Aug 6 2023
@VIGNERON the entityshape api is a very limited implementation of shex if I understood correctly.
Jul 19 2023
Jun 26 2023
I also would like this. I recently saved a broken schema and had issues during validation.
Mar 13 2023
Feb 21 2023
Feb 20 2023
I don’t need this task anymore as I found the real terminal and successfully edited the hidden file as I wanted.
Feb 19 2023
Feb 14 2023
Thanks for working hard on this to get it sorted out and sharing the root cause analysis. :)
Jan 21 2023
I investigated this as I have trouble in Firefox on iOS (iphone 7) editing long lines.
I added a few fixes in my css see https://www.wikidata.org/wiki/User:So9q/vector-2022.css but I suggest switching to textarea and so user can set a height and avoid scroll issues when mobile editing lexemes.
Dec 2 2022
Nov 21 2022
Nov 12 2022
See discussion here https://github.com/openstreetmap/operations/issues/764#issuecomment-1312407828
Nov 11 2022
I never heard about this project. Would it not be possible to move to the kubernetes cluster?
Oct 21 2022
Thanks for taking the time to submit this ticket. I support it.
Cradle is a good start, but it lacks many important features.
For example it lacks the check for duplicates that is present e.g in the Wikidata lexeme forms tool or through reconciliation in openrefine.
Jun 25 2022
Added Wikibase tags which was requested by Lydia.
Jun 22 2022
Any news on this? Is something hindering it from being triaged?
May 4 2022
I'm leaning towards forking pywikibot and removing the offending lines in bot.py causing the verbose log of files.
Apr 11 2022
It now happens again.
Apr 8 2022
I would love to see this improved. I often get this generic error when an empty string is passed with a string property. I would also really like to know which property was related to the input error so I don't have to scan through tens of properties to find the anomaly manually.
Mar 31 2022
Mar 30 2022
Based on the discussion above I suggest closing this task.
Mar 18 2022
They look good. Thanks. I’m missing Wikibase related infrastructure there though.
The blazegraph issue is the fact that WMDE and the search platform tream are unsure if the backend can handle any more triples without catastrophic failure. But it might not be possible to detect anyway using graphs like these.
Mar 10 2022
Mar 9 2022
Feb 26 2022
@Hannah_Bast informed in the last WDQS scaling meeting that QLever could have 2 indexes to provide near-realtime queries. See https://github.com/ad-freiburg/qlever/wiki/QLever-support-for-SPARQL-1.1-Update
Feb 18 2022
Hangor and Ordia/Lexeme forms has this already. I use those to create lexemes because it is "safer" until this ticket is fixed. Unfortunately neither Hangor nor Lexeme forms support creating phrases or idioms yet.
Feb 13 2022
related to https://phabricator.wikimedia.org/T260687 maybe a duplicate?
Feb 10 2022
Is there a reason this issue has stalled?
Feb 8 2022
Terrible error messages like these push the user away. The system is unreliable, saving other statements work, sometimes. A system that cannot explain why it does not work as intended leads to bad UX.
FYI: I added https://www.wikidata.org/wiki/Q110853896 RDF Delta and Andy to Wikidata.