SID-01237: Delete tag on newly created url : TagMeSearch?tag=newtag
| Status: |
Answered |
TWiki version: |
5.0.2 |
Perl version: |
5.12.4 |
| Category: |
CategoryError |
Server OS: |
windows |
Last update: |
14 years ago |
Create a new tag on brand new installation. Try to delete the tag.
and I got the following error
Assertion failed!
at c:/wamp/www/twiki/lib/Assert.pm line 61
Assert::ASSERT('') called at c:/wamp/www/twiki/lib/TWiki/Store.pm line 1357
TWiki::Store::topicExists('TWiki::Store=HASH(0x1b1a464)', 'Main', 'Main.TWikiAdminGroup') called at c:/wamp/www/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 551
TWiki::Users::TWikiUserMapping::eachGroupMember('TWiki::Users::TWikiUserMapping=HASH(0x1ebdeec)', 'Main.TWikiAdminGroup') called at c:/wamp/www/twiki/lib/TWiki/UserMapping.pm line 349
TWiki::UserMapping::isInGroup('TWiki::Users::TWikiUserMapping=HASH(0x1ebdeec)', 'BaseUserMapping_333', 'Main.TWikiAdminGroup') called at c:/wamp/www/twiki/lib/TWiki/Users.pm line 820
TWiki::Users::isInGroup('TWiki::Users=HASH(0x1c69994)', 'BaseUserMapping_333', 'Main.TWikiAdminGroup') called at c:/wamp/www/twiki/lib/TWiki/Func.pm line 984
TWiki::Func::isGroupMember('Main.TWikiAdminGroup', undef) called at c:/wamp/www/twiki/lib/TWiki/Plugins/TagMePlugin.pm line 1692
TWiki::Plugins::TagMePlugin::_isGroupMember('Main.TWikiAdminGroup') called at c:/wamp/www/twiki/lib/TWiki/Plugins/TagMePlugin.pm line 1451
TWiki::Plugins::TagMePlugin::_canChange() called at c:/wamp/www/twiki/lib/TWiki/Plugins/TagMePlugin.pm line 1534
TWiki::Plugins::TagMePlugin::_modifyTagInit('delete', ' tpaction="deletetaginit" oldtag="" note="" ') called at c:/wamp/www/twiki/lib/TWiki/Plugins/TagMePlugin.pm line 202
TWiki::Plugins::TagMePlugin::_handleTagMe(' tpaction="deletetaginit" oldtag="" note="" ') called at c:/wamp/www/twiki/lib/TWiki/Plugins/TagMePlugin.pm line 134
TWiki::Plugins::TagMePlugin::commonTagsHandler('---+!! Tag-me: Delete Tag\x{a}\x{a}\x{a}<table bo...', 'TagMeDeleteTag', 'TWiki', 0, 'TWiki::Meta=HASH(0x23a81c4)') called at c:/wamp/www/twiki/lib/TWiki/Plugin.pm line 267
TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x218641c)', 'commonTagsHandler', '---+!! Tag-me: Delete Tag\x{a}\x{a}\x{a}<table bo...', 'TagMeDeleteTag', 'TWiki', 0, 'TWiki::Meta=HASH(0x23a81c4)') called at c:/wamp/www/twiki/lib/TWiki/Plugins.pm line 351
TWiki::Plugins::dispatch('TWiki::Plugins=HASH(0x1b1a304)', 'commonTagsHandler', '---+!! Tag-me: Delete Tag\x{a}\x{a}\x{a}<table bo...', 'TagMeDeleteTag', 'TWiki', 0, 'TWiki::Meta=HASH(0x23a81c4)') called at c:/wamp/www/twiki/lib/TWiki.pm line 3142
TWiki::handleCommonTags('TWiki=HASH(0x157a4bc)', '---+!! Tag-me: Delete Tag\x{a}\x{a}\x{a}<tabletagme...', 'TWiki=HASH(0x157a4bc)', 'TWiki', 'TagMeDeleteTag', 'TWiki::Meta=HASH(0x23a81c4)', 0) called at c:/wamp/www/twiki/lib/TWiki/UI/View.pm line 370
TWiki::UI::View::view('TWiki=HASH(0x157a4bc)') called at c:/wamp/www/twiki/lib/TWiki/UI.pm line 199
TWiki::UI::__ANON__() called at c:/wamp/www/twiki/lib/CPAN/lib//Error.pm line 379
eval {...} called at c:/wamp/www/twiki/lib/CPAN/lib//Error.pm line 371
Error::subs::try('CODE(0x248da4)', 'HASH(0x23a8174)') called at c:/wamp/www/twiki/lib/TWiki/UI.pm line 267
TWiki::UI::execute('TWiki::Request=HASH(0x1ae230c)', 'CODE(0x157aa5c)', 'view', 1) called at c:/wamp/www/twiki/lib/TWiki/UI.pm line 175
TWiki::UI::handleRequest('TWiki::Request=HASH(0x1ae230c)') called at c:/wamp/www/twiki/lib/TWiki/Engine/CGI.pm line 47
TWiki::Engine::CGI::run('TWiki::Engine::CGI=HASH(0x192a5d4)') called
--
RobertoCarlos - 2011-07-20
Discussion and Answer
It looks like you are running TWiki in debug mode? Check your
twiki/bin/LocalLib.cfg if you have
$ENV{TWIKI_ASSERTS} = 1;. If so, comment it out or set it to
0. Check also
twiki/bin/setlib.cfg.
--
PeterThoeny - 2011-07-21
Thank you
Peter
PS:
$ENV{TWIKI_ASSERTS} = 1;
the variable it is on by default on brand new installation
--
RobertoCarlos - 2011-07-21
I checked, both the
twiki/bin/setlib.cfg and
twiki/bin/LocalLib.cfg.txt (the template for
LocalLib.cfg) have
$ENV{TWIKI_ASSERTS} commented out in the TWiki-5.0.2 release you get from twiki.org and sourceforge.net. Where did you download TWiki?
--
PeterThoeny - 2011-07-21
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.