Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, SpreadSheetPlugin, ChartPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin
Server OS: Windows 2003 Server
Web server: Apache 1.3.33
Perl version: Cygwin 5.8.6
Client OS: Windows XP
Web Browser: Firefox 1.1
Categories: Topic revisions, Plugins

-- 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

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt TestTopic5.txt r1 manage 0.4 K 2005-03-15 - 14:47 UnknownUser Test topic with chart directive
HTMLhtm testenv.htm r1 manage 8.7 K 2005-03-15 - 14:35 UnknownUser testenv output
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-07-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.