Question
Action tasks
An action task on a WebHome topic causes errors which either stop the page from displaying or simply render the task as text as if in verbatim tags.
- Happens on Cairo, doesn't happen on Beijing.
- Only happens on WebHome topics, works fine on other topics.
For versions prior to 1.22: entering
%ACTION{}% and saving, shows the "expanded" task text in full on WebHome rather than the correct table format for the task. That is, it's exactly as if you put <verbatim> tags around it, although it
does calculate the UID and other values correctly. It expands to a full action task entry, just doesn't render it properly.
For versions 1.22 and current (i.e., at bottom of
ActionTrackerPlugin for download), the WebHome topic will not render at all. Instead, I get:
Can't locate TWiki/Plugins/ActionTrackerPlugin/Action.pm in @INC
(@INC
contains: [...omitted long list here... ]) at ../lib/TWiki/Plugins/ActionTrackerPlugin.pm line 570
(Versions are those listed in the attachments table for
ActionTrackerPlugin, not the ones given in the "Plugin info" table near bottom.)
May be related to
ActionTrackerActionSearchProblems
More info
I'm seeing this reliably on a couple of machines, but can't reproduce it on one other. There's obviously something elusive responsible, which means more testing. (Our production intranet server is the problem

)
On the main machine, I also got the "Can't locate" error mentioned above - still about ActionTracker.pm - when working on a page that had no Action Tracker stuff at all. The topic contained a SEARCH, and an INCLUDE under an EDITTABLE. I got rid of the error by putting spaces in the EDITTABLE line. That is, changing
%EDITTABLE{foo="bar"}% to
%EDITTABLE{ foo="bar" }%.
So I'm starting to think it's possible that it has nothing to do with ActionTracker, but an issue somewhere else with TWiki.
Can also be "fixed" by removing any INCLUDEs on WebHome...
--
MarcusLeonard - 22 May 2005
Environment
--
MarcusLeonard - 10 May 2005
Answer
Hmmmm - I suspect it's nothing to do with TWiki either. It sounds like an Apache or Perl problem to me. It's a shame you didn't include the
@INC
list, as that would have given valuable clues.
The action tracker main module is loaded whenever you view
any page, not just pages with actions on. The main module loads the other action tracker modules 'on demand'.
--
CrawfordCurrie - 28 May 2005
../lib/TWiki etc looks like a relative path issue. Set an absolute path in
twiki/bin/setlib.cfg.
--
PeterThoeny - 07 Jun 2005
Just shoot me. I didn't have the absolute path set. Had to clear SpeedyCGI to get it working, but it seems to be okay now. Thanks Peter.
--
MarcusLeonard - 10 Jun 2005