• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4758: YetAnotherDBCacheContrib fails to create a subweb cache

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension YetAnotherDBCacheContrib Normal Waiting for Feedback TWiki:Main/ThomasWeigert n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

TWiki:Plugins.YetAnotherDBCacheContrib fails to create a subweb cache.

Example

Web: Thesis

Subweb: Project

Topic: ThesisProject

Plugin: TWiki:Plugins.YetAnotherXpTrackerPlugin

Error message:

During save of Thesis/Project.ThesisProject an error was found by the version control system. Please notify your TWiki administrator.

=Can't create file /home/httpd/twiki/pub/_work_areas/DBCacheContrib/Thesis/Project_stamp - No such file or directory at /usr/share/perl/5.8/CGI/Carp.pm line 314 
CGI::Carp::realdie('Can\'t create file /home/httpd/twiki/pub/_work_areas/DBCacheC...') called at /usr/share/perl/5.8/CGI/Carp.pm line 385 CGI::Carp::die('Can\'t create file 
/home/httpd/twiki/pub/_work_areas/DBCacheC...') called at /home/httpd/twiki/lib/TWiki/Func.pm line 1997 TWiki::Func::saveFile('/home/httpd/twiki/pub/_work_areas/DBCacheContrib/Thesis/Proje...', 
'ThesisProject') called at /home/httpd/twiki/lib/TWiki/Contrib/DBCacheContrib.pm line 100 TWiki::Contrib::DBCacheContrib::invalidate('TWiki::Plugins::XpTrackerPlugin::WebDB', 'Thesis/Project', 
'ThesisProject') called at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin/Functions.pm line 1948 TWiki::Plugins::XpTrackerPlugin::Functions::xpCacheInvalidate('Thesis/Project', 'ThesisProject') 
called at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin.pm line 198 TWiki::Plugins::XpTrackerPlugin::afterSaveHandler('%META:TOPICINFO{author="FrankSpangenberg" date="1191312606" f...', 
'ThesisProject', 'Thesis/Project', '', 'TWiki::Meta=HASH(0x85594cc)') called at /home/httpd/twiki/lib/TWiki/Plugin.pm line 245 TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x8d0d280)', 'afterSaveHandler', 
'%META:TOPICINFO{author="FrankSpangenberg" date="1191312606" f...', 'ThesisProject', 'Thesis/Project', '', 'TWiki::Meta=HASH(0x85594cc)') called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 333 
TWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0x88cde6c)', 'afterSaveHandler', '%META:TOPICINFO{author="FrankSpangenberg" date="1191312606" f...', 'ThesisProject', 'Thesis/Project', '', 
'TWiki::Meta=HASH(0x85594cc)') called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 663 TWiki::Plugins::afterSaveHandler('TWiki::Plugins=HASH(0x88cde6c)', 
'%META:TOPICINFO{author="FrankSpangenberg" date="1191312606" f...', 'ThesisProject', 'Thesis/Project', '', 'TWiki::Meta=HASH(0x85594cc)') called at /home/httpd/twiki/lib/TWiki/Store.pm line 893 
TWiki::Store::saveTopic('TWiki::Store=HASH(0x88cdfd4)', 'TWiki::User=HASH(0x89c2178)', 'Thesis/Project', 'ThesisProject', '---+ Thesis Project\x{a}\x{a}---++ Time schedule\x{a}%TIMELINE{ "htt...', 
'TWiki::Meta=HASH(0x8e0da54)', 'HASH(0x8e0da6c)') called at /home/httpd/twiki/lib/TWiki/UI/Save.pm line 530 TWiki::UI::Save::__ANON__() called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 379 
eval {...} called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x86319c0)', 'HASH(0x8e0dbe0)') called at /home/httpd/twiki/lib/TWiki/UI/Save.pm line 538 
TWiki::UI::Save::save('TWiki=HASH(0x82ffcd4)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 159 TWiki::UI::__ANON__() called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 379 eval {...} called at 
/home/httpd/twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x8150364)', 'HASH(0x8e0d6d0)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 199 TWiki::UI::run('CODE(0x88b7bd4)', 'save', 1) 
called =

Go back in your browser and save your changes locally.

Workaround

Create for each web a folder in pub/_work_areas/DBCacheContrib/ with the appropriate owner/group (e.g. www-data).

-- TWiki:Main/FrankSpangenberg - 02 Oct 2007

Yes, I guess this would happen. The plugin was created before the subweb feature and I have never used that feature. But you are correct, this must be fixed.

-- ThomasWeigert - 03 Oct 2007

ItemTemplate
Summary YetAnotherDBCacheContrib fails to create a subweb cache
ReportedBy TWiki:Main.FrankSpangenberg
Codebase 4.1.2
SVN Range

AppliesTo Extension
Component YetAnotherDBCacheContrib
Priority Normal
CurrentState Waiting for Feedback
WaitingFor TWiki:Main/ThomasWeigert
Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-10-03 - ThomasWeigert
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback