We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>FlowChartDoesNotTrunk (15 Jan 2008, HansRogerLien)
Tags:
create new tag
, view all tags

Question

The FlowchartPlugin installs correctly and creats the png file just fine. However, my flowchart doesn't "trunk" even though I have told it to. It just flows straight.

Any help will be greatly appreciated.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, FlowchartPlugin
Server OS: Centos
Web server: apache
Perl version: 5.8.5
Client OS:  
Web Browser: IE and Firefox
Categories: Plugins

-- JennFountain - 14 Sep 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I guess my problem is because this wasn't tested on the latest version. Is this plugin still being developed? Will it be available for 4.0.4?

-- JennFountain - 02 Oct 2006

I posted the question in the FlowchartPluginDev discussion topic.

-- PeterThoeny - 02 Oct 2006

I have encountered the same problem. It's in the plugin code FlowchartPlugin? .pm, a regex issue. The lines are parse but no recognized so they are not properly handled in the function registerLastItem.

Someone has change

if ( $line =~ m/^[ ][ ][ ]\*\s*(.+?[^ ])\s*:\s*(.+[^ ])\s*/ ) {
to
if ( $line =~ m/^\s\*\s*(.+?[^ ])\s*:\s*(.+[^ ])\s*/ ) {

So it won't match the FlowchartPluginExample? . If you add an asterisk * after the \s. It will match again

BTW, They're seems to be more issues with this plugin. The match in afterSaveHandler didn't work for me at first till I change the regex there too.

-- KhanphaphoneVongsavanthong - 05 Jul 2007

I just switched: if ( $line =~ m/^\s\*\s*(.+?[^ ])\s*:\s*(.+[^ ])\s*/ ) { with if ( $line =~ m/^[ ][ ][ ]\*\s*(.+?[^ ])\s*:\s*(.+[^ ])\s*/ ) { and the plugin works!

-- HansRogerLien - 15 Jan 2008

 
Change status to:
Topic revision: r5 - 15 Jan 2008 - 07:49:33 - HansRogerLien
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback