Question
Hi, i'm new at Twiki. I've recently installed Twiki 4.1.2 and succefully configured it to work. The problem shows when i try to use the
UserInterfaceInternationalisation parameter to make it work in spanish, any time i change that parameter the browser gives me these error:
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Can't call method "writeWarning" on an undefined value
and i can see in the twiki log these warning:
| 16 Apr 2007 - 17:26 | Conversion from "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion from "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion to "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion from "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion from "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion from "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion from "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion from "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion from "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion from "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Conversion to "" not supported, or name not recognised - check "perldoc Encode::Supported"
| 16 Apr 2007 - 17:26 | Can't call method "writeWarning" on an undefined value at /var/www/twiki/lib/TWiki/I18N.pm line 325.
at /var/www/twiki/lib/TWiki/I18N.pm line 325
TWiki::I18N::fromSiteCharSet('TWiki::I18N::en=HASH(0x9591754)', 'undef') called at /var/www/twiki/lib/TWiki/I18N.pm line 195
TWiki::I18N::maketext('TWiki::I18N::en=HASH(0x9591754)', 'title=\'Search the [_1] Web for topics that link to here\' ac...', 'undef') called at /var/www/twiki/lib/TWiki/I18N.pm line 166
TWiki::I18N::__ANON__('TWiki::I18N::es=HASH(0x959167c)', 'title=\'Search the [_1] Web for topics that link to here\' ac...', 'undef') called at /usr/lib/perl5/5.8.5/Locale/Maketext.pm line 210
Locale::Maketext::maketext('undef', 'undef', 'undef') called at /var/www/twiki/lib/TWiki/I18N.pm line 206
TWiki::I18N::maketext('TWiki::I18N::es=HASH(0x959167c)', 'title=\'Search the [_1] Web for topics that link to here\' ac...', '<nop>Main') called at /var/www/twiki/lib/TWiki.pm line 3426
TWiki::_MAKETEXT('TWiki=HASH(0x8abf630)', 'TWiki::Attrs=HASH(0x9708d00)', 'WebHome', 'Main') called at /var/www/twiki/lib/TWiki.pm line 2404
TWiki::_expandTagOnTopicRendering('TWiki=HASH(0x8abf630)', 'MAKETEXT', '"title=\'Search the [_1] Web for topics that link to here\' a...', 'WebHome', 'Main') called at /var/www/twiki/lib/TWiki.pm line 2323
TWiki::_processTags('TWiki=HASH(0x8abf630)', '</div><!-- /patternTopic-->\x{a}<div class="twikiAfterText"><nop>...', 'CODE(0x9246394)', 16, 'WebHome', 'Main') called at /var/www/twiki/lib/TWiki.pm line 2249
TWiki::_expandAllTags('TWiki=HASH(0x8abf630)', 'SCALAR(0x923a6ec)', 'WebHome', 'Main') called at /var/www/twiki/lib/TWiki.pm line 2598
TWiki::handleCommonTags('TWiki=HASH(0x8abf630)', '</div><!-- /patternTopic-->\x{a}<div class="twikiAfterText"><nop>...', 'Main', 'WebHome') called at /var/www/twiki/lib/TWiki/UI/View.pm line 375
TWiki::UI::View::_prepare('</div><!-- /patternTopic-->\x{a}<div class="twikiAfterText"><nop>...', 'TWiki=HASH(0x8abf630)', 'Main', 'WebHome', 'TWiki::Meta=HASH(0x96220f8)', 0) called at /var/www/twiki/lib/TWiki/UI/View.pm line 364
TWiki::UI::View::view('TWiki=HASH(0x8abf630)') called at /var/www/twiki/lib/TWiki/UI.pm line 159
TWiki::UI::__ANON__() called at /var/www/twiki/lib/CPAN/lib//Error.pm line 379
eval {...} called at /var/www/twiki/lib/CPAN/lib//Error.pm line 371
Error::subs::try('CODE(0x8aa8de8)', 'HASH(0x95f8564)') called at /var/www/twiki/lib/TWiki/UI.pm line 199
TWiki::UI::run('CODE(0x8abf78c)', 'view', 1) called
I've added below all the information about my system, and i don't have any warning in my twiki configuration page.
I will aprecciate any help.
Environment
--
WalterJustet - 16 Apr 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
There is some conflicting documentation in the Codev web for internationalization. The most up to date doc is
InstallationWithI18N. See also other
InternationalizationSupplement.
--
PeterThoeny - 12 May 2007