Question
I'm trying to install
EasyTimelinePlugin
After unzipping and changing permissions, I run the install script, but it fails (see output below).
In configure it appears, and is marked as enabled.
How do I get it to work?
polaris:/home/httpd/twiki # perl ./EasyTimelinePlugin_installer.pl
Warning: LWP is not available, some installer functions have been disabled
### EasyTimelinePlugin Installer ###
This installer must be run from the root directory of your TWiki
installation.
* The script will not do anything without asking you for
confirmation first.
* You can abort the script at any point and re-run it later
* If you answer 'no' to any questions you can always re-run
the script again later
Hit to proceed with installation
##########################################################
Adding topic: TWiki.EasyTimelinePlugin to installation ....
##########################################################
Adding file: graphf96ed457014005a66dbeb7a48c172de6.map to installation ....
(attaching it to TWiki.EasyTimelinePlugin)
##########################################################
Adding file: graph4fff4b45dd4894a8885a05656a9393ee.map to installation ....
(attaching it to TWiki.EasyTimelinePlugin)
##########################################################
Adding file: graph62dbce72a4a0c373ac73bcfbf19f693b.png,v to installation ....
(attaching it to TWiki.EasyTimelinePlugin)
********************************
/usr/bin/ci -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F% of /home/httpd/twiki/pub/TWiki/EasyTimelinePlugin/graph62dbce72a4a0c373ac73bcfbf19f693b.png,v failed: at /home/httpd/twiki/lib/TWiki/Store/RcsWrap.pm line 400.
********************************
********************************
/usr/bin/ci -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F% of /home/httpd/twiki/pub/TWiki/EasyTimelinePlugin/graph62dbce72a4a0c373ac73bcfbf19f693b.png,v failed: at /home/httpd/twiki/lib/TWiki/Store/RcsWrap.pm line 400.
********************************
/usr/bin/ci -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F% of /home/httpd/twiki/pub/TWiki/EasyTimelinePlugin/graph62dbce72a4a0c373ac73bcfbf19f693b.png,v failed: at /home/httpd/twiki/lib/TWiki/Store/RcsWrap.pm line 400.
Environment
--
DanBarDov - 01 May 2006
Answer
You shouldn't try to use the installer script for now, it doesn't handle attachment histories (the ,v files) correctly.
So just unzip the plugin, update the command line (as descriped in
EasyTimelinePlugin and see what kind of output you get.
I'll prepare a new plugin zip that will allow the installer script to run asap.
--
SteffenPoulsen - 01 May 2006
I have uploaded a new version that will allow the installer script to run.
--
SteffenPoulsen - 02 May 2006
I've tried the new installer and it did not have any complaints.
When I look at the
EasyTimelinePlugin page on my web, it does seem to work.
However, when I copy an example and paste it in a sandbox page, nothing gets rendered. Here's the example I copy/pasted:
<easytimeline>
ImageSize = width:270 height:300
PlotArea = left:45 right:0 bottom:20 top:20
AlignBars = early
DateFormat = yyyy
Period = from:1944 till:2005
TimeAxis = orientation:vertical
ScaleMajor = unit:year increment:4 start:1944
Colors=
id:1 value:rgb(1,0.4,0.2)
id:2 value:rgb(0.8,0.6,0)
id:3 value:rgb(1,0.8,0)
id:4 value:rgb(1,0.6,0.2)
id:5 value:rgb(0.6,0.2,0.2)
PlotData=
bar:Leaders width:25 mark:(line,black) align:left fontsize:S shift:(25,-5) anchor:middle
from:start till:1952 color:1 text:"1944-1952_[[Sveinn Björnsson|Sveinn Björnsson]]"
from:1952 till:1968 color:2 text:"1952-1968_[[Ásgeir Ásgeirsson|Ásgeir Ásgeirsson]]"
from:1968 till:1980 color:3 text:"1968-1980_[[Kristján Eldjárn|Kristján Eldjárn]]"
from:1980 till:1996 color:4 text:"1980-1996_[[Vigdís Finnbogadóttir|Vigdís Finnbogadóttir]]"
from:1996 till:end color:5 text:"1996-_[[Ólafur Ragnar Grímsson|Ólafur Ragnar Grímsson]]"
</easytimeline>
--
DanBarDov - 07 May 2006
Did you update the sandbox command correctly? Could you try and do a
ls -la /usr/bin/ploticus at the prompt? (
ls -la the location you have set your ploticus binary to).
If this looks ok, try to enable debug, and see what is left in /tmp after you have viewed the page again. There should be a subdir named EasyTimelinePluginXX which should hold some files (if there isn't, the location of the ploticus binary, of the helper script or of perl is probably not set up right after all in the sandbox command).
From the created directory, try pasting the contents of the
.err file here.
--
SteffenPoulsen - 08 May 2006
Hi,
we got also a problem with the ETP. We are quit new to TWiki and have not much experince with it. We succed in installing the plugin without any problems. But if we want use one of the examples we only get:
"EasyTimelinePlugin Error (2):"
What might be the Problem?
--
RainerNase - 10 May 2006
Hi Rainer - it sounds like doing the same debugging steps as suggested to Dan would also help giving us some more debug info in your case. As soon as you have more details, please report back.
--
SteffenPoulsen - 10 May 2006
I am having a similar problem. If I cut and paste the working example from the Plugin page (i.e., If plugin is installed correctly, you get) into my own topic, I get Error (2), yet the same thing appears to work in the embedded example.
--
TWikiGuest - 26 Jun 2006
We will need more details for us to give you a suggestion for resolution, I am afraid.
You should enable debug on the plugin topic like stated above and try to trace the actions of the plugin, finding out where it fails in more detail.
--
SteffenPoulsen - 27 Jun 2006
To add to that, I did just verify that the only reason it appeared to work was that the rendered timeline in the example code had been cached. If I edit the content of the timeline on the Plugin page, then preview it, it is also broken. I will do some more digging and post something more in-depth. Thanks for the speedy response.
--
FletcherKauffman - 27 Jun 2006
I had the same problem, and solved it by double cheking the settings in lib/TWiki/Plugins/EasyTimelinePlugin.pm
'/usr/bin/perl /var/www/twiki/tools/EasyTimeline.pl -i %INFILE|F% -m -P /usr/bin/ploticus -T %TMPDIR|F% -A /twiki/bin/view/%WEB|F%';
Should have both the correct ploticus path, AS WELL AS the correct path to
EasyTimeline.pl (ie your web root)
--
ReenenKroukamp - 13 Oct 2006
Installed from plugin install, same problem. I followed -
ReenenKroukamp's - 13 Oct 2006 instructions, and am passed the 'error 2' message.
But I don't see the graphs on the page. I'm using the examples, as supplied on the plugin docs page. No debug to provide in this note -- just a lack of any output from the plugin.
--
AllenSpore - 29 Mar 2007
Oh! So /usr/bin/ploticus does not exist. I reinstalled the rpm, and noticed it's now /usr/bin/pl/. I simply ln -s /usr/bin/pl ploticus -- and all is well!
--
AllenSpore - 29 Mar 2007