!buSEZBEvVNBUdwhvvn:matrix.org

Semantic MediaWiki

190 Members
SMW lets you store and query data with­in MediaWiki pages. Mirrored in the SMW Telegram, which you can join at https://t.me/joinchat/MCG84k3OMoaYZoFA9yhyMg10 Servers

Load older messages


SenderMessageTime
18 Dec 2023
@justinl:matrix.orgjustinl * Unrelated to my above question but related to the empty/incomplete query results problem (https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/5392), the latest post there reminded me of seeing that same error back in 1.34 and 1.35, which had led to this email to the semediawiki-user list back in 2021 that got no responses. Thought I'd ask about it here and see if it's at all possibly related, and what it even means. https://sourceforge.net/p/semediawiki/mailman/message/37281997/ 23:02:55
19 Dec 2023
@georgios:matrix.orgGeorgios Mavropalias changed their profile picture.14:26:05
@telegram_679079626:t2bot.ioadam ~ @adinfinitum:mozilla.org joined the room.22:46:51
20 Dec 2023
@justinl:matrix.orgjustinlIs anyone here using SMW with DPL3? One of our editors just reported that they can reproduce a bug occurring in a specific template that uses both SMW and DPL3 where the SMW properties get removed when Purging the page.22:41:21
@justinl:matrix.orgjustinlHe says he can't find any reported issues in either SMW or DPL3 repos.22:41:46
25 Dec 2023
@bertrandgorge:matrix.orgBertrand GorgeWe do. And we sometimes lose our smw properties for some given page then it comes back. It's better now but I can't tell what exactly is the reproduction scenario07:11:53
26 Dec 2023
@kimmybrewer:matrix.orgKimmy BrewerHello! We're running into an upgrade key error. SMW v 4.0.2, MW v 1.39.1, Code: Error_Schema_Invalid_Key. We have tried running the update.php, setupStore.php, as well as an importDump.xml file which I noticed the previous dev team used to work around this issue months ago. We keep running into this error on the pipeline: 18:20:44
@kimmybrewer:matrix.orgKimmy BrewerPHP Fatal error: Uncaught Exception: Unable to open file /var/www/mediawiki/w/extensions/AdminLinks/extension.json: filemtime(): stat failed for /var/www/mediawiki/w/extensions/AdminLinks/extension.json in /var/www/mediawiki/w/includes/registration/ExtensionRegistry.php:199Stack trace: #0 /var/www/mediawiki/w/includes/GlobalFunctions.php(53): ExtensionRegistry->queue('/var/www/mediaw...') #1 /mediawiki/config/LocalSettings.php(206): wfLoadExtension('AdminLinks') #2 /var/www/mediawiki/w/CanastaDefaultSettings.php(73): require_once('/mediawiki/conf...') #3 /var/www/mediawiki/w/LocalSettings.php(8): require_once('/var/www/mediaw...') #4 /var/www/mediawiki/w/includes/Setup.php(218): require_once('/var/www/mediaw...') #5 /var/www/mediawiki/w/maintenance/doMaintenance.php(83): require_once('/var/www/mediaw...') #6 /var/www/mediawiki/w/maintenance/importDump.php(369): require_once('/var/www/mediaw...') #7 {main} thrown in /var/www/mediawiki/w/includes/registration/ExtensionRegistry.php on line 19918:21:50
@kimmybrewer:matrix.orgKimmy BrewerAny help would be greatly appreciated. Thank you. 18:24:48
@krabina:matrix.orgkrabinaTry removing AdminLinks extension (that is mentioned in the error)18:43:57
@kimmybrewer:matrix.orgKimmy BrewerI tried this, it just jumps to the next extension19:50:48
@kimmybrewer:matrix.orgKimmy BrewerI am able to run, what appears successfully, the update and setupStore script without the problem extension enabled. As soon as the problem extension is enabled we are given the upgrade key error, at which point it displays the above error when those scripts try to run. I have attempted various combinations of the smwgConfigFileDir, the upgrade key enabled/disabled in our LS.p, and just enabling the base SMW rather than any associated extensions. I have reached out to our "hoster" to see if maybe they configured PHP to use CGI vs CLI. I would be interested in further debugging from this source (https://wiki.bitplan.com/index.php/SMWIssue4785) but I'm not quite sure how/where to implement this code. When I try the web update it gives me an error related to the problem extension, of which there is a patch for so I'm not quite sure why it's stuck on that and not reading all its associated files. 22:14:56
27 Dec 2023
@telegram_291383470:t2bot.ioAlexander MashinAre the permissions for the extension directories right?01:22:40
@justinl:matrix.orgjustinlHmm, interesting. Once I'm back to work, I'll see about providing better repro information. If you discover anything further, I'd love to hear about it. Regardless, i hope you're enjoying the holidays!05:19:57
@krabina:matrix.orgkrabinaGet a tax-deductable invoice right away by donating money to SMW via Open Collective: https://opencollective.com/smw Funds will go towards maintenance and development of SMW! 09:42:33
@bertrandgorge:matrix.orgBertrand GorgeThanks. I'll be sure to report if I find anything!10:57:12
@cicalese:matrix.orgcicalese Wikiapiary is using SMW with DPL3 and has a significant issue with missing properties (hexmode) 13:23:00
@hexmode:matrix.orghexmodeInteresting...13:23:57
@kimmybrewer:matrix.orgKimmy Brewer
In reply to @telegram_291383470:t2bot.io
Are the permissions for the extension directories right?
Could you clarify? How would I go about checking this? Would permissions change by themselves? Thank you
17:18:45
@kimmybrewer:matrix.orgKimmy Brewer I disabled SMW in LS.p, but wiki now displays the following error: [6660a4ff55b758c53c3602db] /wiki/Main_Page Error: Class 'SMW\Localizer' not found Backtrace: from /var/www/mediawiki/w/canasta-extensions/SemanticMediaWiki/src/PropertyRegistry.php(73) #0 /var/www/mediawiki/w/canasta-extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php(96): SMW\PropertyRegistry::getInstance() #1 /var/www/mediawiki/w/canasta-extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php(467): SMW\DIProperty->__construct(string, boolean) #2 /var/www/mediawiki/w/canasta-extensions/SemanticMediaWiki/includes/dataitems/SMW_DataItem.php(273): SMW\DIProperty::doUnserialize(string) #3 /var/www/mediawiki/w/canasta-extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php(586): SMWDataItem::newFromJsonArray(MediaWiki\Json\JsonCodec, array) #4 /var/www/mediawiki/w/includes/json/JsonCodec.php(74): SMW\DIProperty::newFromJsonArray(MediaWiki\Json\JsonCodec, array) #5 /var/www/mediawiki/w/includes/json/JsonCodec.php(81): MediaWiki\Json\JsonCodec->unserialize(array) #6 /var/www/mediawiki/w/canasta-extensions/SemanticMediaWiki/includes/SemanticData.php(943): MediaWiki\Json\JsonCodec->unserializeArray(array) #7 /var/www/mediawiki/w/includes/json/JsonCodec.php(74): SMW\SemanticData::newFromJsonArray(MediaWiki\Json\JsonCodec, array) 17:27:46
@jeffreywang:matrix.orgJeffrey WangDid you restart the Canasta container?22:36:20
@jeffreywang:matrix.orgJeffrey Wang with the CLI, do canasta restart 22:36:46
28 Dec 2023
@freephile:matrix.orgrundg*receipt for your tax-deductible contribution (language used in the US for such things)03:14:22
@telegram_291383470:t2bot.ioAlexander Mashin
In reply to @kimmybrewer:matrix.org
Could you clarify? How would I go about checking this? Would permissions change by themselves? Thank you
Oh, no, if it's a containerised setup, as I presumenfrom your later messages, file permission issues are not likely.
03:55:48
@telegram_291383470:t2bot.ioAlexander Mashin* Oh, no, if it's a containerised setup, as I assume from your later messages, file permission issues are not likely.03:56:16
@kimmybrewer:matrix.orgKimmy Brewer
In reply to @jeffreywang:matrix.org
with the CLI, do canasta restart
I am able to delete the staging pod on the pipeline and restart it, if that's similar. I'll have to ask the company that hosts our pipeline how I would restart the container. I added the CLI command to the args in the deployment.yaml file, which resulted in no joy.
14:45:21
@kimmybrewer:matrix.orgKimmy BrewerI am back on the upgradeKey error and am attempting to update SMW to version 4.1, maybe it's a compatibility issue as to why I cannot run update.php and setupStore.php? We have SMW 4.0 and MW 1.39 presently. 14:47:01
30 Dec 2023
@krabina:matrix.orgkrabinaI never understood why anyone would want to use DPL when they have SMW. (I personally never have used DPL)11:52:49
31 Dec 2023
@jeffreywang:matrix.orgJeffrey WangWhich version of Canasta is this?17:30:16
1 Jan 2024
@tewuzij:tzchat.orgtewuzij joined the room.04:58:15

Show newer messages


Back to Room ListRoom Version: 5