Jump to content

Internal error

Internal error

Edited by 2 users.
Last edit: 02:50, 27 April 2022

I have just had the following internal error when trying to save one translation. Maybe you should check it.

This message is logged, but you might want to report it on #mediawiki-i18n @ freenode or to user nike in this wiki.The command 'perl -MYAML::Syck=LoadFile -MPHP::Serialization=serialize -wle 'my $tf = q[/tmp/yaml-load-ksTiXB];my $yaml = LoadFile($tf);open my $fh, ">", "$tf.serialized" or die qq[Can not open "$tf.serialized"];print $fh serialize($yaml);close($fh);' 2>&1' died in execution with exit code '2': Can't locate YAML/Syck.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .). BEGIN failed--compilation aborted.

Backtrace:

#0 /www/w/extensions/Translate/utils/TranslateYaml.php(52): wfDebugDieBacktrace('The command 'pe...')
#1 /www/w/extensions/Translate/utils/TranslateYaml.php(11): TranslateYaml::syckLoad('---?BASIC:? id...')
#2 /www/w/extensions/Translate/utils/TranslateYaml.php(19): TranslateYaml::loadString('---?BASIC:? id...')
#3 /www/w/extensions/Translate/MessageGroups.php(763): TranslateYaml::load('/www/w/extensio...')
#4 /www/w/extensions/Translate/MessageGroups.php(779): MessageGroups::init()
#5 /www/w/extensions/Translate/TranslateEditAddons.php(184): MessageGroups::getGroup('')
#6 /www/w/extensions/Translate/TranslateEditAddons.php(170): TranslateEditAddons::getMessageGroup(1222, 'User_block.revo...')
#7 /www/w/extensions/Translate/TranslateEditAddons.php(25): TranslateEditAddons::getKeyCodeGroup(Object(Title))
#8 [internal function]: TranslateEditAddons::addNavigation(Object(OutputPage), '<p>Este bloqueo...')
#9 /www/w/includes/Hooks.php(133): call_user_func_array(Array, Array)
#10 /www/w/includes/OutputPage.php(1124): wfRunHooks('OutputPageBefor...', Array)
#11 /www/w/includes/Article.php(855): OutputPage->addParserOutput(Object(ParserOutput))
#12 /www/w/includes/Wiki.php(499): Article->view()
#13 /www/w/includes/Wiki.php(73): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#14 /www/w/index.php(116): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#15 {main}
  • Note: I was trying to translate this message: User blocks.revoke.past (page does not exist).
Toliño Fala aquí comigo 18:40, 19 May 2010

Niklas made a little judgement error and experimented with a different YAML parser... OUCH.

Siebrand23:34, 19 May 2010