Question
I've had a rough time of it with
ChartPlugin. My appologies for previous support topics that didn't provide enough detail on this; or worse, had red-herrings.
After quite a bit of effort, I'm seeing that using the
%CHART{...}% directive is causing rlog to hang after the ci occurs.
Testenv output is attached, as is a section from debug.txt. I uncommented traceExec in
RcsWrap.pm and added a couple of calls around the exec-ing of the command in getRevisionInfo. It clearly shows that the call to rlog is hanging. As to why; well, that's what I need some help on. The debug.txt output is showing that previous calls to rlog completed successfully; so why is this one not? Also, this only happens when I add the
%CHART{...}% directive.
I started with an uninitialized topic (
TestTopic5) and edited it. Added a table and saved. No problem. Edited it again, and replaced the table with the Table1 definition from
ChartPlugin (no
%CHART{...}% directive yet, and then saved. Still a-ok. Then, edited again and added the
%CHART{...}% directive (the simple line version from
ChartPlugin). Tried to Save. The rlog after the ci hangs.
Note, I can do a preview with out a problem. The png file is rendered. I have the release Edit lock checked (it's actually set in my
TwikiPreferences).
Any ideas?
debug.txt
15 Mar 2005 - 09:05 Rcs: c:/cygwin/bin/ci -x,v -q -l -m"none" -t-none -w"SteveAnthony" '/twiki/data/Sandbox/TestTopic5.txt' ():
15 Mar 2005 - 09:05 gRI: just before c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:05 gRI: after c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:05 Rcs: c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v' (): c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
With the initial table saved, I now edit the topic and replace the table with the definition from
ChartPlugin.
15 Mar 2005 - 09:05 gRI: just before c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:05 gRI: after c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:05 Rcs: c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v' (): c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:05 gRI: just before c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:05 gRI: after c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:05 Rcs: c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v' (): c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:08 Rcs: c:/cygwin/bin/rlog -x,v -h '/twiki/data/Sandbox/TestTopic5.txt,v' ():
RCS file: /twiki/data/Sandbox/TestTopic5.txt,v
Working file: TestTopic5.txt
head: 1.1
branch:
locks: strict
system: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1
=============================================================================
15 Mar 2005 - 09:08 gRI: just before c:/cygwin/bin/rlog -x,v -r1.1 '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:08 gRI: after c:/cygwin/bin/rlog -x,v -r1.1 '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:08 Rcs: c:/cygwin/bin/rlog -x,v -r1.1 '/twiki/data/Sandbox/TestTopic5.txt,v' (): c:/cygwin/bin/rlog -x,v -r1.1 '/twiki/data/Sandbox/TestTopic5.txt,v'
Now I edit the topic and add the
%Chart{...}% directive.
15 Mar 2005 - 09:08 gRI: just before c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:08 gRI: after c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:08 Rcs: c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v' (): c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
15 Mar 2005 - 09:08 Rcs: c:/cygwin/bin/rlog -x,v -h '/twiki/data/Sandbox/TestTopic5.txt,v' ():
RCS file: /twiki/data/Sandbox/TestTopic5.txt,v
Working file: TestTopic5.txt
head: 1.1
branch:
locks: strict
system: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1
=============================================================================
15 Mar 2005 - 09:08 Rcs: c:/cygwin/bin/ci -l -x,v -q -mnone -t-none -d"2005/03/15 14:06:37" -w"SteveAnthony" '/twiki/data/Sandbox/TestTopic5.txt' '/twiki/data/S
andbox/TestTopic5.txt,v' ():
15 Mar 2005 - 09:08 gRI: just before c:/cygwin/bin/rlog -x,v -r '/twiki/data/Sandbox/TestTopic5.txt,v'
And there she hangs....
Environment
--
SteveAnthony - 15 Mar 2005
Answer
Not really an answer, but I recall a case on Windows where closing a file took some time, e.g. a bit longer then the return from a file close. This could
possibly be a reason for the issue you have. Just for testing, try to sleep one second before the rlog.
--
PeterThoeny - 01 May 2005
Alas, not luck. Tried sleep 1 before the rlog; but it still hangs.
--
SteveAnthony - 16 May 2005