SID-00197: Getting ERROR: bad Map expression
| Status: |
Answered |
TWiki version: |
4.2.4 |
Perl version: |
5.10.0-37.6 |
| Category: |
CategoryPlugins |
Server OS: |
SuSE Linux 11.0 |
Last update: |
16 years ago |
This just started this morning, and I have exhausted all of the ideas I have gotten from searching in here. I'm sure it is some sort of user error, but I have no idea what it could be. I would be very grateful if someone could simply give me an idea of where to look.
Text from warn200903.txt:
| 17 Mar 2009 - 11:30 | ERROR: bad Map expression at /Remedy.WebHome at /srv/www/htdocs/twiki/lib/TWiki/Contrib/DBCacheContrib/Map.pm line 12
at /usr/lib/perl5/5.10.0/CGI/Carp.pm line 356
CGI::Carp::realdie('ERROR: bad Map expression at /Remedy.WebHome at /srv/www/htdo...') called at /usr/lib/perl5/5.10.0/CGI/Carp.pm li
CGI::Carp::die('ERROR: bad Map expression at /Remedy.WebHome') called at /srv/www/htdocs/twiki/lib/TWiki/Contrib/DBCacheContrib/Map.p
TWiki::Contrib::DBCacheContrib::Map::get('TWiki::Contrib::DBCacheContrib::Map=HASH(0x93f11f4)', '/Remedy.WebHome', undef) called at /
TWiki::Contrib::DBCacheContrib::Map::get('TWiki::Plugins::DBCachePlugin::WebDB=HASH(0x921524c)', 'FastPath/Remedy.WebHome') called at
TWiki::Contrib::DBCacheContrib::_onReload('TWiki::Plugins::DBCachePlugin::WebDB=HASH(0x921524c)', 'ARRAY(0x90c1624)') called at /srv/
TWiki::Contrib::DBCacheContrib::load('TWiki::Plugins::DBCachePlugin::WebDB=HASH(0x921524c)') called at /srv/www/htdocs/twiki/lib/TWik
TWiki::Plugins::DBCachePlugin::WebDB::load('TWiki::Plugins::DBCachePlugin::WebDB=HASH(0x921524c)') called at /srv/www/htdocs/twiki/li
TWiki::Plugins::DBCachePlugin::Core::getDB('FastPath') called at /srv/www/htdocs/twiki/lib/TWiki/Plugins/DBCachePlugin/Core.pm line 1
TWiki::Plugins::DBCachePlugin::Core::getTopicTitle('FastPath', 'BMC') called at /srv/www/htdocs/twiki/lib/TWiki/Plugins/DBCachePlugin
TWiki::Plugins::DBCachePlugin::Core::renderWikiWordHandler('BMC', undef, 'FastPath', 'BMC') called at /srv/www/htdocs/twiki/lib/TWiki
TWiki::Plugins::DBCachePlugin::renderWikiWordHandler('BMC', undef, 'FastPath', 'BMC') called at /srv/www/htdocs/twiki/lib/TWiki/Plugi
TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x8a4de6c)', 'renderWikiWordHandler', 'BMC', undef, 'FastPath', 'BMC') called at /srv/www/h
TWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0x8598814)', 'renderWikiWordHandler', 'BMC', undef, 'FastPath', 'BMC') called at /srv/
TWiki::Plugins::renderWikiWordHandler('TWiki::Plugins=HASH(0x8598814)', 'BMC', undef, 'FastPath', 'BMC') called at /srv/www/htdocs/tw
TWiki::Render::internalLink('TWiki::Render=HASH(0x8df98ac)', 'FastPath', 'BMC', 'BMC', '', '', '', undef) called at /srv/www/htdocs/t
TWiki::Render::_handleWikiWord('TWiki::Render=HASH(0x8df98ac)', 'FastPath', 'FastPath', '/Remedy.WebHome', undef) called at /srv/www/
TWiki::Render::getRenderedVersion('TWiki::Render=HASH(0x8df98ac)', '---+ BMC Fast Path Products\x{a}\x{a}---++ Fast Path Product Rele
TWiki::UI::View::_prepare('---+ BMC Fast Path Products\x{a}\x{a}---++ Fast Path Product Release ...', 'TWiki=HASH(0x84051a4)', 'FastP
TWiki::UI::View::view('TWiki=HASH(0x84051a4)') called at /srv/www/htdocs/twiki/lib/TWiki/UI.pm line 159
TWiki::UI::__ANON__() called at /usr/lib/perl5/site_perl/5.10.0/Error.pm line 415
eval {...} called at /usr/lib/perl5/site_perl/5.10.0/Error.pm line 407
Error::subs::try('CODE(0x82959e4)', 'HASH(0x8d8d904)') called at /srv/www/htdocs/twiki/lib/TWiki/UI.pm line 197
TWiki::UI::run('CODE(0x8576a8c)', 'view', 1) called at /srv/www/htdocs/twiki/bin/view line 32.
--
LarryBristol - 17 Mar 2009
Discussion and Answer
Existing support entries:
Number of topics: 3
--
PeterThoeny - 17 Mar 2009
Thanks, Peter. I had found those entries, but none of them applied in my case. (I did have some topic names containing a dash, and did a lot of work renaming them and changing all of the references, but that did not cure the problem.) I ended up looking through several hundred topics before discovering a file name in that web directory that looked like a network file reference (\\xxxxx\xxxx\xxxx\xxxx). Having no idea what it could possibly be (or how it had gotten there), I crossed my fingers and deleted the file. The problem instantly vanished.
(The painful part was that the server was remote, and I was limited to a 128K ISDN connection from my location. I had to SSH into the server and use MC to examine and edit the pages.)
--
LarryBristol - 18 Mar 2009
My problem is fixed.
--
LarryBristol - 18 Mar 2009
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.